]> git.wh0rd.org - tt-rss.git/blobdiff - utils/update-translations.sh
fix update-translations script to properly process nested classes/ directory, update...
[tt-rss.git] / utils / update-translations.sh
index 7e81a3ef435213a276025fa020ddcf876a4e0b05..400c711b6211feccfeec28561ac0dd9fd67a6798 100755 (executable)
@@ -3,7 +3,7 @@ TEMPLATE=messages.pot
 
 ./utils/update-schema-translations.sh
 
-xgettext -kT_js_decl -kT_sprintf -kT_ngettext:1,2 -k__ -L PHP -o $TEMPLATE *.php help/*.php mobile/*.php classes/*.php include/*.php
+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'`
 
 xgettext --from-code utf-8 -k__ -L Java -j -o $TEMPLATE js/*.js