Did I find the right examples for you? yes no

All Samples(10)  |  Call(8)  |  Derive(0)  |  Import(2)

src/c/o/collective.multimodeview-0.2/collective/multimodeview/browser/base.py   collective.multimodeview(Download)
from Products.Five import BrowserView
 
from collective.multimodeview import MultiModeViewMessageFactory as _
 
logger = logging.getLogger('collective.multimodeview')
    # checkable (see check_form)
    form_error_msg = _(
        u'form_error_msg',
        default=u'The form you filled has not ben sent properly, ' + \
        'please try again.'
    # processed.
    success_msg = _(
        u'success_msg',
        default=u'Changes have been saved.'
        )
 
    # Message displayed as a portal message when the form was not valid.
    error_msg = _(
        u'error_msg',
    # Message displayed when the user hit the cancel button.
    cancel_msg = _(
        u'cancel_msg',
        default=u'Changes have been cancelled.'
        )

src/c/o/collective.multimodeview-HEAD/collective/multimodeview/browser/base.py   collective.multimodeview(Download)
from Products.Five import BrowserView
 
from collective.multimodeview import MultiModeViewMessageFactory as _
 
logger = logging.getLogger('collective.multimodeview')
    # checkable (see check_form)
    form_error_msg = _(
        u'form_error_msg',
        default=u'The form you filled has not ben sent properly, ' + \
        'please try again.'
    # processed.
    success_msg = _(
        u'success_msg',
        default=u'Changes have been saved.'
        )
 
    # Message displayed as a portal message when the form was not valid.
    error_msg = _(
        u'error_msg',
    # Message displayed when the user hit the cancel button.
    cancel_msg = _(
        u'cancel_msg',
        default=u'Changes have been cancelled.'
        )