From 0a9ddd1e3d49c23103c0c6e8ef66f4a29e215572 Mon Sep 17 00:00:00 2001 From: Luke Vella Date: Sat, 7 Sep 2024 11:11:20 +0100 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Update=20email=20templates?= =?UTF-8?q?=20(#1324)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/emails/src/templates/login.tsx | 4 ++-- .../emails/src/templates/new-participant-confirmation.tsx | 2 +- packages/emails/src/templates/new-poll.tsx | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/emails/src/templates/login.tsx b/packages/emails/src/templates/login.tsx index 116a53efd..b7ced0a64 100644 --- a/packages/emails/src/templates/login.tsx +++ b/packages/emails/src/templates/login.tsx @@ -62,7 +62,7 @@ export const LoginEmail = ({ code, magicLink, ctx }: LoginEmailProps) => { i18n={ctx.i18n} t={ctx.t} i18nKey="login_button" - defaults="Log in to {domain}" + defaults="Log in to {{domain}}" values={{ domain: ctx.domain }} ns="emails" /> @@ -73,7 +73,7 @@ export const LoginEmail = ({ code, magicLink, ctx }: LoginEmailProps) => { i18n={ctx.i18n} t={ctx.t} i18nKey="login_content2" - defaults="You're receiving this email because a request was made to login to . If this wasn't you contact {supportEmail}." + defaults="You're receiving this email because a request was made to login to . If this wasn't you contact {{supportEmail}}." values={{ supportEmail: ctx.supportEmail }} components={{ domain: , diff --git a/packages/emails/src/templates/new-participant-confirmation.tsx b/packages/emails/src/templates/new-participant-confirmation.tsx index c44b0758b..6df5cef8a 100644 --- a/packages/emails/src/templates/new-participant-confirmation.tsx +++ b/packages/emails/src/templates/new-participant-confirmation.tsx @@ -63,7 +63,7 @@ export const NewParticipantConfirmationEmail = ({ i18n={ctx.i18n} t={ctx.t} i18nKey="newParticipantConfirmation_button" - defaults="Review response on {domain}" + defaults="Review response on {{domain}}" values={{ domain }} ns="emails" /> diff --git a/packages/emails/src/templates/new-poll.tsx b/packages/emails/src/templates/new-poll.tsx index f4e73894a..de43f6a6d 100644 --- a/packages/emails/src/templates/new-poll.tsx +++ b/packages/emails/src/templates/new-poll.tsx @@ -62,7 +62,6 @@ export const NewPollEmail = ({ defaultValue: "Manage Poll", ns: "emails", })} - → );