summaryrefslogtreecommitdiffstats
path: root/po
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-05-15 18:24:41 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-05-15 18:24:41 +0100
commit2ba0996c64a6f94b443a5f2a5287e1bb7dd89dcc (patch)
tree935fdbbfa3509cd11a427e44b1882bec3bfbc502 /po
parent405f80dec487103dfe52e6ce6aa3fb05db74e495 (diff)
downloadgst-plugins-bad-2ba0996c64a6f94b443a5f2a5287e1bb7dd89dcc.tar.gz
gst-plugins-bad-2ba0996c64a6f94b443a5f2a5287e1bb7dd89dcc.tar.bz2
gst-plugins-bad-2ba0996c64a6f94b443a5f2a5287e1bb7dd89dcc.zip
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