Hi,

I have a SQLFORM.grid. On pressing the Edit-button there will be a message
"Check to delete:" and a button "Submit".
It is not possible to translate these texts, because these texts are
hardcoded without the T-operator.

The following changes in the source would do the job:

In gluon.sqlhtml.py,  def grid(...):

line 1580 old:                  _class='web2py_form')

line 1580 new:                  _class='web2py_form', submit_button =
T('Submit'), delete_label = T('Check to delete:'))

Regards, Martin

Reply via email to