Mercurial > kallithea
comparison setup.cfg @ 7925:0a2d85671b59
i18n: disable 'no-wrap' on extract_messages to align wrap settings with weblate
In Weblate, the default wrap settings are used and this is not configurable.
This means that .po files will have wrapping at 76 characters.
On the other hand, the 'extract_messages' method in Kallithea was configured
to not wrap at all. When regenerating .po files based on a new .pot file,
there could thus be wrapping changes, back and forth.
Avoid this by removing the 'no-wrap' setting and falling back to (hopefully)
the same default as Weblate.
Instead of:
msgid "very long line"
it will now emit it more readable:
msgid ""
"very long "
"line"
author | Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> |
---|---|
date | Thu, 31 Oct 2019 22:40:24 +0100 |
parents | d88077fae3d6 |
children | 278cc5936ed5 |
comparison
equal
deleted
inserted
replaced
7924:e8683beedead | 7925:0a2d85671b59 |
---|---|
14 [extract_messages] | 14 [extract_messages] |
15 add_comments = TRANSLATORS: | 15 add_comments = TRANSLATORS: |
16 output_file = kallithea/i18n/kallithea.pot | 16 output_file = kallithea/i18n/kallithea.pot |
17 msgid-bugs-address = translations@kallithea-scm.org | 17 msgid-bugs-address = translations@kallithea-scm.org |
18 copyright-holder = Various authors, licensing as GPLv3 | 18 copyright-holder = Various authors, licensing as GPLv3 |
19 no-wrap = true | |
20 | 19 |
21 [init_catalog] | 20 [init_catalog] |
22 domain = kallithea | 21 domain = kallithea |
23 input_file = kallithea/i18n/kallithea.pot | 22 input_file = kallithea/i18n/kallithea.pot |
24 output_dir = kallithea/i18n | 23 output_dir = kallithea/i18n |