2016-02-18 11:40:47 +01:00
|
|
|
|
2017-11-27 15:23:02 +01:00
|
|
|
# uploading here requires Python 3.5.3+ or setuptools 27+,
|
|
|
|
# use instead: twine upload dist/fdroidserver*.tar.gz*
|
2016-02-18 11:40:47 +01:00
|
|
|
[aliases]
|
2018-01-03 21:26:39 +01:00
|
|
|
release = versioncheck compile_catalog register sdist upload --sign
|
2017-10-19 18:00:04 +02:00
|
|
|
|
|
|
|
# All this below is for Babel config. Ideally we would only use
|
|
|
|
# Babel, but it is still missing some key features that gettext gives
|
|
|
|
# us. So for now, this Babel setup is just to make it easy for Python
|
|
|
|
# people who are used to it. Babel is missing:
|
|
|
|
#
|
|
|
|
# * properly tagging various Python formats in the comments
|
|
|
|
# * --add-location=file
|
|
|
|
# * --join-existing
|
|
|
|
# * --sort-output on update
|
|
|
|
#
|
|
|
|
# So for now the canonical way to update the template and translation
|
|
|
|
# files is: `make -C locale`
|
|
|
|
|
|
|
|
[extract_messages]
|
|
|
|
keywords = _
|
|
|
|
charset = UTF-8
|
|
|
|
sort_output = true
|
|
|
|
no_location = true
|
|
|
|
add-comments = true
|
|
|
|
output_file = locale/fdroidserver.pot
|
|
|
|
msgid-bugs-address = https://gitlab.com/fdroid/fdroidserver/issues
|
|
|
|
|
|
|
|
[update_catalog]
|
|
|
|
output_dir = locale
|
|
|
|
input_file = locale/fdroidserver.pot
|
|
|
|
|
|
|
|
[init_catalog]
|
|
|
|
input_file = locale/fdroidserver.pot
|
|
|
|
output_dir = locale
|
|
|
|
|
|
|
|
[compile_catalog]
|
|
|
|
domain = fdroidserver
|
|
|
|
directory = locale
|