[config] revert change that breaks i18nxxx commands oldstable
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Thu, 09 Dec 2010 18:06:48 +0100
brancholdstable
changeset 6741 b9ffecd0316a
parent 6738 5fc4b6b8e2af
child 6747 63bf61e4e130
[config] revert change that breaks i18nxxx commands
cwconfig.py
--- a/cwconfig.py	Thu Dec 09 15:38:12 2010 +0100
+++ b/cwconfig.py	Thu Dec 09 18:06:48 2010 +0100
@@ -947,9 +947,6 @@
     def __init__(self, appid, debugmode=False):
         self.appid = appid
         CubicWebNoAppConfiguration.__init__(self, debugmode)
-        fake_gettext = (unicode, lambda ctx, msgid: unicode(msgid))
-        for lang in self.available_languages():
-            self.translations[lang] = fake_gettext
         self._cubes = None
         self.load_file_configuration(self.main_config_file())