Changeset 879 in products for qPloneComments/trunk/skins/qplonecomments/validate_setup.vpy
- Timestamp:
- Jun 11, 2007 7:35:11 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
qPloneComments/trunk/skins/qplonecomments/validate_setup.vpy
r805 r879 11 11 from Products.CMFCore.utils import getToolByName 12 12 from Products.CMFPlone import MessageFactory 13 from Products.CMFPlone import PloneMessageFactory as __13 from Products.CMFPlone import PloneMessageFactory 14 14 _ = MessageFactory('plonecomments') 15 15 … … 24 24 25 25 if state.getErrors(): 26 return state.set(status='failure', portal_status_message= __(u'Please correct the indicated errors.'))26 return state.set(status='failure', portal_status_message=PloneMessageFactory(u'Please correct the indicated errors.')) 27 27 else: 28 28 return state
Note: See TracChangeset
for help on using the changeset viewer.