From 31e273395f92b932e3be17d427e026efcdc4b3fd Mon Sep 17 00:00:00 2001 From: Sebastian Martinez Date: Thu, 27 Mar 2025 10:33:06 +0100 Subject: [PATCH] Fix notification summary for revision comments Instead of showing `left a review comment` we should just say `left a comment` for a revision comment. --- src/lib/notification.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/notification.ts b/src/lib/notification.ts index 1589c9962..85d58718c 100644 --- a/src/lib/notification.ts +++ b/src/lib/notification.ts @@ -69,7 +69,7 @@ export function createSummary( ) { summary = `closed ${kind}`; } else if (lastAction.type === "revision.comment") { - summary = `left ${count > 1 ? count : "a"} review ${pluralize("comment", count)}`; + summary = `left ${count > 1 ? count : "a"} ${pluralize("comment", count)}`; } else if (lastAction.type === "review.comment") { summary = `left ${count > 1 ? count : "a"} review ${pluralize("comment", count)}`; } else if (a.every(e => e.type === "comment.react")) {