[Zope3-checkins] CVS: Zope3/src/zope/app/security/registries -
metadirectives.py:1.2
Philipp von Weitershausen
philikon at philikon.de
Sun Aug 3 16:09:13 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/security/registries
In directory cvs.zope.org:/tmp/cvs-serv25485/src/zope/app/security/registries
Modified Files:
metadirectives.py
Log Message:
Went through the directives that Stephan converted and declared titles
and descriptions as MessageIDs. This required set of ZCML files and tests
to be updated.
=== Zope3/src/zope/app/security/registries/metadirectives.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/security/registries/metadirectives.py:1.1 Sat Aug 2 16:05:39 2003
+++ Zope3/src/zope/app/security/registries/metadirectives.py Sun Aug 3 15:08:39 2003
@@ -17,6 +17,7 @@
"""
from zope.interface import Interface
from zope.schema import TextLine, Text, Id
+from zope.configuration.fields import MessageID
class IBaseDefineDirective(Interface):
"""Define a new security object."""
@@ -26,12 +27,12 @@
description=u"Id as which this object will be known and used.",
required=True)
- title = TextLine(
+ title = MessageID(
title=u"Title",
description=u"Provides a title for the object.",
required=True)
- description = Text(
+ description = MessageID(
title=u"Title",
description=u"Provides a description for the object.",
required=False)
More information about the Zope3-Checkins
mailing list