Add gettext support
The patch adds gettext support to marconi. With it, it is now possible to use `_` for defining i18n strings. (e.g: _("Super String")) Implements blueprint storage-base Change-Id: I96709bb4e0dbe5ec6c5497e7139366624a154272
This commit is contained in:
parent
a3bfba07cd
commit
8a0e4bbd78
@ -17,6 +17,8 @@
|
||||
try:
|
||||
__MARCONI_SETUP__
|
||||
except NameError:
|
||||
import gettext
|
||||
gettext.install("marconi", unicode=1)
|
||||
from marconi.kernel import Kernel # NOQA
|
||||
else:
|
||||
import sys as _sys
|
||||
|
Loading…
Reference in New Issue
Block a user