Hi Janez,
And a question about gettext:
When I went with xgettext through all the code (after adding all cmds and functions to the .list files) with the tool that comes with OpenCA, it happened that in the openca.pot were missing some messages without any special reason. When I looked for them in the source files (after finding out that I don't have them in my openca.po) I found out that they were messages with gettext() calls as well as without gettext() calls. So, it is not that they were ignored because of not using gettext() calls. At the same time, in my openca.po ended also some other messages from the same files that xgettext went through, so it really makes no sense?!
We have some tools to filter the generated pot files. First we have several exclude_*.pot files in locale/pot. The strings which are present in these files will not be translated because they are in the pot files by accident. Sometimes these files include a valid string. Second there are two scripts remove_perl.pl and remove_revision.pl which extract all strings from the pot files which look like code or version informations.
A translateable string must allways look like this:
"You entered __THIS__ but you must enter __THAT__."
A string like follows is not translateable:
"You entered $this but you must enter $that."
Therefore we remove all strings which include a dollar sign. If a string which must be translated includes a dollar then this is a bug.
And another thing about OpenCA:
When rebuilding the CA chain in the online node, it happens that it says it was successful but you still get a whole page of erros when building the chain ;-) What about it? I would say that the problem in my case was that I didn't have the CA cert installed, but the rebuilding function was proud of itself finishing succesfull ;-)
The rebuilding of the chain is done by a makefile. We can only test for the returncode of the makefile. If the makefile returns true then we cannot cleanly detect the error. Therefore we display the complete output of the makefile to give the admin(s) a chance to see the error.
Michael -- ------------------------------------------------------------------- Michael Bell Email: [EMAIL PROTECTED] ZE Computer- und Medienservice Tel.: +49 (0)30-2093 2482 (Computing Centre) Fax: +49 (0)30-2093 2704 Humboldt-University of Berlin Unter den Linden 6 10099 Berlin Email (private): [EMAIL PROTECTED] Germany http://www.openca.org
------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ OpenCA-Devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/openca-devel
