From a12097ac53b7a1753cf14ca86ee545616233ee93 Mon Sep 17 00:00:00 2001 From: rimar1337 <132627503+rimar1337@users.noreply.github.com> Date: Thu, 30 Oct 2025 09:58:55 +0700 Subject: [PATCH] plurals --- src/routes/notifications.tsx | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/routes/notifications.tsx b/src/routes/notifications.tsx index 2c40219..1a2fbf5 100644 --- a/src/routes/notifications.tsx +++ b/src/routes/notifications.tsx @@ -442,9 +442,16 @@ function InteractionsButton({ ) : ( <> )} - {type} - {/* bad grammar replys */} - {count > 1 ? "s" : ""}
{count} + {type === "like" + ? "likes" + : type === "reply" + ? "replies" + : type === "quote" + ? "quotes" + : type === "repost" + ? "reposts" + : ""} +
{count} ); } -- 2.51.2