From 308c7fa12b99504eb5be385eb0db6aea6ffe86de Mon Sep 17 00:00:00 2001 From: Kartik <103111467+kartik-212004@users.noreply.github.com> Date: Fri, 5 Dec 2025 01:23:44 +0530 Subject: [PATCH] fix: correct typos and HTML encoding in org invite emails (#25551) * fix: correct typos and HTML encoding in org invite emails * removed interpolation: { escapeValue: false } * added interpolation: { escapeValue: false } --- apps/web/public/static/locales/en/common.json | 4 ++-- packages/lib/components/ServerTrans.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json index 611bb69b66..fa7a6811b2 100644 --- a/apps/web/public/static/locales/en/common.json +++ b/apps/web/public/static/locales/en/common.json @@ -2925,8 +2925,8 @@ "email_team_invite|content|added_to_subteam": "{{invitedBy}} has added you to the team {{teamName}} in their organization {{parentTeamName}}. {{appName}} is the event-juggling scheduler that enables you and your team to schedule meetings without the email tennis.", "email_team_invite|content|invited_to_subteam": "{{invitedBy}} has invited you to join the team {{teamName}} in their organization {{parentTeamName}}. {{appName}} is the event-juggling scheduler that enables you and your team to schedule meetings without the email tennis.", "email_team_invite|content|invited_to_regular_team": "{{invitedBy}} has invited you to join their team {{teamName}} on {{appName}}. {{appName}} is the event-juggling scheduler that enables you and your team to schedule meetings without the email tennis.", - "email|existing_user_added_link_will_change": "On accepting the invite, your link will change to your organization domain but don't worry, all previous links will still work and redirect appropriately.

Please note: All of your personal event types will be moved into the {{teamName}} organization, which may also include potential personal link.

For personal events we recommend creating a new account with a personal email address.", - "email|existing_user_added_link_changed": "Your link has been changed from {{a0}} to {{a1}} but don't worry, all previous links still work and redirect appropriately.

Please note: All of your personal event types have been moved into the {{teamName}} organisation, which may also include potential personal link.

Please log in and make sure you have no private events on your new organisational account.

For personal events we recommend creating a new account with a personal email address.

Enjoy your new clean link: {{a2}}", + "email|existing_user_added_link_will_change": "On accepting the invite, your link will change to your organization domain but don't worry, all previous links will still work and redirect appropriately.

Please note: All of your personal event types will be moved into the {{teamName}} organization, which may also include potential personal links.

For personal events we recommend creating a new account with a personal email address.", + "email|existing_user_added_link_changed": "Your link has been changed from {{a0}} to {{a1}} but don't worry, all previous links still work and redirect appropriately.

Please note: All of your personal event types have been moved into the {{teamName}} organization, which may also include potential personal links.

Please log in and make sure you have no private events on your new organizational account.

For personal events we recommend creating a new account with a personal email address.

Enjoy your new clean link: {{a2}}", "email_organization_created|subject": "Your organization has been created", "your_current_plan": "Your current plan", "organization_price_per_user_month": "$37 per user per month", diff --git a/packages/lib/components/ServerTrans.tsx b/packages/lib/components/ServerTrans.tsx index 2cf5e08721..83a477216e 100644 --- a/packages/lib/components/ServerTrans.tsx +++ b/packages/lib/components/ServerTrans.tsx @@ -23,7 +23,7 @@ const ServerTrans: FC = ({ children, parent, }) => { - const translationOptions = { ...values }; + const translationOptions = { ...values, interpolation: { escapeValue: false } }; // Get translated content const content = t(i18nKey, translationOptions);