Removed a few more unicode literals.
This commit is contained in:
@@ -58,13 +58,13 @@ comment form with the "website" field::
|
||||
|
||||
# Interface to define the fields we want to add to the comment form.
|
||||
class ICommentExtenderFields(Interface):
|
||||
website = schema.TextLine(title=u"Website", required=False)
|
||||
website = schema.TextLine(title="Website", required=False)
|
||||
|
||||
# Persistent class that implements the ICommentExtenderFields interface
|
||||
@adapter(Comment)
|
||||
class CommentExtenderFields(Persistent):
|
||||
interface.implements(ICommentExtenderFields)
|
||||
website = u""
|
||||
website = ""
|
||||
|
||||
# CommentExtenderFields factory
|
||||
CommentExtenderFactory = factory(CommentExtenderFields)
|
||||
|
||||
@@ -20,8 +20,8 @@ configure.zcml::
|
||||
Define an interface IMyDexterityContentType groked schema, I added::
|
||||
|
||||
allowDiscussion = schema.Bool(
|
||||
title=_(u"Allow Users to Comment"),
|
||||
description=_(u"Allow users to commemt on you. Comments
|
||||
title=_("Allow Users to Comment"),
|
||||
description=_("Allow users to comment on you. Comments
|
||||
are shown at the end of each page"),
|
||||
required=True,
|
||||
default=True,
|
||||
|
||||
Reference in New Issue
Block a user