Ignore:
Timestamp:
19 Feb 2012, 16:55:33 (13 years ago)
Author:
Henrik Bettermann
Message:

Start internationalization of pagetemplates. Clean up and remove unneeded i18n:translate tags first.

Location:
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/certificatemanagepage.pt

    r7665 r7669  
    1616              <td class="fieldname">
    1717                <span tal:condition="widget/required">*</span>
    18                 <span i18n:translate="" tal:content="widget/label">label</span>:
     18                <span tal:content="widget/label">label</span>:
    1919              </td>
    2020              <td>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/certificatepage.pt

    r7665 r7669  
    66    <tr>
    77      <td class="fieldname">
    8         <span i18n:translate=""
    9                          tal:content="widget/label">label</span>:
     8        <span tal:content="widget/label">label</span>:
    109      </td>
    1110      <td tal:on-error="default">
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/configurationmanagepage.pt

    r7484 r7669  
    1919                  <span tal:condition="widget/required">*
    2020                  </span>
    21                   <span i18n:translate="" tal:content="widget/label">label
     21                  <span tal:content="widget/label">label
    2222                  </span>:
    2323              </td>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/default_waeup_edit_form.pt

    r7464 r7669  
    88          <td class="fieldname">
    99            <span tal:condition="widget/required">*</span>
    10             <span i18n:translate="" tal:content="widget/label">label</span>:
     10            <span tal:content="widget/label">label</span>:
    1111          </td>
    1212          <td>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/departmentmanagepage.pt

    r7484 r7669  
    2525                  <span tal:condition="widget/required">*
    2626                  </span>
    27                   <span i18n:translate="" tal:content="widget/label">label
     27                  <span tal:content="widget/label">label
    2828                  </span>:
    2929              </td>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/facultymanagepage.pt

    r7484 r7669  
    1313    <li tal:attributes="class view/tab3">
    1414    <a href="#tab-3">
    15       <span>Local Roles
     15      <span i18n:translate="local_roles" >Local Roles
    1616      </span></a>
    1717    </li>
     
    2626                <span tal:condition="widget/required">*
    2727                </span>
    28                 <span i18n:translate="" tal:content="widget/label">label
     28                <span tal:content="widget/label">label
    2929                </span>:
    3030              </td>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/myrolespage.pt

    r7459 r7669  
    1 <h3 i18n:translate="">My Portal Roles:</h3>
     1<h3 i18n:translate="my_portal_roles">My Portal Roles:</h3>
    22<table class="form-table">
    33<tr tal:repeat="role view/getSiteRoles">
     
    88</table>
    99
    10 <h3 i18n:translate="">My Local Roles:</h3>
     10<h3 i18n:translate="my_local_roles">My Local Roles:</h3>
    1111<table class="form-table">
    1212  <tr tal:repeat="role view/getLocalRoles">
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/staffsitelayout.pt

    r7635 r7669  
    11<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
     2<html xmlns="http://www.w3.org/1999/xhtml"
     3      xmlns:i18n="http://xml.zope.org/namespaces/i18n"
     4      i18n:domain="waeup.sirp"
     5      xml:lang="en">
    36  <head>
    47    <title>WAeUP - your way up
     
    2629          <ul class="nav secondary-nav">
    2730            <li tal:condition="not: layout/isAuthenticated">
    28             <a href="#" tal:attributes="href python: view.url(layout.site, 'login')">
     31            <a href="#" i18n:translate="login"
     32                tal:attributes="href python: view.url(layout.site, 'login')">
    2933                Login
    3034            </a>
     
    8892          tal:condition="status">
    8993          Form Status:
    90           <span i18n:translate="" tal:content="view/status">
     94          <span tal:content="view/status">
    9195            Form status summary
    9296          </span>
    9397        </div>
    94         <h1 i18n:translate="" tal:condition="view/label|nothing"
     98        <h1 tal:condition="view/label|nothing"
    9599            tal:content="view/label">Label</h1>
    96100        <div tal:content="structure view/content"> THE CONTENT
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/studentsitelayout.pt

    r7635 r7669  
    11<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
     2<html xmlns="http://www.w3.org/1999/xhtml"
     3      xmlns:i18n="http://xml.zope.org/namespaces/i18n"
     4      i18n:domain="waeup.sirp"
     5      xml:lang="en">
    36  <head>
    47    <title>WAeUP - your way up
     
    7376          tal:condition="status">
    7477          Form Status:
    75           <span i18n:translate="" tal:content="view/status">
     78          <span tal:content="view/status">
    7679            Form status summary
    7780          </span>
    7881        </div>
    79         <h1 i18n:translate="" tal:condition="view/label|nothing"
     82        <h1 tal:condition="view/label|nothing"
    8083            tal:content="view/label">Label</h1>
    8184        <div tal:content="structure view/content"> THE CONTENT
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/usereditformpage.pt

    r7464 r7669  
    88          <td class="fieldname">
    99            <span tal:condition="widget/required">*</span>
    10             <span i18n:translate="" tal:content="widget/label">label</span>:
     10            <span tal:content="widget/label">label</span>:
    1111          </td>
    1212          <td>
Note: See TracChangeset for help on using the changeset viewer.