X-Git-Url: http://git.indexdata.com/?p=mkdru-moved-to-drupal.org.git;a=blobdiff_plain;f=mkdru.theme.js;h=7d92e61cb3725e5124162f591787a0e98f9d283f;hp=a3a0c0e1f8fb0208c72b84490c6ba331695afc86;hb=66f3bea850ee445427da4ec46e18d4374dd3e953;hpb=f0d2a9a916f85ebe5e544b9c9e5b865dcbb58682 diff --git a/mkdru.theme.js b/mkdru.theme.js index a3a0c0e..7d92e61 100644 --- a/mkdru.theme.js +++ b/mkdru.theme.js @@ -100,6 +100,16 @@ Drupal.theme.prototype.mkdruPager = function (pages, start, current, total, prev return html; }; +Drupal.theme.prototype.mkdruCounts = function(first, last, available, total) { + return first + Drupal.t(' to ') + last + Drupal.t(' of ') + available + + Drupal.t(' available (') + total + Drupal.t(' found)'); +}; + +Drupal.theme.prototype.mkdruStatus = function(activeClients, clients) { + return Drupal.t('Waiting on ') + activeClients + Drupal.t(' out of ') + + clients + Drupal.t(' targets'); +}; + Drupal.theme.prototype.mkdruFacet = function (terms, facet, max) { var html = ""; for (var i = 0; i < terms.length && i < max; i++ ) {