--- a/src/pyams_default_theme/features/search/portlet/interfaces.py Mon Feb 01 13:36:23 2021 +0100
+++ b/src/pyams_default_theme/features/search/portlet/interfaces.py Mon Feb 01 13:48:27 2021 +0100
@@ -15,7 +15,7 @@
from zope.contentprovider.interfaces import IContentProvider
from zope.interface import Attribute, Interface
from zope.schema import Bool, Choice, Int
-from zope.schema.vocabulary import SimpleVocabulary, SimpleTerm
+from zope.schema.vocabulary import SimpleTerm, SimpleVocabulary
from pyams_i18n.schema import I18nTextLineField
@@ -92,14 +92,14 @@
default=FULL_HEADER_DISPLAY)
start_length = Int(title=_("Start length"),
- description=_("If you choose to display only header start, you can specify "
- "maximum text length"),
+ description=_("If you choose to display only header start, you can "
+ "specify maximum text length"),
required=True,
default=120)
button_title = I18nTextLineField(title=_("Button's title"),
- description=_("Navigation button's title is normally defined "
- "based on target's content type; you can "
- "override this label by giving a custom title "
- "here"),
+ description=_("Navigation button's title is normally "
+ "defined based on target's content type; you "
+ "can override this label by giving a custom "
+ "title here"),
required=False)