summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkihiro Motoki <motoki@da.jp.nec.com>2016-01-29 08:03:49 +0900
committerAkihiro Motoki <motoki@da.jp.nec.com>2016-01-29 08:35:53 +0900
commit21fbb7e829164db82e921dabc14234ddf5f02e4b (patch)
tree31c915746521b3797e5cde9cf6c8716d5f118b09
parent866ce629bc8675cdd31ab3b9d9a28e49eacc9a60 (diff)
downloadoslo-utils-21fbb7e829164db82e921dabc14234ddf5f02e4b.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 oslo.utils/locale/oslo.utils.pot to oslo_utils/locale/oslo_utils.pot. For this we need to update setup.cfg. Update also domain name in _i18n.py. Change-Id: Ie4837571b06dd08da9676bf6a3f6eca932559fb1
-rw-r--r--oslo_utils/_i18n.py2
-rw-r--r--oslo_utils/locale/de/LC_MESSAGES/oslo_utils-log-info.po (renamed from oslo.utils/locale/de/LC_MESSAGES/oslo.utils-log-info.po)0
-rw-r--r--oslo_utils/locale/de/LC_MESSAGES/oslo_utils.po (renamed from oslo.utils/locale/de/LC_MESSAGES/oslo.utils.po)0
-rw-r--r--oslo_utils/locale/en_GB/LC_MESSAGES/oslo_utils-log-error.po (renamed from oslo.utils/locale/en_GB/LC_MESSAGES/oslo.utils-log-error.po)0
-rw-r--r--oslo_utils/locale/en_GB/LC_MESSAGES/oslo_utils-log-info.po (renamed from oslo.utils/locale/en_GB/LC_MESSAGES/oslo.utils-log-info.po)0
-rw-r--r--oslo_utils/locale/en_GB/LC_MESSAGES/oslo_utils-log-warning.po (renamed from oslo.utils/locale/en_GB/LC_MESSAGES/oslo.utils-log-warning.po)0
-rw-r--r--oslo_utils/locale/en_GB/LC_MESSAGES/oslo_utils.po (renamed from oslo.utils/locale/en_GB/LC_MESSAGES/oslo.utils.po)0
-rw-r--r--oslo_utils/locale/fr/LC_MESSAGES/oslo_utils-log-error.po (renamed from oslo.utils/locale/fr/LC_MESSAGES/oslo.utils-log-error.po)0
-rw-r--r--oslo_utils/locale/fr/LC_MESSAGES/oslo_utils-log-info.po (renamed from oslo.utils/locale/fr/LC_MESSAGES/oslo.utils-log-info.po)0
-rw-r--r--oslo_utils/locale/fr/LC_MESSAGES/oslo_utils-log-warning.po (renamed from oslo.utils/locale/fr/LC_MESSAGES/oslo.utils-log-warning.po)0
-rw-r--r--oslo_utils/locale/fr/LC_MESSAGES/oslo_utils.po (renamed from oslo.utils/locale/fr/LC_MESSAGES/oslo.utils.po)0
-rw-r--r--oslo_utils/locale/oslo_utils-log-error.pot (renamed from oslo.utils/locale/oslo.utils-log-error.pot)0
-rw-r--r--oslo_utils/locale/oslo_utils-log-info.pot (renamed from oslo.utils/locale/oslo.utils-log-info.pot)0
-rw-r--r--oslo_utils/locale/oslo_utils-log-warning.pot (renamed from oslo.utils/locale/oslo.utils-log-warning.pot)0
-rw-r--r--oslo_utils/locale/oslo_utils.pot (renamed from oslo.utils/locale/oslo.utils.pot)0
-rw-r--r--setup.cfg12
16 files changed, 7 insertions, 7 deletions
diff --git a/oslo_utils/_i18n.py b/oslo_utils/_i18n.py
index c690fc3..ab19afb 100644
--- a/oslo_utils/_i18n.py
+++ b/oslo_utils/_i18n.py
@@ -21,7 +21,7 @@ See http://docs.openstack.org/developer/oslo.i18n/usage.html .
import oslo_i18n
-_translators = oslo_i18n.TranslatorFactory(domain='oslo.utils')
+_translators = oslo_i18n.TranslatorFactory(domain='oslo_utils')
# The primary translation function using the well-known name "_"
_ = _translators.primary
diff --git a/oslo.utils/locale/de/LC_MESSAGES/oslo.utils-log-info.po b/oslo_utils/locale/de/LC_MESSAGES/oslo_utils-log-info.po
index 235b5a9..235b5a9 100644
--- a/oslo.utils/locale/de/LC_MESSAGES/oslo.utils-log-info.po
+++ b/oslo_utils/locale/de/LC_MESSAGES/oslo_utils-log-info.po
diff --git a/oslo.utils/locale/de/LC_MESSAGES/oslo.utils.po b/oslo_utils/locale/de/LC_MESSAGES/oslo_utils.po
index 2409015..2409015 100644
--- a/oslo.utils/locale/de/LC_MESSAGES/oslo.utils.po
+++ b/oslo_utils/locale/de/LC_MESSAGES/oslo_utils.po
diff --git a/oslo.utils/locale/en_GB/LC_MESSAGES/oslo.utils-log-error.po b/oslo_utils/locale/en_GB/LC_MESSAGES/oslo_utils-log-error.po
index 4cbb0e4..4cbb0e4 100644
--- a/oslo.utils/locale/en_GB/LC_MESSAGES/oslo.utils-log-error.po
+++ b/oslo_utils/locale/en_GB/LC_MESSAGES/oslo_utils-log-error.po
diff --git a/oslo.utils/locale/en_GB/LC_MESSAGES/oslo.utils-log-info.po b/oslo_utils/locale/en_GB/LC_MESSAGES/oslo_utils-log-info.po
index 027004f..027004f 100644
--- a/oslo.utils/locale/en_GB/LC_MESSAGES/oslo.utils-log-info.po
+++ b/oslo_utils/locale/en_GB/LC_MESSAGES/oslo_utils-log-info.po
diff --git a/oslo.utils/locale/en_GB/LC_MESSAGES/oslo.utils-log-warning.po b/oslo_utils/locale/en_GB/LC_MESSAGES/oslo_utils-log-warning.po
index d35cb52..d35cb52 100644
--- a/oslo.utils/locale/en_GB/LC_MESSAGES/oslo.utils-log-warning.po
+++ b/oslo_utils/locale/en_GB/LC_MESSAGES/oslo_utils-log-warning.po
diff --git a/oslo.utils/locale/en_GB/LC_MESSAGES/oslo.utils.po b/oslo_utils/locale/en_GB/LC_MESSAGES/oslo_utils.po
index f2712ae..f2712ae 100644
--- a/oslo.utils/locale/en_GB/LC_MESSAGES/oslo.utils.po
+++ b/oslo_utils/locale/en_GB/LC_MESSAGES/oslo_utils.po
diff --git a/oslo.utils/locale/fr/LC_MESSAGES/oslo.utils-log-error.po b/oslo_utils/locale/fr/LC_MESSAGES/oslo_utils-log-error.po
index 1f63688..1f63688 100644
--- a/oslo.utils/locale/fr/LC_MESSAGES/oslo.utils-log-error.po
+++ b/oslo_utils/locale/fr/LC_MESSAGES/oslo_utils-log-error.po
diff --git a/oslo.utils/locale/fr/LC_MESSAGES/oslo.utils-log-info.po b/oslo_utils/locale/fr/LC_MESSAGES/oslo_utils-log-info.po
index d2468c7..d2468c7 100644
--- a/oslo.utils/locale/fr/LC_MESSAGES/oslo.utils-log-info.po
+++ b/oslo_utils/locale/fr/LC_MESSAGES/oslo_utils-log-info.po
diff --git a/oslo.utils/locale/fr/LC_MESSAGES/oslo.utils-log-warning.po b/oslo_utils/locale/fr/LC_MESSAGES/oslo_utils-log-warning.po
index 946f075..946f075 100644
--- a/oslo.utils/locale/fr/LC_MESSAGES/oslo.utils-log-warning.po
+++ b/oslo_utils/locale/fr/LC_MESSAGES/oslo_utils-log-warning.po
diff --git a/oslo.utils/locale/fr/LC_MESSAGES/oslo.utils.po b/oslo_utils/locale/fr/LC_MESSAGES/oslo_utils.po
index 8e26595..8e26595 100644
--- a/oslo.utils/locale/fr/LC_MESSAGES/oslo.utils.po
+++ b/oslo_utils/locale/fr/LC_MESSAGES/oslo_utils.po
diff --git a/oslo.utils/locale/oslo.utils-log-error.pot b/oslo_utils/locale/oslo_utils-log-error.pot
index b401ba4..b401ba4 100644
--- a/oslo.utils/locale/oslo.utils-log-error.pot
+++ b/oslo_utils/locale/oslo_utils-log-error.pot
diff --git a/oslo.utils/locale/oslo.utils-log-info.pot b/oslo_utils/locale/oslo_utils-log-info.pot
index bc64d63..bc64d63 100644
--- a/oslo.utils/locale/oslo.utils-log-info.pot
+++ b/oslo_utils/locale/oslo_utils-log-info.pot
diff --git a/oslo.utils/locale/oslo.utils-log-warning.pot b/oslo_utils/locale/oslo_utils-log-warning.pot
index 6be6c27..6be6c27 100644
--- a/oslo.utils/locale/oslo.utils-log-warning.pot
+++ b/oslo_utils/locale/oslo_utils-log-warning.pot
diff --git a/oslo.utils/locale/oslo.utils.pot b/oslo_utils/locale/oslo_utils.pot
index 461102c..461102c 100644
--- a/oslo.utils/locale/oslo.utils.pot
+++ b/oslo_utils/locale/oslo_utils.pot
diff --git a/setup.cfg b/setup.cfg
index 6930539..524b9cc 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -34,18 +34,18 @@ all_files = 1
upload-dir = doc/build/html
[compile_catalog]
-directory = oslo.utils/locale
-domain = oslo.utils
+directory = oslo_utils/locale
+domain = oslo_utils
[update_catalog]
-domain = oslo.utils
-output_dir = oslo.utils/locale
-input_file = oslo.utils/locale/oslo.utils.pot
+domain = oslo_utils
+output_dir = oslo_utils/locale
+input_file = oslo_utils/locale/oslo_utils.pot
[extract_messages]
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
-output_file = oslo.utils/locale/oslo.utils.pot
+output_file = oslo_utils/locale/oslo_utils.pot
[wheel]
universal = 1