summaryrefslogtreecommitdiff
path: root/modules/bar.tsx
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-15 13:17:24 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-15 13:17:24 +1100
commitaa9b63694b082c78848486e2df7bc112d980d1c8 (patch)
treeac77abcd4d69eee22ba6ea32a7dd0d838d28d04a /modules/bar.tsx
parentbar: update indicator (diff)
downloadcaelestia-shell-aa9b63694b082c78848486e2df7bc112d980d1c8.tar.gz
caelestia-shell-aa9b63694b082c78848486e2df7bc112d980d1c8.tar.bz2
caelestia-shell-aa9b63694b082c78848486e2df7bc112d980d1c8.zip
bar: fix unread notifs plural
Diffstat (limited to 'modules/bar.tsx')
-rw-r--r--modules/bar.tsx2
1 files changed, 1 insertions, 1 deletions
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"}`)
)
}
>