Did I find the right examples for you? yes no

All Samples(51)  |  Call(45)  |  Derive(0)  |  Import(6)
Factory for creating i18n messages.

src/e/s/esdrt.content-1.2/esdrt/content/observation.py   esdrt.content(Download)
from collective.z3cform.datagridfield import DataGridFieldFactory
from collective.z3cform.datagridfield import DictRow
from esdrt.content import MessageFactory as _
from esdrt.content.subscriptions.interfaces import INotificationSubscriptions
from esdrt.content.subscriptions.interfaces import INotificationUnsubscriptions
class ITableRowSchema(form.Schema):
 
    line_title = schema.TextLine(title=_(u'Title'), required=True)
    co2 = schema.Int(title=_(u'CO\u2082'), required=False)
    ch4 = schema.Int(title=_(u'CH\u2084'), required=False)
    n2o = schema.Int(title=_(u'N\u2082O'), required=False)

src/e/s/esdrt.content-1.2/esdrt/content/esdrtfile.py   esdrt.content(Download)
from z3c.form import group
from zope import schema
from esdrt.content import MessageFactory as _
 
 
    """
    title = schema.TextLine(
        title=_(u'Title'),
        required=False,
        )
 
    form.primary('file')
    file = NamedBlobFile(
        title=_(u'File'),
 
    confidential = schema.Bool(
        title=_(u'Is a confidential file?'),
        description=_(u'Confidential files are only available for people '
                      u'taking part in the review process')

src/e/s/esdrt.content-1.2/esdrt/content/browser/statechange.py   esdrt.content(Download)
from esdrt.content import MessageFactory as _
from five import grok
from plone.app.workflow.browser.sharing import SharingView
from plone.directives import form
from plone.memoize.instance import memoize
class IAssignCounterPartForm(Interface):
    counterpart = schema.TextLine(
        title=_(u'Select the counterpart'),
    )
 
    comments = schema.Text(
        title=_(u'Enter the comments for your Counterpart'),
 
    workflow_action = schema.TextLine(
        title=_(u'Workflow action'),
        required=True
    )
class ISendCounterPartComments(Interface):
    comments = schema.Text(
        title=_(u'Enter the comments'),
        required=True
    )

src/e/s/esdrt.content-1.2/esdrt/content/commentanswer.py   esdrt.content(Download)
from Acquisition import aq_parent
from Acquisition.interfaces import IAcquirer
from esdrt.content import MessageFactory as _
from five import grok
from plone import api
    # and add directives here as necessary.
    text = RichText(
        title=_(u'Text'),
        required=True,
        )

src/e/s/esdrt.content-1.2/esdrt/content/comment.py   esdrt.content(Download)
from Acquisition import aq_parent
from Acquisition.interfaces import IAcquirer
from esdrt.content import MessageFactory as _
from five import grok
from plone import api
    # and add directives here as necessary.
    text = RichText(
        title=_(u'Text'),
        required=True,
        )

src/e/s/esdrt.content-1.2/esdrt/content/question.py   esdrt.content(Download)
from Acquisition import aq_parent
from Acquisition.interfaces import IAcquirer
from esdrt.content import MessageFactory as _
from esdrt.content.comment import IComment
from five import grok