add additional hint to the "globally enabled" setting. respect 80 characters limit.
svn path=/plone.app.discussion/trunk/; revision=35079
This commit is contained in:
parent
454f911470
commit
7ef4f384e0
@ -17,41 +17,54 @@ class IDiscussionSettings(Interface):
|
|||||||
# - Types control panel: Allow comments on content types
|
# - Types control panel: Allow comments on content types
|
||||||
# - Search control panel: Show comments in search results
|
# - Search control panel: Show comments in search results
|
||||||
|
|
||||||
globally_enabled = schema.Bool(title=_(u"label_globally_enabled",
|
globally_enabled = schema.Bool(
|
||||||
|
title=_(u"label_globally_enabled",
|
||||||
default=u"Globally enable comments"),
|
default=u"Globally enable comments"),
|
||||||
description=_(u"help_globally_enabled",
|
description=_(u"help_globally_enabled",
|
||||||
default=u"If selected, users are able to "
|
default=u"If selected, users are able "
|
||||||
"post comments on the site."),
|
"to post comments on the site"
|
||||||
|
". Though, you have to "
|
||||||
|
"enable comments for "
|
||||||
|
"specific content types, "
|
||||||
|
"folders or content objects"
|
||||||
|
"before users will be able "
|
||||||
|
"to post comments."),
|
||||||
required=False,
|
required=False,
|
||||||
default=True)
|
default=True)
|
||||||
|
|
||||||
anonymous_comments = schema.Bool(title=_(u"Enable anonymous comments"),
|
anonymous_comments = schema.Bool(
|
||||||
|
title=_(u"Enable anonymous comments"),
|
||||||
description=_(u"help_anonymous_comments",
|
description=_(u"help_anonymous_comments",
|
||||||
default=u"If selected, anonymous users are "
|
default=u"If selected, anonymous "
|
||||||
"able to post comments without "
|
"users are able to post "
|
||||||
"logging in. It is highly "
|
"comments without loggin "
|
||||||
"recommended to use a captcha "
|
"in. It is highly "
|
||||||
"solution to prevent spam if "
|
"recommended to use a "
|
||||||
"this setting is enabled."),
|
"captcha solution to "
|
||||||
|
"prevent spam if this "
|
||||||
|
"setting is enabled."),
|
||||||
required=False,
|
required=False,
|
||||||
default=False)
|
default=False)
|
||||||
|
|
||||||
captcha = schema.Choice(title=_(u"Captcha"),
|
captcha = schema.Choice(
|
||||||
|
title=_(u"Captcha"),
|
||||||
description=_(u"help_captcha",
|
description=_(u"help_captcha",
|
||||||
default=u"Use this setting to enable or disable "
|
default=u"Use this setting to enable or "
|
||||||
"captcha validation for comments. If no "
|
"disable Captcha validation for "
|
||||||
"captcha options are currently available, "
|
"comments. Install "
|
||||||
"install plone.formwidget.captcha or "
|
"plone.formwidget.captcha or "
|
||||||
"plone.formwidget.recaptcha."),
|
"plone.formwidget.recaptcha if there "
|
||||||
|
"are no options available."),
|
||||||
required=True,
|
required=True,
|
||||||
default='disabled',
|
default='disabled',
|
||||||
vocabulary='plone.app.discussion.vocabularies.CaptchaVocabulary',)
|
vocabulary='plone.app.discussion.vocabularies.CaptchaVocabulary',)
|
||||||
|
|
||||||
show_commenter_image = schema.Bool(title=_(u"Show commenter image"),
|
show_commenter_image = schema.Bool(
|
||||||
|
title=_(u"Show commenter image"),
|
||||||
description=_(u"help_show_commenter_image",
|
description=_(u"help_show_commenter_image",
|
||||||
default=u"If selected, an image of the "
|
default=u"If selected, an image "
|
||||||
"user is shown next to the "
|
"of the user is shown "
|
||||||
"comment."),
|
"next to the comment."),
|
||||||
required=False,
|
required=False,
|
||||||
default=True)
|
default=True)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user