[pacman-dev] [PATCH] Do not remove source code references in PO/POT files

Allan McRae allan at archlinux.org
Sun Feb 2 01:33:56 EST 2014


From: Rafael Ferreira <josephgbr at archlinux.info>

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 at archlinux.org>
---
 lib/libalpm/po/Makevars | 2 +-
 scripts/po/Makevars     | 2 +-
 src/pacman/po/Makevars  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/libalpm/po/Makevars b/lib/libalpm/po/Makevars
index 09fb353..21bc008 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 494da1d..f658289 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 4e34304..ea30f05 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
 
-- 
1.8.5.3



More information about the pacman-dev mailing list