Fix translation setup

Update .tx/config with all options.

Add update_catalog target to setup.cfg - like it's done for all other
projects that translate messages.

Change-Id: I0f72cb48c9693e812ca21f50f4c2b04894411307
This commit is contained in:
Andreas Jaeger 2014-04-27 20:03:30 +02:00
parent bd5f334be5
commit 2b137cd296
2 changed files with 7 additions and 0 deletions

View File

@ -5,3 +5,5 @@ host = https://www.transifex.com
file_filter = openstack_auth/locale/<lang>/LC_MESSAGES/django.po
source_file = openstack_auth/locale/openstack_auth.pot
source_lang = en
type = PO

View File

@ -43,3 +43,8 @@ output_file = openstack_auth/locale/openstack_auth.pot
[compile_catalog]
directory = openstack_auth/locale
domain = django
[update_catalog]
domain = django
output_dir = openstack_auth/locale
input_file = openstack_auth/locale/openstack_auth.pot