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

This commit is contained in:
Konrad
2025-12-01 01:30:07 +01:00
committed by GitHub
parent a610a06372
commit df0c03816e
2 changed files with 7 additions and 3 deletions
@@ -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">
@@ -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>
),
},
{