summaryrefslogtreecommitdiff
path: root/po/Makevars
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2013-05-31 00:49:20 +0200
committerGuillem Jover <guillem@debian.org>2013-06-03 07:15:54 +0200
commite804d8f65d4c03a8a74c9df12ec308963c2beae0 (patch)
tree66d68363fcc3f3049bd78485673c336c04e3d3f1 /po/Makevars
parentef021965e50838e7ad734952cd3a8d94215f3e36 (diff)
downloaddpkg-e804d8f65d4c03a8a74c9df12ec308963c2beae0.tar.gz
build: Bump gettext version to 0.18.2
This gets rid of an autoconf warning due to usage of an obsolete macro by gettext. The Build-Depends does not need to be bumped as the Makefiles can work with macros from any gettext 0.18.x.
Diffstat (limited to 'po/Makevars')
-rw-r--r--po/Makevars14
1 files changed, 12 insertions, 2 deletions
diff --git a/po/Makevars b/po/Makevars
index 6d96d6697..d8e62502b 100644
--- a/po/Makevars
+++ b/po/Makevars
@@ -11,8 +11,6 @@ top_builddir = ..
XGETTEXT_OPTIONS = --from-code=UTF-8 --keyword=_ --keyword=N_ \
--keyword=P_:1,2 --keyword=C_:1c,2
-MSGMERGE_OPTIONS = --previous
-
# This is the copyright holder that gets inserted into the header of the
# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
# package. (Note that the msgstr strings, extracted from the package's
@@ -43,4 +41,16 @@ MSGID_BUGS_ADDRESS = $(PACKAGE_BUGREPORT)
# 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 = yes
+
+# 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 = --previous
+
DISTFILES.extra1 = ChangeLog.old