translate facets, MKWS-364
authorWolfram Schneider <wosch@indexdata.dk>
Wed, 28 Jan 2015 16:47:18 +0000 (16:47 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Wed, 28 Jan 2015 16:47:18 +0000 (16:47 +0000)
src/templates/facet.handlebars

index 7a4eedf..c327a6c 100644 (file)
@@ -10,7 +10,7 @@ terms:
   field - for the xtargets facet ONLY, the opaque identifier of the target
 }}
 
-<div class="mkws-facet-title mkwsFacetTitle">{{caption}}</div>
+<div class="mkws-facet-title mkwsFacetTitle">{{mkws-translate caption}}</div>
 {{#each terms}}
   <div class="mkws-term mkwsTerm">
     <a href="#" {{{linkdata}}}>{{term}}</a> <span>{{count}}</span>