From: Mike Taylor Date: Thu, 14 Nov 2013 17:07:15 +0000 (+0000) Subject: Translate textual parts of status-info area. X-Git-Tag: 0.9.1~148^2~83 X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=commitdiff_plain;h=5397ccc5c909e57a0fcb1c64a6f5a9d0fcad9453;p=mkws-moved-to-github.git Translate textual parts of status-info area. --- diff --git a/tools/htdocs/mkws.js b/tools/htdocs/mkws.js index 2f3db65..2836fc5 100644 --- a/tools/htdocs/mkws.js +++ b/tools/htdocs/mkws.js @@ -229,11 +229,11 @@ function my_onstat(data) { if (stat == null) return; - stat.innerHTML = 'Status info' + + stat.innerHTML = '' + M('Status info') + '' + ' -- ' + - 'Active clients: ' + data.activeclients + '/' + data.clients + '' + + '' + M('Active clients') + ': ' + data.activeclients + '/' + data.clients + '' + ' -- ' + - 'Retrieved records: ' + data.records + '/' + data.hits + ''; + '' + M('Retrieved records') + ': ' + data.records + '/' + data.hits + ''; } function my_onterm(data) {