Skip to content

The Open Source DocuSign Alternative.

chore(i18n): add message context for "Free" and "Paid" (#2222)

Konraddf0c03816ec1
diff --git a/apps/remix/app/components/dialogs/organisation-create-dialog.tsx b/apps/remix/app/components/dialogs/organisation-create-dialog.tsx
index ba211538b..6237c0dd6 100644
--- a/apps/remix/app/components/dialogs/organisation-create-dialog.tsx
+++ b/apps/remix/app/components/dialogs/organisation-create-dialog.tsx
@@ -367,7 +367,7 @@ const BillingPlanForm = ({
<div className="w-full text-left">
<div className="flex items-center justify-between">
<p className="text-medium">
- <Trans>Free</Trans>
+ <Trans context="Plan price">Free</Trans>
</p>
<Badge size="small" variant="neutral" className="ml-1.5">
diff --git a/apps/remix/app/components/tables/admin-organisations-table.tsx b/apps/remix/app/components/tables/admin-organisations-table.tsx
index 2104d6f01..eab94c199 100644
--- a/apps/remix/app/components/tables/admin-organisations-table.tsx
+++ b/apps/remix/app/components/tables/admin-organisations-table.tsx
@@ -113,7 +113,11 @@ export const AdminOrganisationsTable = ({
isPaid ? 'bg-green-100 text-green-800' : 'bg-gray-100 text-gray-800'
}`}
>
- {isPaid ? t`Paid` : t`Free`}
+ {isPaid ? (
+ <Trans context="Subscription status">Paid</Trans>
+ ) : (
+ <Trans context="Subscription status">Free</Trans>
+ )}
</div>
);
},
@@ -131,7 +135,7 @@ export const AdminOrganisationsTable = ({
<ExternalLinkIcon className="h-4 w-4" />
</Link>
) : (
- 'None'
+ <Trans>None</Trans>
),
},
{