Changeset - 0a2d85671b59
[Not reviewed]
default
0 1 0
Thomas De Schampheleire - 6 years ago 2019-10-31 22:40:24
thomas.de_schampheleire@nokia.com
Grafted from: 1c87366feb1b
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"
1 file changed with 0 insertions and 1 deletions:
0 comments (0 inline, 0 general)
setup.cfg
Show inline comments
 
@@ -16,7 +16,6 @@ add_comments = TRANSLATORS:
 
output_file = kallithea/i18n/kallithea.pot
 
msgid-bugs-address = translations@kallithea-scm.org
 
copyright-holder = Various authors, licensing as GPLv3
 
no-wrap = true
 

	
 
[init_catalog]
 
domain = kallithea
0 comments (0 inline, 0 general)