to clarify, it doesn't look to me like the default auth messages are
translatable unless the application author re-assigns them with T()
strings...

Is that an accurate assesment?

By lazy-assignment, I meant delayed processing of T() so that it picks up
the session settings;  as it is, I see no default T() of the messages
anywhere...

On Sat, Aug 8, 2009 at 6:31 PM, Yarko Tymciurak <yark...@gmail.com> wrote:

> On Sat, Aug 8, 2009 at 6:19 PM, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
>>
>>
>> > I wonder if some sort of lazy message assignment/translation would be
>> > reasonable / possible..
>>
>> Already in trunk. ;-)
>
>
> Hmmmm..... this is not obvious to me...  for example,  how is translation
> handled for the messages?
>
> even after this post, and searching thru the code, I look at (for example)
> tools.py: Auth.retrieve_password(): line 1161:
>
> session.flash = self.messages.email_sent
>
> and nowhere do I see a re-assignment or opportunity for the
> messages.email_sent message to get T()'ified;
>
> Am I missing something?
>
>
>> >>
>>
>

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

Reply via email to