Re: ui-extract.pl



This is being handeled differently today. The glade.h files are generated
on the fly by the ui-extract.pl script (and the reported bug is fixed for
good) This way we also get a well translated program even though people
forget to checkin the .h file along with the glade file, which has happened
before.

Now the path of the actual glade file is being placed in the POTFILES.in.

Cheers, Kenneth

----- 



I have noticed that some of translatable strings from .glade ui descriptions
are not placed in .po files. For exaple GtkOptionMenu items are missing.
The "ui-extract.pl" tool is simply broken. It should execute
libglade-xgettext for glade files instead of trying to provide it's
functionality.

It does not look like Gnumeric uses ui-extract at all.  But even if it
does, you should not be using ui-extract to extract the strings, you
should be listing in the po/POTFILES.in the .glade.h files that should
be generated for you by Glade.

If Glade is not generating the .glade.h file, is because you have not
set up your .glade file properly.

Miguel.







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]