Ignore:
Timestamp:
1 Mar 2012, 07:51:32 (13 years ago)
Author:
Henrik Bettermann
Message:

Finalize internationalization of py and pt files. Javascript is still missing.

Location:
main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/imageupload.pt

    r7669 r7738  
    1 <tr>
     1<tr i18n:domain="waeup.sirp">
    22  <td class="fieldname">
    33    <span tal:replace="viewlet/label">FILENAME</span>:
     
    1818                  name python:('upload_%s' % viewlet.input_name)"
    1919               value="Upload" class="btn primary" />
    20       <span i18n:translate="max_file_size">
     20      <span i18n:translate="">
    2121        Max. file size:
    2222      </span>
  • main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/mydatadropdowntabs.pt

    r7459 r7738  
    11<li tal:attributes="class viewlet/active" data-dropdown="dropdown" >
    2   <a href="#" class="dropdown-toggle" tal:content="viewlet/tab_title">Tab Title</a>
     2  <a href="#" class="dropdown-toggle"
     3    tal:content="viewlet/tab_title">Tab Title</a>
    34  <ul class="dropdown-menu">
    45    <li tal:repeat="target viewlet/targets">
    56      <a tal:attributes="href target/url"
    6          tal:content="target/title">Link Title</a>
     7         tal:content="target/title">LINKTITLE</a>
    78    </li>
    89  </ul>
  • main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/paymentsmanagepage.pt

    r7629 r7738  
    11<form action="." tal:attributes="action request/URL" method="POST"
    2       enctype="multipart/form-data">
     2      i18n:domain="waeup.sirp" enctype="multipart/form-data">
    33
    44  <table class="display dataTableManage">
    55    <thead>
    66    <tr>
    7       <th>&nbsp;</th>
    8       <th>Payment Id</th>
    9       <th>Creation Date</th>
    10       <th>Payment Date</th>
    11       <th>Category</th>
    12       <th>Item</th>
    13       <th>Session</th>
    14       <th>State</th>
     7      <th i18n:translate="">&nbsp;</th>
     8      <th i18n:translate="">Payment Id</th>
     9      <th i18n:translate="">Creation Date</th>
     10      <th i18n:translate="">Payment Date</th>
     11      <th i18n:translate="">Category</th>
     12      <th i18n:translate="">Item</th>
     13      <th i18n:translate="">Session</th>
     14      <th i18n:translate="">State</th>
    1515    </tr>
    1616    </thead>
  • main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/setpassword.pt

    r7554 r7738  
    1 <form method="POST">
     1<form i18n:domain="waeup.sirp" method="POST">
    22  <table class="form-table">
    33    <tbody>
    44      <tr>
    5       <td class="fieldname">
     5      <td class="fieldname" i18n:translate="">
    66          Registration Number:
    77      </td>
     
    1212      </tr>
    1313      <tr>
    14         <td class="fieldname">
     14        <td class="fieldname" i18n:translate="">
    1515          Access Code:
    1616        </td>
    1717        <td>
    18           <span tal:replace="view/ac_prefix">PIN Prefix
     18          <span tal:replace="view/ac_prefix">
     19            PINPREFIX
    1920          </span> -
    2021          <input class="span1" name="ac_series" type="text"
     
    2627  </table>
    2728  <input type="submit" name="SUBMIT" class="btn primary"
    28          value="Set" />
     29         tal:attributes="value view/set_button" />
    2930</form>
    30 <div><h3>Instructions:</h3>
    31   <ul class="list">
     31<div i18n:domain="waeup.sirp" >
     32  <h3 i18n:translate="">Instructions:</h3>
     33  <ul class="list" i18n:translate="">
    3234    <li> Acquire a password access code (PWD).
    3335    </li>
  • main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/studenthistory.pt

    r7464 r7738  
    11<div class="workflow">
    22  <div tal:repeat="msg context/history/messages">
    3     <span tal:replace="msg">message</span><br />
     3    <span tal:replace="msg">MESSAGE</span><br />
    44  </div>
    55</div>
  • main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/studycoursemanagepage.pt

    r7737 r7738  
    11<form action="." tal:attributes="action request/URL" method="POST"
    2       enctype="multipart/form-data">
     2      i18n:domain="waeup.sirp" enctype="multipart/form-data">
    33
    44  <ul class="tabs" data-tabs="tabs">
    5     <li tal:attributes="class view/tab1"><a href="#tab-1"><span>Study Course Data</span></a></li>
    6     <li tal:attributes="class view/tab2"><a href="#tab-2"><span>Study Levels</span></a></li>
     5    <li tal:attributes="class view/tab1"><a href="#tab-1">
     6      <span i18n:translate="">Study Course Data</span></a>
     7    </li>
     8    <li tal:attributes="class view/tab2"><a href="#tab-2">
     9      <span i18n:translate="">Study Levels</span></a>
     10    </li>
    711  </ul>
    812
     
    2428
    2529    <div id="tab-2" tal:attributes="class view/tab2">
    26       <h3>Study Levels (Course Lists)</h3>
     30      <h3 i18n:translate="">Study Levels (Course Lists)</h3>
    2731      <table class="display dataTableManage">
    2832        <thead>
    2933          <tr>
    30             <th>&nbsp;</th><th>Level Code</th><th>Level Title</th>
     34            <th>&nbsp;</th>
     35            <th i18n:translate="">Level Code</th>
     36            <th i18n:translate="">Level Title</th>
    3137          </tr>
    3238        </thead>
  • main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/studycoursepage.pt

    r7669 r7738  
    1 <table class="form-table">
    2 <thead>
    3 </thead>
    4 <tbody>
    5   <tal:block repeat="widget view/widgets">
    6     <tr>
    7       <td class="filedname">
    8         <span tal:content="widget/label">label</span>:
    9       </td>
    10       <td tal:on-error="default">
    11         <div class="widget" tal:content="structure widget">
    12           <input type="text" />
    13         </div>
    14       </td>
    15     </tr>
    16   </tal:block>
    17     <tr>
    18       <td>
    19           Study Mode:
    20       </td>
    21       <td class="field">
    22         <div class="widget" tal:content="view/current_mode">
    23           <input type="text" />
    24         </div>
    25       </td>
    26     </tr>
    27     <tr tal:condition="python: view.department is not None">
    28       <td>
    29           Department:
    30       </td>
    31       <td class="field">
    32         <a tal:attributes="href python: view.url(view.department)" class="widget"
    33              tal:content="view/department/longtitle">
    34           DEPARTMENT
    35         </a>
    36       </td>
    37     </tr>
    38     <tr tal:condition="python: view.faculty is not None">
    39       <td>
    40           Faculty:
    41       </td>
    42       <td class="field">
    43         <a tal:attributes="href python: view.url(view.faculty)" class="widget"
    44              tal:content="view/faculty/longtitle">
    45           FACULTY
    46         </a>
    47       </td>
    48     </tr>
    49 </tbody>
     1<table class="form-table" i18n:domain="waeup.sirp">
     2  <thead>
     3  </thead>
     4  <tbody>
     5    <tal:block repeat="widget view/widgets">
     6      <tr>
     7        <td class="filedname">
     8          <span tal:content="widget/label">label</span>:
     9        </td>
     10        <td tal:on-error="default">
     11          <div class="widget" tal:content="structure widget">
     12            <input type="text" />
     13          </div>
     14        </td>
     15      </tr>
     16    </tal:block>
     17      <tr>
     18        <td i18n:translate="">
     19            Study Mode:
     20        </td>
     21        <td class="field">
     22          <div class="widget" tal:content="view/current_mode">
     23            <input type="text" />
     24          </div>
     25        </td>
     26      </tr>
     27      <tr tal:condition="python: view.department is not None">
     28        <td i18n:translate="">
     29            Department:
     30        </td>
     31        <td class="field">
     32          <a tal:attributes="href python: view.url(view.department)" class="widget"
     33               tal:content="view/department/longtitle">
     34            DEPARTMENT
     35          </a>
     36        </td>
     37      </tr>
     38      <tr tal:condition="python: view.faculty is not None">
     39        <td i18n:translate="">
     40            Faculty:
     41        </td>
     42        <td class="field">
     43          <a tal:attributes="href python: view.url(view.faculty)" class="widget"
     44               tal:content="view/faculty/longtitle">
     45            FACULTY
     46          </a>
     47        </td>
     48      </tr>
     49  </tbody>
    5050</table>
    5151
    52 <h3>Study Levels (Course Lists)</h3>
     52<h3 i18n:domain="waeup.sirp" i18n:translate="">Study Levels (Course Lists)</h3>
    5353
    54 
    55 <table>
     54<table i18n:domain="waeup.sirp">
    5655  <thead>
    5756    <tr>
    58       <th>Level Code</th>
    59       <th>Level Title</th>
     57      <th i18n:translate="">Level Code</th>
     58      <th i18n:translate="">Level Title</th>
    6059    </tr>
    6160  </thead>
     
    7069
    7170
    72 <div tal:condition="python: not len(context.keys())">
    73 There are no levels registered yet.
     71<div tal:condition="python: not len(context.keys())"
     72    i18n:domain="waeup.sirp" i18n:translate="">
     73  There are no levels registered yet.
    7474</div>
  • main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/studyleveladdpage.pt

    r7464 r7738  
    11<form action="." tal:attributes="action request/URL" method="POST"
    2       enctype="multipart/form-data">
     2      i18n:domain="waeup.sirp" enctype="multipart/form-data">
    33
    4   <p>Text to explain course registration procedure.</p>
     4  <p i18n:translate="">Text to explain course registration procedure.</p>
    55
    66  <div class="actionButtons" tal:condition="view/availableActions">
  • main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/studyleveleditpage.pt

    r7665 r7738  
    11<form action="." tal:attributes="action request/URL" method="POST"
    2       enctype="multipart/form-data">
     2      i18n:domain="waeup.sirp" enctype="multipart/form-data">
    33
    4   <h3>Course Tickets (Total Credits: <span tal:replace="view/total_credits">TOTAL</span>)</h3>
     4  <h3 i18n:translate="">
     5    Course Tickets
     6    (Total Credits: <span tal:replace="view/total_credits">TOTAL</span>)
     7  </h3>
    58  <table class="display dataTableManage">
    69  <thead>
    710    <tr>
    811      <th>&nbsp;</th>
    9       <th>Sem.</th>
    10       <th>Code</th>
    11       <th>Title</th>
    12       <th>Department</th>
    13       <th>Faculty</th>
    14       <th>Credits</th>
    15       <th>Score</th>
    16       <th>CO</th>
     12      <th i18n:translate="">Sem.</th>
     13      <th i18n:translate="">Code</th>
     14      <th i18n:translate="">Title</th>
     15      <th i18n:translate="">Department</th>
     16      <th i18n:translate="">Faculty</th>
     17      <th i18n:translate="">Credits</th>
     18      <th i18n:translate="">Score</th>
     19      <th i18n:translate="">CO</th>
    1720    </tr>
    1821  </thead>
  • main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/studylevelmanagepage.pt

    r7737 r7738  
    11<form action="." tal:attributes="action request/URL" method="POST"
    2       enctype="multipart/form-data">
     2      i18n:domain="waeup.sirp" enctype="multipart/form-data">
    33
    44  <ul class="tabs" data-tabs="tabs">
    5     <li tal:attributes="class view/tab1"><a href="#tab-1"><span>Study Level Data</span></a></li>
    6     <li tal:attributes="class view/tab2"><a href="#tab-2"><span>Course Tickets</span></a></li>
     5    <li tal:attributes="class view/tab1"><a href="#tab-1">
     6      <span i18n:translate="">Study Level Data</span></a>
     7    </li>
     8    <li tal:attributes="class view/tab2"><a href="#tab-2">
     9      <span i18n:translate="">Course Tickets</span>
     10    </a></li>
    711  </ul>
    812
     
    2428
    2529    <div id="tab-2" tal:attributes="class view/tab2">
    26       <h3>Course Tickets</h3>
     30      <h3 i18n:translate="">Course Tickets</h3>
    2731      <table class="display dataTableManage">
    2832      <thead>
    2933        <tr>
    3034          <th>&nbsp;</th>
    31           <th>Sem.</th>
    32           <th>Code</th>
    33           <th>Title</th>
    34           <th>Dept.</th>
    35           <th>Fact.</th>
    36           <th>Cred.</th>
    37           <th>Mand.</th>
    38           <th>Score</th>
    39           <th>CO</th>
    40           <th>Auto</th>
     35          <th i18n:translate="">Sem.</th>
     36          <th i18n:translate="">Code</th>
     37          <th i18n:translate="">Title</th>
     38          <th i18n:translate="">Dept.</th>
     39          <th i18n:translate="">Fact.</th>
     40          <th i18n:translate="">Cred.</th>
     41          <th i18n:translate="">Mand.</th>
     42          <th i18n:translate="">Score</th>
     43          <th i18n:translate="">CO</th>
     44          <th i18n:translate="">Auto</th>
    4145        </tr>
    4246      </thead>
  • main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/studylevelpage.pt

    r7669 r7738  
    1 <table class="form-table">
    2 <thead>
    3 </thead>
    4 <tbody>
    5   <tal:block repeat="widget view/widgets">
     1<table class="form-table" i18n:domain="waeup.sirp">
     2  <thead>
     3  </thead>
     4  <tbody>
     5    <tal:block repeat="widget view/widgets">
     6      <tr>
     7        <td class="fieldname">
     8          <span tal:content="widget/label">label</span>:
     9        </td>
     10        <td tal:on-error="default">
     11          <div class="widget" tal:content="structure widget">
     12            <input type="text" />
     13          </div>
     14        </td>
     15      </tr>
     16    </tal:block>
    617    <tr>
    7       <td class="fieldname">
    8         <span tal:content="widget/label">label</span>:
     18      <td i18n:translate="">
     19        Total Credits:
    920      </td>
    10       <td tal:on-error="default">
    11         <div class="widget" tal:content="structure widget">
    12           <input type="text" />
    13         </div>
     21      <td>
     22        <span tal:replace="view/total_credits">TOTAL</span>
    1423      </td>
    1524    </tr>
    16   </tal:block>
    17   <tr>
    18     <td>
    19       Total Credits:
    20     </td>
    21     <td>
    22       <span tal:replace="view/total_credits">TOTAL</span>
    23     </td>
    24   </tr>
    25 </tbody>
     25  </tbody>
    2626</table>
    2727
    28 <h3>Course Tickets</h3>
     28<h3 i18n:domain="waeup.sirp" i18n:translate="">Course Tickets</h3>
    2929
    30 <table class="display dataTable">
     30<table class="display dataTable" i18n:domain="waeup.sirp">
    3131  <thead>
    3232    <tr>
    33       <th>Sem.</th>
    34       <th>Code</th>
    35       <th>Title</th>
    36       <th>Dept.</th>
    37       <th>Fact.</th>
    38       <th>Cred.</th>
    39       <th>Mand.</th>
    40       <th>Score</th>
    41       <th>CO</th>
    42       <th>Auto</th>
     33      <th i18n:translate="">Sem.</th>
     34      <th i18n:translate="">Code</th>
     35      <th i18n:translate="">Title</th>
     36      <th i18n:translate="">Dept.</th>
     37      <th i18n:translate="">Fact.</th>
     38      <th i18n:translate="">Cred.</th>
     39      <th i18n:translate="">Mand.</th>
     40      <th i18n:translate="">Score</th>
     41      <th i18n:translate="">CO</th>
     42      <th i18n:translate="">Auto</th>
    4343    </tr>
    4444  </thead>
     
    6262
    6363
    64 <div tal:condition="python: not len(context.keys())">
    65 There no tickets added yet.
     64<div i18n:domain="waeup.sirp"
     65  tal:condition="python: not len(context.keys())" i18n:translate="">
     66  There no tickets added yet.
    6667</div>
Note: See TracChangeset for help on using the changeset viewer.