From 49769a405d70ccfced28dd5f58af6fe0494dba4d Mon Sep 17 00:00:00 2001
From: Travis Ralston <travpc@gmail.com>
Date: Thu, 13 Dec 2018 16:12:56 -0700
Subject: [PATCH] Fix translation error on notification icon

Introduced by https://github.com/matrix-org/matrix-react-sdk/pull/2336
---
 src/components/structures/RightPanel.js | 3 ++-
 src/i18n/strings/en_EN.json             | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/components/structures/RightPanel.js b/src/components/structures/RightPanel.js
index 0870f085a5..e8371697f2 100644
--- a/src/components/structures/RightPanel.js
+++ b/src/components/structures/RightPanel.js
@@ -326,7 +326,8 @@ module.exports = React.createClass({
             let notifCount = 0;
             MatrixClientPeg.get().getRooms().forEach(r => notifCount += (r.getUnreadNotificationCount('highlight') || 0));
             if (notifCount > 0) {
-                notifCountBadge = <div title={_t("%counts Notifications")}>{ formatCount(notifCount) }</div>;
+                const title = _t("%(count)s Notifications", {count: formatCount(notifCount)});
+                notifCountBadge = <div title={title}>{ formatCount(notifCount) }</div>;
             }
 
             headerButtons = [
diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json
index 92fb545b4e..a97182520a 100644
--- a/src/i18n/strings/en_EN.json
+++ b/src/i18n/strings/en_EN.json
@@ -1144,6 +1144,8 @@
     "%(count)s Members|other": "%(count)s Members",
     "%(count)s Members|one": "%(count)s Member",
     "Invite to this room": "Invite to this room",
+    "%(count)s Notifications|other": "%(count)s Notifications",
+    "%(count)s Notifications|one": "%(count)s Notification",
     "Files": "Files",
     "Notifications": "Notifications",
     "Hide panel": "Hide panel",