diff options
author | Akihiro Motoki <motoki@da.jp.nec.com> | 2016-01-30 23:36:44 +0900 |
---|---|---|
committer | Akihiro Motoki <motoki@da.jp.nec.com> | 2016-01-31 00:10:47 +0900 |
commit | 7f26e7d2d0377f06335b863a755d65f296882d87 (patch) | |
tree | 8c6a72b4e974283764108eec38bf2b4eb345d5da | |
parent | c04a75bd79e6cc64eb8fe42c6f53c66a5fd223c9 (diff) | |
download | django_openstack_auth-7f26e7d2d0377f06335b863a755d65f296882d87.tar.gz |
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
-rw-r--r-- | babel-django.cfg (renamed from babel.cfg) | 0 | ||||
-rw-r--r-- | openstack_auth/locale/django.pot (renamed from openstack_auth/locale/openstack_auth.pot) | 0 | ||||
-rw-r--r-- | setup.cfg | 4 |
3 files changed, 2 insertions, 2 deletions
diff --git a/babel.cfg b/babel-django.cfg index efceab8..efceab8 100644 --- a/babel.cfg +++ b/babel-django.cfg diff --git a/openstack_auth/locale/openstack_auth.pot b/openstack_auth/locale/django.pot index 10f10d0..10f10d0 100644 --- a/openstack_auth/locale/openstack_auth.pot +++ b/openstack_auth/locale/django.pot @@ -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 |