Ales Keber wrote:

> It looks like the exporting process stops in the middle. Permisoons are
> already changed, so it must be something else. The hole thing worked fine in
> R5.

This was the hint which I need. It is a problem with the i18n. I used 
the original gettext which only accepts one parameter but I must use 
OpenCA's i18nGettext (see misc-utils.lib). This function can replace 
variables inside of a string:

example:

Message: The request 123 cannot stored in the database!

--> i18nGettext ("The request __CSR_SERIAL__ cannot stored in the 
database!", "__CSR_SERIAL__", 123);

--> i18nGettext internal:

gettext ("The request __CSR_SERIAL__ cannot stored in the database!");

and then replace __CSR_SERIAL__ with 123.

I used

gettext ("The request __CSR_SERIAL__ cannot stored in the database!", 
"__CSR_SERIAL__", 123);

The fixed export-import.lib is attached.

Michael
-- 
-------------------------------------------------------------------
Michael Bell                   Email (private): [EMAIL PROTECTED]
Rechenzentrum - Datacenter     Email:  [EMAIL PROTECTED]
Humboldt-University of Berlin  Tel.: +49 (0)30-2093 2482
Unter den Linden 6             Fax:  +49 (0)30-2093 2959
10099 Berlin
Germany                                       http://www.openca.org

Attachment: export-import.lib.gz
Description: application/gunzip

Reply via email to