summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Ferreira <josephgbr@archlinux.info>2014-02-02 07:32:55 +0100
committerAllan McRae <allan@archlinux.org>2014-02-02 07:32:55 +0100
commit236f1795e9f56674c330f6c04f2d164a37fd2682 (patch)
tree241482cd09b7212b9cd9706d1951d97eefd733c7
parent47a4741a3cfb256ac0348c97d14ad79a0ff2618d (diff)
downloadpacman-236f1795e9f56674c330f6c04f2d164a37fd2682.tar.gz
pacman-236f1795e9f56674c330f6c04f2d164a37fd2682.tar.xz
Do not remove source code references in PO/POT files
FS#34240. This is useful for translators and has little cost to us since we moved to transifex for translations. Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--lib/libalpm/po/Makevars2
-rw-r--r--scripts/po/Makevars2
-rw-r--r--src/pacman/po/Makevars2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/libalpm/po/Makevars b/lib/libalpm/po/Makevars
index 09fb3539..21bc0081 100644
--- a/lib/libalpm/po/Makevars
+++ b/lib/libalpm/po/Makevars
@@ -8,7 +8,7 @@ subdir = lib/libalpm/po
top_builddir = ../../../
# These options get passed to xgettext.
-XGETTEXT_OPTIONS = --no-location \
+XGETTEXT_OPTIONS = \
--keyword=_ --flag=_:1:c-format \
--keyword=_n:1,2 --flag=_n:1:c-format --flag=_n:2:c-format
diff --git a/scripts/po/Makevars b/scripts/po/Makevars
index 494da1d7..f658289a 100644
--- a/scripts/po/Makevars
+++ b/scripts/po/Makevars
@@ -8,7 +8,7 @@ subdir = scripts/po
top_builddir = ../../
# These options get passed to xgettext.
-XGETTEXT_OPTIONS = --no-location
+XGETTEXT_OPTIONS =
# 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
diff --git a/src/pacman/po/Makevars b/src/pacman/po/Makevars
index 4e34304c..ea30f053 100644
--- a/src/pacman/po/Makevars
+++ b/src/pacman/po/Makevars
@@ -8,7 +8,7 @@ subdir = src/pacman/po
top_builddir = ../../../
# These options get passed to xgettext.
-XGETTEXT_OPTIONS = --no-location \
+XGETTEXT_OPTIONS = \
--keyword=_ --flag=_:1:c-format \
--keyword=_n:1,2 --flag=_n:1:c-format --flag=_n:2:c-format