-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Sergey Poznyakoff on 7/19/2007 3:18 AM: >> The first option would minimize system calls at runtime, but is harder to >> put in place, because PO file handling is not supported by automake. >> The second option can be implemented completely in gnulib. This patch >> adds a --po-base option; when specified a po/ directory for the gnulib >> part is created and populated with the PO files from the translation project.
Can the --po-base directory for gnulib be the same as the project's po-base, or do they have to be distinct directories? I'm kind of thinking distinct, because Makevars is created differently between the two .pot files. > > In that case the `_' macro for gnulib has to be changed to > > #define _(s) dgettext("gnulib",s) Not to mention that not all of gnulib's uses occur with the _ macro - for example, xstrtol.h currently calls gettext directly, rather than going through a macro, so that it won't pollute the user's namespace with a conflicting _ macro. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGn1RV84KuGfSFAYARAmhNAKCA/p2vpQhl2HE4b43iDWQK0hnsYwCePCXr HBNxtOzWxbC2PE1IYMJXOeo= =X4mC -----END PGP SIGNATURE-----