v1.18.x
psychobunny 11 years ago
parent 10716c37d3
commit a0fcdfe629

@ -23,6 +23,7 @@
"close": "Close", "close": "Close",
"pagination": "Pagination", "pagination": "Pagination",
"pagination.out_of": "%1 out of %2",
"header.admin": "Admin", "header.admin": "Admin",
"header.recent": "Recent", "header.recent": "Recent",

@ -75,7 +75,10 @@ define(function() {
}; };
navigator.updateTextAndProgressBar = function() { navigator.updateTextAndProgressBar = function() {
$('#pagination').html(index + ' out of ' + count); translator.translate('[[global:pagination.out_of, ' + index + ', ' + count + ']]', function(translated) {
$('#pagination').html(translated);
});
$('.pagination-block .progress-bar').width((index / count * 100) + '%'); $('.pagination-block .progress-bar').width((index / count * 100) + '%');
}; };

Loading…
Cancel
Save