Ignore:
Timestamp:
28 Feb 2012, 20:52:18 (13 years ago)
Author:
Henrik Bettermann
Message:

Internationalize accessodes package.

Location:
main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/browser_templates
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/browser_templates/admintaskacbatches.pt

    r7459 r7719  
    22<a href=""
    33   tal:attributes="href viewlet/link_target"
    4    tal:content="viewlet/link_title">Manage</a>
     4   tal:content="viewlet/link_title">MANAGE</a>
    55</p>
  • main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/browser_templates/batchcontainer.pt

    r7467 r7719  
    1 <form method="POST">
    2   <p>
     1<form i18n:domain="waeup.sirp" method="POST">
     2  <p i18n:translate="">
    33    The following batches are available:
    44  </p>
    5 
    65  <table>
    76    <thead>
    87      <tr>
    98        <th>&nbsp;</th>
    10   <th>Prefix</th><th>Entries/(invalidated)</th><th>Cost</th>
    11   <th>Created</th><th>Creator</th>
     9        <th i18n:translate="">Prefix</th>
     10        <th i18n:translate="">Entries/(invalidated)</th>
     11        <th i18n:translate="">Cost</th>
     12        <th i18n:translate="">Date of Creation</th>
     13        <th i18n:translate="">Creator</th>
    1214      </tr>
    1315    </thead>
     
    3234      2011-11-22 18:04:55
    3335  </td>
    34   <td tal:content="batch/creator">some user</td>
     36  <td tal:content="batch/creator">SOMEUSER</td>
    3537      </tr>
    3638      <tr tal:condition="not: context/values">
    37   <td colspan="5"><b>No batches yet</b></td>
     39      <td colspan="5"><b i18n:translate="">No batches yet</b></td>
    3840      </tr>
    3941    </tbody>
    4042  </table>
    41   <input type="submit" class="btn" name="archive" value="Archive" />
    42   <input type="submit" class="btn" name="delete" value="Archive and Delete" />
     43  <input type="submit" class="btn" name="archive"
     44      tal:attributes="value view/archive_button" />
     45  <input type="submit" class="btn" name="delete"
     46       tal:attributes="value view/delete_button" />
    4347</form>
  • main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/browser_templates/reimportbatchpage.pt

    r7467 r7719  
    1 <p> Please select the files to reimport. Please note, that batches with  same name have to be deleted before.
     1<p i18n:domain="waeup.sirp">
     2Please select the files to reimport. Please note, that batches with
     3same name have to be deleted before.
    24</p>
    3 <form method="POST">
     5<form method="POST" i18n:domain="waeup.sirp">
    46  <table>
    57    <thead>
     
    79        <th>&nbsp;
    810        </th>
    9         <th>File
     11        <th i18n:translate="">File
    1012        </th>
    1113      </tr>
    1214    </thead>
    1315    <tbody>
    14       <tr tal:repeat="filename context/getImportFiles"  tal:attributes="class python: repeat['filename'].odd() and 'even' or 'odd'"> <td>
    15           <input type="checkbox" name="filenames" value="filename"  tal:attributes="value filename" /> </td>
    16         <td tal:content="filename">file.name</td>
     16      <tr tal:repeat="filename context/getImportFiles"
     17          tal:attributes="class python: repeat['filename'].odd() and 'even' or 'odd'"> <td>
     18          <input type="checkbox" name="filenames" value="filename"
     19              tal:attributes="value filename" /> </td>
     20        <td tal:content="filename">FILENAME</td>
    1721      </tr>
    1822      <tr tal:condition="python: len(list(context.getImportFiles())) == 0">
    19         <td colspan="5"><b>No import batches available</b></td>
     23        <td colspan="5"><b i18n:translate="">No import batches available</b></td>
    2024      </tr>
    2125    </tbody>
    2226  </table>
    23   <input type="submit" class="btn primary" name="reimport" value="Reimport" />
    24   <input type="submit" class="btn" name="cancel" value="Cancel" />
     27  <input type="submit" class="btn primary" name="reimport"
     28      tal:attributes="value view/reimport_button" />
     29  <input type="submit" class="btn" name="cancel"
     30      tal:attributes="value view/cancel_button" />
    2531</form>
  • main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/browser_templates/searchpage.pt

    r7459 r7719  
    1 <form method="POST">
    2 
     1<form method="POST" i18n:domain="waeup.sirp">
    32<br />
    4 
    5   <input type="submit" class="btn primary" name="search" value="Search" />
    6   for access codes
    7 
     3  <input type="submit" class="btn primary" name="search"
     4      tal:attributes="value view/search_button" />
     5  <span i18n:translate="">for access codes</span>
    86  <select name="searchtype">
    9     <option value="code">with PIN</option>
    10     <option value="batch_serial">with serial</option>
    11     <option value="history">with message term</option>
     7    <option i18n:translate="" value="code">with PIN</option>
     8    <option i18n:translate="" value="batch_serial">with serial</option>
     9    <option i18n:translate="" value="history">with message term</option>
    1210  </select>
    13 
    1411  <input type="text" name="searchterm" />
    15 
    1612  <p>&nbsp;</p>
    1713  <div tal:condition="view/hitlist">
     
    2521      <tr>
    2622        <th>&nbsp;</th>
    27         <th width="50px">Serial</th>
    28         <th>AC</th>
    29         <th>State</th>
    30         <th>Owner</th>
    31         <th>History</th>
     23        <th width="50px" i18n:translate="">Serial</th>
     24        <th i18n:translate="">AC</th>
     25        <th i18n:translate="">State</th>
     26        <th i18n:translate="">Owner</th>
     27        <th i18n:translate="">History</th>
    3228      </tr>
    3329      </thead>
     
    4743    </table>
    4844    <div>
    49       <input type="submit" class="btn" name="disable" value="Disable ACs" />
    50       <input type="submit" class="btn" name="enable" value="Enable ACs" />
     45      <input type="submit" class="btn" name="disable"
     46          tal:attributes="value view/disable_button" />
     47      <input type="submit" class="btn" name="enable"
     48          tal:attributes="value view/enable_button" />
    5149    </div>
    5250
Note: See TracChangeset for help on using the changeset viewer.