mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 08:25:46 +01:00
closes #1502
This commit is contained in:
@@ -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) + '%');
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user