]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/update_pot.sh
Removing "join-existing". Do not add on update, just rebuild complete pot. The pot...
[quix0rs-gnu-social.git] / scripts / update_pot.sh
index 9419e4337f3a7e851111d6d4663e3ae98ce4f7a2..de53fe7c907220fefe9e2de655828db3ed85590b 100755 (executable)
@@ -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