web/views/basecontrollers.py
changeset 8594 001159e2e4f3
parent 8556 bbe0d6985e59
child 8609 112a04c0473d
--- a/web/views/basecontrollers.py	Fri Nov 09 15:27:40 2012 +0100
+++ b/web/views/basecontrollers.py	Fri Nov 16 11:41:38 2012 +0100
@@ -190,7 +190,7 @@
 
 def _validation_error(req, ex):
     req.cnx.rollback()
-    ex.tr(req._) # translate messages using ui language
+    ex.translate(req._) # translate messages using ui language
     # XXX necessary to remove existant validation error?
     # imo (syt), it's not necessary
     req.session.data.pop(req.form.get('__errorurl'), None)