[Checkins] SVN: grokproject/trunk/ Update template for site.zcml,
there is no more annoying i18n warning
Mikhail Kashkin
m at keysolutions.ru
Sat Jul 14 12:08:19 EDT 2007
Log message for revision 77945:
Update template for site.zcml, there is no more annoying i18n warning
Changed:
U grokproject/trunk/README.txt
U grokproject/trunk/grokproject/template/buildout.cfg_tmpl
-=-
Modified: grokproject/trunk/README.txt
===================================================================
--- grokproject/trunk/README.txt 2007-07-14 16:04:47 UTC (rev 77944)
+++ grokproject/trunk/README.txt 2007-07-14 16:08:19 UTC (rev 77945)
@@ -25,7 +25,7 @@
0.5.2 (unreleased)
------------------
-* ...
+* Updated template for site.zcml, no annoying warning at start
0.5.1 (2007-07-14)
------------------
Modified: grokproject/trunk/grokproject/template/buildout.cfg_tmpl
===================================================================
--- grokproject/trunk/grokproject/template/buildout.cfg_tmpl 2007-07-14 16:04:47 UTC (rev 77944)
+++ grokproject/trunk/grokproject/template/buildout.cfg_tmpl 2007-07-14 16:08:19 UTC (rev 77945)
@@ -14,33 +14,35 @@
site.zcml = <include package="${package}" />
<include package="zope.app.twisted" />
- <unauthenticatedPrincipal id="zope.anybody"
- title="Unauthenticated User" />
- <unauthenticatedGroup id="zope.Anybody"
- title="Unauthenticated Users" />
- <authenticatedGroup id="zope.Authenticated"
+ <configure i18n_domain="${package}">
+ <unauthenticatedPrincipal id="zope.anybody"
+ title="Unauthenticated User" />
+ <unauthenticatedGroup id="zope.Anybody"
+ title="Unauthenticated Users" />
+ <authenticatedGroup id="zope.Authenticated"
title="Authenticated Users" />
- <everybodyGroup id="zope.Everybody"
- title="All Users" />
- <principal id="zope.manager"
- title="Manager"
- login="${user}"
- password_manager="Plain Text"
- password="${passwd}"
- />
+ <everybodyGroup id="zope.Everybody"
+ title="All Users" />
+ <principal id="zope.manager"
+ title="Manager"
+ login="${user}"
+ password_manager="Plain Text"
+ password="${passwd}"
+ />
- <!-- Replace the following directive if you don't want
- public access -->
- <grant permission="zope.View"
- principal="zope.Anybody" />
- <grant permission="zope.app.dublincore.view"
- principal="zope.Anybody" />
+ <!-- Replace the following directive if you don't want
+ public access -->
+ <grant permission="zope.View"
+ principal="zope.Anybody" />
+ <grant permission="zope.app.dublincore.view"
+ principal="zope.Anybody" />
- <role id="zope.Manager" title="Site Manager" />
- <role id="zope.Member" title="Site Member" />
- <grantAll role="zope.Manager" />
- <grant role="zope.Manager"
- principal="zope.manager" />
+ <role id="zope.Manager" title="Site Manager" />
+ <role id="zope.Member" title="Site Member" />
+ <grantAll role="zope.Manager" />
+ <grant role="zope.Manager"
+ principal="zope.manager" />
+ </configure>
[data]
recipe = zc.recipe.filestorage
More information about the Checkins
mailing list