From aa9b63694b082c78848486e2df7bc112d980d1c8 Mon Sep 17 00:00:00 2001
From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
Date: Wed, 15 Jan 2025 13:17:24 +1100
Subject: bar: fix unread notifs plural

---
 modules/bar.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'modules/bar.tsx')

diff --git a/modules/bar.tsx b/modules/bar.tsx
index a6ff6d1..97b87b7 100644
--- a/modules/bar.tsx
+++ b/modules/bar.tsx
@@ -331,7 +331,7 @@ const Notifications = () => {
             setup={self =>
                 setupCustomTooltip(
                     self,
-                    bind(unreadCount).as(n => n + " unread notifications")
+                    bind(unreadCount).as(n => `${n} unread notification${n === 1 ? "" : "s"}`)
                 )
             }
         >
-- 
cgit v1.2.3-freya

