Exemplo n.º 1
0
 def get_users_language(self):
     # XXX TODO Right now there is no support to store users preferred
     # language. Therefore we send the mails always in the current selected
     # language.
     return get_locale()
Exemplo n.º 2
0
 def description(self):
     return {get_locale(): self.response.text}
Exemplo n.º 3
0
 def description(self):
     return {get_locale(): self.response.text}
Exemplo n.º 4
0
 def get_users_language(self):
     # XXX TODO Right now there is no support to store users preferred
     # language. Therefore we send the mails always in the current selected
     # language.
     return get_locale()