Bug 308060 - Rewrite install-blocked message to reflect reality. patch by Phil Ringnalda <philringnalda@gmail.com>, ui-review=beltzner, r=me.

This commit is contained in:
mozilla.mano%sent.com 2006-05-16 08:15:48 +00:00
parent 1f16c3ba95
commit b3631c7cf8
2 changed files with 6 additions and 6 deletions

View File

@ -666,12 +666,12 @@ const gXPInstallObserver = {
// properly differentiate themes. It's likely in fact that themes won't
// be blocked so this code path will only be reached for extensions.
notificationName = "xpinstall"
messageString = browserBundle.getFormattedString("xpinstallWarning",
messageString = browserBundle.getFormattedString("xpinstallPromptWarning",
[brandShortName, host]);
buttons = [{
label: browserBundle.getString("xpinstallWarningButton"),
accessKey: browserBundle.getString("xpinstallWarningButton.accesskey"),
label: browserBundle.getString("xpinstallPromptWarningButton"),
accessKey: browserBundle.getString("xpinstallPromptWarningButton.accesskey"),
popup: null,
callback: function() { return xpinstallEditPermissions(browser.docShell); }
}];

View File

@ -66,12 +66,12 @@ tabs.closeWarning=This Browser window has %S tabs open. Do you want to close it
tabs.closeButton=Close all tabs
tabs.closeWarningPromptMe=Warn me when closing multiple tabs
xpinstallWarning=To protect your computer, %S prevented this site (%S) from installing software on your computer.
xpinstallWarningButton=Edit Options...
xpinstallPromptWarning=%S prevented this site (%S) from asking you to install software on your computer.
xpinstallPromptWarningButton=Edit Options...
# Accessibility Note:
# Be sure you do not choose an accesskey that is used elsewhere in the active context (e.g. main menu bar, submenu of the warning popup button)
# See http://www.mozilla.org/access/keyboard/accesskey for details
xpinstallWarningButton.accesskey=O
xpinstallPromptWarningButton.accesskey=O
xpinstallDisabledMessageLocked=Software installation has been disabled by your system administrator.
xpinstallDisabledMessage=Software installation is currently disabled. Click Enable and try again.
xpinstallDisabledButton=Enable