fix: add pluralization to document details (#2130)

This commit is contained in:
Konrad
2025-11-11 00:54:12 +01:00
committed by GitHub
parent c66eda4aae
commit 575634e326

View File

@ -126,7 +126,11 @@ export default function DocumentPage({ params }: Route.ComponentProps) {
position="bottom"
>
<span>
<Trans>{envelope.recipients.length} Recipient(s)</Trans>
<Plural
value={envelope.recipients.length}
one="# Recipient"
other="# Recipients"
/>
</span>
</StackAvatarsWithTooltip>
</div>