From 0b6aa428cf06e9e23ac4d912f8f6eba2330af226 Mon Sep 17 00:00:00 2001
From: Dan McGee <dan@archlinux.org>
Date: Thu, 3 Mar 2011 11:10:09 -0600
Subject: 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>
---
 lib/libalpm/po/Makevars | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'lib/libalpm/po/Makevars')

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
-- 
cgit v1.2.3-70-g09d2