fix(ui): pluralise the verb, not just the noun, in the attribution tooltip
Some checks failed
deploy / build (push) Waiting to run
deploy / deploy-api (push) Has been cancelled
deploy / deploy-web (push) Has been cancelled

Read "100% of 1 attributed block point here" on the live site.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Jp6a8EDar9ueEhAxzep4V5
This commit is contained in:
2026-09-09 14:46:44 +03:00
parent bfd3470840
commit 992237b03c

View File

@@ -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'}