mkws-translate helper needs to have output passed verbatim
authorJason Skomorowski <jason@indexdata.com>
Tue, 5 Aug 2014 16:24:57 +0000 (12:24 -0400)
committerJason Skomorowski <jason@indexdata.com>
Tue, 5 Aug 2014 18:36:21 +0000 (14:36 -0400)
src/mkws-widget-main.templates/Pager.handlebars
src/mkws-widget-main.templates/Stat.handlebars
src/mkws-widget-main.templates/Targets.handlebars

index 18ce332..3f098e6 100644 (file)
@@ -16,14 +16,14 @@ pages:
 <div style="float: right">
   {{mkws-translate "Displaying"}}:
   {{first}} {{mkws-translate "to"}} {{last}}
-  {{mkws-translate "of"}} {{count}} (found: {{found}})
+  {{mkws-translate "of"}} {{count}} ({{{mkws-translate "found"}}}: {{found}})
 </div>
 
 <div style="float: clear">
   {{#if prevClick}}
-    <a href="#" class="mkwsPrev" onclick="{{prevClick}}">&#60;&#60; {{mkws-translate "Prev"}}</a> |
+    <a href="#" class="mkwsPrev" onclick="{{prevClick}}">&#60;&#60; {{{mkws-translate "Prev"}}}</a> |
   {{else}}
-    <span class="mkwsPrev">&#60;&#60; {{mkws-translate "Prev"}}</span> |
+    <span class="mkwsPrev">&#60;&#60; {{{mkws-translate "Prev"}}}</span> |
   {{/if}}
 
   {{#if morePrev}}...{{/if}}
@@ -39,8 +39,8 @@ pages:
   {{#if moreNext}}...{{/if}}
 
   {{#if nextClick}}
-    | <a href="#" class="mkwsNext" onclick="{{nextClick}}">{{mkws-translate "Next"}} &#62;&#62;</a>
+    | <a href="#" class="mkwsNext" onclick="{{nextClick}}">{{{mkws-translate "Next"}}} &#62;&#62;</a>
   {{else}}
-    | <span class="mkwsNext">{{mkws-translate "Next"}} &#62;&#62;</span>
+    | <span class="mkwsNext">{{{mkws-translate "Next"}}} &#62;&#62;</span>
   {{/if}}
 </div>
index f62b8e3..d8ae997 100644 (file)
@@ -6,4 +6,4 @@ clients - total targets for this search
 records - number of records returned and available
 hits - number of hits across all targets
 }}
- -- <span class="mkwsClientCount">{{mkws-translate "Active clients"}} : {{activeclients}}/{{clients}}</span> -- {{mkws-translate "Retrieved records"}} : {{records}}/{{hits}}
+ -- <span class="mkwsClientCount">{{{mkws-translate "Active clients"}}} : {{activeclients}}/{{clients}}</span> -- {{{mkws-translate "Retrieved records"}}} : {{records}}/{{hits}}
index 4be3a21..99ed801 100644 (file)
@@ -11,11 +11,11 @@ data:
 <table>
   <thead>
     <tr>
-      <td>{{mkws-translate "Target ID"}}</td>
-      <td>{{mkws-translate "Hits"}}</td>
-      <td>{{mkws-translate "Diags"}}</td>
-      <td>{{mkws-translate "Records"}}</td>
-      <td>{{mkws-translate "State"}}</td>
+      <td>{{{mkws-translate "Target ID"}}}</td>
+      <td>{{{mkws-translate "Hits"}}}</td>
+      <td>{{{mkws-translate "Diags"}}}</td>
+      <td>{{{mkws-translate "Records"}}}</td>
+      <td>{{{mkws-translate "State"}}}</td>
       </td>
     </tr>
   </thead>