summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-03-12 16:20:49 -0400
committerMatt A. Tobin <email@mattatobin.com>2018-03-12 16:20:49 -0400
commite510fcb00c7ee272f3360302a2a5c849d7c89630 (patch)
tree96eefc0af2e641055a0511e3dff3396b37c5bc2e
parentffa04def2f2fa71a0130d028af05c47e9ee49d10 (diff)
downloadUXP-e510fcb00c7ee272f3360302a2a5c849d7c89630.tar
UXP-e510fcb00c7ee272f3360302a2a5c849d7c89630.tar.gz
UXP-e510fcb00c7ee272f3360302a2a5c849d7c89630.tar.lz
UXP-e510fcb00c7ee272f3360302a2a5c849d7c89630.tar.xz
UXP-e510fcb00c7ee272f3360302a2a5c849d7c89630.zip
Adjust error number for WebExtensions on TychoAM and add the string to Basilisk
Pale Moon l10n will need an adjustment as well from -5 to -9
-rw-r--r--browser/locales/en-US/chrome/browser/browser.properties3
-rw-r--r--toolkit/mozapps/extensions/AddonManager.jsm2
2 files changed, 4 insertions, 1 deletions
diff --git a/browser/locales/en-US/chrome/browser/browser.properties b/browser/locales/en-US/chrome/browser/browser.properties
index 6f3aab397..31f61632b 100644
--- a/browser/locales/en-US/chrome/browser/browser.properties
+++ b/browser/locales/en-US/chrome/browser/browser.properties
@@ -85,11 +85,14 @@ addonInstallError-2=The add-on could not be installed because it does not match
addonInstallError-3=The add-on downloaded from this site could not be installed because it appears to be corrupt.
addonInstallError-4=%2$S could not be installed because %1$S cannot modify the needed file.
addonInstallError-5=%1$S has prevented this site from installing an unverified add-on.
+addonInstallError-9=%2$S could not be installed because %1$S does not support WebExtensions.
addonLocalInstallError-1=This add-on could not be installed because of a filesystem error.
addonLocalInstallError-2=This add-on could not be installed because it does not match the add-on %1$S expected.
addonLocalInstallError-3=This add-on could not be installed because it appears to be corrupt.
addonLocalInstallError-4=%2$S could not be installed because %1$S cannot modify the needed file.
addonLocalInstallError-5=This add-on could not be installed because it has not been verified.
+addonLocalInstallError-9=%2$S could not be installed because %1$S does not support WebExtensions.
+
# LOCALIZATION NOTE (addonInstallErrorIncompatible):
# %1$S is the application name, %2$S is the application version, %3$S is the add-on name
diff --git a/toolkit/mozapps/extensions/AddonManager.jsm b/toolkit/mozapps/extensions/AddonManager.jsm
index 51030cb56..681c4240a 100644
--- a/toolkit/mozapps/extensions/AddonManager.jsm
+++ b/toolkit/mozapps/extensions/AddonManager.jsm
@@ -2672,7 +2672,7 @@ this.AddonManager = {
// An error occured trying to write to the filesystem.
ERROR_FILE_ACCESS: -4,
// The downloaded file seems to be WebExtension.
- ERROR_WEBEXT_FILE: -5,
+ ERROR_WEBEXT_FILE: -9,
// These must be kept in sync with AddonUpdateChecker.
// No error was encountered.