summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChantry Xavier <shiningxc@gmail.com>2008-03-03 21:32:54 +0100
committerDan McGee <dan@archlinux.org>2008-03-04 02:59:36 +0100
commit8725dce2948f9e1eb9c6f9d66cdb5ef985e6de6c (patch)
treeb796d667c18dc89141b407d8f8993985b4ec4ad2
parent1bbc00cd9d7ff7b906e574f0ea669873f82ef550 (diff)
downloadpacman-8725dce2948f9e1eb9c6f9d66cdb5ef985e6de6c.tar.gz
pacman-8725dce2948f9e1eb9c6f9d66cdb5ef985e6de6c.tar.xz
Disable the line number in .po files.
Add the --no-location xgettext option to disable the line numbers. They are not very useful, and generate a huge number of pointless line changes on every update. Ref: http://www.archlinux.org/pipermail/pacman-dev/2008-March/011332.html Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
-rw-r--r--lib/libalpm/po/Makevars2
-rw-r--r--po/Makevars2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/po/Makevars b/lib/libalpm/po/Makevars
index d7515220..8f48284c 100644
--- a/lib/libalpm/po/Makevars
+++ b/lib/libalpm/po/Makevars
@@ -8,7 +8,7 @@ subdir = po
top_builddir = ../../../
# These options get passed to xgettext.
-XGETTEXT_OPTIONS = \
+XGETTEXT_OPTIONS = --no-location \
--keyword=_ --flag=_:1:c-format \
--keyword=N_ --flag=N_:1:c-format
diff --git a/po/Makevars b/po/Makevars
index 38a4692e..5dc31a4a 100644
--- a/po/Makevars
+++ b/po/Makevars
@@ -8,7 +8,7 @@ subdir = po
top_builddir = ../
# These options get passed to xgettext.
-XGETTEXT_OPTIONS = \
+XGETTEXT_OPTIONS = --no-location \
--keyword=_ --flag=_:1:c-format \
--keyword=N_ --flag=N_:1:c-format