Fix oslo.i18n namespace error
This commit is contained in:
@@ -10,15 +10,15 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
"""
|
'''
|
||||||
oslo.i18n integration module.
|
oslo_i18n integration module.
|
||||||
See http://docs.openstack.org/developer/oslo.i18n/usage.html
|
See http://docs.openstack.org/developer/oslo.i18n/usage.html
|
||||||
"""
|
'''
|
||||||
|
|
||||||
import oslo.i18n
|
import oslo_i18n
|
||||||
|
|
||||||
|
|
||||||
_translators = oslo.i18n.TranslatorFactory(domain='senlinclient')
|
_translators = oslo_i18n.TranslatorFactory(domain='senlinclient')
|
||||||
|
|
||||||
# The primary translation function using the well-known name "_"
|
# The primary translation function using the well-known name "_"
|
||||||
_ = _translators.primary
|
_ = _translators.primary
|
||||||
|
Reference in New Issue
Block a user