From: Bruno Haible Date: Fri, 4 Jun 2010 23:56:39 +0000 (+0200) Subject: Offer more choices in the Makevars template. X-Git-Tag: v0.18.2~162 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bab6d82d82d28e1792ffa1bed2639d2b6c608335;p=thirdparty%2Fgettext.git Offer more choices in the Makevars template. --- diff --git a/gettext-tools/po/ChangeLog b/gettext-tools/po/ChangeLog index 7d9d97250..2667b20ce 100644 --- a/gettext-tools/po/ChangeLog +++ b/gettext-tools/po/ChangeLog @@ -1,3 +1,8 @@ +2010-06-04 Bruno Haible + + Offer more choices in the Makevars template. + * Makevars.template (USE_MSGCTXT, MSGMERGE_OPTIONS): New variables. + 2010-06-04 Bruno Haible * gettext-0.18.1 released. diff --git a/gettext-tools/po/Makevars.template b/gettext-tools/po/Makevars.template index 32692ab4b..4a9ff7d23 100644 --- a/gettext-tools/po/Makevars.template +++ b/gettext-tools/po/Makevars.template @@ -39,3 +39,15 @@ MSGID_BUGS_ADDRESS = # This is the list of locale categories, beyond LC_MESSAGES, for which the # message catalogs shall be used. It is usually empty. EXTRA_LOCALE_CATEGORIES = + +# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt' +# context. Possible values are "yes" and "no". Set this to yes if the +# package uses functions taking also a message context, like pgettext(), or +# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument. +USE_MSGCTXT = no + +# These options get passed to msgmerge. +# Useful options are in particular: +# --previous to keep previous msgids of translated messages, +# --quiet to reduce the verbosity. +MSGMERGE_OPTIONS =