Bug 1044401 - Turn permissions into nouns. r=sebastian

This commit is contained in:
Chenxia Liu 2015-11-17 17:33:49 -08:00
parent 4b620818a9
commit 90795e9c5e
2 changed files with 19 additions and 19 deletions

View File

@ -8,37 +8,37 @@ var PermissionsHelper = {
"offline-app", "desktop-notification", "plugins", "native-intent"],
_permissionStrings: {
"password": {
label: "password.savePassword",
label: "password.logins",
allowed: "password.save",
denied: "password.dontSave"
},
"geolocation": {
label: "geolocation.shareLocation",
label: "geolocation.location",
allowed: "geolocation.allow",
denied: "geolocation.dontAllow"
},
"popup": {
label: "blockPopups.label",
label: "blockPopups.label2",
allowed: "popup.show",
denied: "popup.dontShow"
},
"indexedDB": {
label: "offlineApps.storeOfflineData",
label: "offlineApps.offlineData",
allowed: "offlineApps.allow",
denied: "offlineApps.dontAllow2"
},
"offline-app": {
label: "offlineApps.storeOfflineData",
label: "offlineApps.offlineData",
allowed: "offlineApps.allow",
denied: "offlineApps.dontAllow2"
},
"desktop-notification": {
label: "desktopNotification.useNotifications",
label: "desktopNotification.notifications",
allowed: "desktopNotification2.allow",
denied: "desktopNotification2.dontAllow"
},
"plugins": {
label: "clickToPlayPlugins.activatePlugins",
label: "clickToPlayPlugins.plugins",
allowed: "clickToPlayPlugins.activate",
denied: "clickToPlayPlugins.dontActivate"
},

View File

@ -90,9 +90,9 @@ popup.dontShow=Don't show
# SafeBrowsing
safeBrowsingDoorhanger=This site has been identified as containing malware or a phishing attempt. Be careful.
# LOCALIZATION NOTE (blockPopups.label): Label that will be used in
# LOCALIZATION NOTE (blockPopups.label2): Label that will be used in
# site settings dialog.
blockPopups.label=Block Popups
blockPopups.label2=Popups
# XPInstall
xpinstallPromptWarning2=%S prevented this site (%S) from asking you to install software on your device.
@ -113,9 +113,9 @@ identity.identified.title_with_country=%S (%S)
geolocation.allow=Share
geolocation.dontAllow=Don't share
geolocation.ask=Share your location with %S?
# LOCALIZATION NOTE (geolocation.shareLocation): Label that will be used in
# LOCALIZATION NOTE (geolocation.location): Label that will be used in
# site settings dialog.
geolocation.shareLocation=Share Location
geolocation.shareLocation=Location
# LOCALIZATION NOTE (geolocation.dontAskAgain): This label appears next to a
# checkbox to indicate whether or not the user wants to make a permanent decision.
geolocation.dontAskAgain=Don't ask again for this site
@ -124,9 +124,9 @@ geolocation.dontAskAgain=Don't ask again for this site
desktopNotification2.allow=Always
desktopNotification2.dontAllow=Never
desktopNotification2.ask=Would you like to receive notifications from this site?
# LOCALIZATION NOTE (desktopNotification.useNotifications): Label that will be
# LOCALIZATION NOTE (desktopNotification.notifications): Label that will be
# used in site settings dialog.
desktopNotification.useNotifications=Use Notifications
desktopNotification.notifications=Notifications
# Imageblocking
imageblocking.downloadedImage=Image unblocked
@ -199,13 +199,13 @@ offlineApps.dontAskAgain=Don't ask again for this site
offlineApps.allow=Allow
offlineApps.dontAllow2=Don't allow
# LOCALIZATION NOTE (offlineApps.storeOfflineData): Label that will be used in
# LOCALIZATION NOTE (offlineApps.offlineData): Label that will be used in
# site settings dialog.
offlineApps.storeOfflineData=Store Offline Data
offlineApps.offlineData=Offline Data
# LOCALIZATION NOTE (password.savePassword): Label that will be used in
# LOCALIZATION NOTE (password.logins): Label that will be used in
# site settings dialog.
password.savePassword=Save Password
password.logins=Logins
# LOCALIZATION NOTE (password.save): This should match
# saveButton in passwordmgr.properties
password.save=Save
@ -306,9 +306,9 @@ 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
# LOCALIZATION NOTE (clickToPlayPlugins.plugins): Label that
# will be used in site settings dialog.
clickToPlayPlugins.activatePlugins=Activate Plugins
clickToPlayPlugins.plugins=Plugins
# Site settings dialog
# LOCALIZATION NOTE (siteSettings.labelToValue): This string will be used to