rebase-translations: try only dealing with messages.pot, let weblate rebuild .po files

This commit is contained in:
Andrew Dolgov 2021-02-26 13:03:33 +03:00
parent ab0bf8692d
commit 2a0b3a161c
1 changed files with 2 additions and 0 deletions

View File

@ -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