summaryrefslogtreecommitdiff
path: root/update-translations.sh
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-02-11 19:48:35 +0300
committerAndrew Dolgov <[email protected]>2009-02-11 19:48:35 +0300
commit7a1ecd398346e8fff6a0cd832e085f9e91b11dd6 (patch)
treef84a65ac71ca709a23bcf384ed2c8ca3fd0130ab /update-translations.sh
parent3f71aeaed889f0f0ca3a4da883daa1aba490d092 (diff)
update translations (generate master .pot from js files)
Diffstat (limited to 'update-translations.sh')
-rwxr-xr-xupdate-translations.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/update-translations.sh b/update-translations.sh
index 561e2868e..0b78958b2 100755
--- a/update-translations.sh
+++ b/update-translations.sh
@@ -3,6 +3,8 @@ TEMPLATE=messages.pot
xgettext -kT_js_decl -kT_sprintf -kT_ngettext:1,2 -k__ -L PHP -o $TEMPLATE *.php modules/*.php help/*.php mobile/*.php
+xgettext --from-code utf-8 -k__ -L Java -j -o $TEMPLATE *.js
+
update_lang() {
if [ -f $1.po ]; then
TMPFILE=/tmp/update-translations.$$