Skip to content

Commit 2911a3b

Browse files
committed
Fixing bad reference in pagination translation
1 parent 25bdfc5 commit 2911a3b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Auditor/HTMLCSAuditor.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,7 @@ _global.HTMLCSAuditor = new function()
989989
var pageNum = _doc.createElement('span');
990990
pageNum.className = _prefix + 'page-number';
991991
// pageNum.innerHTML = 'Page ' + page + ' of ' + totalPages;
992-
pageNum.innerHTML = _global.HTMLCS.getTranslation("auditor_issue") + ' ' + page + ' ' + _global.HTMLCS.getTranslation("auditor_of") + ' ' + totalPages;
992+
pageNum.innerHTML = _global.HTMLCS.getTranslation("auditor_page") + ' ' + page + ' ' + _global.HTMLCS.getTranslation("auditor_of") + ' ' + totalPages;
993993
navDiv.appendChild(pageNum);
994994

995995
var next = _doc.createElement('span');
@@ -1015,7 +1015,7 @@ _global.HTMLCSAuditor = new function()
10151015
}
10161016

10171017
pageNum.innerHTML = '';
1018-
pageNum.appendChild(document.createTextNode(_global.HTMLCS.getTranslation("auditor_issue") + ' ' + _page + ' ' + _global.HTMLCS.getTranslation("auditor_of") + ' ' + totalPages));
1018+
pageNum.appendChild(document.createTextNode(_global.HTMLCS.getTranslation("auditor_page") + ' ' + _page + ' ' + _global.HTMLCS.getTranslation("auditor_of") + ' ' + totalPages));
10191019

10201020
var issueList = _doc.querySelectorAll('.HTMLCS-issue-list')[0];
10211021
issueList.style.marginLeft = ((_page - 1) * -300) + 'px';
@@ -1034,7 +1034,7 @@ _global.HTMLCSAuditor = new function()
10341034
}
10351035

10361036
pageNum.innerHTML = '';
1037-
pageNum.appendChild(document.createTextNode(_global.HTMLCS.getTranslation("auditor_issue") + ' ' + _page + ' ' + _global.HTMLCS.getTranslation("auditor_of") + ' ' + totalPages));
1037+
pageNum.appendChild(document.createTextNode(_global.HTMLCS.getTranslation("auditor_page") + ' ' + _page + ' ' + _global.HTMLCS.getTranslation("auditor_of") + ' ' + totalPages));
10381038

10391039
var issueList = _doc.querySelectorAll('.HTMLCS-issue-list')[0];
10401040
issueList.style.marginLeft = ((_page - 1) * -300) + 'px';

0 commit comments

Comments
 (0)