diff --git a/public/language/en_GB/global.json b/public/language/en_GB/global.json index 6ed0e914b1..d7bea3a7a1 100644 --- a/public/language/en_GB/global.json +++ b/public/language/en_GB/global.json @@ -23,6 +23,7 @@ "close": "Close", "pagination": "Pagination", + "pagination.out_of": "%1 out of %2", "header.admin": "Admin", "header.recent": "Recent", diff --git a/public/src/modules/navigator.js b/public/src/modules/navigator.js index 1f4e8beb50..044a586c68 100644 --- a/public/src/modules/navigator.js +++ b/public/src/modules/navigator.js @@ -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) + '%'); };