Bug 1432555 - Restore and use existing string extensionControlled.enable for instruction on how to enable extensions r?jaws draft
authorFrancesco Lodolo (:flod) <flod@lodolo.net>
Tue, 23 Jan 2018 19:25:59 +0100
changeset 723721 bd64e277ee5dcdd19d7de3a085e3e7fbd3d16b40
parent 723720 94057f351ba94b31e1b5a56fefdfe9d8e43d0e5d
child 746926 393c038091265c8febfeb57f893e5232a1b7c54d
push id96504
push userbmo:francesco.lodolo@gmail.com
push dateTue, 23 Jan 2018 18:27:03 +0000
reviewersjaws
bugs1432555
milestone60.0a1
Bug 1432555 - Restore and use existing string extensionControlled.enable for instruction on how to enable extensions r?jaws MozReview-Commit-ID: 4nGtBhWzakN
browser/components/preferences/in-content/preferences.js
browser/locales/en-US/chrome/browser/preferences/preferences.properties
--- a/browser/components/preferences/in-content/preferences.js
+++ b/browser/components/preferences/in-content/preferences.js
@@ -542,17 +542,17 @@ function showEnableExtensionMessage(sett
     let img = document.createElement("image");
     img.src = url;
     img.className = "extension-controlled-icon";
     return img;
   };
   let addonIcon = icon("chrome://mozapps/skin/extensions/extensionGeneric-16.svg");
   let toolbarIcon = icon("chrome://browser/skin/menu.svg");
   let message = document.getElementById("bundlePreferences")
-                        .getString("extensionControlled.enable2");
+                        .getString("extensionControlled.enable");
   let frag = BrowserUtils.getLocalizedFragment(document, message, addonIcon, toolbarIcon);
   elements.description.innerHTML = "";
   elements.description.appendChild(frag);
   let dismissButton = document.createElement("image");
   dismissButton.setAttribute("class", "extension-controlled-icon close-icon");
   dismissButton.addEventListener("click", function dismissHandler() {
     hideControllingExtension(settingName);
     dismissButton.removeEventListener("click", dismissHandler);
--- a/browser/locales/en-US/chrome/browser/preferences/preferences.properties
+++ b/browser/locales/en-US/chrome/browser/preferences/preferences.properties
@@ -297,9 +297,9 @@ extensionControlled.privacy.containers =
 # LOCALIZATION NOTE (extensionControlled.websites.trackingProtectionMode):
 # This string is shown to notify the user that their tracking protection preferences are being controlled by an extension.
 extensionControlled.websites.trackingProtectionMode = An extension, %S, is controlling tracking protection.
 
 # LOCALIZATION NOTE (extensionControlled.enable):
 # %1$S is replaced with the icon for the add-ons menu.
 # %2$S is replaced with the icon for the toolbar menu.
 # This string is shown to notify the user how to enable an extension that they disabled.
-extensionControlled.enable2 = To enable the extension go to %1$S Add-ons in the %2$S menu.
+extensionControlled.enable = To enable the extension go to %1$S Add-ons in the %2$S menu.