##// END OF EJS Templates
i18n: disable 'no-wrap' on extract_messages to align wrap settings with weblate...
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"

File last commit:

r7812:0a2d8567 default
r7812:0a2d8567 default
Show More
setup.cfg
37 lines | 711 B | text/x-ini | IniLexer
[egg_info]
tag_build =
tag_svn_revision = 0
tag_date = 0
[aliases]
test = pytest
[compile_catalog]
domain = kallithea
directory = kallithea/i18n
statistics = true
[extract_messages]
add_comments = TRANSLATORS:
output_file = kallithea/i18n/kallithea.pot
msgid-bugs-address = translations@kallithea-scm.org
copyright-holder = Various authors, licensing as GPLv3
[init_catalog]
domain = kallithea
input_file = kallithea/i18n/kallithea.pot
output_dir = kallithea/i18n
[update_catalog]
domain = kallithea
input_file = kallithea/i18n/kallithea.pot
output_dir = kallithea/i18n
previous = true
[build_sphinx]
source-dir = docs/
build-dir = docs/_build
all_files = 1
[upload_sphinx]
upload-dir = docs/_build/html