]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
WEBUI JS: more flexible pager translation
authorJaroslav Kysela <perex@perex.cz>
Mon, 22 Jun 2015 18:26:43 +0000 (20:26 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 22 Jun 2015 18:26:43 +0000 (20:26 +0200)
src/webui/static/app/tvheadend.js

index b87013df21847867443e06de714c91847d1ef5e5..8fb836bc362c190bfca940224ccdf67463b9dfd4 100644 (file)
@@ -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)