Description for text transform added to the discussion control panel.

svn path=/plone.app.discussion/trunk/; revision=46027
This commit is contained in:
Timo Stollenwerk 2010-11-29 18:54:29 +00:00
parent 9dd33c47d0
commit ea2ff81b43
2 changed files with 11 additions and 0 deletions

View File

@ -4,6 +4,9 @@ Changelog
1.0RC1 (unreleased) 1.0RC1 (unreleased)
------------------- -------------------
- Description for text transform added to the discussion control panel.
[timo]
- Move the discussion control panel to the core Plone configuration. - Move the discussion control panel to the core Plone configuration.
[timo] [timo]

View File

@ -47,6 +47,14 @@ class IDiscussionSettings(Interface):
text_transform = schema.Choice( text_transform = schema.Choice(
title=_(u"label_text_transform", title=_(u"label_text_transform",
default="Comment text transform"), default="Comment text transform"),
description=_(u"help_text_transform",
default=u"Use this setting to choose if the comment text " +
"should be transformed in any way. You can choose "
"between 'Plain text' and 'Intelligent text'. " +
"'Intelligent text' converts plain text into HTML " +
"where line breaks and indentation is preserved, " +
"and web and email addresses are made into " +
"clickable links."),
required=True, required=True,
default='text/plain', default='text/plain',
vocabulary='plone.app.discussion.vocabularies.TextTransformVocabulary', vocabulary='plone.app.discussion.vocabularies.TextTransformVocabulary',