mirror of https://github.com/gorhill/uBlock.git
re. #704: forgot localized string
This commit is contained in:
parent
99be9f5c30
commit
2378a63cf0
|
@ -180,6 +180,10 @@
|
|||
"description":""
|
||||
},
|
||||
"popupHitDomainCountPrompt":{
|
||||
"message":"domains touched",
|
||||
"description":"appears in popup"
|
||||
},
|
||||
"popupHitDomainCount":{
|
||||
"message":"{{count}} out of {{total}}",
|
||||
"description":"appears in popup"
|
||||
},
|
||||
|
|
|
@ -50,7 +50,7 @@ var touchedDomainCount = 0;
|
|||
var rowsToRecycle = uDom();
|
||||
var cachedPopupHash = '';
|
||||
var orStr = vAPI.i18n('popupOr');
|
||||
var domainsHitStr = vAPI.i18n('popupHitDomainCountPrompt');
|
||||
var domainsHitStr = vAPI.i18n('popupHitDomainCount');
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
|
@ -302,7 +302,7 @@ var renderPrivacyExposure = function() {
|
|||
|
||||
var summary = domainsHitStr.replace('{{count}}', touchedDomainCount.toLocaleString())
|
||||
.replace('{{total}}', allDomainCount.toLocaleString());
|
||||
uDom('#privacyExposure').text(summary);
|
||||
uDom('#popupHitDomainCount').text(summary);
|
||||
};
|
||||
|
||||
/******************************************************************************/
|
||||
|
@ -330,7 +330,7 @@ var renderPopup = function() {
|
|||
var total = popupData.pageAllowedRequestCount + blocked;
|
||||
var text = [];
|
||||
if ( total === 0 ) {
|
||||
text.push('0');
|
||||
text.push(formatNumber(0));
|
||||
} else {
|
||||
text.push(
|
||||
formatNumber(blocked),
|
||||
|
@ -344,7 +344,7 @@ var renderPopup = function() {
|
|||
total = popupData.globalAllowedRequestCount + blocked;
|
||||
text = [];
|
||||
if ( total === 0 ) {
|
||||
text.push('0');
|
||||
text.push(formatNumber(0));
|
||||
} else {
|
||||
text.push(
|
||||
formatNumber(blocked),
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
<p class="statValue" id="page-blocked">?</p>
|
||||
<p class="statName" data-i18n="popupBlockedSinceInstallPrompt"></p>
|
||||
<p class="statValue" id="total-blocked">?</p>
|
||||
<h2>domains touched</h2>
|
||||
<p class="statValue" id="privacyExposure"></p>
|
||||
<h2 data-i18n="popupHitDomainCountPrompt"></h2>
|
||||
<p class="statValue" id="popupHitDomainCount"></p>
|
||||
<div id="refresh" class="fa"></div>
|
||||
</div><!-- DO NOT REMOVE --><div>
|
||||
<div id="dynamicFilteringContainer">
|
||||
|
|
Loading…
Reference in New Issue