"use strict"; // HTML5: disable for debug_level >= 2
-// Wrapper for jQuery
-(function ($) {
-
// Set up namespace and some state.
var mkws = {};
if (!mkws_config)
var mkws_config = {};
+// Wrapper for jQuery
+(function ($) {
+
mkws.locale_lang = {
"de": {
"Authors": "Autoren",
var lang = key.replace(/^language_/, "");
// Copy custom languages into list
mkws.locale_lang[lang] = mkws_config[key];
+ debug("Added locally configured language '" + lang + "'");
}
}
}
stat.innerHTML = '<span class="head">Status info</span>' +
' -- ' +
- '<span class="clients">' + data.activeclients + '/' + data.clients + '</span>' +
+ '<span class="clients">Active clients: ' + data.activeclients + '/' + data.clients + '</span>' +
' -- ' +
- '<span class="records">' + data.records + '/' + data.hits + '</span>';
+ '<span class="records">Retrieved records: ' + data.records + '/' + data.hits + '</span>';
}
function my_onterm(data) {
if (key == mkws_config.sort_default) {
sort_html += ' selected="selected"';
}
- sort_html += '>' + val + '</option>';
+ sort_html += '>' + M(val) + '</option>';
}
sort_html += '</select>';