summaryrefslogtreecommitdiff
path: root/oslo_middleware/i18n.py
diff options
context:
space:
mode:
Diffstat (limited to 'oslo_middleware/i18n.py')
-rw-r--r--oslo_middleware/i18n.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/oslo_middleware/i18n.py b/oslo_middleware/i18n.py
index 307c8f5..2025741 100644
--- a/oslo_middleware/i18n.py
+++ b/oslo_middleware/i18n.py
@@ -16,10 +16,10 @@ See http://docs.openstack.org/developer/oslo.i18n/usage.html
"""
-from oslo import i18n
+import oslo_i18n
-_translators = i18n.TranslatorFactory(domain='oslo.middleware')
+_translators = oslo_i18n.TranslatorFactory(domain='oslo.middleware')
# The primary translation function using the well-known name "_"
_ = _translators.primary