diff options
author | Juhani Krekelä | 2021-07-24 19:15:12 +0300 |
---|---|---|
committer | Wolfgang Müller | 2021-11-27 14:05:19 +0100 |
commit | 78e1e14fa676a6c995d9dc61ad038a9906f37bf7 (patch) | |
tree | 1b9b5de3000450bd9052f4f541fdb7aba6ce38f0 /po/update-pot.sh | |
parent | adc794f2533fa3c56d30d6906a9c4b328baeb632 (diff) | |
download | weltschmerz-78e1e14fa676a6c995d9dc61ad038a9906f37bf7.tar.gz |
po: Fix update-pot.sh breaking on non-ASCII
Currently po/update-pot.sh assumes English strings and translator
comments cannot contain characters outside of ASCII, and throws an error
upon encountering any. Since we are actually using UTF-8 and not ASCII,
tell xgettext so.
Diffstat (limited to '')
-rw-r--r-- | po/update-pot.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/po/update-pot.sh b/po/update-pot.sh index e29bfb1..5868890 100644 --- a/po/update-pot.sh +++ b/po/update-pot.sh @@ -3,7 +3,7 @@ set -e _xgettext() { - xgettext --package-name=weltschmerz -cTRANSLATORS "$@" -o po/weltschmerz.pot + xgettext --from-code=utf-8 --package-name=weltschmerz -cTRANSLATORS "$@" -o po/weltschmerz.pot } _xgettext -f po/POTFILES |