diff --git a/browser/base/content/browser.xul b/browser/base/content/browser.xul
index 20dfcbb26dbb..4ae26143c785 100644
--- a/browser/base/content/browser.xul
+++ b/browser/base/content/browser.xul
@@ -732,7 +732,7 @@
+ aria-label="&urlbar.webNotsNotificationAnchor2.label;"/>
-
+
-
+
diff --git a/browser/locales/en-US/chrome/browser/preferences/aboutPermissions.dtd b/browser/locales/en-US/chrome/browser/preferences/aboutPermissions.dtd
index 7e44af86e7b9..07ad3b397736 100644
--- a/browser/locales/en-US/chrome/browser/preferences/aboutPermissions.dtd
+++ b/browser/locales/en-US/chrome/browser/preferences/aboutPermissions.dtd
@@ -41,7 +41,7 @@
-
+
diff --git a/browser/locales/en-US/chrome/browser/sitePermissions.properties b/browser/locales/en-US/chrome/browser/sitePermissions.properties
index 1ec28f9d7af1..a114e47f1781 100644
--- a/browser/locales/en-US/chrome/browser/sitePermissions.properties
+++ b/browser/locales/en-US/chrome/browser/sitePermissions.properties
@@ -8,7 +8,7 @@ block = Block
alwaysAsk = Always Ask
permission.cookie.label = Set Cookies
-permission.desktop-notification.label = Show Notifications
+permission.desktop-notification2.label = Receive Notifications
permission.image.label = Load Images
permission.camera.label = Use the Camera
permission.microphone.label = Use the Microphone
diff --git a/browser/modules/SitePermissions.jsm b/browser/modules/SitePermissions.jsm
index 709e1eee00d4..fe782651bc01 100644
--- a/browser/modules/SitePermissions.jsm
+++ b/browser/modules/SitePermissions.jsm
@@ -100,7 +100,8 @@ this.SitePermissions = {
* used in a UI for managing permissions.
*/
getPermissionLabel: function (aPermissionID) {
- return gStringBundle.GetStringFromName("permission." + aPermissionID + ".label");
+ let labelID = gPermissionObject[aPermissionID].labelID || aPermissionID;
+ return gStringBundle.GetStringFromName("permission." + labelID + ".label");
},
/* Returns the localized label for the given permission state, to be used in
@@ -136,6 +137,10 @@ var gPermissionObject = {
* Defaults to UNKNOWN, indicating that the user will be asked each time
* a page asks for that permissions.
*
+ * - labelID
+ * Use the given ID instead of the permission name for looking up strings.
+ * e.g. "desktop-notification2" to use permission.desktop-notification2.label
+ *
* - states
* Array of permission states to be exposed to the user.
* Defaults to ALLOW, BLOCK and the default state (see getDefault).
@@ -162,7 +167,8 @@ var gPermissionObject = {
},
"desktop-notification": {
- exactHostMatch: true
+ exactHostMatch: true,
+ labelID: "desktop-notification2",
},
"camera": {},