summaryrefslogtreecommitdiffstats
path: root/lib/libalpm
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-03-03 18:10:09 +0100
committerDan McGee <dan@archlinux.org>2011-03-03 18:10:14 +0100
commit0b6aa428cf06e9e23ac4d912f8f6eba2330af226 (patch)
treecf622407d04b57e1e74a22bf806cadbee944b8b4 /lib/libalpm
parent79f8cfb529f8bc13a239548cf513db100739555b (diff)
downloadpacman-0b6aa428cf06e9e23ac4d912f8f6eba2330af226.tar.gz
pacman-0b6aa428cf06e9e23ac4d912f8f6eba2330af226.tar.xz
Fix gettext plural detection
Our keywords were all screwed up in this regard. Fix it so our ngettext() shortcut calls are actually recognized and respected. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm')
-rw-r--r--lib/libalpm/po/Makevars2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/po/Makevars b/lib/libalpm/po/Makevars
index 6430515f..688553d1 100644
--- a/lib/libalpm/po/Makevars
+++ b/lib/libalpm/po/Makevars
@@ -10,7 +10,7 @@ top_builddir = ../../../
# These options get passed to xgettext.
XGETTEXT_OPTIONS = --no-location \
--keyword=_ --flag=_:1:c-format \
- --keyword=N_ --flag=N_:1:c-format
+ --keyword=_n:1,2 --flag=_n:1:c-format --flag=_n:2:c-format
# 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