Skip to content

The Open Source DocuSign Alternative.

fix(i18n): add Plural support for bulk download limit alert (#3209) (#3260)

Rodrigo Flávio5beb57dbf09e
diff --git a/apps/remix/app/components/dialogs/envelopes-bulk-download-dialog.tsx b/apps/remix/app/components/dialogs/envelopes-bulk-download-dialog.tsx
index 940055854..cc609fabb 100644
--- a/apps/remix/app/components/dialogs/envelopes-bulk-download-dialog.tsx
+++ b/apps/remix/app/components/dialogs/envelopes-bulk-download-dialog.tsx
@@ -290,10 +290,11 @@ export const EnvelopesBulkDownloadDialog = ({
{isOverDownloadLimit && (
<Alert variant="warning">
<AlertDescription>
- <Trans>
- You can download up to {MAX_BULK_DOWNLOAD_ENVELOPES} documents at a time. Deselect some documents to
- continue.
- </Trans>
+ <Plural
+ value={MAX_BULK_DOWNLOAD_ENVELOPES}
+ one="You can download up to # document at a time. Deselect some documents to continue."
+ other="You can download up to # documents at a time. Deselect some documents to continue."
+ />
</AlertDescription>
</Alert>
)}