]> git.wh0rd.org - tt-rss.git/blobdiff - update-translations.sh
update translations (generate master .pot from js files)
[tt-rss.git] / update-translations.sh
index 561e2868e11e7d8bc1050391cecc64ae26ed1ec5..0b78958b2e2854716ce15cc69d67722824e9ed2b 100755 (executable)
@@ -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.$$