[wf graph] translate group names as well 3.5
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 18 Sep 2009 09:16:20 +0200
branch3.5
changeset 3307 d1230b89d887
parent 3306 bf50dc056edd
child 3308 88f5f89d8d1b
[wf graph] translate group names as well
web/views/workflow.py
--- a/web/views/workflow.py	Fri Sep 18 09:16:01 2009 +0200
+++ b/web/views/workflow.py	Fri Sep 18 09:16:20 2009 +0200
@@ -210,7 +210,7 @@
             if tr.require_group:
                 descr.append('%s %s'% (
                     self._('groups:'),
-                    ','.join(g.name for g in tr.require_group)))
+                    ','.join(g.printable_value('name') for g in tr.require_group)))
             if tr.condition:
                 descr.append('%s %s'% (
                     self._('condition:'),