fix(i18n): add support for plural in app-command-menu.tsx (#3364)

This commit is contained in:
Konrad
2026-10-01 13:22:57 +10:00
committed by GitHub
parent 15e86bbfc8
commit af1e597619
@@ -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" />
)