summaryrefslogtreecommitdiff
path: root/scripts/update_pot.sh
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2009-11-19 09:04:56 -0500
committerEvan Prodromou <evan@status.net>2009-11-19 09:04:56 -0500
commitb657e49ec772aec2b60ae193252edd53d85e1df5 (patch)
tree71f6054ac22b8355f434fd9bf4c2ccfc1afc5140 /scripts/update_pot.sh
parentfa35dab2265aba78f7c704c34eaef4100bddfd70 (diff)
parent269781280903d80141788225ec858fbf6501971d (diff)
Merge branch '0.9.x' into mapstraction
Diffstat (limited to 'scripts/update_pot.sh')
-rwxr-xr-xscripts/update_pot.sh12
1 files changed, 11 insertions, 1 deletions
diff --git a/scripts/update_pot.sh b/scripts/update_pot.sh
index 9419e4337..de53fe7c9 100755
--- a/scripts/update_pot.sh
+++ b/scripts/update_pot.sh
@@ -1,3 +1,13 @@
cd `dirname $0`
cd ..
-xgettext --from-code=UTF-8 --default-domain=statusnet --output=locale/statusnet.po --language=PHP --join-existing actions/*.php classes/*.php lib/*.php scripts/*.php
+xgettext \
+ --from-code=UTF-8 \
+ --default-domain=statusnet \
+ --output=locale/statusnet.po \
+ --language=PHP \
+ --keyword="pgettext:1c,2" \
+ --keyword="npgettext:1c,2,3" \
+ actions/*.php \
+ classes/*.php \
+ lib/*.php \
+ scripts/*.php