[Zope3-checkins] CVS: zopeproducts/hellopackage -
configure.zcml:1.3 configure_bare.zcml:1.2
Philipp von Weitershausen
philikon at philikon.de
Sun Aug 3 15:36:33 EDT 2003
Update of /cvs-repository/zopeproducts/hellopackage
In directory cvs.zope.org:/tmp/cvs-serv19216/hellopackage
Modified Files:
configure.zcml configure_bare.zcml
Log Message:
Fixed up products according to changed made in Zope3 core:
Added i18n_domain attribute to configure files as this is required now
for many view and browser page directives.
=== zopeproducts/hellopackage/configure.zcml 1.2 => 1.3 ===
--- zopeproducts/hellopackage/configure.zcml:1.2 Tue Jul 29 15:35:12 2003
+++ zopeproducts/hellopackage/configure.zcml Sun Aug 3 14:35:28 2003
@@ -3,7 +3,7 @@
-->
<!--
-zopeConfigure is the root element of the ZCML file.
+configure is the root element of the ZCML file.
Besides enclosing the rest of the directive, you define some
namespaces on it in the standard XML namespaces way.
@@ -13,10 +13,15 @@
xmlns:foo="uri" defines another namespace. You can put elements in that
namespace by using the defined prefix ('foo:bar').
+
+i18n_domain="hellopackage" defines the internationalization (i18n)
+domain for this package
-->
-<zopeConfigure
+<configure
xmlns="http://namespaces.zope.org/zope"
- xmlns:browser="http://namespaces.zope.org/browser">
+ xmlns:browser="http://namespaces.zope.org/browser"
+ i18n_domain="hellopackage"
+ >
<!--
Declaration of a content object.
@@ -88,4 +93,4 @@
title="Hello world"
description="An object for hello worlding." />
-</zopeConfigure>
+</configure>
=== zopeproducts/hellopackage/configure_bare.zcml 1.1 => 1.2 ===
--- zopeproducts/hellopackage/configure_bare.zcml:1.1 Wed Feb 5 05:52:16 2003
+++ zopeproducts/hellopackage/configure_bare.zcml Sun Aug 3 14:35:28 2003
@@ -1,8 +1,10 @@
<!-- See configure.zcml for this with a lot of comments. This is just
to demo how short it is without comments. -->
-<zopeConfigure
+<configure
xmlns="http://namespaces.zope.org/zope"
- xmlns:browser="http://namespaces.zope.org/browser">
+ xmlns:browser="http://namespaces.zope.org/browser"
+ i18n_domain="hellopackage"
+ >
<content class=".hellomodule.HelloClass">
<factory
@@ -32,4 +34,4 @@
title="Hello world"
description="An object for hello worlding." />
-</zopeConfigure>
+</configure>
More information about the Zope3-Checkins
mailing list