Skip to content

The Open Source DocuSign Alternative.

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

Konradaf1e597619e7
diff --git a/apps/remix/app/components/general/app-command-menu.tsx b/apps/remix/app/components/general/app-command-menu.tsx
index 7a53ff249..df7f57cd8 100644
--- a/apps/remix/app/components/general/app-command-menu.tsx
+++ b/apps/remix/app/components/general/app-command-menu.tsx
@@ -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" />
)