Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
TypeScript i18nextnext-authnextjspostgresqlprismareact-emailt3-stacktailwindcsstrpcturborepotypescriptzod
🌐 Make support email a variable
Luke Vellafaf0d7397293
diff --git a/packages/emails/locales/en/emails.json b/packages/emails/locales/en/emails.jsonindex 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 <a>instructions</a> 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 <a>[email protected]</a> if you need help.",+ "license_key_support": "Reply to this email or contact us at <a>{supportEmail}</a> 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.tsxindex 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 <a>[email protected]</a> if you need help."+ "Reply to this email or contact us at <a>{supportEmail}</a> if you need help."}+ values={{ supportEmail: ctx.supportEmail }}components={{a: <Link className="text-link" href="mailto:[email protected]" />,}}