]> git.wh0rd.org - tt-rss.git/blobdiff - utils/update-translations.sh
update translations; add plugin strings
[tt-rss.git] / utils / update-translations.sh
index 6968b20b65b2e44aa712d132f9612b13698b9b80..6a777d7f71b8b4228b87146411c07c3e4ad331a5 100755 (executable)
@@ -1,9 +1,11 @@
 #!/bin/sh
 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
+./utils/update-schema-translations.sh
 
-xgettext --from-code utf-8 -k__ -L Java -j -o $TEMPLATE *.js
+xgettext -kT_js_decl -kT_sprintf -kT_ngettext:1,2 -k__ -L PHP -o $TEMPLATE *.php help/*.php mobile/*.php include/*.php `find classes -iname '*.php'` `find plugins -iname '*.php'`
+
+xgettext --from-code utf-8 -k__ -L Java -j -o $TEMPLATE js/*.js `find plugins -iname '*.js'`
 
 update_lang() {
        if [ -f $1.po ]; then