On Jul 20, 1:00 pm, Alex Fanjul <[email protected]> wrote:
> Massimo, couldnt we use T function in such messages for
> internationalization?
> With: auth.messages.submit_button = T('Enviar')
> the system complain with:
> TypeError:unsupported operand type(s)for%:'lazyT'and'Storage'

auth.messages should be of type Messages which supports
Internationalisation automatically (no need to use T())

Before that we had to subclass & pass T, but no longer :)

F
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to