[Checkins] SVN: zope.file/trunk/src/zope/file/contenttype.py The __name__s of form fields aren't supposed to be translatable.

Marius Gedminas marius at pov.lt
Tue May 30 06:40:19 EDT 2006


Log message for revision 68394:
  The __name__s of form fields aren't supposed to be translatable.
  
  

Changed:
  U   zope.file/trunk/src/zope/file/contenttype.py

-=-
Modified: zope.file/trunk/src/zope/file/contenttype.py
===================================================================
--- zope.file/trunk/src/zope/file/contenttype.py	2006-05-30 10:12:59 UTC (rev 68393)
+++ zope.file/trunk/src/zope/file/contenttype.py	2006-05-30 10:40:18 UTC (rev 68394)
@@ -76,7 +76,7 @@
 
     encoding_field = zope.formlib.form.Field(
         zope.schema.Choice(
-            __name__=_("encoding"),
+            __name__="encoding",
             title=_("Encoding"),
             description=_("Character data encoding"),
             source=mimetype.source.codecSource,



More information about the Checkins mailing list