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:
Timo Stollenwerk 2010-03-17 10:42:37 +00:00
parent 454f911470
commit 7ef4f384e0
1 changed files with 45 additions and 32 deletions

View File

@ -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(
default=u"Globally enable comments"), title=_(u"label_globally_enabled",
description=_(u"help_globally_enabled", default=u"Globally enable comments"),
default=u"If selected, users are able to " description=_(u"help_globally_enabled",
"post comments on the site."), default=u"If selected, users are able "
required=False, "to post comments on the site"
default=True) ". Though, you have to "
"enable comments for "
"specific content types, "
"folders or content objects"
"before users will be able "
"to post comments."),
required=False,
default=True)
anonymous_comments = schema.Bool(title=_(u"Enable anonymous comments"), anonymous_comments = schema.Bool(
description=_(u"help_anonymous_comments", title=_(u"Enable anonymous comments"),
default=u"If selected, anonymous users are " description=_(u"help_anonymous_comments",
"able to post comments without " default=u"If selected, anonymous "
"logging in. It is highly " "users are able to post "
"recommended to use a captcha " "comments without loggin "
"solution to prevent spam if " "in. It is highly "
"this setting is enabled."), "recommended to use a "
required=False, "captcha solution to "
default=False) "prevent spam if this "
"setting is enabled."),
required=False,
default=False)
captcha = schema.Choice(title=_(u"Captcha"), captcha = schema.Choice(
description=_(u"help_captcha", title=_(u"Captcha"),
default=u"Use this setting to enable or disable " description=_(u"help_captcha",
"captcha validation for comments. If no " default=u"Use this setting to enable or "
"captcha options are currently available, " "disable Captcha validation for "
"install plone.formwidget.captcha or " "comments. Install "
"plone.formwidget.recaptcha."), "plone.formwidget.captcha or "
required=True, "plone.formwidget.recaptcha if there "
default='disabled', "are no options available."),
vocabulary='plone.app.discussion.vocabularies.CaptchaVocabulary',) required=True,
default='disabled',
vocabulary='plone.app.discussion.vocabularies.CaptchaVocabulary',)
show_commenter_image = schema.Bool(title=_(u"Show commenter image"), show_commenter_image = schema.Bool(
description=_(u"help_show_commenter_image", title=_(u"Show commenter image"),
default=u"If selected, an image of the " description=_(u"help_show_commenter_image",
"user is shown next to the " default=u"If selected, an image "
"comment."), "of the user is shown "
"next to the comment."),
required=False, required=False,
default=True) default=True)