Bug 1555225 - Part 2: Update browser.properties and update panel header. r=johannh

Differential Revision: https://phabricator.services.mozilla.com/D39115

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Nihanth Subramanya 2019-07-26 13:09:42 +00:00
Родитель 31d58fd0d6
Коммит 0571db726d
2 изменённых файлов: 24 добавлений и 3 удалений

Просмотреть файл

@ -1424,9 +1424,10 @@ var gProtectionsHandler = {
let host = gIdentityHandler.getHostForDisplay();
// Push the appropriate strings out to the UI.
this._protectionsPopupMainViewHeaderLabel.textContent =
// gNavigatorBundle.getFormattedString("protections.header", [host]);
`Tracking Protections for ${host}`;
this._protectionsPopupMainViewHeaderLabel.textContent = gNavigatorBundle.getFormattedString(
"protections.header",
[host]
);
let currentlyEnabled = !this._protectionsPopup.hasAttribute("hasException");

Просмотреть файл

@ -623,7 +623,27 @@ contentBlocking.cryptominers.allowed.label=Allowed
contentBlocking.cryptominers.blocking.label=Blocking
trackingProtection.icon.activeTooltip=Tracking attempts blocked
trackingProtection.icon.activeTooltip2=Blocking social media trackers, cross-site tracking cookies, and fingerprinters.
trackingProtection.icon.disabledTooltip=Tracking content detected
trackingProtection.icon.disabledTooltip2=Enhanced Tracking Protection is OFF for this site.
# LOCALIZATION NOTE (trackingProtection.icon.noTrackersDetectedTooltip): %S is brandShortName.
trackingProtection.icon.noTrackersDetectedTooltip=No trackers known to %S were detected on this page.
# LOCALIZATION NOTE (protections.header):
# Header of the Protections Panel. %S is replaced with the site's hostname.
protections.header=Protections for %S
# Blocking and Not Blocking sub-views in the Protections Panel
protections.blocking.fingerprinters.title=Fingerprinters Blocked
protections.blocking.cryptominers.title=Cryptominers Blocked
protections.blocking.crossSiteTrackingCookies.title=Cross-Site Tracking Cookies Blocked
protections.blocking.trackingContent.title=Tracking Content Blocked
protections.blocking.socialMediaTrackers.title=Social Media Trackers Blocked
protections.notBlocking.fingerprinters.title=Not Blocking Fingerprinters
protections.notBlocking.cryptominers.title=Not Blocking Cryptominers
protections.notBlocking.crossSiteTrackingCookies.title=Not Blocking Cross-Site Tracking Cookies
protections.notBlocking.trackingContent.title=Not Blocking Tracking Content
protections.notBlocking.socialMediaTrackers.title=Not Blocking Social Media Trackers
# Edit Bookmark UI
editBookmarkPanel.newBookmarkTitle=New Bookmark