web/views/basecontrollers.py
changeset 8556 bbe0d6985e59
parent 8487 017af22e7678
child 8594 001159e2e4f3
--- a/web/views/basecontrollers.py	Tue Sep 11 22:32:01 2012 +0200
+++ b/web/views/basecontrollers.py	Mon Sep 17 17:48:55 2012 +0200
@@ -190,6 +190,7 @@
 
 def _validation_error(req, ex):
     req.cnx.rollback()
+    ex.tr(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)