Translating in a workflow script is a mistake. One should raise a...
Jérome Perrin authored
Translating in a workflow script is a mistake. One should raise a ValidationFailed with a Message instance so that translations is performed when the message is displayed, not when it's stored in the database.
Also use newer checkConsistency ConsistencyMessage API

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14277 20353a03-c40f-0410-a6d1-a30d3c3de9de
4e8750fd