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

master
Andrew Dolgov 4 years ago
parent ab0bf8692d
commit 2a0b3a161c

@ -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 \ 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'` -kngettext:1,2 -L JavaScript -j -o $TEMPLATE `find js plugins -iname '*.js'`
exit
update_lang() { update_lang() {
if [ -f $1.po ]; then if [ -f $1.po ]; then
msgmerge --no-wrap --width 1 -U $1.po $TEMPLATE msgmerge --no-wrap --width 1 -U $1.po $TEMPLATE

Loading…
Cancel
Save