From 0571db726d3cbf33b12a1e81c456c53957df7a44 Mon Sep 17 00:00:00 2001 From: Nihanth Subramanya Date: Fri, 26 Jul 2019 13:09:42 +0000 Subject: [PATCH] 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 --- .../base/content/browser-siteProtections.js | 7 ++++--- .../en-US/chrome/browser/browser.properties | 20 +++++++++++++++++++ 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/browser/base/content/browser-siteProtections.js b/browser/base/content/browser-siteProtections.js index bbc8f9049382..25c44efa6859 100644 --- a/browser/base/content/browser-siteProtections.js +++ b/browser/base/content/browser-siteProtections.js @@ -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"); diff --git a/browser/locales/en-US/chrome/browser/browser.properties b/browser/locales/en-US/chrome/browser/browser.properties index cf9d016de0ce..def585be5f7c 100644 --- a/browser/locales/en-US/chrome/browser/browser.properties +++ b/browser/locales/en-US/chrome/browser/browser.properties @@ -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