changeset 3293 | 69c0ba095536 |
parent 3163 | edfe43ceaa35 |
parent 3275 | 5247789df541 |
child 3653 | ef71abb1e77b |
--- a/web/request.py Tue Sep 15 15:01:41 2009 +0200 +++ b/web/request.py Thu Sep 17 15:16:53 2009 +0200 @@ -122,7 +122,8 @@ self.set_default_language(vreg) def set_language(self, lang): - self._ = self.__ = self.translations[lang] + gettext, self.pgettext = self.translations[lang] + self._ = self.__ = gettext self.lang = lang self.cnx.set_session_props(lang=lang) self.debug('request language: %s', lang)