[CMF-checkins] CVS: CMF/CMFDefault/skins/zpt_content - image_edit_form.pt:1.3.26.2 link_edit_form.pt:1.3.26.2 link_view.pt:1.2.54.1
Yvo Schubbe
schubbe@web.de
Fri, 28 Feb 2003 12:14:24 -0500
Update of /cvs-repository/CMF/CMFDefault/skins/zpt_content
In directory cvs.zope.org:/tmp/cvs-serv11503/CMFDefault/skins/zpt_content
Modified Files:
Tag: yuppie-collector122-branch
image_edit_form.pt link_edit_form.pt link_view.pt
Log Message:
- added i18n attributes
- closed empty tags
=== CMF/CMFDefault/skins/zpt_content/image_edit_form.pt 1.3.26.1 => 1.3.26.2 ===
--- CMF/CMFDefault/skins/zpt_content/image_edit_form.pt:1.3.26.1 Wed Feb 26 11:19:25 2003
+++ CMF/CMFDefault/skins/zpt_content/image_edit_form.pt Fri Feb 28 12:14:23 2003
@@ -2,15 +2,16 @@
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">
<span tal:replace="request/message"
- tal:condition="request/message|nothing"><hr></span>
+ tal:condition="request/message|nothing"><hr /></span>
<div class="Image">
-<h2>Edit <span tal:replace="here/getId">My ID</span></h2>
+<h2 i18n:translate="">Edit <span
+ tal:replace="here/getId" i18n:name="objectid">My ID</span></h2>
<form action="image_edit" method="post" enctype="multipart/form-data"
tal:attributes="action string:${here/absolute_url}/image_edit"
@@ -18,30 +19,32 @@
<table class="FormLayout">
<tr>
- <th> Title </th>
+ <th i18n:translate="">Title</th>
<td> <span tal:replace="here/Title">My Title</span> </td>
</tr>
<tr>
- <th> Description </th>
+ <th i18n:translate="">Description</th>
<td> <span tal:replace="here/Description">My Description</span> </td>
</tr>
<tr>
- <th> Content type </th>
+ <th i18n:translate="">Content type</th>
<td> <span tal:replace="here/Format">text/html</span> </td>
</tr>
<tr>
- <th> Upload image </th>
- <td> <input type="file" name="file" size="25"> </td>
+ <th i18n:translate="">Upload image</th>
+ <td> <input type="file" name="file" size="25" /> </td>
</tr>
<tr>
<td> <br /> </td>
<td>
- <input type="submit" name="change" value=" Change " />
- <input type="submit" name="change_and_view" value=" Change and View " />
+ <input type="submit" name="change" value=" Change "
+ i18n:attributes="value" />
+ <input type="submit" name="change_and_view" value=" Change and View "
+ i18n:attributes="value" />
</td>
</tr>
=== CMF/CMFDefault/skins/zpt_content/link_edit_form.pt 1.3.26.1 => 1.3.26.2 ===
--- CMF/CMFDefault/skins/zpt_content/link_edit_form.pt:1.3.26.1 Wed Feb 26 11:19:25 2003
+++ CMF/CMFDefault/skins/zpt_content/link_edit_form.pt Fri Feb 28 12:14:23 2003
@@ -2,40 +2,39 @@
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">
<span tal:replace="request/message"
- tal:condition="request/message|nothing"><hr></span>
+ tal:condition="request/message|nothing"><hr /></span>
<div class="Link">
-<h2>Edit <span tal:replace="here/getId">My ID</span></h2>
+<h2 i18n:translate="">Edit <span
+ tal:replace="here/getId" i18n:name="objectid">My ID</span></h2>
<form action="link_edit" method="post"
tal:attributes="action string:${here/absolute_url}/link_edit"
>
<table class="FormLayout">
<tr>
- <th>
- Title
- </th>
+ <th i18n:translate="">Title</th>
<td> <span tal:replace="here/Title">My Title</span> </td>
</tr>
<tr>
- <th>
- URL
- </th>
+ <th i18n:translate="">URL</th>
<td>
- <input type="text" name="remote_url" value="" tal:attributes="value here/remote_url">
+ <input type="text" name="remote_url" value="" tal:attributes="value here/remote_url" />
</td>
</tr>
<tr>
<td> <br /> </td>
<td>
- <input type="submit" name="change" value=" Change " />
- <input type="submit" name="change_and_view" value=" Change and View " />
+ <input type="submit" name="change" value=" Change "
+ i18n:attributes="value" />
+ <input type="submit" name="change_and_view" value=" Change and View "
+ i18n:attributes="value" />
</td>
</tr>
</table>
=== CMF/CMFDefault/skins/zpt_content/link_view.pt 1.2 => 1.2.54.1 ===
--- CMF/CMFDefault/skins/zpt_content/link_view.pt:1.2 Thu Dec 6 17:43:42 2001
+++ CMF/CMFDefault/skins/zpt_content/link_view.pt Fri Feb 28 12:14:23 2003
@@ -20,11 +20,12 @@
</div>
-<div metal:fill-slot="main">
+<div metal:fill-slot="main" i18n:domain="cmf_default">
- <p> Link: <a href=""
+ <p i18n:translate="">Link: <a href=""
tal:attributes="href here/remote_url"
tal:content="here/remote_url"
+ i18n:name="link"
>http://www.zope.org</a></p>
<div class="Discussion">