From fccd97e124784fc6a827d41d9f82c33132c8f31c Mon Sep 17 00:00:00 2001 From: Konrad <11725227+mKoonrad@users.noreply.github.com> Date: Tue, 11 Nov 2025 00:39:05 +0100 Subject: [PATCH] fix: add pluralization to 2fa code template (#2131) --- .../template-components/template-access-auth-2fa.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/email/template-components/template-access-auth-2fa.tsx b/packages/email/template-components/template-access-auth-2fa.tsx index edaa4df7e..841a43016 100644 --- a/packages/email/template-components/template-access-auth-2fa.tsx +++ b/packages/email/template-components/template-access-auth-2fa.tsx @@ -1,4 +1,4 @@ -import { Trans } from '@lingui/react/macro'; +import { Plural, Trans } from '@lingui/react/macro'; import { Heading, Img, Section, Text } from '../components'; @@ -46,7 +46,11 @@ export const TemplateAccessAuth2FA = ({ - This code will expire in {expiresInMinutes} minutes. +