From 2de5c1992f63df108727d1645700d80a094fb8dc Mon Sep 17 00:00:00 2001 From: Konrad <11725227+mKoonrad@users.noreply.github.com> Date: Mon, 1 Dec 2025 01:34:43 +0100 Subject: [PATCH] chore(i18n): add message context to subscription status (#2220) --- .../tables/user-billing-organisations-table.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/remix/app/components/tables/user-billing-organisations-table.tsx b/apps/remix/app/components/tables/user-billing-organisations-table.tsx index dd1e5823a..bc6a2c604 100644 --- a/apps/remix/app/components/tables/user-billing-organisations-table.tsx +++ b/apps/remix/app/components/tables/user-billing-organisations-table.tsx @@ -28,19 +28,19 @@ export const UserBillingOrganisationsTable = () => { const getSubscriptionStatusDisplay = (status: SubscriptionStatus | undefined) => { return match(status) .with(SubscriptionStatus.ACTIVE, () => ({ - label: t`Active`, + label: t({ message: `Active`, context: `Subscription status` }), variant: 'default' as const, })) .with(SubscriptionStatus.PAST_DUE, () => ({ - label: t`Past Due`, + label: t({ message: `Past Due`, context: `Subscription status` }), variant: 'warning' as const, })) .with(SubscriptionStatus.INACTIVE, () => ({ - label: t`Inactive`, + label: t({ message: `Inactive`, context: `Subscription status` }), variant: 'neutral' as const, })) .otherwise(() => ({ - label: t`Free`, + label: t({ message: `Free`, context: `Subscription status` }), variant: 'neutral' as const, })); };