From 2a0b3a161c31006679b47680829f751fbfe7ca20 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 26 Feb 2021 13:03:33 +0300 Subject: [PATCH] rebase-translations: try only dealing with messages.pot, let weblate rebuild .po files --- utils/rebase-translations.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/rebase-translations.sh b/utils/rebase-translations.sh index c1034b97d..8eb04818f 100755 --- a/utils/rebase-translations.sh +++ b/utils/rebase-translations.sh @@ -7,6 +7,8 @@ xgettext -kT_sprintf -kT_nsprintf:1,2 -k_ngettext:1,2 -kT_ngettext:1,2 -k__ \ 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'` +exit + update_lang() { if [ -f $1.po ]; then msgmerge --no-wrap --width 1 -U $1.po $TEMPLATE