mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 16:35:47 +01:00
closes #1502
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
"close": "Close",
|
||||
|
||||
"pagination": "Pagination",
|
||||
"pagination.out_of": "%1 out of %2",
|
||||
|
||||
"header.admin": "Admin",
|
||||
"header.recent": "Recent",
|
||||
|
||||
@@ -75,7 +75,10 @@ define(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) + '%');
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user