web/views/cwuser.py
changeset 5237 10dd0dd78778
parent 5236 13296aa038a9
child 5239 471554b842d2
--- a/web/views/cwuser.py	Tue Apr 13 19:41:20 2010 +0200
+++ b/web/views/cwuser.py	Tue Apr 13 19:43:30 2010 +0200
@@ -123,8 +123,8 @@
         for access_type in objtype_access[objtype]:
             rset = self._cw.execute(rql % access_type, {'e': entity.eid})
             if rset:
-                self.w(u'<div>Can %s:</div>' % access_type)
-                self.w(u'<div>%s</div><br/>' % self.view('csv', rset, 'null'))
+                self.w(u'<div>%s:</div>' % self._cw.__(access_type + '_permission'))
+                self.w(u'<div>%s</div><br/>' % self._cw.view('csv', rset, 'null'))
 
 class CWGroupInContextView(EntityView):
     __regid__ = 'incontext'