po: add Makevars magic so we don't get line numbers in *.po files
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 15 May 2009 17:17:35 +0000 (18:17 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 15 May 2009 17:17:35 +0000 (18:17 +0100)
This avoids the number one reason for local modifications in *.po
files and and makes things less annoying when working with git (or
any other VCS for that matter).

po/Makevars

index 6155923..a6bdc7f 100644 (file)
@@ -39,3 +39,8 @@ MSGID_BUGS_ADDRESS = http://bugzilla.gnome.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