Bug 739757 - (Part 3) Update click to play plugin strings to use "activate" instead of "play". r=mfinkle

This commit is contained in:
Margaret Leibovic 2013-03-06 13:02:39 +00:00
parent acbf83e683
commit d040c7752d
2 changed files with 10 additions and 10 deletions

View File

@ -6136,11 +6136,11 @@ var PluginHelper = {
return;
}
let message = Strings.browser.formatStringFromName("clickToPlayPlugins.message1",
let message = Strings.browser.formatStringFromName("clickToPlayPlugins.message2",
[uri.host], 1);
let buttons = [
{
label: Strings.browser.GetStringFromName("clickToPlayPlugins.yes"),
label: Strings.browser.GetStringFromName("clickToPlayPlugins.activate"),
callback: function(aChecked) {
// If the user checked "Don't ask again", make a permanent exception
if (aChecked)
@ -6150,7 +6150,7 @@ var PluginHelper = {
}
},
{
label: Strings.browser.GetStringFromName("clickToPlayPlugins.no"),
label: Strings.browser.GetStringFromName("clickToPlayPlugins.dontActivate"),
callback: function(aChecked) {
// If the user checked "Don't ask again", make a permanent exception
if (aChecked)
@ -6430,9 +6430,9 @@ var PermissionsHelper = {
denied: "desktopNotification.dontAllow"
},
"plugins": {
label: "clickToPlayPlugins.playPlugins",
allowed: "clickToPlayPlugins.yes",
denied: "clickToPlayPlugins.no"
label: "clickToPlayPlugins.activatePlugins",
allowed: "clickToPlayPlugins.activate",
denied: "clickToPlayPlugins.dontActivate"
},
"native-intent": {
label: "helperapps.openWithList2",

View File

@ -272,15 +272,15 @@ webapps.manifestInstallError=Invalid application manifest
webapps.networkInstallError=Could not download manifest
# Click to play plugins
clickToPlayPlugins.message1=%S contains plugin content. Would you like to play it?
clickToPlayPlugins.yes=Yes
clickToPlayPlugins.no=No
clickToPlayPlugins.message2=%S contains plugin content. Would you like to activate it?
clickToPlayPlugins.activate=Activate
clickToPlayPlugins.dontActivate=Don't activate
# LOCALIZATION NOTE (clickToPlayPlugins.dontAskAgain): This label appears next to a
# checkbox to indicate whether or not the user wants to make a permanent decision.
clickToPlayPlugins.dontAskAgain=Don't ask again for this site
# LOCALIZATION NOTE (clickToPlayPlugins.playPlugins): Label that
# will be used in site settings dialog.
clickToPlayPlugins.playPlugins=Play Plugins
clickToPlayPlugins.activatePlugins=Activate Plugins
# Site settings dialog
# LOCALIZATION NOTE (siteSettings.labelToValue): This string will be used to