[Checkins] SVN: zope.formlib/trunk/src/zope/formlib/itemswidgets.py Default message for item edit widgets changed from 'no value' to 'nothing selected'

Charlie Clark charlie at begeistert.org
Sat Apr 24 10:22:40 EDT 2010


Log message for revision 111361:
  Default message for item edit widgets changed from 'no value' to 'nothing selected'

Changed:
  U   zope.formlib/trunk/src/zope/formlib/itemswidgets.py

-=-
Modified: zope.formlib/trunk/src/zope/formlib/itemswidgets.py
===================================================================
--- zope.formlib/trunk/src/zope/formlib/itemswidgets.py	2010-04-24 14:14:16 UTC (rev 111360)
+++ zope.formlib/trunk/src/zope/formlib/itemswidgets.py	2010-04-24 14:22:40 UTC (rev 111361)
@@ -426,7 +426,7 @@
     """Provide a selection list for the item."""
 
     _messageNoValue = _("vocabulary-missing-single-value-for-edit",
-                        "(no value)")
+                        "(nothing selected)")
 
     def renderValue(self, value):
         rendered_items = self.renderItems(value)
@@ -457,7 +457,7 @@
     orientation = "vertical"
 
     _messageNoValue = _("vocabulary-missing-single-value-for-edit",
-                        "(no value)")
+                        "(nothing selected)")
 
     def renderItem(self, index, text, value, name, cssClass):
         """Render an item of the list."""
@@ -496,7 +496,7 @@
     """Items widget supporting multiple selections."""
 
     _messageNoValue = _("vocabulary-missing-multiple-value-for-edit",
-                        "(no values)")
+                        "(nothing selected)")
     _displayItemForMissingValue = False
 
     def renderItems(self, value):



More information about the checkins mailing list