summaryrefslogtreecommitdiff
path: root/po/Makevars
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2015-01-18 21:12:37 +0100
committerGuillem Jover <guillem@debian.org>2015-01-28 20:50:32 +0100
commit2ed75691a974b8456b26d83e984c56e6933f8331 (patch)
tree3056aeb88b3564df6fa340de2ed9a6aba5ddb2b1 /po/Makevars
parent106b0a0b3f818293cc5cb2bb567ec687a4254b33 (diff)
downloaddpkg-2ed75691a974b8456b26d83e984c56e6933f8331.tar.gz
build: Bump gettext version to 0.19
This allows us to use the new --add-location option with the file argument, which will remove a huge amount diff noise on source code changes, while still retaining the useful origin of the string.
Diffstat (limited to 'po/Makevars')
-rw-r--r--po/Makevars5
1 files changed, 3 insertions, 2 deletions
diff --git a/po/Makevars b/po/Makevars
index 1919c6443..3c274f58c 100644
--- a/po/Makevars
+++ b/po/Makevars
@@ -8,7 +8,8 @@ subdir = po
top_builddir = ..
# These options get passed to xgettext.
-XGETTEXT_OPTIONS = --from-code=UTF-8 --keyword --keyword=_ --keyword=N_ \
+XGETTEXT_OPTIONS = --from-code=UTF-8 --add-location=file \
+ --keyword --keyword=_ --keyword=N_ \
--keyword=P_:1,2 --keyword=C_:1c,2
# This is the copyright holder that gets inserted into the header of the
@@ -51,6 +52,6 @@ USE_MSGCTXT = yes
# Useful options are in particular:
# --previous to keep previous msgids of translated messages,
# --quiet to reduce the verbosity.
-MSGMERGE_OPTIONS = --previous --quiet
+MSGMERGE_OPTIONS = --previous --add-location=file --quiet
DISTFILES.extra1 = ChangeLog.old