[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:1.8.1.4) Gecko/20070604 Thunderbird/2.0.0.4 Mnenhy/0.7.5.666 |
-----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 address@hidden
-----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-----
- POTFILES.in updates?, Eric Blake, 2007/07/18
- Re: POTFILES.in updates?, Bruno Haible, 2007/07/18
- Re: POTFILES.in updates?, Bruno Haible, 2007/07/19
- Re: POTFILES.in updates?, Eric Blake, 2007/07/19
- Re: xstrtol.h (was: Re: POTFILES.in updates?), Bruno Haible, 2007/07/21
- Re: xstrtol.h, Jim Meyering, 2007/07/21
- Re: xstrtol.h, Bruno Haible, 2007/07/22
- Re: xstrtol.h, Eric Blake, 2007/07/22
- Re: xstrtol.h, Jim Meyering, 2007/07/22