Setup trove for translation

The upstream-translation-job exists already but fails since trove
is not setup properly for translation.

Add the usual babel.cfg file, update setup.cfg for translation and
create initial trove.pot file.

Change-Id: I65ca2c974fc54e005ba8887dceb66ac08432c6d1
This commit is contained in:
Andreas Jaeger 2014-03-19 15:06:23 +01:00
parent 364f831135
commit ab8d8b054e
3 changed files with 3482 additions and 0 deletions

2
babel.cfg Normal file
View File

@ -0,0 +1,2 @@
[python: **.py]

View File

@ -40,3 +40,17 @@ setup-hooks =
all_files = 1
build-dir = doc/build
source-dir = doc/source
[compile_catalog]
directory = trove/locale
domain = trove
[update_catalog]
domain = trove
output_dir = trove/locale
input_file = trove/locale/trove.pot
[extract_messages]
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
output_file = trove/locale/trove.pot

3466
trove/locale/trove.pot Normal file

File diff suppressed because it is too large Load Diff