]> git.wh0rd.org - tt-rss.git/blobdiff - utils/update-translations.sh
use Perl instead of Java as a base language for JS files; rebase translations
[tt-rss.git] / utils / update-translations.sh
index b5e2a49392e3b290f34e8babc54615d428e12aad..691aff07c3ccbc548cb32ceb6f4a1a1d9cc8d438 100755 (executable)
@@ -1,11 +1,9 @@
 #!/bin/sh
 TEMPLATE=messages.pot
 
-./utils/update-schema-translations.sh
+xgettext -kT_js_decl -kT_sprintf -k_ngettext:1,2 -kT_ngettext:1,2 -k__ -L PHP -o $TEMPLATE *.php include/*.php `find classes -iname '*.php'` `find plugins -iname '*.php'`
 
-xgettext -kT_js_decl -kT_sprintf -kT_ngettext:1,2 -k__ -L PHP -o $TEMPLATE *.php include/*.php `find classes -iname '*.php'` `find plugins -iname '*.php'`
-
-xgettext --from-code utf-8 -k__ -kngettext -L Java -j -o $TEMPLATE js/*.js `find plugins -iname '*.js'`
+xgettext --from-code utf-8 -k__ -knotify_info -knotify_progress -kngettext -L Perl -j -o $TEMPLATE js/*.js `find plugins -iname '*.js'`
 
 update_lang() {
        if [ -f $1.po ]; then