summaryrefslogtreecommitdiff
path: root/openstackclient/i18n.py
diff options
context:
space:
mode:
authorAkihiro Motoki <motoki@da.jp.nec.com>2016-01-28 23:46:21 +0900
committerAkihiro Motoki <motoki@da.jp.nec.com>2016-01-29 08:18:50 +0900
commita6cd2dc13680c818c7053ef51526962639441b31 (patch)
tree7effea3851a748820eb1a2e6e6cf962114745910 /openstackclient/i18n.py
parent636b4de6df77923424f7cac62322b546d65a5269 (diff)
downloadpython-openstackclient-a6cd2dc13680c818c7053ef51526962639441b31.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. 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
Diffstat (limited to 'openstackclient/i18n.py')
-rw-r--r--openstackclient/i18n.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/i18n.py b/openstackclient/i18n.py
index 3a11c1d0..1d09772c 100644
--- a/openstackclient/i18n.py
+++ b/openstackclient/i18n.py
@@ -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