From bab6d82d82d28e1792ffa1bed2639d2b6c608335 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 5 Jun 2010 01:56:39 +0200 Subject: [PATCH] Offer more choices in the Makevars template. --- gettext-tools/po/ChangeLog | 5 +++++ gettext-tools/po/Makevars.template | 12 ++++++++++++ 2 files changed, 17 insertions(+) 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 = -- 2.47.2