[web2py] Re: error gluon/sqlhtml.py?

2011-12-14 Thread Alan Etkin
In controller: T(text %s % value) - LazyT obj instance T(text %s) % value - str obj But in views, when the return value is used (i.e. doing =value) this is the output: =T(text %s % value) - translated and interpolated text =T(text %s) % value - translated and interpolated text Wich of these

[web2py] Re: error gluon/sqlhtml.py?

2011-12-14 Thread Alan Etkin
Nevermind my last post, it is explained in the book, but here is an ambiguous book's passage: Concatenating translation translated strings and normal strings is possible: 1. T(blah ) + name + T( blah) # invalid! but the opposite no: 1. name + T( blah) # invalid! I cannot see by reading

[web2py] Re: error gluon/sqlhtml.py?

2011-12-14 Thread Anthony
They both seem to work in the shell. On Wednesday, December 14, 2011 8:29:56 PM UTC-5, Alan Etkin wrote: Nevermind my last post, it is explained in the book, but here is an ambiguous book's passage: Concatenating translation translated strings and normal strings is possible: 1. T(blah )

Re: [web2py] Re: error gluon/sqlhtml.py?

2011-12-12 Thread Martin Weissenboeck
yes, the new code is in 1.99.3 2011/12/7 Anthony abasta...@gmail.com I think it has already been changed in trunk -- can you check it there? On Wednesday, December 7, 2011 9:40:28 AM UTC-5, mweissen wrote: I think line 1566 of gluon/sqlhtml.py message = error or T('%(nrows)s records

[web2py] Re: error gluon/sqlhtml.py?

2011-12-07 Thread Anthony
I think it has already been changed in trunk -- can you check it there? On Wednesday, December 7, 2011 9:40:28 AM UTC-5, mweissen wrote: I think line 1566 of gluon/sqlhtml.py message = error or T('%(nrows)s records found' % dict(nrows=nrows)) should be message = error or T('%(nrows)s records