summaryrefslogtreecommitdiff
path: root/ceilometerclient/openstack/common/_i18n.py
diff options
context:
space:
mode:
Diffstat (limited to 'ceilometerclient/openstack/common/_i18n.py')
-rw-r--r--ceilometerclient/openstack/common/_i18n.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ceilometerclient/openstack/common/_i18n.py b/ceilometerclient/openstack/common/_i18n.py
index 4b0745f..907ab4f 100644
--- a/ceilometerclient/openstack/common/_i18n.py
+++ b/ceilometerclient/openstack/common/_i18n.py
@@ -17,14 +17,14 @@ See http://docs.openstack.org/developer/oslo.i18n/usage.html
"""
try:
- import oslo.i18n
+ import oslo_i18n
# NOTE(dhellmann): This reference to o-s-l-o will be replaced by the
# application name when this module is synced into the separate
# repository. It is OK to have more than one translation function
# using the same domain, since there will still only be one message
# catalog.
- _translators = oslo.i18n.TranslatorFactory(domain='ceilometerclient')
+ _translators = oslo_i18n.TranslatorFactory(domain='ceilometerclient')
# The primary translation function using the well-known name "_"
_ = _translators.primary