[reledit] default label should be translated, I don't thing we've an opportunity to do it another way as uicfg objects are static stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 16 Nov 2011 22:07:32 +0100
branchstable
changeset 8086 a057a0a4371b
parent 8085 51929d531aff
child 8087 dc788369d35f
child 8098 e80edd022901
[reledit] default label should be translated, I don't thing we've an opportunity to do it another way as uicfg objects are static
web/views/reledit.py
--- a/web/views/reledit.py	Wed Nov 16 22:07:27 2011 +0100
+++ b/web/views/reledit.py	Wed Nov 16 22:07:32 2011 +0100
@@ -176,6 +176,8 @@
                     self._cw, rschema.type, role)
             else:
                 default = self._cw._('<not specified>')
+        else:
+            default = self._cw._(default)
         return xml_escape(default)
 
     def _is_composite(self):