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
This commit is contained in:
NTD 2018-03-12 16:20:49 -04:00 • committed by Roy Tam
commit 801b7a4d47
2 changed files with 4 additions and 1 deletions

View file

@ -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-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-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-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-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-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-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-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-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): # LOCALIZATION NOTE (addonInstallErrorIncompatible):
# %1$S is the application name, %2$S is the application version, %3$S is the add-on name # %1$S is the application name, %2$S is the application version, %3$S is the add-on name

View file

@ -2672,7 +2672,7 @@ this.AddonManager = {
// An error occured trying to write to the filesystem. // An error occured trying to write to the filesystem.
ERROR_FILE_ACCESS: -4, ERROR_FILE_ACCESS: -4,
// The downloaded file seems to be WebExtension. // The downloaded file seems to be WebExtension.
ERROR_WEBEXT_FILE: -5, ERROR_WEBEXT_FILE: -9,
// These must be kept in sync with AddonUpdateChecker. // These must be kept in sync with AddonUpdateChecker.
// No error was encountered. // No error was encountered.