When using SQLFORM.grid, the message:
'%(nrows)s records found'
is never translated and it fills the language/lang.py file with 
untranslated strings whenever the number of rows change.

Changing in gluon/sqlhtml.py, in the grid static method, the line:

message = error or T('%(nrows)s records found' % dict(nrows=nrows))


by:

message = error or T('%s records found', nrows)


The problem is fixed.

I've filled bug #539 to follow this issue.

Regards.
José L.

Reply via email to