diff options
author | Andrew Dolgov <[email protected]> | 2021-03-08 19:07:05 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-03-08 19:07:05 +0300 |
commit | ea25c49eb97e8acd4754b9da64db0d6acd4d0972 (patch) | |
tree | 9620c0c0da2d5ba2a4b17f189bd9fdade0a95c45 /utils | |
parent | fe4c28485852e31eab588b052df2fbd9318fe7e6 (diff) |
update messages.pot
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/rebase-translations.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/rebase-translations.sh b/utils/rebase-translations.sh index 2bc42c7eb..174092042 100755 --- a/utils/rebase-translations.sh +++ b/utils/rebase-translations.sh @@ -2,13 +2,13 @@ TEMPLATE=messages.pot xgettext -kT_sprintf -kT_nsprintf:1,2 -k_ngettext:1,2 -kT_ngettext:1,2 -k__ \ - -L PHP -o $TEMPLATE *.php `find classes plugins include -iname '*.php'` + -L PHP -o $TEMPLATE *.php `find classes plugins include -iname '*.php' -type f -not -path '*/vendor/*'` xgettext --from-code utf-8 -k__ -kNotify.info -kNotify.error -kNotify.progress \ - -kngettext:1,2 -L Java -j -o $TEMPLATE `find js plugins -iname '*.js'` + -kngettext:1,2 -L Java -j -o $TEMPLATE `find js plugins -iname '*.js' -type f -not -path '*/vendor/*'` 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' -type f -not -path '*/vendor/*'` # leave weblate to deal with .po/.mo files exit 0 |