]> wagnertech.de Git - kivitendo-erp.git/blobdiff - templates/webpages/generic/part_selection_master.html
Templates werden nicht mehr übersetzt gespeichert.
[kivitendo-erp.git] / templates / webpages / generic / part_selection_master.html
index 7eb7ef6b2d3687d5047a6ebc038b1a7405fea576..ac4aa4a21f327d64b0d73914ab4604fd7b7c6ac1 100644 (file)
@@ -1,3 +1,4 @@
+[%- USE T8 %]
 [% USE HTML %]<body [% IF onload %]onload="[% onload %]"[% END %]>
 
  <form action="[% HTML.escape(script) %]" method="post" name="Form">
    <tr>
     <td>
      [% IF no_parts_found %]
-     <translate>No part was found matching the search parameters.</translate>
+     [% 'No part was found matching the search parameters.' | $T8 %]
      [% IF allow_creation %]
-     <translate>However, you can create a new part which will then be selected.</translate>
+     [% 'However, you can create a new part which will then be selected.' | $T8 %]
      [% END %]
      [% ELSE %]
-     <translate>Please select a part from the list below.</translate>
+     [% 'Please select a part from the list below.' | $T8 %]
      [% IF allow_creation %]
-     <translate>Alternatively you can create a new part which will then be selected.</translate>
+     [% 'Alternatively you can create a new part which will then be selected.' | $T8 %]
      [% END %]
      [% END %]
     </td>
@@ -44,7 +45,7 @@
 
       [% FOREACH part = PARTS %]
       <tr class="listrow[% IF loop.count % 2 %]1[% ELSE %]0[% END %]">
-       <td><button type="button" onclick="part_selected('[% loop.count %]')"><translate>Select</translate></button></td>
+       <td><button type="button" onclick="part_selected('[% loop.count %]')">[% 'Select' | $T8 %]</button></td>
        <td>
         <input type="hidden" id="partsid_[% loop.count %]" name="partsid_[% loop.count %]" value="[% HTML.escape(part.id) %]">
         <input type="hidden" id="partnumber_[% loop.count %]" name="partnumber_[% loop.count %]" value="[% HTML.escape(part.partnumber) %]">
@@ -68,7 +69,7 @@
   </table>
 
   [% IF allow_creation %]
-  <p><input type="submit" name="action" value="<translate>New part</translate>"></p>
+  <p><input type="submit" name="action" value="[% 'New part' | $T8 %]"></p>
   [% END %]
 
  </form>