From ec5ac2ec300199baceafc2103fb5a3d082ae8444 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 18 Dec 2014 18:27:30 +0300 Subject: rebase translations, update script to maybe extract more translations from js files (fuck you xgettext you piece of shit) --- utils/update-translations.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'utils') 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 -- cgit v1.2.3