Bug 739757 - (Part 2) Update strings for content permissions prompts. r=mfinkle

This commit is contained in:
Margaret Leibovic 2013-03-06 13:02:38 +00:00
parent d50b154813
commit acbf83e683
3 changed files with 5 additions and 7 deletions

View File

@ -6406,8 +6406,8 @@ var PermissionsHelper = {
},
"geolocation": {
label: "geolocation.shareLocation",
allowed: "geolocation.alwaysAllow",
denied: "geolocation.neverAllow"
allowed: "geolocation.allow",
denied: "geolocation.dontAllow"
},
"popup": {
label: "blockPopups.label",

View File

@ -86,7 +86,7 @@ ContentPermissionPrompt.prototype = {
}
}];
let message = browserBundle.formatStringFromName(entityName + ".wantsTo",
let message = browserBundle.formatStringFromName(entityName + ".ask",
[request.principal.URI.host], 1);
let options = { checkbox: browserBundle.GetStringFromName(entityName + ".dontAskAgain") };

View File

@ -90,9 +90,7 @@ identity.ownerUnknown2=(unknown)
# Geolocation UI
geolocation.allow=Share
geolocation.dontAllow=Don't share
geolocation.alwaysAllow=Always Share
geolocation.neverAllow=Never Share
geolocation.wantsTo=%S wants your location.
geolocation.ask=Share your location with %S?
# LOCALIZATION NOTE (geolocation.shareLocation): Label that will be used in
# site settings dialog.
geolocation.shareLocation=Share Location
@ -103,7 +101,7 @@ geolocation.dontAskAgain=Don't ask again for this site
# Desktop notification UI
desktopNotification.allow=Allow
desktopNotification.dontAllow=Don't allow
desktopNotification.wantsTo=%S wants to use notifications.
desktopNotification.ask=Allow %S to use notifications?
# LOCALIZATION NOTE (desktopNotification.useNotifications): Label that will be
# used in site settings dialog.
desktopNotification.useNotifications=Use Notifications