web/__init__.py
changeset 3890 d7a270f50f54
parent 3777 3ef8cdb5fb1c
parent 3803 414bb8439002
child 4252 6c4f109c2b03
--- a/web/__init__.py	Sun Nov 08 21:53:18 2009 +0100
+++ b/web/__init__.py	Fri Nov 20 19:35:54 2009 +0100
@@ -23,12 +23,12 @@
 
 class stdmsgs(object):
     """standard ui message (in a class for bw compat)"""
-    BUTTON_OK     = _('button_ok')
-    BUTTON_APPLY  = _('button_apply')
-    BUTTON_CANCEL = _('button_cancel')
-    BUTTON_DELETE = _('button_delete')
-    YES = _('yes')
-    NO  = _('no')
+    BUTTON_OK     = (_('button_ok'), 'OK_ICON')
+    BUTTON_APPLY  = (_('button_apply'), 'APPLY_ICON')
+    BUTTON_CANCEL = (_('button_cancel'), 'CANCEL_ICON')
+    BUTTON_DELETE = (_('button_delete'), 'TRASH_ICON')
+    YES = (_('yes'), None)
+    NO  = (_('no'), None)
 
 
 def eid_param(name, eid):