[CMF-checkins] CVS: CMF/CMFDefault/skins/zpt_generic - reconfig_form.pt:1.3.26.1 registered.pt:1.3.20.1 review.pt:1.4.20.1
Yvo Schubbe
schubbe@web.de
Thu, 27 Feb 2003 19:29:12 -0500
Update of /cvs-repository/CMF/CMFDefault/skins/zpt_generic
In directory cvs.zope.org:/tmp/cvs-serv27643/CMFDefault/skins/zpt_generic
Modified Files:
Tag: yuppie-collector122-branch
reconfig_form.pt registered.pt review.pt
Log Message:
- added i18n attributes
- closed empty tags
=== CMF/CMFDefault/skins/zpt_generic/reconfig_form.pt 1.3 => 1.3.26.1 ===
--- CMF/CMFDefault/skins/zpt_generic/reconfig_form.pt:1.3 Tue Apr 2 19:10:34 2002
+++ CMF/CMFDefault/skins/zpt_generic/reconfig_form.pt Thu Feb 27 19:29:09 2003
@@ -2,96 +2,102 @@
xmlns:metal="http://xml.zope.org/namespaces/metal"
metal:use-macro="here/main_template/macros/master">
<body>
-<div metal:fill-slot="main">
+<div metal:fill-slot="main" i18n:domain="cmf_default">
<div class="Desktop">
-<h3> Configure the Portal </h3>
+<h3 i18n:translate="">Configure the Portal</h3>
-<p> This form is used to set the portal configuration options.</p>
+<p i18n:translate="">This form is used to set the portal configuration
+ options.</p>
<div tal:define="pprops here/portal_properties">
-<form action="" method="Post"
+<form action="" method="post"
tal:attributes="action string:${here/portal_url}/reconfig"
>
<table class="FormLayout">
<tr>
- <th valign="top" align="left"> Portal 'From' name
+ <th valign="top" align="left" i18n:translate="">Portal 'From' name
</th>
<td>
<input name="email_from_name" value=""
- tal:attributes="value pprops/email_from_name">
+ tal:attributes="value pprops/email_from_name" />
<dl class="FieldHelp">
- <dd> When the portal generates mail, it uses this name
+ <dd i18n:translate=""> When the portal generates mail, it uses this name
as its (apparent) sender. </dd>
</dl>
</td>
</tr>
<tr>
- <th valign="top" align="left"> Portal 'From' address
+ <th valign="top" align="left" i18n:translate="">Portal 'From' address
</th>
<td><input name="email_from_address" value=""
- tal:attributes="value pprops/email_from_address">
+ tal:attributes="value pprops/email_from_address" />
<dl class="FieldHelp">
- <dd> When the portal generates mail, it uses this address
- as its (apparent) return address. </dd>
+ <dd i18n:translate="">When the portal generates mail, it uses this
+ address as its (apparent) return address.</dd>
</dl>
</td>
</tr>
<tr>
- <th valign="top" align="left"> SMTP server
+ <th valign="top" align="left" i18n:translate="">SMTP server
</th>
<td>
<input name="smtp_server" value=""
- tal:attributes="value pprops/smtp_server">
+ tal:attributes="value pprops/smtp_server" />
<dl class="FieldHelp">
- <dd> This is the address of your local SMTP (out-going
+ <dd i18n:translate="">This is the address of your local SMTP (out-going
mail) server.</dd>
</dl>
</td>
</tr>
<tr>
- <th valign="top" align="left"> Portal title
+ <th valign="top" align="left" i18n:translate="">Portal title
</th>
<td>
<input name="title" value=""
- tal:attributes="value pprops/title">
+ tal:attributes="value pprops/title" />
<dl class="FieldHelp">
- <dd> This is the title which appears at the top of every
+ <dd i18n:translate="">This is the title which appears at the top of every
portal page.</dd>
</dl>
</td>
</tr>
<tr>
- <th valign="top" align="left"> Portal description
+ <th valign="top" align="left" i18n:translate="">Portal description
</th>
<td>
<textarea cols="40" rows="6" name="description"
style="width: 100%" wrap="soft"
- tal:content="pprops/description"></textarea>
+ tal:content="pprops/description"></textarea>
<dl class="FieldHelp">
- <dd> This description is made available via syndicated
+ <dd i18n:translate="">This description is made available via syndicated
content and elsewhere. It should be fairly brief.</dd>
</dl>
</td>
</tr>
<tr>
- <th valign="top" align="left"> Password policy
+ <th valign="top" align="left" i18n:translate="">Password policy
</th>
<td>
- <input type=radio name="validate_email:int"
- value="1" tal:attributes="checked pprops/validate_email">
- Generate and email members' initial password<br>
- <input type=radio name="validate_email:int" value="0"
- tal:define="aec pprops/validate_email"
- tal:attributes="checked python:not(aec)">
- Allow members to select their initial password
+ <input type="radio" name="validate_email:int"
+ value="1" tal:attributes="checked pprops/validate_email" />
+ <span tal:omit-tag="" i18n:translate="">Generate and email members'
+ initial password</span>
+ <br />
+ <input type="radio" name="validate_email:int" value="0"
+ tal:define="aec pprops/validate_email"
+ tal:attributes="checked python:not(aec)" />
+ <span tal:omit-tag="" i18n:translate="">Allow members to select their
+ initial password</span>
</td>
</tr>
<tr>
<td></td>
- <td colspan="2"><input type="Submit" value="Change"></td>
+ <td colspan="2">
+ <input type="submit" value="Change" i18n:attributes="value" />
+ </td>
</tr>
</table>
</form>
=== CMF/CMFDefault/skins/zpt_generic/registered.pt 1.3 => 1.3.20.1 ===
--- CMF/CMFDefault/skins/zpt_generic/registered.pt:1.3 Sun Jul 14 18:45:07 2002
+++ CMF/CMFDefault/skins/zpt_generic/registered.pt Thu Feb 27 19:29:09 2003
@@ -4,35 +4,40 @@
<body>
<div metal:fill-slot="main"
tal:define="purl here/portal_url;"
+ i18n:domain="cmf_default"
>
<div class="Desktop"
tal:define="pprops here/portal_properties; ve pprops/validate_email">
-<h1> Success! </h1>
+<h1 i18n:translate="">Success!</h1>
-<p> You have been registered as a member. </p>
+<p i18n:translate="">You have been registered as a member.</p>
-<p tal:condition="ve"> You will receive an email shortly containing
- your password and instructions on how to activate your membership.
-</p>
+<p tal:condition="ve" i18n:translate="">You will receive an email shortly
+ containing your password and instructions on how to activate your
+ membership.</p>
-<p tal:condition="python:not(ve)"> You can log on immediately by clicking
+<p tal:condition="python:not(ve)">
+ <span tal:omit-tag="" i18n:translate="">You can log on immediately by
+ clicking</span>
<a href=""
- tal:define="pss modules/Products.PythonScripts.standard;
+ tal:define="pss modules/Products.PythonScripts.standard;
uname request/username;
u python:pss.url_quote(uname);
pword request/password;
p python:pss.url_quote(pword);
"
- tal:attributes="
- href string:${purl}/logged_in?__ac_name=${u}&__ac_password=${p}"
- >here</a>.
+ tal:attributes="
+ href string:${purl}/logged_in?__ac_name=${u}&__ac_password=${p}"
+ i18n:translate=""
+ >here</a>.
</p>
-<p>
+<p>
<a href=""
- tal:attributes="href string:${purl}/">Return to homepage</a>
+ tal:attributes="href string:${purl}/"
+ i18n:translate="">Return to homepage</a>
</p>
</div>
</div>
=== CMF/CMFDefault/skins/zpt_generic/review.pt 1.4 => 1.4.20.1 ===
--- CMF/CMFDefault/skins/zpt_generic/review.pt:1.4 Sun Jul 14 18:45:07 2002
+++ CMF/CMFDefault/skins/zpt_generic/review.pt Thu Feb 27 19:29:09 2003
@@ -2,7 +2,7 @@
<body>
-<div metal:fill-slot="main">
+<div metal:fill-slot="main" i18n:domain="cmf_default">
<div class="Desktop"
tal:define="results python: here.portal_catalog( review_state='pending' );
@@ -15,22 +15,19 @@
<div tal:condition="results">
-<h1> Items pending review </h1>
+<h1 i18n:translate="">Items pending review</h1>
-<form action="/" method="GET"
+<form action="/" method="get"
tal:attributes="action string:${purl}/"
>
<table class="SearchResults">
<tr>
- <td width="16"><br></td>
- <td width="16"><br></td>
- <th> Title
- </th>
- <th> Type
- </th>
- <th> Date
- </th>
+ <td width="16"><br /></td>
+ <td width="16"><br /></td>
+ <th i18n:translate="">Title</th>
+ <th i18n:translate="">Type</th>
+ <th i18n:translate="">Date</th>
</tr>
<tbody tal:repeat="item batch">
@@ -40,7 +37,7 @@
">
<td>
<input type="checkbox" name="items:list"
- tal:attributes="value objPath">
+ tal:attributes="value objPath" />
</td>
<td>
<span tal:condition="item/getIcon">
@@ -50,7 +47,7 @@
tal:attributes="src string:${purl}/${item/getIcon};
alt item/Type|nothing;
title item/Type|nothing;
- "></a>
+ " /></a>
</span>
</td>
<td>
@@ -58,7 +55,7 @@
tal:attributes="href objURL"
tal:content="python: title or '(No title)'">Title</a>
</td>
- <td>
+ <td i18n:translate="">
<span tal:replace="item/Type" />
</td>
<td>
@@ -77,24 +74,27 @@
</tbody>
<tr>
- <td><br></td>
+ <td><br /></td>
</tr>
<tr>
- <td><br></td>
+ <td><br /></td>
<td colspan="4">
- <strong> Comment: </strong> <br>
+ <strong i18n:translate="">Comment:</strong>
+ <br />
<textarea name="comment:text" rows="3" cols="65" wrap="soft"></textarea>
</td>
</tr>
<tr>
- <td><br></td>
+ <td><br /></td>
<td colspan="4">
- <input type="submit" name="publishItems:method" value="Publish">
- <input type="submit" name="rejectItems:method" value="Reject">
+ <input type="submit" name="publishItems:method" value="Publish"
+ i18n:attributes="value" />
+ <input type="submit" name="rejectItems:method" value="Reject"
+ i18n:attributes="value" />
</td>
</tr>
-
+
</table>
</form>
@@ -103,7 +103,7 @@
<div tal:condition="python: not results">
- <p> There are no items matching your specified criteria. </p>
+ <p i18n:translate="">There are no items matching your specified criteria.</p>
</div>
</div>