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 07:00:04 -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:42 AM:
|
| 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."

Yep - that was the culprit.  After reading 'info xgettext', it looks like
the extended specifier to --keyword was added in xgettext 0.15, but it
needs literal " in its argument.  So, I ended up using this instead:

~  --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."' \

- --
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

iEYEARECAAYFAkgxedQACgkQ84KuGfSFAYAU+ACgnJr8myB8LnLwkc+YGAUjYxd8
f5YAnAieOmGJFuS7xglHM4cHtFgjVedx
=SOCa
-----END PGP SIGNATURE-----
From 28b96dbbd1eeb0e1fc1b0678735cacaddebe3595 Mon Sep 17 00:00:00 2001
From: Eric Blake <address@hidden>
Date: Mon, 19 May 2008 06:57:38 -0600
Subject: [PATCH] Fix xgettext options.

* po/Makevars (XGETTEXT_OPTIONS): The " must be passed to
xgettext.

Signed-off-by: Eric Blake <address@hidden>
---
 ChangeLog   |    4 ++++
 po/Makevars |    4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 75b6cef..625a99f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2008-05-19  Eric Blake  <address@hidden>
 
+       Fix xgettext options.
+       * po/Makevars (XGETTEXT_OPTIONS): The " must be passed to
+       xgettext.
+
        Fix spelling of René Seindal's name in --version output.
        * ltdl/m4/gnulib-cache.m4: Import propername module.
        * src/main.c (AUTHORS): Rewrite in terms of proper_name.
diff --git a/po/Makevars b/po/Makevars
index 74f3bac..475ef3b 100644
--- a/po/Makevars
+++ b/po/Makevars
@@ -31,8 +31,8 @@ XGETTEXT_OPTIONS = \
   --from-code=UTF-8 \
   --keyword=_ --flag=_:1:pass-c-format \
   --keyword=N_ --flag=N_:1:pass-c-format \
-  --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." \
+  --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."' \
   --flag=error:3:c-format --flag=error_at_line:5:c-format \
   --flag=verror:3:c-format --flag=verror_at_line:5:c-format \
   --flag=asprintf:2:c-format --flag=vasprintf:2:c-format \
-- 
1.5.5.1


reply via email to

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