Enable lazy translation on heat
Enable lazy translation in heat/__init__.py so that heat exception message can be actually handled and translated. blueprint i18n-messages Change-Id: I009bd95ece44afb841d1732395d6a4769bc52f35
This commit is contained in:
parent
9c782e6413
commit
9f3cc8d4e4
@ -16,5 +16,5 @@
|
||||
|
||||
from heat.openstack.common import gettextutils
|
||||
|
||||
|
||||
gettextutils.install('heat')
|
||||
gettextutils.enable_lazy()
|
||||
gettextutils.install('heat', lazy=True)
|
||||
|
Loading…
Reference in New Issue
Block a user