[CMF-checkins] CVS: CMF/CMFDefault/skins/zpt_generic - login_form.pt:1.4.20.1 mail_password_form.pt:1.3.26.1 mail_password_response.pt:1.2.54.1

Yvo Schubbe schubbe@web.de
Thu, 27 Feb 2003 19:28:35 -0500


Update of /cvs-repository/CMF/CMFDefault/skins/zpt_generic
In directory cvs.zope.org:/tmp/cvs-serv27423/CMFDefault/skins/zpt_generic

Modified Files:
      Tag: yuppie-collector122-branch
	login_form.pt mail_password_form.pt mail_password_response.pt 
Log Message:
- added i18n attributes
- closed empty tags

=== CMF/CMFDefault/skins/zpt_generic/login_form.pt 1.4 => 1.4.20.1 ===
--- CMF/CMFDefault/skins/zpt_generic/login_form.pt:1.4	Sun Jul 14 18:45:07 2002
+++ CMF/CMFDefault/skins/zpt_generic/login_form.pt	Thu Feb 27 19:28:33 2003
@@ -2,9 +2,9 @@
       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">
-<h1 class="Desktop">Log in</h1>
+<h1 class="Desktop" i18n:translate="">Log in</h1>
 
 <form action="" method="post"
       tal:attributes="action string:${here/portal_url}/logged_in"
@@ -12,25 +12,27 @@
 
 <!-- ****** Enable the automatic redirect ***** -->
 <span tal:condition="exists: request/came_from">
-  <input type="hidden" name="came_from" value="" tal:attributes="value request/came_from">
+  <input type="hidden" name="came_from" value=""
+         tal:attributes="value request/came_from" />
 </span>
 <!-- ****** Enable the automatic redirect ***** -->
 
 <table class="FormLayout">
 <tr>
   <td align="left" valign="top">
-  <strong>Name</strong>
+  <strong i18n:translate="">Name</strong>
   </td>
   <td align="left" valign="top">
-  <input type="TEXT" name="__ac_name" size="20" value="" tal:attributes="value python: request.get('__ac_name') or ''">
+  <input type="TEXT" name="__ac_name" size="20" value=""
+         tal:attributes="value python: request.get('__ac_name') or ''" />
   </td>
 </tr>
 <tr>
   <td align="left" valign="top">
-  <strong>Password</strong>
+  <strong i18n:translate="">Password</strong>
   </td>
   <td align="left" valign="top">
-  <input type="PASSWORD" name="__ac_password" size="20">
+  <input type="PASSWORD" name="__ac_password" size="20" />
   </td>
 </tr>
 
@@ -38,14 +40,15 @@
 <td></td>
 <td><input type="checkbox" name="__ac_persistent" value="1" checked
       id="cb_remember" />
-<label for="cb_remember">Remember my name.</label>
+<label for="cb_remember" i18n:translate="">Remember my name.</label>
 </td></tr>
 
 <tr>
   <td align="left" valign="top">
   </td>
   <td align="left" valign="top">
-  <input type="submit" name="submit" value=" Login ">
+  <input type="submit" name="submit" value=" Login "
+         i18n:attributes="value" />
   </td>
 </tr>
 
@@ -54,19 +57,21 @@
 
 <p><a href=""
     tal:attributes="href string:${here/portal_url}/mail_password_form"
+    i18n:translate=""
    >I forgot my password!</a>
 </p>
 
-<p> Having trouble logging in? Make sure to enable cookies in
+<p i18n:translate="">Having trouble logging in? Make sure to enable cookies in
     your web browser.
 </p>
 
-<p>Don't forget to logout or exit your browser when you're done.
+<p i18n:translate="">Don't forget to logout or exit your browser when you're
+  done.
 </p>
 
-<p> Setting the 'Remember my name' option will set a cookie with your
-    username, so that when you next log in, your user name will already
-    be filled in for you.
+<p i18n:translate="">Setting the 'Remember my name' option will set a cookie
+  with your username, so that when you next log in, your user name will
+  already be filled in for you.
 </p>
 </div>
 </div>


=== CMF/CMFDefault/skins/zpt_generic/mail_password_form.pt 1.3 => 1.3.26.1 ===
--- CMF/CMFDefault/skins/zpt_generic/mail_password_form.pt:1.3	Tue Apr  2 19:10:34 2002
+++ CMF/CMFDefault/skins/zpt_generic/mail_password_form.pt	Thu Feb 27 19:28:33 2003
@@ -3,28 +3,29 @@
       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"
       tal:define="ptool here/portal_properties">
 
-  <h1> Don't panic!</h1>
+  <h1 i18n:translate="">Don't panic!</h1>
 
-  <p> Just enter your username below, click <em>Send</em>, and your
-      password will be mailed to you if you gave a valid email address
-      when you signed on.  </p>
+  <p i18n:translate="">Just enter your username below, click <em>Send</em>,
+    and your password will be mailed to you if you gave a valid email address
+    when you signed on.</p>
 
-  <p> If this will not work for you (for example, if you forget your member
-      name or didn't enter your email address) send email to 
+  <p i18n:translate="">If this will not work for you (for example, if you
+    forget your member name or didn't enter your email address) send email to
       <a tal:attributes="href string:mailto:${ptool/email_from_address}"
          tal:content="ptool/email_from_address"
-         href="mailto:me@here.com">me@here.com</a>.  </p>
+         href="mailto:me@here.com"
+         i18n:name="admin_email">me@here.com</a>.</p>
 
   <form action="mail_password"
         tal:attributes="action string:${here/portal_url}/mail_password"
   >
-   <input name="userid">
-   <input type="submit" value=" Send ">
+   <input name="userid" />
+   <input type="submit" value=" Send " i18n:attributes="value" />
   </form>
 
  </div><!-- class="Desktop" -->


=== CMF/CMFDefault/skins/zpt_generic/mail_password_response.pt 1.2 => 1.2.54.1 ===
--- CMF/CMFDefault/skins/zpt_generic/mail_password_response.pt:1.2	Thu Dec  6 17:43:43 2001
+++ CMF/CMFDefault/skins/zpt_generic/mail_password_response.pt	Thu Feb 27 19:28:33 2003
@@ -2,9 +2,9 @@
       xmlns:metal="http://xml.zope.org/namespaces/metal"
       metal:use-macro="here/main_template/macros/master">
 <body>
-<div metal:fill-slot="main">
-<p class="DesktopStatusBar">Your password has been mailed.  
-<br>
+<div metal:fill-slot="main" i18n:domain="cmf_default">
+<p class="DesktopStatusBar" i18n:translate="">Your password has been mailed.
+<br />
 It should arrive in your mailbox momentarily.</p>
 </div>
 </body>