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 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Jp6a8EDar9ueEhAxzep4V5
This commit is contained in:
@@ -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'}
|
||||
|
||||
Reference in New Issue
Block a user