summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openstackclient/i18n.py2
-rw-r--r--openstackclient/locale/de/LC_MESSAGES/openstackclient.po (renamed from python-openstackclient/locale/de/LC_MESSAGES/python-openstackclient.po)0
-rw-r--r--openstackclient/locale/openstackclient.pot (renamed from python-openstackclient/locale/python-openstackclient.pot)0
-rw-r--r--openstackclient/locale/zh_TW/LC_MESSAGES/openstackclient.po (renamed from python-openstackclient/locale/zh_TW/LC_MESSAGES/python-openstackclient.po)0
-rw-r--r--setup.cfg12
5 files changed, 7 insertions, 7 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
diff --git a/python-openstackclient/locale/de/LC_MESSAGES/python-openstackclient.po b/openstackclient/locale/de/LC_MESSAGES/openstackclient.po
index 1c94b9d4..1c94b9d4 100644
--- a/python-openstackclient/locale/de/LC_MESSAGES/python-openstackclient.po
+++ b/openstackclient/locale/de/LC_MESSAGES/openstackclient.po
diff --git a/python-openstackclient/locale/python-openstackclient.pot b/openstackclient/locale/openstackclient.pot
index afc89266..afc89266 100644
--- a/python-openstackclient/locale/python-openstackclient.pot
+++ b/openstackclient/locale/openstackclient.pot
diff --git a/python-openstackclient/locale/zh_TW/LC_MESSAGES/python-openstackclient.po b/openstackclient/locale/zh_TW/LC_MESSAGES/openstackclient.po
index 26032666..26032666 100644
--- a/python-openstackclient/locale/zh_TW/LC_MESSAGES/python-openstackclient.po
+++ b/openstackclient/locale/zh_TW/LC_MESSAGES/openstackclient.po
diff --git a/setup.cfg b/setup.cfg
index 8a09735c..2751eb31 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -447,13 +447,13 @@ universal = 1
[extract_messages]
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
-output_file = python-openstackclient/locale/python-openstackclient.pot
+output_file = openstackclient/locale/openstackclient.pot
[update_catalog]
-domain = python-openstackclient
-output_dir = python-openstackclient/locale
-input_file = python-openstackclient/locale/python-openstackclient.pot
+domain = openstackclient
+output_dir = openstackclient/locale
+input_file = openstackclient/locale/openstackclient.pot
[compile_catalog]
-directory = python-openstackclient/locale
-domain = python-openstackclient
+directory = openstackclient/locale
+domain = openstackclient