It is just syntactical sugar

T("%(a)s") % dict(a="hello")

is new syntax equivalent to

T("%(a)s",dict(a="hello"))

T could already translated fields and values from your database
(although I would not use it to translate values).


On Jan 24, 12:42 am, Jason Brower <[email protected]> wrote:
> In email...On Sat, 2010-01-23 at 14:03 -0800, mdipierro wrote:
> > New features:
>
> > 1) request_password_reset and password reset verification
> > 2) python web2py.py -S app -M -R script.py -A arg1 arg2 arg3
> > 3) support for T("%(a)s") % dict(a="hello")
>
> What does this one mean?  Does this mean I can translate feilds in my
> database? (if not I would love to know how as I have to translate
> everything in to three languages here in finland. :D)
> BR, Jason
>
>
>
> > I still have a couple of pending patches and I will try to include
> > them during them tomorrow.
>
> > Meanwhile please test this.
>
> > Massimo
>
>

-- 
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