summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2014-12-18 18:27:30 +0300
committerAndrew Dolgov <[email protected]>2014-12-18 18:27:30 +0300
commitec5ac2ec300199baceafc2103fb5a3d082ae8444 (patch)
treef34414389ca9e7a65b6cb577d807f5dc5d1bc0b7 /utils
parent06f328a31b599d08e13781d97726cc04c114b17c (diff)
rebase translations, update script to maybe extract more translations from js files (fuck you xgettext you piece of shit)
Diffstat (limited to 'utils')
-rwxr-xr-xutils/update-translations.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/update-translations.sh b/utils/update-translations.sh
index 691aff07c..b955ac28d 100755
--- a/utils/update-translations.sh
+++ b/utils/update-translations.sh
@@ -5,6 +5,8 @@ xgettext -kT_js_decl -kT_sprintf -k_ngettext:1,2 -kT_ngettext:1,2 -k__ -L PHP -o
xgettext --from-code utf-8 -k__ -knotify_info -knotify_progress -kngettext -L Perl -j -o $TEMPLATE js/*.js `find plugins -iname '*.js'`
+xgettext --from-code utf-8 -k__ -knotify_info -knotify_progress -kngettext -L Java -j -o $TEMPLATE js/*.js `find plugins -iname '*.js'`
+
update_lang() {
if [ -f $1.po ]; then
msgmerge --no-wrap --width 1 -U $1.po $TEMPLATE