summaryrefslogtreecommitdiffstats
path: root/po
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-05-15 18:17:35 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-05-15 18:17:35 +0100
commit044c1e3098ba490ff74cadc33857480fcd741492 (patch)
treeab2c1b0bed61a3ab30ab623fe1a43ffd12b7a3d9 /po
parentc014c4a621e1119ef8e2ca564de97878529b7197 (diff)
po: add Makevars magic so we don't get line numbers in *.po files
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).
Diffstat (limited to 'po')
-rw-r--r--po/Makevars5
1 files changed, 5 insertions, 0 deletions
diff --git a/po/Makevars b/po/Makevars
index 61559233..a6bdc7fa 100644
--- a/po/Makevars
+++ b/po/Makevars
@@ -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