Scheduling infrastructure for absolutely everyone.
fix: correct typos and HTML encoding in org invite emails (#25551)
Kartik308c7fa12b99
diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.jsonindex 611bb69b66a..fa7a6811b27 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 <strong>{{teamName}}</strong> 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 <strong>{{teamName}}</strong> 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.<br /><br />Please note: All of your personal event types will be moved into the <strong>{{teamName}}</strong> organization, which may also include potential personal link. <br /><br />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. <br /><br />Please note: All of your personal event types have been moved into the <strong>{{teamName}}</strong> organisation, which may also include potential personal link.<br /><br />Please log in and make sure you have no private events on your new organisational account.<br /><br />For personal events we recommend creating a new account with a personal email address.<br /><br />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.<br /><br />Please note: All of your personal event types will be moved into the <strong>{{teamName}}</strong> organization, which may also include potential personal links. <br /><br />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. <br /><br />Please note: All of your personal event types have been moved into the <strong>{{teamName}}</strong> organization, which may also include potential personal links.<br /><br />Please log in and make sure you have no private events on your new organizational account.<br /><br />For personal events we recommend creating a new account with a personal email address.<br /><br />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.tsxindex 2cf5e087218..83a477216e3 100644--- a/packages/lib/components/ServerTrans.tsx+++ b/packages/lib/components/ServerTrans.tsx@@ -23,7 +23,7 @@ const ServerTrans: FC<ServerTransProps> = ({children,parent,}) => {- const translationOptions = { ...values };+ const translationOptions = { ...values, interpolation: { escapeValue: false } };// Get translated contentconst content = t(i18nKey, translationOptions);