summaryrefslogtreecommitdiff
path: root/po/makefile
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-02-15 13:02:27 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-02-15 13:02:27 +0100
commitd44b437bd2897bf7fbfbde07a4511c6f7b9ef6a2 (patch)
tree54aff108a79b080e2cbd706e9609ec66a586ce78 /po/makefile
parentaf3f8112590edf58cab36e72bca6d5f8e161fbc3 (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=$@