"Location": "Ort",
"Records": "Datensätze",
"Targets": "Datenbanken",
+ "relevance": "Relevanz",
+ "title": "Titel",
+ "newest": "Neueste",
+ "oldest": "Älteste",
"dummy": "dummy"
},
"Location": "Lokation",
"Records": "Poster",
"Targets": "Baser",
+ "relevance": "Relevans",
+ "title": "Titel",
+ "newest": "Nyeste",
+ "oldest": "Ældste",
"dummy": "dummy"
}
mkws.aliasWidgetType = function(newName, oldName) {
mkws.widgetType2function[newName] = mkws.widgetType2function[oldName];
mkws.info("aliased widget-type '" + newName + "' to '" + oldName + "'");
-
+
};
mkws.promotionFunction = function(name) {
// or a selector string you would like to constrain the search for widgets to.
//
// This function has no side effects if run again on an operating session,
- // even if the element/selector passed causes existing widgets to be reparsed:
+ // even if the element/selector passed causes existing widgets to be reparsed:
//
// (TODO: that last bit isn't true and we currently have to avoid reinitialising
// widgets, MKWS-261)
mkws.init = function(message, rootsel) {
var greet = "MKWS initialised";
if (rootsel) greet += " (limited to " + rootsel + ")"
- if (message) greet += " :: " + message;
+ if (message) greet += " :: " + message;
mkws.info(greet);
// MKWS is not active until init() has been run against an object with widget nodes.
mkws.teams[teamName].queue("authenticated").publish();
}
}
-
+
mkws.isActive = true;
return true;
};
var cur = {};
var opt = this.config.sort_options[i];
cur.key = opt[0];
- cur.label = opt.length == 1 ? opt[0] : opt[1];
+ cur.label = opt.length == 1 ? opt[0] : mkws.M(opt[1]);
if (order == cur.key || order == cur.label) cur.selected = true;
output.sort.push(cur);
}
"Location": "Ort",
"Records": "Datensätze",
"Targets": "Datenbanken",
+ "relevance": "Relevanz",
+ "title": "Titel",
+ "newest": "Neueste",
+ "oldest": "Älteste",
"dummy": "dummy"
},