summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-09-02 13:09:32 +0400
committerAndrew Dolgov <[email protected]>2013-09-02 13:09:32 +0400
commitd3b0e3487ed13ebd58a1340d19875b5a24537e01 (patch)
tree2aa69ae81d416b8fcacbda433e7c2824336383ac /utils
parentff04fe06250b7640b62379708b27ae31630150a0 (diff)
fix xgettext extraction of plural forms, replace wrong ngettext() calls with _ngettext(), rebase translations
Diffstat (limited to 'utils')
-rwxr-xr-xutils/update-translations.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/update-translations.sh b/utils/update-translations.sh
index 4b8dab6b9..49d648043 100755
--- a/utils/update-translations.sh
+++ b/utils/update-translations.sh
@@ -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'`