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>
This commit is contained in:
Chantry Xavier 2008-03-03 21:32:54 +01:00 committed by Dan McGee
parent 1bbc00cd9d
commit 8725dce294
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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