mirror of
https://github.com/documenso/documenso.git
synced 2026-10-04 18:54:00 +10:00
fix(i18n): add support for plural in app-command-menu.tsx (#3364)
This commit is contained in:
@@ -597,7 +597,11 @@ export const AppCommandMenu = ({ open, onOpenChange }: AppCommandMenuProps) => {
|
||||
<span className="ml-auto text-muted-foreground text-xs">
|
||||
{hasValidSearch ? (
|
||||
isVisibleCountCapped ? (
|
||||
<Trans>{formatChipCount(totalVisibleCount, isVisibleCountCapped)} results</Trans>
|
||||
<Plural
|
||||
value={totalVisibleCount}
|
||||
one="≥# result"
|
||||
other="≥# results"
|
||||
/>
|
||||
) : (
|
||||
<Plural value={totalVisibleCount} one="# result" other="# results" />
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user