Fix oslo.i18n namespace error
This commit is contained in:
parent
4cfec833db
commit
e1139f262f
@ -10,15 +10,15 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
"""
|
||||
oslo.i18n integration module.
|
||||
'''
|
||||
oslo_i18n integration module.
|
||||
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 "_"
|
||||
_ = _translators.primary
|
||||
|
Loading…
x
Reference in New Issue
Block a user