fix a Depression Warning
replace self.req._(... by self._cw._(...
--- a/web/views/workflow.py Thu Mar 04 08:50:03 2010 +0100
+++ b/web/views/workflow.py Thu Mar 04 08:50:21 2010 +0100
@@ -67,7 +67,7 @@
form = self.get_form(entity, transition)
self.w(u'<h4>%s %s</h4>\n' % (self._cw._(transition.name),
entity.view('oneline')))
- msg = self.req._('status will change from %(st1)s to %(st2)s') % {
+ msg = self._cw._('status will change from %(st1)s to %(st2)s') % {
'st1': entity.printable_state,
'st2': self._cw._(transition.destination(entity).name)}
self.w(u'<p>%s</p>\n' % msg)