Mercurial > hg > octave-lyh > gnulib-hg
changeset 10094:69d791e94c2d
Fix syntax of --keyword option.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Tue, 20 May 2008 02:26:36 +0200 |
parents | a08fa804bfab |
children | 60ed1a52905e |
files | ChangeLog lib/propername.h modules/propername |
diffstat | 3 files changed, 15 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-05-19 Bruno Haible <bruno@clisp.org> + + * modules/propername (Notice, configure.ac): Put quoted "..." into + --keyword option. + * lib/propername.h: Update comments accordingly. + Reported by Eric Blake. + 2008-05-19 Martin Lambers <marlam@marlam.de> (tiny change) * modules/getpass-gnu (Depends-on): Add fseeko.
--- a/lib/propername.h +++ b/lib/propername.h @@ -72,11 +72,12 @@ 3) If you are using GNU gettext version 0.16.1 or older, in po/Makevars, in the definition of the XGETTEXT_OPTIONS variable, add: - --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."' This specifies automatic comments for the translator. (Requires - xgettext >= 0.15.) + xgettext >= 0.15. The double-quotes inside the quoted string are on + purpose: they are part of the --keyword argument syntax.) */ #ifndef _PROPERNAME_H
--- a/modules/propername +++ b/modules/propername @@ -4,8 +4,8 @@ Notice: If you are using GNU gettext version 0.16.1 or older, add the following options to XGETTEXT_OPTIONS in your po/Makevars: - --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."' Files: lib/propername.h @@ -26,8 +26,8 @@ configure.ac: m4_ifdef([AM_XGETTEXT_OPTION], - [AM_XGETTEXT_OPTION([--keyword=proper_name:1,'This is a proper name. See the gettext manual, section Names.']) - AM_XGETTEXT_OPTION([--keyword=proper_name_utf8:1,'This is a proper name. See the gettext manual, section Names.'])]) + [AM_XGETTEXT_OPTION([--keyword='proper_name:1,\"This is a proper name. See the gettext manual, section Names.\"']) + AM_XGETTEXT_OPTION([--keyword='proper_name_utf8:1,\"This is a proper name. See the gettext manual, section Names.\"'])]) Makefile.am: lib_SOURCES += propername.h propername.c