From 14ae2a367813c4d4c348e034df0dffbebaafe67e Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Mon, 11 Jun 2007 11:37:05 +0200 Subject: [PATCH] Try again to work around line numbers in *.po. --- po/Makevars | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/po/Makevars b/po/Makevars index befb293e..726bc9d9 100644 --- a/po/Makevars +++ b/po/Makevars @@ -8,7 +8,7 @@ subdir = po top_builddir = .. # These options get passed to xgettext. -XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ --no-location +XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ # 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 @@ -39,3 +39,8 @@ MSGID_BUGS_ADDRESS = bug-shishi@josefsson.org # 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 = + +# Avoid line numbers in *.po, but keep them in *.pot. +MSGMERGE = msgmerge --no-location +MSGMERGE_UPDATE = msgmerge --no-location --update +MSGFILTER = msgfilter --no-location -- 2.11.4.GIT