summaryrefslogtreecommitdiff
path: root/po/makefile
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-02-18 00:31:49 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-02-18 00:31:49 +0100
commitf0f2f956957af36389790fd47899a1f65302b21c (patch)
treef62bf4eac9a4055be685deffc68ec81127adf0ce /po/makefile
parentd7cf5923a093e89ab5aac0bf8cd1c3042997990c (diff)
* buildlib/apti18n.h.in, po/makefile:
- add ngettext support with P_()
Diffstat (limited to 'po/makefile')
-rw-r--r--po/makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/po/makefile b/po/makefile
index 07dc51c07..9f8b7b22e 100644
--- a/po/makefile
+++ b/po/makefile
@@ -37,6 +37,7 @@ $(POTFILES) : $(PO)/%.pot :
cat $(PO)/domains/$*/*.srclist > $(PO)/POTFILES_$*.in
$(XGETTEXT) --default-domain=$* --directory=$(BASE) \
--add-comments --foreign --keyword=_ --keyword=N_ \
+ --keyword=P_:1,2 \
--files-from=$(PO)/POTFILES_$*.in -o $(PO)/domains/$*/c.pot
rm -f $(PO)/POTFILES_$*.in
$(MSGCOMM) --more-than=0 $(PO)/domains/$*/c.pot $(PO)/domains/$*/sh.pot --output=$@