From faf0d739729366d4e7173833f2c159a8574fbca1 Mon Sep 17 00:00:00 2001 From: Luke Vella Date: Tue, 3 Jun 2025 18:28:51 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=90=20Make=20support=20email=20a=20var?= =?UTF-8?q?iable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/emails/locales/en/emails.json | 2 +- packages/emails/src/templates/license-key.tsx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/emails/locales/en/emails.json b/packages/emails/locales/en/emails.json index 549755b0b..9a7e16058 100644 --- a/packages/emails/locales/en/emails.json +++ b/packages/emails/locales/en/emails.json @@ -71,7 +71,7 @@ "license_key_nextStepsHeading": "Next Steps", "license_key_activationSteps": "Follow these instructions to activate your license on your Rallly Self-Hosted instance.", "license_key_questionsHeading": "Questions?", - "license_key_support": "Reply to this email or contact us at support@rallly.co if you need help.", + "license_key_support": "Reply to this email or contact us at {supportEmail} if you need help.", "license_key_signoff": "Thank you for choosing Rallly!", "license_key_preview": "Your license key has been generated.", "license_key_subject": "Your Rallly Self-Hosted {tier} License" diff --git a/packages/emails/src/templates/license-key.tsx b/packages/emails/src/templates/license-key.tsx index 4bf18655b..abbb4d7a9 100644 --- a/packages/emails/src/templates/license-key.tsx +++ b/packages/emails/src/templates/license-key.tsx @@ -130,8 +130,9 @@ export const LicenseKeyEmail = ({ ns="emails" i18nKey="license_key_support" defaults={ - "Reply to this email or contact us at support@rallly.co if you need help." + "Reply to this email or contact us at {supportEmail} if you need help." } + values={{ supportEmail: ctx.supportEmail }} components={{ a: , }}