Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(16)  |  Call(14)  |  Derive(0)  |  Import(2)

src/s/c/sc.social.bookmarks-1.2.3/sc/social/bookmarks/controlpanel/bookmarks.py   sc.social.bookmarks(Download)
from zope.app.form.browser.itemswidgets import OrderedMultiSelectWidget as BaseOrderedMultiSelectWidget
 
from sc.social.bookmarks import _
 
 
class IProvidersSchema(Interface):
 
    bookmark_providers = Tuple(
        title=_(u'Bookmark providers'),
        description=_(u'help_selected_providers',
 
    enabled_portal_types = Tuple(
        title=_(u'Content types'),
        description=_(u'help_portal_types',
            default=u"Please select content types in which the viewlet will be applied.",

src/s/c/sc.social.bookmarks-1.2.3/sc/social/bookmarks/browser/portlet.py   sc.social.bookmarks(Download)
from plone.app.portlets.portlets import base
 
from sc.social.bookmarks import _
from sc.social.bookmarks.browser.common import SocialBookmarksBase
 
    def title(self):
        return _(u"Social Bookmarks Portlet")
 
 
class AddForm(base.NullAddForm):
    form_fields = form.Fields(ISocialBookmarksPortlet)
    label = _(u"Add a social bookmarks portlet")
    description = _(u"This portlet shows links to other sites, where the "