From: Jaroslav Kysela Date: Mon, 22 Jun 2015 18:26:43 +0000 (+0200) Subject: WEBUI JS: more flexible pager translation X-Git-Tag: v4.2.1~2260 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec2c596a11a961dac96cd8dca512cf422af79cad;p=thirdparty%2Ftvheadend.git WEBUI JS: more flexible pager translation --- diff --git a/src/webui/static/app/tvheadend.js b/src/webui/static/app/tvheadend.js index b87013df2..8fb836bc3 100644 --- a/src/webui/static/app/tvheadend.js +++ b/src/webui/static/app/tvheadend.js @@ -99,7 +99,7 @@ tvheadend.PagingToolbarConf = function(conf, title, auto, count) conf.width = 50; conf.pageSize = 50; conf.displayInfo = true; - conf.displayMsg = title + _(' {0} - {1} of {2}'); + conf.displayMsg = _('{3} {0} - {1} of {2}').replace('{3}', title); conf.emptyMsg = String.format(_('No {0} to display'), title.toLowerCase()); conf.items = []; if (auto || count)