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
This commit is contained in:
Francesco Lodolo (:flod) 2018-01-23 19:25:59 +01:00
Родитель d4ee1cf494
Коммит 6a6eaef3d0
2 изменённых файлов: 2 добавлений и 2 удалений

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

@ -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);

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

@ -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.