summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2016-01-29 11:34:55 +0100
committerAndreas Jaeger <jaegerandi@gmail.com>2016-01-29 10:39:35 +0000
commite32560e9ebb2733b115b112d1064ec9248f67b8a (patch)
treea5906a6fef7f786c8f5fb59f0ef9ab2e95221d18
parentb7d70c42bd8124c9f657addb887c875d16fb40a7 (diff)
downloadoslo-messaging-e32560e9ebb2733b115b112d1064ec9248f67b8a.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.messaging/locale/oslo.messaging.pot to oslo_messaging/locale/oslo_messaging.pot. For this we need to update setup.cfg. Update also domain name in i18n.py. Change-Id: Idf5300224f572d29953261ac998e7bf32a12822d
-rw-r--r--oslo_messaging/_i18n.py2
-rw-r--r--oslo_messaging/locale/en_GB/LC_MESSAGES/oslo_messaging-log-error.po (renamed from oslo.messaging/locale/en_GB/LC_MESSAGES/oslo.messaging-log-error.po)0
-rw-r--r--oslo_messaging/locale/en_GB/LC_MESSAGES/oslo_messaging-log-info.po (renamed from oslo.messaging/locale/en_GB/LC_MESSAGES/oslo.messaging-log-info.po)0
-rw-r--r--oslo_messaging/locale/en_GB/LC_MESSAGES/oslo_messaging-log-warning.po (renamed from oslo.messaging/locale/en_GB/LC_MESSAGES/oslo.messaging-log-warning.po)0
-rw-r--r--oslo_messaging/locale/es/LC_MESSAGES/oslo_messaging-log-error.po (renamed from oslo.messaging/locale/es/LC_MESSAGES/oslo.messaging-log-error.po)0
-rw-r--r--oslo_messaging/locale/oslo_messaging-log-error.pot (renamed from oslo.messaging/locale/oslo.messaging-log-error.pot)0
-rw-r--r--oslo_messaging/locale/oslo_messaging-log-info.pot (renamed from oslo.messaging/locale/oslo.messaging-log-info.pot)0
-rw-r--r--oslo_messaging/locale/oslo_messaging-log-warning.pot (renamed from oslo.messaging/locale/oslo.messaging-log-warning.pot)0
-rw-r--r--oslo_messaging/locale/oslo_messaging.pot (renamed from oslo.messaging/locale/oslo.messaging.pot)0
-rw-r--r--setup.cfg12
10 files changed, 7 insertions, 7 deletions
diff --git a/oslo_messaging/_i18n.py b/oslo_messaging/_i18n.py
index a012b58..cc3835c 100644
--- a/oslo_messaging/_i18n.py
+++ b/oslo_messaging/_i18n.py
@@ -19,7 +19,7 @@ See http://docs.openstack.org/developer/oslo.i18n/usage.html
import oslo_i18n
-_translators = oslo_i18n.TranslatorFactory(domain='oslo.messaging')
+_translators = oslo_i18n.TranslatorFactory(domain='oslo_messaging')
# The primary translation function using the well-known name "_"
_ = _translators.primary
diff --git a/oslo.messaging/locale/en_GB/LC_MESSAGES/oslo.messaging-log-error.po b/oslo_messaging/locale/en_GB/LC_MESSAGES/oslo_messaging-log-error.po
index 4bcd67e..4bcd67e 100644
--- a/oslo.messaging/locale/en_GB/LC_MESSAGES/oslo.messaging-log-error.po
+++ b/oslo_messaging/locale/en_GB/LC_MESSAGES/oslo_messaging-log-error.po
diff --git a/oslo.messaging/locale/en_GB/LC_MESSAGES/oslo.messaging-log-info.po b/oslo_messaging/locale/en_GB/LC_MESSAGES/oslo_messaging-log-info.po
index cb495a4..cb495a4 100644
--- a/oslo.messaging/locale/en_GB/LC_MESSAGES/oslo.messaging-log-info.po
+++ b/oslo_messaging/locale/en_GB/LC_MESSAGES/oslo_messaging-log-info.po
diff --git a/oslo.messaging/locale/en_GB/LC_MESSAGES/oslo.messaging-log-warning.po b/oslo_messaging/locale/en_GB/LC_MESSAGES/oslo_messaging-log-warning.po
index 8169367..8169367 100644
--- a/oslo.messaging/locale/en_GB/LC_MESSAGES/oslo.messaging-log-warning.po
+++ b/oslo_messaging/locale/en_GB/LC_MESSAGES/oslo_messaging-log-warning.po
diff --git a/oslo.messaging/locale/es/LC_MESSAGES/oslo.messaging-log-error.po b/oslo_messaging/locale/es/LC_MESSAGES/oslo_messaging-log-error.po
index 390a6af..390a6af 100644
--- a/oslo.messaging/locale/es/LC_MESSAGES/oslo.messaging-log-error.po
+++ b/oslo_messaging/locale/es/LC_MESSAGES/oslo_messaging-log-error.po
diff --git a/oslo.messaging/locale/oslo.messaging-log-error.pot b/oslo_messaging/locale/oslo_messaging-log-error.pot
index c8b2f3f..c8b2f3f 100644
--- a/oslo.messaging/locale/oslo.messaging-log-error.pot
+++ b/oslo_messaging/locale/oslo_messaging-log-error.pot
diff --git a/oslo.messaging/locale/oslo.messaging-log-info.pot b/oslo_messaging/locale/oslo_messaging-log-info.pot
index 358b89c..358b89c 100644
--- a/oslo.messaging/locale/oslo.messaging-log-info.pot
+++ b/oslo_messaging/locale/oslo_messaging-log-info.pot
diff --git a/oslo.messaging/locale/oslo.messaging-log-warning.pot b/oslo_messaging/locale/oslo_messaging-log-warning.pot
index 6648d0c..6648d0c 100644
--- a/oslo.messaging/locale/oslo.messaging-log-warning.pot
+++ b/oslo_messaging/locale/oslo_messaging-log-warning.pot
diff --git a/oslo.messaging/locale/oslo.messaging.pot b/oslo_messaging/locale/oslo_messaging.pot
index 6afc312..6afc312 100644
--- a/oslo.messaging/locale/oslo.messaging.pot
+++ b/oslo_messaging/locale/oslo_messaging.pot
diff --git a/setup.cfg b/setup.cfg
index d09e6e6..99b42ad 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -70,18 +70,18 @@ all_files = 1
upload-dir = doc/build/html
[compile_catalog]
-directory = oslo.messaging/locale
-domain = oslo.messaging
+directory = oslo_messaging/locale
+domain = oslo_messaging
[update_catalog]
-domain = oslo.messaging
-output_dir = oslo.messaging/locale
-input_file = oslo.messaging/locale/oslo.messaging.pot
+domain = oslo_messaging
+output_dir = oslo_messaging/locale
+input_file = oslo_messaging/locale/oslo_messaging.pot
[extract_messages]
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
-output_file = oslo.messaging/locale/oslo.messaging.pot
+output_file = oslo_messaging/locale/oslo_messaging.pot
[pbr]
warnerrors = true