web/views/workflow.py
changeset 4436 294e084f1263
parent 4252 6c4f109c2b03
parent 4409 374401b9b64d
child 4646 322c3dd96dd5
--- a/web/views/workflow.py	Tue Feb 02 18:24:45 2010 +0100
+++ b/web/views/workflow.py	Wed Feb 03 14:46:32 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 = _('status will change from %(st1)s to %(st2)s') % {
+        msg = self.req._('status will change from %(st1)s to %(st2)s') % {
             'st1': entity.printable_state,
             'st2': self._cw._(transition.destination().name)}
         self.w(u'<p>%s</p>\n' % msg)