Skip to content

Commit

Permalink
This package now uses the plone i18n domain.
Browse files Browse the repository at this point in the history
svn path=/plone.app.z3cform/trunk/; revision=38600
  • Loading branch information
vincentfretin committed Aug 6, 2010
1 parent b309235 commit 17c687f
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 9 deletions.
3 changes: 3 additions & 0 deletions docs/HISTORY.txt
Expand Up @@ -4,6 +4,9 @@ Changelog
0.5.1 - unreleased 0.5.1 - unreleased
------------------ ------------------


* This package now uses the plone i18n domain.
[vincentfretin]

* Added option to override <form action=""> [miohtama] * Added option to override <form action=""> [miohtama]


* Updated README regarding form action and method [miohtama] * Updated README regarding form action and method [miohtama]
Expand Down
2 changes: 1 addition & 1 deletion plone/app/z3cform/configure.zcml
Expand Up @@ -3,7 +3,7 @@
xmlns:browser="http://namespaces.zope.org/browser" xmlns:browser="http://namespaces.zope.org/browser"
xmlns:i18n="http://namespaces.zope.org/i18n" xmlns:i18n="http://namespaces.zope.org/i18n"
xmlns:zcml="http://namespaces.zope.org/zcml" xmlns:zcml="http://namespaces.zope.org/zcml"
i18n_domain="plone.app.z3cform"> i18n_domain="plone">


<include package="plone.z3cform" /> <include package="plone.z3cform" />
<include package=".wysiwyg" /> <include package=".wysiwyg" />
Expand Down
2 changes: 1 addition & 1 deletion plone/app/z3cform/profiles.zcml
Expand Up @@ -3,7 +3,7 @@
xmlns:five="http://namespaces.zope.org/five" xmlns:five="http://namespaces.zope.org/five"
xmlns:genericsetup="http://namespaces.zope.org/genericsetup" xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
xmlns:plone="http://namespaces.plone.org/plone" xmlns:plone="http://namespaces.plone.org/plone"
i18n_domain="plone.app.z3cform"> i18n_domain="plone">


<genericsetup:registerProfile <genericsetup:registerProfile
name="default" name="default"
Expand Down
2 changes: 1 addition & 1 deletion plone/app/z3cform/templates/form.pt
Expand Up @@ -2,7 +2,7 @@
xmlns:metal="http://xml.zope.org/namespaces/metal" xmlns:metal="http://xml.zope.org/namespaces/metal"
xmlns:tal="http://xml.zope.org/namespaces/tal" xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:i18n="http://xml.zope.org/namespaces/i18n" xmlns:i18n="http://xml.zope.org/namespaces/i18n"
i18n:domain="plone.z3cform" i18n:domain="plone"
metal:use-macro="context/main_template/macros/master"> metal:use-macro="context/main_template/macros/master">


<metal:block fill-slot="main"> <metal:block fill-slot="main">
Expand Down
2 changes: 1 addition & 1 deletion plone/app/z3cform/templates/layout.pt
Expand Up @@ -4,7 +4,7 @@
xmlns:i18n="http://xml.zope.org/namespaces/i18n" xmlns:i18n="http://xml.zope.org/namespaces/i18n"
lang="en" lang="en"
metal:use-macro="here/main_template/macros/master" metal:use-macro="here/main_template/macros/master"
i18n:domain="plone.z3cform"> i18n:domain="plone">
<body> <body>


<metal:main fill-slot="main"> <metal:main fill-slot="main">
Expand Down
6 changes: 3 additions & 3 deletions plone/app/z3cform/templates/macros.pt
Expand Up @@ -2,7 +2,7 @@
xmlns:metal="http://xml.zope.org/namespaces/metal" xmlns:metal="http://xml.zope.org/namespaces/metal"
xmlns:tal="http://xml.zope.org/namespaces/tal" xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:i18n="http://xml.zope.org/namespaces/i18n" xmlns:i18n="http://xml.zope.org/namespaces/i18n"
i18n:domain="plone.app.z3cform"> i18n:domain="plone">


<body> <body>


Expand All @@ -16,13 +16,13 @@


<tal:status define="status view/status" condition="status"> <tal:status define="status view/status" condition="status">
<dl class="portalMessage error" tal:condition="view/widgets/errors"> <dl class="portalMessage error" tal:condition="view/widgets/errors">
<dt i18n:domain="plone" i18n:translate=""> <dt i18n:translate="">
Error Error
</dt> </dt>
<dd tal:content="status" /> <dd tal:content="status" />
</dl> </dl>
<dl class="portalMessage info" tal:condition="not: view/widgets/errors"> <dl class="portalMessage info" tal:condition="not: view/widgets/errors">
<dt i18n:domain="plone" i18n:translate=""> <dt i18n:translate="">
Info Info
</dt> </dt>
<dd tal:content="status" /> <dd tal:content="status" />
Expand Down
2 changes: 1 addition & 1 deletion plone/app/z3cform/tests/testing.zcml
Expand Up @@ -4,7 +4,7 @@
xmlns:genericsetup="http://namespaces.zope.org/genericsetup" xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
xmlns:plone="http://namespaces.plone.org/plone" xmlns:plone="http://namespaces.plone.org/plone"
xmlns:i18n="http://namespaces.zope.org/i18n" xmlns:i18n="http://namespaces.zope.org/i18n"
i18n_domain="plone.app.z3cform"> i18n_domain="plone">


<include package="zope.annotation" /> <include package="zope.annotation" />
<include package="plone.app.z3cform" /> <include package="plone.app.z3cform" />
Expand Down
2 changes: 1 addition & 1 deletion plone/app/z3cform/wysiwyg/configure.zcml
@@ -1,7 +1,7 @@
<configure <configure
xmlns="http://namespaces.zope.org/zope" xmlns="http://namespaces.zope.org/zope"
xmlns:z3c="http://namespaces.zope.org/z3c" xmlns:z3c="http://namespaces.zope.org/z3c"
i18n_domain="plone.z3cform"> i18n_domain="plone">


<class class=".widget.WysiwygWidget"> <class class=".widget.WysiwygWidget">
<require <require
Expand Down

0 comments on commit 17c687f

Please sign in to comment.