1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 11:05:55 +00:00

rebase translations, fixing a few JS strings not mached; remove obsolete scripts (2)

This commit is contained in:
Andrew Dolgov
2021-02-26 12:59:13 +03:00
parent 15cad4a9c0
commit c21fbb2d13
60 changed files with 39387 additions and 43064 deletions

View File

@@ -1,11 +1,11 @@
#!/bin/sh
TEMPLATE=messages.pot
xgettext -kT_js_decl -kT_sprintf -kT_nsprintf:1,2 -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 -kT_sprintf -kT_nsprintf:1,2 -k_ngettext:1,2 -kT_ngettext:1,2 -k__ \
-L PHP -o $TEMPLATE *.php `find classes plugins include -iname '*.php'`
xgettext --from-code utf-8 -k__ -kNotify.info -kNotify.error -kNotify.progress -kngettext -L Perl -j -o $TEMPLATE js/*.js `find plugins -iname '*.js'`
xgettext --from-code utf-8 -k__ -kNotify.info -kNotify.error -kNotify.progress -kngettext -L Java -j -o $TEMPLATE js/*.js `find plugins -iname '*.js'`
xgettext --from-code utf-8 -k__ -kNotify.info -kNotify.error -kNotify.progress \
-kngettext:1,2 -L JavaScript -j -o $TEMPLATE `find js plugins -iname '*.js'`
update_lang() {
if [ -f $1.po ]; then
@@ -23,5 +23,3 @@ for lang in $LANGS; do
PO_BASENAME=`echo $lang | sed s/.po//`
update_lang $PO_BASENAME
done
#./utils/update-js-translations.sh