diff --git a/oslo_concurrency/_i18n.py b/oslo_concurrency/_i18n.py index 0141a5e..7524106 100644 --- a/oslo_concurrency/_i18n.py +++ b/oslo_concurrency/_i18n.py @@ -16,7 +16,7 @@ import oslo_i18n -_translators = oslo_i18n.TranslatorFactory(domain='oslo.concurrency') +_translators = oslo_i18n.TranslatorFactory(domain='oslo_concurrency') # The primary translation function using the well-known name "_" _ = _translators.primary diff --git a/oslo.concurrency/locale/en_GB/LC_MESSAGES/oslo.concurrency-log-info.po b/oslo_concurrency/locale/en_GB/LC_MESSAGES/oslo_concurrency-log-info.po similarity index 100% rename from oslo.concurrency/locale/en_GB/LC_MESSAGES/oslo.concurrency-log-info.po rename to oslo_concurrency/locale/en_GB/LC_MESSAGES/oslo_concurrency-log-info.po diff --git a/oslo.concurrency/locale/en_GB/LC_MESSAGES/oslo.concurrency.po b/oslo_concurrency/locale/en_GB/LC_MESSAGES/oslo_concurrency.po similarity index 100% rename from oslo.concurrency/locale/en_GB/LC_MESSAGES/oslo.concurrency.po rename to oslo_concurrency/locale/en_GB/LC_MESSAGES/oslo_concurrency.po diff --git a/oslo.concurrency/locale/es/LC_MESSAGES/oslo.concurrency-log-info.po b/oslo_concurrency/locale/es/LC_MESSAGES/oslo_concurrency-log-info.po similarity index 100% rename from oslo.concurrency/locale/es/LC_MESSAGES/oslo.concurrency-log-info.po rename to oslo_concurrency/locale/es/LC_MESSAGES/oslo_concurrency-log-info.po diff --git a/oslo.concurrency/locale/es/LC_MESSAGES/oslo.concurrency.po b/oslo_concurrency/locale/es/LC_MESSAGES/oslo_concurrency.po similarity index 100% rename from oslo.concurrency/locale/es/LC_MESSAGES/oslo.concurrency.po rename to oslo_concurrency/locale/es/LC_MESSAGES/oslo_concurrency.po diff --git a/oslo.concurrency/locale/fr/LC_MESSAGES/oslo.concurrency-log-info.po b/oslo_concurrency/locale/fr/LC_MESSAGES/oslo_concurrency-log-info.po similarity index 100% rename from oslo.concurrency/locale/fr/LC_MESSAGES/oslo.concurrency-log-info.po rename to oslo_concurrency/locale/fr/LC_MESSAGES/oslo_concurrency-log-info.po diff --git a/oslo.concurrency/locale/fr/LC_MESSAGES/oslo.concurrency.po b/oslo_concurrency/locale/fr/LC_MESSAGES/oslo_concurrency.po similarity index 100% rename from oslo.concurrency/locale/fr/LC_MESSAGES/oslo.concurrency.po rename to oslo_concurrency/locale/fr/LC_MESSAGES/oslo_concurrency.po diff --git a/oslo.concurrency/locale/oslo.concurrency-log-info.pot b/oslo_concurrency/locale/oslo_concurrency-log-info.pot similarity index 100% rename from oslo.concurrency/locale/oslo.concurrency-log-info.pot rename to oslo_concurrency/locale/oslo_concurrency-log-info.pot diff --git a/oslo.concurrency/locale/oslo.concurrency.pot b/oslo_concurrency/locale/oslo_concurrency.pot similarity index 100% rename from oslo.concurrency/locale/oslo.concurrency.pot rename to oslo_concurrency/locale/oslo_concurrency.pot diff --git a/setup.cfg b/setup.cfg index 124ffff..00f5461 100644 --- a/setup.cfg +++ b/setup.cfg @@ -37,18 +37,18 @@ all_files = 1 upload-dir = doc/build/html [compile_catalog] -directory = oslo.concurrency/locale -domain = oslo.concurrency +directory = oslo_concurrency/locale +domain = oslo_concurrency [update_catalog] -domain = oslo.concurrency -output_dir = oslo.concurrency/locale -input_file = oslo.concurrency/locale/oslo.concurrency.pot +domain = oslo_concurrency +output_dir = oslo_concurrency/locale +input_file = oslo_concurrency/locale/oslo_concurrency.pot [extract_messages] keywords = _ gettext ngettext l_ lazy_gettext mapping_file = babel.cfg -output_file = oslo.concurrency/locale/oslo.concurrency.pot +output_file = oslo_concurrency/locale/oslo_concurrency.pot [pbr] warnerrors = True