[Zope3-checkins] CVS: Zope3/src/zope/app/onlinehelp - configure.zcml:1.6 metadirectives.py:1.2

Philipp von Weitershausen philikon at philikon.de
Sun Aug 3 16:09:05 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/onlinehelp
In directory cvs.zope.org:/tmp/cvs-serv25485/src/zope/app/onlinehelp

Modified Files:
	configure.zcml 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/onlinehelp/configure.zcml 1.5 => 1.6 ===
--- Zope3/src/zope/app/onlinehelp/configure.zcml:1.5	Sat Aug  2 07:19:21 2003
+++ Zope3/src/zope/app/onlinehelp/configure.zcml	Sun Aug  3 15:08:30 2003
@@ -1,6 +1,8 @@
 <configure
    xmlns="http://namespaces.zope.org/zope"
-   xmlns:help="http://namespaces.zope.org/help">
+   xmlns:help="http://namespaces.zope.org/help"
+   i18n_domain="zope"
+   >
 
   <content class="zope.app.onlinehelp.OnlineHelpTopic">
     <require


=== Zope3/src/zope/app/onlinehelp/metadirectives.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/onlinehelp/metadirectives.py:1.1	Sat Aug  2 07:19:21 2003
+++ Zope3/src/zope/app/onlinehelp/metadirectives.py	Sun Aug  3 15:08:30 2003
@@ -15,7 +15,7 @@
 
 $Id$
 """
-from zope.configuration.fields import GlobalObject, Path
+from zope.configuration.fields import GlobalObject, Path, MessageID
 from zope.interface import Interface, implements, classProvides
 from zope.schema import TextLine, BytesLine
 
@@ -26,31 +26,31 @@
         title=u"Topic Id",
         description=u"Id of the topic as it will appear in the URL.",
         required=True)
-    
-    title = TextLine(
+
+    title = MessageID(
         title=u"Title",
         description=u"Provides a title for the online Help Topic.",
         required=True)
-    
+
     parent = BytesLine(
         title=u"Parent Topic",
         description=u"Id of the parent topic.",
         default="",
         required=False)
-    
+
     for_ = GlobalObject(
         title=u"Object Interface",
         description=u"Interface for which this Help Topic is registered.",
         default=None,
         required=False)
-    
+
     view = BytesLine(
         title=u"View Name",
         description=u"The view name for which this Help Topic is registered.",
         default="",
         required=False)
-    
+
     doc_path = Path(
         title=u"Path to File",
-        description=u"Path to the fiel that contains the Help Topic content.",
+        description=u"Path to the file that contains the Help Topic content.",
         required=True)




More information about the Zope3-Checkins mailing list