[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/workflow -
__init__.py:1.18
Stephan Richter
srichter at cosmos.phy.tufts.edu
Thu Aug 7 21:14:49 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/interfaces/workflow
In directory cvs.zope.org:/tmp/cvs-serv25289/interfaces/workflow
Modified Files:
__init__.py
Log Message:
I18ned some more. Wow, the RegistrationWidget was tricky, but I fixed it.
I made the RegistrationWidget inherit from RadioWidget, which should have
been done this way in the first place.
I also noticed that there are still occurences where the interface field
attributes are not message-id'ed.
=== Zope3/src/zope/app/interfaces/workflow/__init__.py 1.17 => 1.18 ===
--- Zope3/src/zope/app/interfaces/workflow/__init__.py:1.17 Wed Jul 30 11:24:06 2003
+++ Zope3/src/zope/app/interfaces/workflow/__init__.py Thu Aug 7 20:14:44 2003
@@ -11,14 +11,13 @@
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
-"""
- Interfaces for workflow service, definition and instance.
+"""Interfaces for workflow service, definition and instance.
$Id$
"""
-
from zope.interface import Interface
from zope.interface import Attribute
+from zope.app.i18n import ZopeMessageIDFactory as _
from zope.app.interfaces.container import IContainer
from zope.app.interfaces.event import IEvent
from zope.app.interfaces.services.registration \
@@ -55,8 +54,8 @@
"""Registration for a workflow process definition."""
componentPath = ComponentPath(
- title=u"Component path",
- description=u"The physical path to the component",
+ title=_("Component path"),
+ description=_("The physical path to the component"),
required=True,
readonly=True,
)
More information about the Zope3-Checkins
mailing list