Update translation setup

Follow new infra setup for translations, see spec
http://specs.openstack.org/openstack-infra/infra-specs/specs/translation_setup.html
for full details.

Prepare babel-django.cfg qnd remove babel.cfg.
This repository is django related. Though django_openstack_auth has
only python files, it is reasonable to follow Django repos convention
in OpenStack.

This basically renames openstack_auth/locale/openstack_auth.pot to
openstack_auth/locale/django.pot to follow Django POT file convention.

setup.cfg babel entries are kept as this repository has
only python files and it still works.

Depends-On: Ie2462614ce92ee09a4d84481b4df9410f57f597b
Change-Id: Id817cdbe6925d505c183c555f5e59361b5d6fcaf
This commit is contained in:
Akihiro Motoki 2016-01-30 23:36:44 +09:00
parent c04a75bd79
commit 7f26e7d2d0
3 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ detailed-errors=1
[extract_messages]
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
output_file = openstack_auth/locale/openstack_auth.pot
output_file = openstack_auth/locale/django.pot
[compile_catalog]
directory = openstack_auth/locale
@ -48,4 +48,4 @@ domain = django
[update_catalog]
domain = django
output_dir = openstack_auth/locale
input_file = openstack_auth/locale/openstack_auth.pot
input_file = openstack_auth/locale/django.pot