1.74.7 is OUT

4 views
Skip to first unread message

mdipierro

unread,
Jan 23, 2010, 5:03:29 PM1/23/10
to web2py-users
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")

I still have a couple of pending patches and I will try to include
them during them tomorrow.

Meanwhile please test this.

Massimo

Jason Brower

unread,
Jan 24, 2010, 1:42:57 AM1/24/10
to web...@googlegroups.com
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

mdipierro

unread,
Jan 24, 2010, 4:51:40 AM1/24/10
to web2py-users
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 <encomp...@gmail.com> wrote:

Reply all
Reply to author
Forward
0 new messages