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:
Ethan Lynn 2014-07-23 16:23:16 +08:00
parent 9c782e6413
commit 9f3cc8d4e4

View File

@ -16,5 +16,5 @@
from heat.openstack.common import gettextutils
gettextutils.install('heat')
gettextutils.enable_lazy()
gettextutils.install('heat', lazy=True)