From 6a6eaef3d0776b9067febb10439101b919110e55 Mon Sep 17 00:00:00 2001 From: "Francesco Lodolo (:flod)" Date: Tue, 23 Jan 2018 19:25:59 +0100 Subject: [PATCH] Bug 1432555 - Restore and use existing string extensionControlled.enable for instruction on how to enable extensions r=Gijs MozReview-Commit-ID: 4nGtBhWzakN --HG-- extra : rebase_source : aabca46e1d06c84cc55f33335dd13cb1ab7dc0a4 --- browser/components/preferences/in-content/preferences.js | 2 +- .../en-US/chrome/browser/preferences/preferences.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/browser/components/preferences/in-content/preferences.js b/browser/components/preferences/in-content/preferences.js index bbe6570306d5..54384eea4654 100644 --- a/browser/components/preferences/in-content/preferences.js +++ b/browser/components/preferences/in-content/preferences.js @@ -547,7 +547,7 @@ function showEnableExtensionMessage(settingName) { 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); diff --git a/browser/locales/en-US/chrome/browser/preferences/preferences.properties b/browser/locales/en-US/chrome/browser/preferences/preferences.properties index 0ac190180eff..398a8e043175 100644 --- a/browser/locales/en-US/chrome/browser/preferences/preferences.properties +++ b/browser/locales/en-US/chrome/browser/preferences/preferences.properties @@ -302,4 +302,4 @@ extensionControlled.websites.trackingProtectionMode = An extension, %S, is contr # %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.