From bf9033beb6770688c05046e8999735205b439df8 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 26 Feb 2021 14:50:12 +0300 Subject: [PATCH] rebase-translations: disable everything except for messages.pot --- utils/rebase-translations.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/rebase-translations.sh b/utils/rebase-translations.sh index 9fe5e838f..2bc42c7eb 100755 --- a/utils/rebase-translations.sh +++ b/utils/rebase-translations.sh @@ -10,6 +10,9 @@ xgettext --from-code utf-8 -k__ -kNotify.info -kNotify.error -kNotify.progress \ 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'` +# leave weblate to deal with .po/.mo files +exit 0 + update_lang() { if [ -f $1.po ]; then msgmerge --no-wrap --width 1 -U $1.po $TEMPLATE