[Top][All Lists]

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

Re: POTFILES.in updates?

From: Eric Blake
Subject: Re: POTFILES.in updates?
Date: Thu, 19 Jul 2007 06:08:53 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20070604 Thunderbird/ Mnenhy/

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             address@hidden
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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]