When messages object is instantiated, T is passed as argument probabbly to process default auth values for translation. Then .password_reset_button is set without T(...), so for automatic translation, there should be some operator overloading for the Message instance to translate the text without explicit T call, otherwise, the attribute will just be set without further actions.
On 11 mar, 01:26, Bruce Wade <bruce.w...@gmail.com> wrote: > Hi, > > I was looking at the Auth class, why are settings like the following not > showing in the language translations files by default? > > # ## these are messages that can be customized > messages = self.messages = Messages(current.T) > messages.password_reset_button = 'Request reset password' > > I have no idea what Messages(current.T) is supposed to do however the above > string is not found in the languages files. > > -- > -- > Regards, > Bruce > Wadehttp://ca.linkedin.com/in/brucelwadehttp://www.wadecybertech.comhttp://www.warplydesigned.comhttp://www.fitnessfriendsfinder.com