[CMF-checkins] CVS: CMF/CMFDefault/skins/zpt_content - file_view.pt:1.2.54.1 folder_edit_form.pt:1.5.16.2 full_metadata_edit_form.pt:1.5.20.1
Yvo Schubbe
schubbe@web.de
Fri, 28 Feb 2003 12:13:59 -0500
Update of /cvs-repository/CMF/CMFDefault/skins/zpt_content
In directory cvs.zope.org:/tmp/cvs-serv11348/CMFDefault/skins/zpt_content
Modified Files:
Tag: yuppie-collector122-branch
file_view.pt folder_edit_form.pt full_metadata_edit_form.pt
Log Message:
- added i18n attributes
- closed empty tags
=== CMF/CMFDefault/skins/zpt_content/file_view.pt 1.2 => 1.2.54.1 ===
--- CMF/CMFDefault/skins/zpt_content/file_view.pt:1.2 Thu Dec 6 17:43:42 2001
+++ CMF/CMFDefault/skins/zpt_content/file_view.pt Fri Feb 28 12:13:59 2003
@@ -21,35 +21,35 @@
</div>
-<div metal:fill-slot="main">
+<div metal:fill-slot="main" i18n:domain="cmf_default">
-<h2> File Properties </h2>
+<h2 i18n:translate=""> File Properties </h2>
<table>
<tr>
- <th align="right">Filename</th>
+ <th align="right" i18n:translate="">Filename</th>
<td tal:content="here/getId">My ID</td>
</tr>
<tr>
- <th align="right">Size</th>
+ <th align="right" i18n:translate="">Size</th>
<td tal:content="here/size">1024K</td>
</tr>
-
+
<tr>
- <th align="right">Content-type</th>
+ <th align="right" i18n:translate="">Content-type</th>
<td tal:content="here/content_type">application/gzip</td>
<tr>
<tr>
- <td> <br> </td>
- <td>
+ <td> <br /> </td>
+ <td>
</td>
</tr>
</table>
-<h2> Download File </h2>
+<h2 i18n:translate="">Download File</h2>
<p> <a href="." title="Download File"
tal:define="file here/absolute_url"
=== CMF/CMFDefault/skins/zpt_content/folder_edit_form.pt 1.5.16.1 => 1.5.16.2 ===
--- CMF/CMFDefault/skins/zpt_content/folder_edit_form.pt:1.5.16.1 Wed Feb 26 11:19:09 2003
+++ CMF/CMFDefault/skins/zpt_content/folder_edit_form.pt Fri Feb 28 12:13:59 2003
@@ -2,30 +2,29 @@
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">
-<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="folder_edit" method="post"
tal:attributes="action string:${here/absolute_url}/folder_edit"
>
<table class="FormLayout">
-
+
<tr valign="top">
- <th align="right"> Title
- </th>
+ <th align="right" i18n:translate="">Title</th>
<td colspan="3">
<input type="text"
name="title"
value=""
tal:attributes="value here/Title"
- size="65">
+ size="65" />
</td>
</tr>
-
+
<tr valign="top">
- <th align="right"> Description
- </th>
+ <th align="right" i18n:translate="">Description</th>
<td colspan="3">
<textarea name="description:text" rows="5"
cols="65" wrap="soft"
@@ -37,11 +36,13 @@
<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>
</form>
</div>
=== CMF/CMFDefault/skins/zpt_content/full_metadata_edit_form.pt 1.5 => 1.5.20.1 ===
--- CMF/CMFDefault/skins/zpt_content/full_metadata_edit_form.pt:1.5 Mon Jul 29 10:43:44 2002
+++ CMF/CMFDefault/skins/zpt_content/full_metadata_edit_form.pt Fri Feb 28 12:13:59 2003
@@ -2,58 +2,56 @@
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="Metadata">
-<h2>Resource Metadata </h2>
+<h2 i18n:translate="">Resource Metadata</h2>
<form action="metadata_edit" method="post"
tal:attributes="action string:${here/absolute_url}/metadata_edit"
>
<table class="FormLayout">
<tr>
- <th>
- Enable Discussion?
- </th>
+ <th i18n:translate="">Enable Discussion?</th>
<td colspan="3">
<select name="allowDiscussion"
tal:define="val here/isDiscussable">
<option value="None"
- tal:attributes="selected python: val == None"> Default </option>
+ tal:attributes="selected python: val == None"
+ i18n:translate="">Default</option>
<option value="0"
- tal:attributes="selected python: val == 0"> Off </option>
+ tal:attributes="selected python: val == 0"
+ i18n:translate="">Off</option>
<option value="1"
- tal:attributes="selected python: val == 1"> On </option>
+ tal:attributes="selected python: val == 1"
+ i18n:translate="">On</option>
</select>
</td>
</tr>
<tr valign="top">
- <th align="right"> Identifier
- </th>
+ <th align="right" i18n:translate="">Identifier</th>
<td colspan="3"> <span tal:replace="here/Identifier"></span>
</td>
</tr>
<tr valign="top">
- <th align="right"> Title
- </th>
+ <th align="right" i18n:translate="">Title</th>
<td colspan="3">
<input type="text"
name="title"
value=""
size="65"
- tal:attributes="value here/Title">
+ tal:attributes="value here/Title" />
</td>
</tr>
<tr valign="top">
- <th align="right"> Description
- </th>
+ <th align="right" i18n:translate="">Description</th>
<td colspan="3">
<textarea name="description:text" rows="5"
cols="65" wrap="soft"
@@ -62,12 +60,12 @@
</tr>
<tr valign="top">
- <th align="right"> Subject </th>
+ <th align="right" i18n:translate="">Subject</th>
<td tal:define="subj_lines python: modules['string'].join(
here.subjectsList(), '\n' )">
<textarea name="subject:lines" rows="3" cols="20"
tal:content="subj_lines"></textarea>
- <br>
+ <br />
<select name="subject:list" multiple>
<option value=""
tal:define="items python: here.portal_metadata.listAllowedSubjects(here); subjects here/Subject"
@@ -75,65 +73,58 @@
tal:attributes="value item; selected python: item in subjects"
tal:content="item">
</option>
- </select>
+ </select>
</td>
- <th align="right"> Contributors </th>
+ <th align="right" i18n:translate="">Contributors</th>
<td tal:define="contrib_lines python: '\n'.join( here.Contributors() )">
<textarea name="contributors:lines" rows="5" cols="30"
tal:content="contrib_lines"></textarea>
</td>
</tr>
<tr valign="top">
- <th align="right"> Creation Date
- </th>
+ <th align="right" i18n:translate="">Creation Date</th>
<td> <span tal:replace="here/CreationDate"></span>
</td>
- <th align="right"> Last Modified Date
- </th>
+ <th align="right" i18n:translate="">Last Modified Date</th>
<td> <span tal:replace="here/ModificationDate"></span>
</td>
</tr>
<tr valign="top">
- <th align="right"> Effective Date
- </th>
- <td> <input type="text" name="effective_date"
- value=""
- tal:define="effectiveString python: here.effective_date and here.effective_date.ISO() or 'None'"
- tal:attributes="value effectiveString">
- </td>
- <th align="right"> Expiration Date
- </th>
- <td> <input type="text" name="expiration_date"
- value=""
- tal:define="expirationString python: here.expiration_date and here.expiration_date.ISO() or 'None'"
- tal:attributes="value expirationString">
+ <th align="right" i18n:translate="">Effective Date</th>
+ <td>
+ <input type="text" name="effective_date" value=""
+ tal:define="effectiveString python: here.effective_date and here.effective_date.ISO() or 'None'"
+ tal:attributes="value effectiveString" />
+ </td>
+ <th align="right" i18n:translate="">Expiration Date</th>
+ <td>
+ <input type="text" name="expiration_date" value=""
+ tal:define="expirationString python: here.expiration_date and here.expiration_date.ISO() or 'None'"
+ tal:attributes="value expirationString" />
</td>
</tr>
<tr valign="top">
- <th align="right"> Format
- </th>
+ <th align="right" i18n:translate="">Format</th>
<td> <input type="text" name="format" value=""
- tal:attributes="value here/Format">
+ tal:attributes="value here/Format" />
</td>
</tr>
<tr valign="top">
- <th align="right"> Language
- </th>
+ <th align="right" i18n:translate="">Language</th>
<td> <input type="text" name="language" value=""
- tal:attributes="value here/Language">
+ tal:attributes="value here/Language" />
</td>
</tr>
<tr valign="top">
- <th align="right"> Rights
- </th>
+ <th align="right" i18n:translate="">Rights</th>
<td> <input type="text" name="rights" value=""
- tal:attributes="value here/Rights">
+ tal:attributes="value here/Rights" />
</td>
</tr>
<tr valign="top">
- <td> <br> </td>
+ <td> <br /> </td>
<td>
- <input type="submit" value=" Change ">
+ <input type="submit" value=" Change " i18n:attributes="value" />
</td>
</tr>
</table>