diff --git a/js/3p-filters.js b/js/3p-filters.js index c5e346f1b..76a22a50e 100644 --- a/js/3p-filters.js +++ b/js/3p-filters.js @@ -117,6 +117,7 @@ function renderBlacklists() { return html.join(''); }; + var listStatsTemplate = chrome.i18n.getMessage('3pListsOfBlockedHostsPerListStats'); var blacklists = µb.remoteBlacklists; var ul = $('#blacklists'); var keys = Object.keys(blacklists); @@ -134,7 +135,7 @@ function renderBlacklists() { child.attr('href', encodeURI(blacklistHref)); child.html(prettifyListName(blacklist.title, blacklistHref)); child = $('span', li); - text = chrome.i18n.getMessage('3pListsOfBlockedHostsPerListStats') + text = listStatsTemplate .replace('{{used}}', !blacklist.off && !isNaN(+blacklist.entryUsedCount) ? renderNumber(blacklist.entryUsedCount) : '0') .replace('{{total}}', !isNaN(+blacklist.entryCount) ? renderNumber(blacklist.entryCount) : '?') ; diff --git a/manifest.json b/manifest.json index 7cadf1b51..dd9223b2e 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "__MSG_extName__", "short_name": "µBlock", - "version": "0.1.0.0", + "version": "0.1.0.2", "description": "__MSG_extShortDesc__", "icons": { "16": "img/icon_16.png",