calling unicode instead of gettext... stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 29 Jan 2010 17:42:38 +0100
branchstable
changeset 4409 374401b9b64d
parent 4408 899b426087ab
child 4410 fdf0ffbab313
calling unicode instead of gettext...
web/views/workflow.py
--- a/web/views/workflow.py	Fri Jan 29 16:54:49 2010 +0100
+++ b/web/views/workflow.py	Fri Jan 29 17:42:38 2010 +0100
@@ -49,7 +49,7 @@
         self.w(form.error_message())
         self.w(u'<h4>%s %s</h4>\n' % (self.req._(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.req._(transition.destination().name)}
         self.w(u'<p>%s</p>\n' % msg)