From 992237b03cdfade9cfff556c900ca8ee9edef83b Mon Sep 17 00:00:00 2001 From: rob thijssen Date: Wed, 9 Sep 2026 14:46:44 +0300 Subject: [PATCH] fix(ui): pluralise the verb, not just the noun, in the attribution tooltip Read "100% of 1 attributed block point here" on the live site. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01Jp6a8EDar9ueEhAxzep4V5 --- web/src/components/Leaderboard.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/src/components/Leaderboard.tsx b/web/src/components/Leaderboard.tsx index 5bc7b4a..0f96544 100644 --- a/web/src/components/Leaderboard.tsx +++ b/web/src/components/Leaderboard.tsx @@ -67,8 +67,9 @@ function Row({ className={tentative ? 'chip chip-named chip-guess' : 'chip chip-named'} title={ `Name inferred from telemetry: ${Math.round(row.confidence * 100)}% of ` + - `${row.attribution_votes} attributed block${row.attribution_votes === 1 ? '' : 's'} ` + - `point here. Best effort — a later block can correct it.` + `${row.attribution_votes} attributed ` + + (row.attribution_votes === 1 ? 'block points' : 'blocks point') + + ` here. Best effort — a later block can correct it.` } > {tentative ? 'node?' : 'node'}