Merge "Sync latest _i18n module for os_brick"

This commit is contained in:
Jenkins 2015-04-16 15:44:36 +00:00 committed by Gerrit Code Review
commit a1a4c7e644
1 changed files with 2 additions and 2 deletions

View File

@ -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='os-brick')
_translators = oslo_i18n.TranslatorFactory(domain='os_brick')
# The primary translation function using the well-known name "_"
_ = _translators.primary