Ignore:
Timestamp:
26 Feb 2012, 16:34:10 (13 years ago)
Author:
Henrik Bettermann
Message:

Backup translation work in progress.

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

Legend:

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

    r7665 r7705  
    1 <table class="form-table">
     1<table i18n:domain="waeup.sirp" class="form-table">
    22  <thead>
    33  </thead>
    44  <tbody>
    55    <tr>
    6       <td>Code:</td>
     6      <td i18n:translate="">Code:</td>
    77      <td tal:content="context/__name__">CODE</td>
    88    </tr> 
    99    <tr>
    10       <td>Course Code:</td>
     10      <td i18n:translate="">Course Code:</td>
    1111      <td tal:content="context/getCourseCode">THE COURSE</td>
    1212    </tr>   
    1313    <tr>
    14       <td>Course Title:</td>
     14      <td i18n:translate="">Course Title:</td>
    1515      <td tal:content="context/course/title">THE TITLE</td>
    1616    </tr>
    1717    <tr>
    18       <td>Provided by:</td>
     18      <td i18n:translate="">Provided by:</td>
    1919      <td>
    2020      <span tal:content="python: context.course.__parent__.__parent__.longtitle()">DEPARTMENT</span>
     
    2424    </tr>   
    2525    <tr>
    26       <td>Level:</td>
     26      <td i18n:translate="">Level:</td>
    2727      <td tal:content="view/leveltitle">LEVEL</td>
    2828    </tr>
    2929    <tr>
    30       <td>Is mandatory course (not elective):</td>
     30      <td i18n:translate="">Is mandatory course (not elective):</td>
    3131      <td tal:content="context/mandatory">MANDATORY</td>
    3232    </tr>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/certificatemanagepage.pt

    r7669 r7705  
    11<form action="." tal:attributes="action request/URL" method="POST"
    2       enctype="multipart/form-data">
     2      enctype="multipart/form-data" i18n:domain="waeup.sirp">
    33
    44  <ul class="tabs" data-tabs="tabs">
    5     <li tal:attributes="class view/tab1"><a href="#tab-1"><span>Settings</span></a></li>
    6     <li tal:attributes="class view/tab2"><a href="#tab-2"><span>Course Referrers</span></a></li>
    7     <li tal:attributes="class view/tab3"><a href="#tab-3"><span>Local Roles</span></a></li>
     5    <li tal:attributes="class view/tab1"><a href="#tab-1" i18n:translate="">Settings</a></li>
     6    <li tal:attributes="class view/tab2"><a href="#tab-2" i18n:translate="">Course Referrers</a></li>
     7    <li tal:attributes="class view/tab3"><a href="#tab-3" i18n:translate="">Local Roles</a></li>
    88  </ul>
    99   
     
    4242    </div>
    4343    <div id="tab-2" tal:attributes="class view/tab2">
    44       <h3>Course Referrers</h3>
     44      <h3 i18n:translate="">Course Referrers</h3>
    4545      <table class="display dataTableManage">
    4646        <thead>
    4747          <tr>
    48             <th>&nbsp;</th><th>Level</th><th>Semester</th><th>Referrer</th><th>Course</th><th>Title</th>
    49             <th>Mandatory</th>
     48            <th>&nbsp;</th><th i18n:translate="">Level</th>
     49            <th i18n:translate="">Semester</th><th i18n:translate="">Referrer</th>
     50            <th i18n:translate="">Course</th><th i18n:translate="">Title</th>
     51            <th i18n:translate="">Mandatory</th>
    5052          </tr>
    5153        </thead>
     
    102104            <th>&nbsp;
    103105            </th>
    104             <th>User Id
     106            <th i18n:translate="">User Id
    105107            </th>
    106             <th>Name
     108            <th i18n:translate="">Name
    107109            </th>
    108             <th>Local Role
     110            <th i18n:translate="">Local Role
    109111            </th>
    110112          </tr>
     
    112114        <tbody>
    113115          <tr tal:repeat="entry view/getUsersWithLocalRoles" class="gradeC"> <td>
    114               <input type="checkbox" name="role_id" tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>
     116              <input type="checkbox" name="role_id"
     117                tal:attributes="value python: entry['user_name']+'|'+entry['local_role']" /> </td>
    115118            <td tal:content="entry/user_name"> USERNAME </td>
    116119            <td tal:content="entry/user_title"> USERTITLE </td>
     
    121124      <div tal:condition="view/availableActions">
    122125        <span tal:repeat="action view/actions" tal:omit-tag="">
    123           <input tal:condition="python:action.label in view.tabthreeactions1" tal:replace="structure action/render"/>
     126          <input tal:condition="python:action.label in view.tabthreeactions1"
     127            tal:replace="structure action/render"/>
    124128        </span>
    125129      </div><br /><br />
     
    127131        <tr> <td>
    128132            <select id="user" name="user">
    129               <option tal:repeat="user view/getUsers" tal:attributes="value user/name">
     133              <option tal:repeat="user view/getUsers"
     134                tal:attributes="value user/name">
    130135              <span tal:replace="user/val/title">USERTITLE
    131136              </span>
     
    133138            </select> </td> <td>
    134139            <select id="local_role" name="local_role">
    135               <option tal:repeat="localrole view/getLocalRoles" tal:attributes="value localrole/name">
     140              <option tal:repeat="localrole view/getLocalRoles"
     141                tal:attributes="value localrole/name">
    136142              <span tal:replace="localrole/title">LOCALROLETITLE
    137143              </span>
     
    140146            <div tal:condition="view/availableActions">
    141147              <span tal:repeat="action view/actions" tal:omit-tag="">
    142                 <input tal:condition="python:action.label in view.tabthreeactions2" tal:replace="structure action/render"/>
     148                <input tal:condition="python:action.label in view.tabthreeactions2"
     149                  tal:replace="structure action/render"/>
    143150              </span>
    144151            </div> </td>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/certificatepage.pt

    r7669 r7705  
    1818</table>
    1919
    20 <h3><span tal:content="context/__name__">Code</span> Course Referrers</h3>
     20<h3>
     21  <span tal:content="context/__name__">Code</span>
     22  <span i18n:domain="waeup.sirp" i18n:translate="">Course Referrers</span>
     23</h3>
    2124<br />
    22 <table class="display dataTable">
     25<table i18n:domain="waeup.sirp" class="display dataTable">
    2326<thead>
    2427  <tr>
    25     <th>Level</th><th>Semester</th><th>Referrer</th><th>Course</th>
    26     <th>Title</th><th>Mandatory</th>
     28    <th i18n:translate="">Level</th><th i18n:translate="">Semester</th>
     29    <th i18n:translate="">Referrer</th><th i18n:translate="">Course</th>
     30    <th i18n:translate="">Title</th><th i18n:translate="">Mandatory</th>
    2731  </tr>
    2832</thead>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/configurationmanagepage.pt

    r7669 r7705  
    1 <form action="." tal:attributes="action request/URL" method="POST" enctype="multipart/form-data">
     1<form action="." tal:attributes="action request/URL" method="POST"
     2  enctype="multipart/form-data" i18n:domain="waeup.sirp">
    23    <ul class="tabs" data-tabs="tabs">
    34      <li tal:attributes="class view/tab1">
    4       <a href="#tab-1">
    5         <span>Site Settings
    6         </span></a>
     5      <a href="#tab-1" i18n:translate="">Site Settings</a>
    76      </li>
    87      <li tal:attributes="class view/tab2">
    9       <a href="#tab-2">Session Configurations</a>
     8      <a href="#tab-2" i18n:translate="">Session Configurations</a>
    109      </li>
    1110    </ul>
     
    5150            <th>&nbsp;
    5251            </th>
    53             <th>Name
     52            <th i18n:translate="">Name
    5453            </th>
    5554          </tr>
     
    6463      <div tal:condition="view/availableActions">
    6564        <span tal:repeat="action view/actions" tal:omit-tag="">
    66           <input tal:condition="python:action.label in view.tabtwoactions" tal:replace="structure action/render"/>
     65          <input tal:condition="python:action.label in view.tabtwoactions"
     66            tal:replace="structure action/render"/>
    6767        </span>
    6868      </div>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenterimport1page.pt

    r7464 r7705  
    1 <h3>Step 1</h3>
    2 <p>
     1<h3 i18n:domain="waeup.sirp" i18n:translate="">Step 1</h3>
     2<p i18n:domain="waeup.sirp" i18n:translate="">
    33  Using batch processing you can mass-create, mass-update, or
    44  mass-remove datasets from the database using CSV files.
    55</p>
    6 <p>
    7   Please select a file for processing from the list below
     6<p i18n:domain="waeup.sirp" i18n:translate="">
     7  Please select a file for processing from the list below.
    88</p>
    9 <form method="POST">
     9<form i18n:domain="waeup.sirp" method="POST">
    1010  <table>
    1111    <thead>
    12       <th /><th>Filename</th><th>Datasets</th><th>Size</th><th>Date</th>
     12      <th />
     13      <th i18n:translate="">Filename</th>
     14      <th i18n:translate="">Datasets</th>
     15      <th i18n:translate="">Size</th>
     16      <th i18n:translate="">Date</th>
    1317    </thead>
    1418    <tbody>
    1519      <tr tal:repeat="file view/getFiles">
    1620        <td>
    17           <button type="submit" name="select" class="btn primary"
     21          <button i18n:translate=""
     22            type="submit" name="select" class="btn primary"
    1823            tal:attributes="value file/name">Select</button>
    1924        </td>
     
    2530    </tbody>
    2631  </table>
    27   <input type="submit" name="cancel" class="btn" value="Cancel" />
     32  <input type="submit" name="cancel" class="btn"
     33      tal:attributes="value view/cancel_button" />
    2834</form>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenterimport2page.pt

    r7464 r7705  
    1 <h3>Step 2</h3>
    2 <form method="POST">
     1<h3 i18n:domain="waeup.sirp" i18n:translate="">Step 2</h3>
     2<form i18n:domain="waeup.sirp" method="POST">
    33  <p>
    4     <b>File:</b>
    5     <span tal:content="view/filename">Filename.csv
    6     </span>
    7     <input type="hidden" name="filename"  tal:attributes="value view/filename" />
     4    <b i18n:translate="">File:</b>
     5    <span tal:content="view/filename">Filename.csv</span>
     6    <input type="hidden" name="filename" tal:attributes="value view/filename" />
    87  </p>
    9   <p> Please select a file-processor and a processing-mode from the selections below:
     8  <p i18n:translate="">
     9    Please select a file-processor and a processing-mode from the selections below.
    1010  </p>
    1111  <div>
    1212    <table
    13            tal:define="body view/getPreviewBody;
    14                         headers view/getPreviewHeader;
    15                         fieldnum python: len(headers)">
     13       tal:define="body view/getPreviewBody;
     14                    headers view/getPreviewHeader;
     15                    fieldnum python: len(headers)">
    1616      <thead>
    1717        <tr>
     
    3030    </table>
    3131  </div>
    32   <div> <b>Processor:</b>
     32  <div> <b i18n:translate="">Processor:</b>
    3333    <select name="importer">
    3434      <option tal:repeat="importer view/getImporters"
     
    4141  <p>&nbsp;
    4242  </p>
    43   <div> <b>Mode:</b>
     43  <div> <b i18n:translate="">Mode:</b>
    4444    <input type="radio" name="mode" value="create" checked="checked"
    4545       tal:attributes="checked python: view.mode == 'create' and 'checked' or '';
     
    5757    </p>
    5858  </div>
    59   <input class="btn" type="submit" name="cancel" value="Cancel" />
    60   <input class="btn danger" type="submit" name="back1" value="Back to step 1" />
    61   <input class="btn primary" tal:attributes="disabled python: view.getWarnings() and 'disabled' or ''"
    62     type="submit" name="proceed" value="Proceed to step 3..." />
     59  <input class="btn" type="submit" name="cancel" tal:attributes="value view/cancel_button" />
     60  <input class="btn danger" type="submit" name="back1" tal:attributes="value view/back_button" />
     61  <input class="btn primary"
     62    tal:attributes="disabled python: view.getWarnings() and 'disabled' or ''; value view/proceed_button"
     63    type="submit" name="proceed" />
    6364</form>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenterimport3page.pt

    r7464 r7705  
    1 <div class="alert-message success" tal:condition="not: view/getWarnings">
     1<div i18n:domain="waeup.sirp" i18n:translate=""
     2  class="alert-message success" tal:condition="not: view/getWarnings">
    23  Header fields OK
    34</div>
    45
    5 <h3>Step 3</h3>
    6 <form>
    7   <p>
     6<h3 i18n:domain="waeup.sirp" i18n:translate="">Step 3</h3>
     7<form i18n:domain="waeup.sirp">
     8  <p i18n:translate="">
    89    Eventually modify headerfields of import file below.
    910  </p>
    1011  <p>
    11     <b>File:</b>
     12    <b i18n:translate="">File:</b>
    1213    <span tal:content="view/filename">Filename.csv</span>
    1314    <input type="hidden" name="filename"
     
    1516  </p>
    1617  <p>
    17     <b>Processor:</b>
     18    <b i18n:translate="">Processor:</b>
    1819    <span tal:content="view/importer/name">Importer Name</span>
    1920    <input type="hidden" name="importer"
     
    2122  </p>
    2223  <p>
    23     <b>Processing mode: </b>
     24    <b i18n:translate="">Processing mode: </b>
    2425    <span tal:content="view/mode">mode</span>
    2526    <input type="hidden" name="mode"
     
    4142        <tr>
    4243          <th tal:repeat="headerfield headers">
    43             <i>change to:</i>
     44            <i i18n:translate="">change to:</i>
    4445          </th>
    4546        </tr>
     
    6869  </div>
    6970
    70   <input class="btn" type="submit" name="cancel" value="Cancel" />
    71   <input class="btn" type="reset" name="reset" value="Reset" />
    72   <input class="btn" type="submit" name="update" value="Set headerfields" />
     71  <input class="btn" type="submit" name="cancel"
     72    tal:attributes="value view/cancel_button" />
     73  <input class="btn" type="reset" name="reset"
     74    tal:attributes="value view/reset_button" />
     75  <input class="btn" type="submit" name="update"
     76    tal:attributes="value view/update_button" />
    7377  <br /><br />
    74   <input class="btn danger" type="submit" name="back2" value="Back to step 2" />
    75   <input class="btn primary" tal:attributes="disabled python: view.getWarnings() and 'disabled' or ''"
    76    type="submit" name="proceed" value="Perform import..." />
     78  <input class="btn danger" type="submit" name="back2"
     79    tal:attributes="value view/back_button" />
     80  <input class="btn primary"
     81    tal:attributes="disabled python: view.getWarnings() and 'disabled' or ''; value view/proceed_button"
     82    type="submit" name="proceed"/>
    7783</form>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenterimport4page.pt

    r7464 r7705  
    1 <h3>Step 4</h3>
    2 <p>
     1<h3 i18n:domain="waeup.sirp" i18n:translate="">Step 4</h3>
     2<p i18n:domain="waeup.sirp" i18n:translate="">
    33  Batch processing finished.
    44</p>
    5 <p>
    6   <b>File:</b> <span tal:content="view/filename">Filename.csv</span>
     5<p i18n:domain="waeup.sirp">
     6  <b i18n:translate="">File:</b> <span tal:content="view/filename">Filename.csv</span>
    77</p>
    8 <p>
    9   <b>Processor:</b>
     8<p i18n:domain="waeup.sirp">
     9  <b i18n:translate="">Processor:</b>
    1010  <span tal:content="view/importer/name">Importer Name</span>
    1111</p>
    12 <p>
    13   <b>Processing mode: </b>
     12<p i18n:domain="waeup.sirp">
     13  <b i18n:translate="">Processing mode: </b>
    1414  <span tal:content="view/mode">mode</span>
    1515</p>
    16 <form method="POST">
    17   <input class="btn primary" type="submit" name="finish" value="Back to data center" />
    18   <input class="btn" type="submit" name="showlog" value="View processing log" />
     16<form method="POST" i18n:domain="waeup.sirp">
     17  <input class="btn primary" type="submit" name="finish"
     18    tal:attributes="value view/back_button" />
     19  <input class="btn" type="submit" name="showlog"
     20    tal:attributes="value view/show_button" />
    1921</form>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenterlogspage.pt

    r7464 r7705  
    1 <div tal:define="files view/files">
    2   <p tal:condition="not: files">Currently no log files are available.
     1<div i18n:domain="waeup.sirp" tal:define="files view/files">
     2  <p i18n:translate="" tal:condition="not: files">
     3  Currently no log files are available.
    34  </p>
    45  <table tal:condition="files" class="condensed-table">
     
    78        <th>
    89        </th>
    9         <th>File
     10        <th i18n:translate="">File
    1011        </th>
    11         <th>Date
     12        <th i18n:translate="">Date
    1213        </th>
    13         <th>Size
     14        <th i18n:translate="">Size
    1415        </th>
    1516      </tr>
    1617    </thead>
    1718    <tbody>
    18       <tr tal:repeat="file files" tal:attributes="class python: repeat['file'].odd() and 'odd' or 'even'">
     19      <tr tal:repeat="file files"
     20          tal:attributes="class python: repeat['file'].odd() and 'odd' or 'even'">
    1921        <td class="text-center">
    2022          <form method="POST">
    21             <input type="submit" class="btn primary" name="show" value="Show" />
     23            <input i18n:translate="" type="submit" class="btn primary" name="show"
     24                tal:attributes="value view/show_button" />
    2225            <input type="hidden" name="logname" tal:attributes="value file/name" />
    2326          </form></td>
     
    2932  </table>
    3033  <form method="POST">
    31     <input type="submit" class="btn" name="back" value="Back to Data Center" />
     34    <input i18n:translate="" type="submit" class="btn" name="back"
     35        tal:attributes="value view/back_button"/>
    3236  </form>
    3337</div>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacentermanagepage.pt

    r7464 r7705  
    1 <form method="POST">
     1<form  i18n:domain="waeup.sirp" method="POST">
    22  <div>
    3     Storage path:
     3    <span  i18n:translate="">Storage path:</span>
    44    <input type="text" name="newpath"
    55     tal:attributes="value context/storage" />
    66    <br /><br />
    7     Copy existing data to new storage? &nbsp;&nbsp;
     7    <span  i18n:translate="">
     8    Copy existing data to new storage?
     9    </span>&nbsp;&nbsp;
    810    <input type="checkbox" name="move" checked="checked" />
    911    <br /><br />
    10     Overwrite contents in new location? &nbsp;&nbsp;
     12    <span  i18n:translate="">
     13    Overwrite contents in new location?
     14    </span>&nbsp;&nbsp;
    1115    <input type="checkbox" name="overwrite" checked="no" />
    1216    <br /><br />
    13     <input class="btn primary" type="submit" name="save" value="Save" />
    14     <input class="btn" type="reset" name="reset" value="Reset" />
    15     <input class="btn" type="submit" name="cancel" value="Cancel" />
     17    <input class="btn primary" type="submit" name="save"
     18        tal:attributes="value view/save_button" />
     19    <input class="btn" type="reset" name="reset"
     20        tal:attributes="value view/reset_button" />
     21    <input class="btn" type="submit" name="cancel"
     22        tal:attributes="value view/cancel_button" />
    1623  </div>
    1724</form>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenterpage.pt

    r7465 r7705  
    1 <p>
     1<p  i18n:domain="waeup.sirp" i18n:translate="">
    22The data center helps you to manage portal data. You can upload CSV
    33files here, which will be available for import afterwards.
    44</p>
    55
    6 <p>
    7   <b>Storage path:</b> <span tal:content="context/storage">/foo/bar</span>
     6<p i18n:domain="waeup.sirp">
     7  <b i18n:translate="">Storage path:</b>
     8  <span tal:content="context/storage">/foo/bar</span>
    89</p>
    910
    10 <table>
     11<table i18n:domain="waeup.sirp">
    1112  <thead>
    1213    <tr>
    13       <th>File</th>
    14       <th>Size</th>
    15       <th>Uploaded</th>
     14      <th i18n:translate="">File</th>
     15      <th i18n:translate="">Size</th>
     16      <th i18n:translate="">Uploaded</th>
    1617    </tr>
    1718  </thead>
    1819  <tbody>
    1920    <tr tal:repeat="file context/getFiles">
    20       <td tal:content="file/name">thefilename</td>
     21      <td tal:content="file/name">FILENAME</td>
    2122      <td tal:content="file/size">12 k</td>
    2223      <td tal:content="file/uploaddate">Mar 12, 2008</td>
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/datacenteruploadpage.pt

    r7464 r7705  
    33  <br /><br />
    44  <div>
    5     <input class="btn primary" type="submit" name="SUBMIT" value="Upload" />
    6     <input class="btn" type="submit" name="CANCEL" value="Cancel" />
     5    <input class="btn primary" type="submit" name="SUBMIT"
     6        tal:attributes="value view/upload_button" />
     7    <input class="btn" type="submit" name="CANCEL"
     8        tal:attributes="value view/cancel_button"/>
    79  </div>
    810</form>
Note: See TracChangeset for help on using the changeset viewer.