diff --git a/oslo_vmware/_i18n.py b/oslo_vmware/_i18n.py index 21aa9f1..bc624c8 100644 --- a/oslo_vmware/_i18n.py +++ b/oslo_vmware/_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.vmware') +_translators = oslo_i18n.TranslatorFactory(domain='oslo_vmware') # The primary translation function using the well-known name "_" _ = _translators.primary diff --git a/oslo.vmware/locale/fr/LC_MESSAGES/oslo.vmware-log-error.po b/oslo_vmware/locale/fr/LC_MESSAGES/oslo_vmware-log-error.po similarity index 100% rename from oslo.vmware/locale/fr/LC_MESSAGES/oslo.vmware-log-error.po rename to oslo_vmware/locale/fr/LC_MESSAGES/oslo_vmware-log-error.po diff --git a/oslo.vmware/locale/fr/LC_MESSAGES/oslo.vmware-log-info.po b/oslo_vmware/locale/fr/LC_MESSAGES/oslo_vmware-log-info.po similarity index 100% rename from oslo.vmware/locale/fr/LC_MESSAGES/oslo.vmware-log-info.po rename to oslo_vmware/locale/fr/LC_MESSAGES/oslo_vmware-log-info.po diff --git a/oslo.vmware/locale/fr/LC_MESSAGES/oslo.vmware-log-warning.po b/oslo_vmware/locale/fr/LC_MESSAGES/oslo_vmware-log-warning.po similarity index 100% rename from oslo.vmware/locale/fr/LC_MESSAGES/oslo.vmware-log-warning.po rename to oslo_vmware/locale/fr/LC_MESSAGES/oslo_vmware-log-warning.po diff --git a/oslo.vmware/locale/fr/LC_MESSAGES/oslo.vmware.po b/oslo_vmware/locale/fr/LC_MESSAGES/oslo_vmware.po similarity index 100% rename from oslo.vmware/locale/fr/LC_MESSAGES/oslo.vmware.po rename to oslo_vmware/locale/fr/LC_MESSAGES/oslo_vmware.po diff --git a/oslo.vmware/locale/oslo.vmware-log-error.pot b/oslo_vmware/locale/oslo_vmware-log-error.pot similarity index 100% rename from oslo.vmware/locale/oslo.vmware-log-error.pot rename to oslo_vmware/locale/oslo_vmware-log-error.pot diff --git a/oslo.vmware/locale/oslo.vmware-log-info.pot b/oslo_vmware/locale/oslo_vmware-log-info.pot similarity index 100% rename from oslo.vmware/locale/oslo.vmware-log-info.pot rename to oslo_vmware/locale/oslo_vmware-log-info.pot diff --git a/oslo.vmware/locale/oslo.vmware-log-warning.pot b/oslo_vmware/locale/oslo_vmware-log-warning.pot similarity index 100% rename from oslo.vmware/locale/oslo.vmware-log-warning.pot rename to oslo_vmware/locale/oslo_vmware-log-warning.pot diff --git a/oslo.vmware/locale/oslo.vmware.pot b/oslo_vmware/locale/oslo_vmware.pot similarity index 100% rename from oslo.vmware/locale/oslo.vmware.pot rename to oslo_vmware/locale/oslo_vmware.pot diff --git a/setup.cfg b/setup.cfg index 638d91f..3e7a664 100644 --- a/setup.cfg +++ b/setup.cfg @@ -31,18 +31,18 @@ all_files = 1 upload-dir = doc/build/html [compile_catalog] -directory = oslo.vmware/locale -domain = oslo.vmware +directory = oslo_vmware/locale +domain = oslo_vmware [update_catalog] -domain = oslo.vmware -output_dir = oslo.vmware/locale -input_file = oslo.vmware/locale/oslo.vmware.pot +domain = oslo_vmware +output_dir = oslo_vmware/locale +input_file = oslo_vmware/locale/oslo_vmware.pot [extract_messages] keywords = _ gettext ngettext l_ lazy_gettext mapping_file = babel.cfg -output_file = oslo.vmware/locale/oslo.vmware.pot +output_file = oslo_vmware/locale/oslo_vmware.pot [pbr] autodoc_index_modules = 1