]> git.wh0rd.org - tt-rss.git/blobdiff - utils/update-translations.sh
fix xgettext extraction of plural forms, replace wrong ngettext() calls with _ngettex...
[tt-rss.git] / utils / update-translations.sh
index 4b8dab6b95f876ca82efc84f0b08154e92872f56..49d6480438f9b39f19632f797a095af4f46e5f7c 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 TEMPLATE=messages.pot
 
-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 -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 --from-code utf-8 -k__ -knotify_info -knotify_progress -kngettext -L Java -j -o $TEMPLATE js/*.js `find plugins -iname '*.js'`