diff options
author | Andrew Dolgov <[email protected]> | 2013-09-02 13:09:32 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-09-02 13:09:32 +0400 |
commit | d3b0e3487ed13ebd58a1340d19875b5a24537e01 (patch) | |
tree | 2aa69ae81d416b8fcacbda433e7c2824336383ac /utils | |
parent | ff04fe06250b7640b62379708b27ae31630150a0 (diff) |
fix xgettext extraction of plural forms, replace wrong ngettext() calls with _ngettext(), rebase translations
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/update-translations.sh | 2 |
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'` |