# HG changeset patch # User Aurelien Campeas # Date 1291914408 -3600 # Node ID b9ffecd0316af715b06e43457bd56203af13405e # Parent 5fc4b6b8e2af65df1ef0630f819c6bcb98f4aa91 [config] revert change that breaks i18nxxx commands diff -r 5fc4b6b8e2af -r b9ffecd0316a 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())