diff options
author | Wolfgang Müller | 2021-07-27 12:02:55 +0200 |
---|---|---|
committer | Wolfgang Müller | 2021-11-27 14:05:19 +0100 |
commit | 84e59cbd782875a8ec0e2ca40fd1b086ca4ac64d (patch) | |
tree | a17932e4586ff5fe33fd84f25b4356da113dda25 /po/update-pot.sh | |
parent | f16376c9fa7b51c71bc7752e85e3d001adc244e2 (diff) | |
download | weltschmerz-84e59cbd782875a8ec0e2ca40fd1b086ca4ac64d.tar.gz |
po: Do not break long message lines
Both xgettext(1) and msgmerge(1) break messages by default. Since we
currently do not have particularly long strings marked for translation,
turn this particular behaviour off by passing --no-wrap. It would
otherwise lead to spurious breaks in the PO and POT files that are not
particularly nice.
Diffstat (limited to 'po/update-pot.sh')
-rw-r--r-- | po/update-pot.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/po/update-pot.sh b/po/update-pot.sh index 5868890..6c515a0 100644 --- a/po/update-pot.sh +++ b/po/update-pot.sh @@ -3,7 +3,7 @@ set -e _xgettext() { - xgettext --from-code=utf-8 --package-name=weltschmerz -cTRANSLATORS "$@" -o po/weltschmerz.pot + xgettext --no-wrap --from-code=utf-8 --package-name=weltschmerz -cTRANSLATORS "$@" -o po/weltschmerz.pot } _xgettext -f po/POTFILES @@ -14,5 +14,5 @@ _xgettext -f po/POTFILES _xgettext -j -k -kComment -kKeywords weltschmerz.desktop.in while read lang; do - msgmerge -q -o "po/${lang}.po" "po/${lang}.po" po/weltschmerz.pot + msgmerge --no-wrap -q -o "po/${lang}.po" "po/${lang}.po" po/weltschmerz.pot done < po/LINGUAS |