web/views/workflow.py
branchstable
changeset 4780 58432e8e7dde
parent 4646 322c3dd96dd5
child 4995 1817b87c7f67
--- 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)