[gen] Ref field improved.

This commit is contained in:
Gaetan Delannay 2014-04-05 10:54:40 +02:00
parent b9bfee9615
commit 977cd0a225
13 changed files with 141 additions and 90 deletions
gen/mixins

View file

@ -1175,7 +1175,7 @@ class BaseMixin:
if not msg:
# Use the default i18n messages
suffix = 'ko'
if successfull: suffix = 'ok'
if successfull: suffix = 'done'
msg = self.translate('action_%s' % suffix)
if (resultType == 'computation') or not successfull:
self.say(msg)