1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-25 11:57:42 +02:00

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

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