Ignore:
Timestamp:
Jun 11, 2007 7:35:11 PM (17 years ago)
Author:
mylan
Message:

Extend and refactor translations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • qPloneComments/trunk/skins/qplonecomments/validate_setup.vpy

    r805 r879  
    1111from Products.CMFCore.utils import getToolByName 
    1212from Products.CMFPlone import MessageFactory 
    13 from Products.CMFPlone import PloneMessageFactory as __ 
     13from Products.CMFPlone import PloneMessageFactory 
    1414_ = MessageFactory('plonecomments') 
    1515 
     
    2424 
    2525if 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.')) 
    2727else: 
    2828    return state 
Note: See TracChangeset for help on using the changeset viewer.