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.

This basically renames
python-openstackclient/locale/python-openstackclient.pot to
openstackclient/locale/openstackclient.pot. For this we need to update
setup.cfg.

Update also domain name in i18n.py.

Change-Id: I89fad12f20775c8b7cd228348ff82a77488e6ab2
This commit is contained in:
Akihiro Motoki
2016-01-28 23:46:21 +09:00
parent 636b4de6df
commit a6cd2dc136
5 changed files with 7 additions and 7 deletions

View File

@@ -15,7 +15,7 @@
import oslo_i18n
_translators = oslo_i18n.TranslatorFactory(domain='python-openstackclient')
_translators = oslo_i18n.TranslatorFactory(domain='openstackclient')
# The primary translation function using the well-known name "_"
_ = _translators.primary