Did I find the right examples for you? yes no

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

src/c/o/collective.lineage-1.1/src/collective/lineage/descriptors.py   collective.lineage(Download)
from zope import interface
from p4a.subtyper import interfaces as stifaces
from collective.lineage import interfaces
from collective.lineage import MessageFactory as _
 
 
    interface.implements(stifaces.IFolderishContentTypeDescriptor)
    title = _(u'Child Site')
    description = _(u'A child site')
    type_interface = interfaces.IChildSite

src/c/o/collective.lineage-HEAD/src/collective/lineage/descriptors.py   collective.lineage(Download)
from collective.lineage import MessageFactory as _
from collective.lineage import interfaces
from p4a.subtyper import interfaces as stifaces
from zope import interface
 
class ChildSiteDescriptor(object):
    """A descriptor for the Child Site subtype.
    """
    interface.implements(stifaces.IFolderishContentTypeDescriptor)
    title = _(u'Child Site')
    description = _(u'A child site')

src/c/o/collective.lineage-1.1/src/collective/lineage/content.py   collective.lineage(Download)
 
from collective.lineage.interfaces import IChildSite
from collective.lineage import MessageFactory as _
 
from OFS.OrderSupport import OrderSupport
    description = u""
 
factory = Factory(ChildFolder, title=_(u"Create a new lineage folder"))
 
 

src/c/o/collective.lineage-HEAD/src/collective/lineage/content.py   collective.lineage(Download)
from OFS.OrderSupport import OrderSupport
from Products.CMFDynamicViewFTI.browserdefault import BrowserDefaultMixin
from Products.CMFPlone.interfaces.siteroot import IPloneSiteRoot
from collective.lineage import MessageFactory as _
from collective.lineage.interfaces import IChildSite
    description = u""
 
factory = Factory(ChildFolder, title=_(u"Create a new lineage folder"))