bug-gnulib
[Top][All Lists]
Advanced

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

Re: new module 'propername'


From: Eric Blake
Subject: Re: new module 'propername'
Date: Mon, 19 May 2008 06:42:51 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080421 Thunderbird/2.0.0.14 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Eric Blake on 5/19/2008 6:27 AM:
|
| I'm trying to use it in m4, but am failing to see the desired changes to
| the m4.pot file after rerunning xgettext with the modified
| XGETTEXT_OPTIONS.  It seems like xgettext doesn't understand coreutils'
| and m4's usage pattern:
|
|
| Any hints?

Actually, I'm starting to wonder if the culprit is bad documentation in
propername.h.  It recommends:

~           --keyword=proper_name:1,"This is a proper name. See the gettext
manual, section Names."
~           --keyword=proper_name_utf8:1,"This is a proper name. See the
gettext manual, section Names."

But in comparison, I was previously using _("Rene' Seindal") which made it
through to the .pot file, with XGETTEXT_OPTIONS including:

~  --keyword=_ --flag=_:1:pass-c-format

And xgettext --help mentions only:

~  -k, --keyword[=WORD]        additional keyword to be looked for (without
~                              WORD means not to use default keywords)
~      --flag=WORD:ARG:FLAG    additional flag for strings inside the argument
~                              number ARG of keyword WORD


with no mention of your suggested syntax of --keyword=name:ARG,TEXT

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgxdcsACgkQ84KuGfSFAYD6YgCgiPz+qhRM4KXKiVuqSzwAYMjR
zuUAoL8oedMM1qoSRZ6xJpU/6sOlYsjv
=7xHh
-----END PGP SIGNATURE-----




reply via email to

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