What is "common"? Do you mean current.T? Note, in grid(), there is this
assignment: T = current.T. So, T(...) should work.
Anthony
On Wednesday, August 8, 2012 2:41:42 PM UTC-4, mweissen wrote:
>
> SQLFORM.grid write "... records found", but this sentence is not in the
> translation table.
>
> In sqlhtml.py line 1956 there is "T('%(nrows)s records found')". I think
> it should be "common.T('%(nrows)s records found')"
>
> This change works for me. There are some other "T"s in sqlhtml - I have
> all of them changed to "common.T".
>
> Regards, Martin
>
>
>
>
>
--