Merge "Get rid of oslo_i18n deprecation notice"
This commit is contained in:
@@ -13,9 +13,9 @@
|
||||
# under the License.
|
||||
#
|
||||
|
||||
from oslo import i18n
|
||||
import oslo_i18n
|
||||
|
||||
_translators = i18n.TranslatorFactory(domain='python-openstackclient')
|
||||
_translators = oslo_i18n.TranslatorFactory(domain='python-openstackclient')
|
||||
|
||||
# The primary translation function using the well-known name "_"
|
||||
_ = _translators.primary
|
||||
|
Reference in New Issue
Block a user