Add locale translation for Records|Targets labels.
authorMike Taylor <mike@indexdata.com>
Mon, 8 Jul 2013 12:00:05 +0000 (13:00 +0100)
committerMike Taylor <mike@indexdata.com>
Mon, 8 Jul 2013 12:00:05 +0000 (13:00 +0100)
experiments/spclient/mkws.js

index 64b2755..dfd1c19 100644 (file)
@@ -653,13 +653,13 @@ function mkws_html_switch(config) {
     $("#mkwsSwitch").html($("<a/>", {
        href: '#',
        onclick: "switchView(\'records\')",
-       text: "Records"
+       text: M("Records")
     }));
     $("#mkwsSwitch").append($("<span/>", { text: " | " }));
     $("#mkwsSwitch").append($("<a/>", {
        href: '#',
        onclick: "switchView(\'targets\')",
-       text: "Targets"
+       text: M("Targets")
     }));
 
     debug("HTML targets");