LP#1231634: Mark Floating Groups Config UI strings translatable.
authorPasi Kallinen <pasi.kallinen@pttk.fi>
Thu, 7 Nov 2013 17:37:42 +0000 (19:37 +0200)
committerBen Shum <bshum@biblio.org>
Thu, 18 Sep 2014 23:52:40 +0000 (19:52 -0400)
Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/templates/conify/global/config/floating_groups.tt2

index 035f647..5c57b6f 100644 (file)
@@ -1,9 +1,9 @@
-[% ctx.page_title = 'Floating Groups Configuration' %]
+[% ctx.page_title = l('Floating Groups Configuration') %]
 [% WRAPPER base.tt2 %]
 <script type="text/javascript" src='[% ctx.media_prefix %]/js/ui/default/conify/global/config/floating_groups.js'> </script>
 <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
 [% WRAPPER base.tt2 %]
 <script type="text/javascript" src='[% ctx.media_prefix %]/js/ui/default/conify/global/config/floating_groups.js'> </script>
 <div dojoType="dijit.layout.ContentPane" layoutAlign="top" class='oils-header-panel'>
-    <div>Floating Groups Configuration</div>
-    <div><button dojoType='dijit.form.Button' onClick='cfgGrid.showCreatePane()'>New</button></div>
+    <div>[% l('Floating Groups Configuration') %]</div>
+    <div><button dojoType='dijit.form.Button' onClick='cfgGrid.showCreatePane()'>[% l('New') %]</button></div>
 </div>
 <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
     <table  jsId="cfgGrid"
 </div>
 <div dojoType="dijit.layout.ContentPane" layoutAlign="client">
     <table  jsId="cfgGrid"
 
 <div class='hidden'>
     <div id='group-member-editor' style='border:1px solid #aaa'>
 
 <div class='hidden'>
     <div id='group-member-editor' style='border:1px solid #aaa'>
-        <h3>Linked Group Members</h3>
+        <h3>[% l('Linked Group Members') %]</h3>
         <table class='oils-generic-table'>
             <thead>
                 <tr>
         <table class='oils-generic-table'>
             <thead>
                 <tr>
-                    <th>Org Unit</th>
-                    <th>Stop Depth</th>
-                    <th>Max Depth</th>
-                    <th>Exclude</th>
-                    <th>Remove</th>
+                    <th>[% l('Org Unit') %]</th>
+                    <th>[% l('Stop Depth') %]</th>
+                    <th>[% l('Max Depth') %]</th>
+                    <th>[% l('Exclude') %]</th>
+                    <th>[% l('Remove') %]</th>
                 </tr>
             </thead>
             <tbody name='group-member-entry-tbody'>
                 </tr>
             </thead>
             <tbody name='group-member-entry-tbody'>
                     <td><input type="text" name="group-member-stop-depth" value="0" /></td>
                     <td><input type="text" name="group-member-max-depth" /></td>
                     <td><input type="checkbox" name="group-member-exclude"/></td>
                     <td><input type="text" name="group-member-stop-depth" value="0" /></td>
                     <td><input type="text" name="group-member-max-depth" /></td>
                     <td><input type="checkbox" name="group-member-exclude"/></td>
-                    <td><a name='remove-group-member' href='javascript:void(0);'>Remove</a></td>
+                    <td><a name='remove-group-member' href='javascript:void(0);'>[% l('Remove') %]</a></td>
                 </tr>
             </tbody>
             <tfoot name='group-member-entry-new'>
                 <tr>
                     <td><div name='org-unit-selector'></div></td>
                 </tr>
             </tbody>
             <tfoot name='group-member-entry-new'>
                 <tr>
                     <td><div name='org-unit-selector'></div></td>
-                    <td colspan="4"><a href='javascript:void(0);' name='add-group-member'>Add</a></td>
+                    <td colspan="4"><a href='javascript:void(0);' name='add-group-member'>[% l('Add') %]</a></td>
                 </tr>
             </tfoot>
         </table>
                 </tr>
             </tfoot>
         </table>