Scheduling infrastructure for absolutely everyone.
fix: remove Trans component (#20008)
Udit Takkare20df1e7aa3a
diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.jsonindex 7083b22731d..b2289d381a8 100644--- a/apps/web/public/static/locales/en/common.json+++ b/apps/web/public/static/locales/en/common.json@@ -867,6 +867,7 @@"disabled": "Disabled","disable": "Disable","billing": "Billing",+ "here": "here","manage_your_billing_info": "Manage your billing information and cancel your subscription.","availability": "Availability","edit_availability": "Edit availability",@@ -1548,6 +1549,7 @@"transcript_from_previous_call": "Transcript from your recent call on {{appName}} is ready to download. Links are valid only for 1 Hour","you_can_download_transcript_from_attachments": "You can also download transcript from attachments","link_valid_for_12_hrs": "Note: The download link is valid only for 12 hours. You can generate new download link by following instructions <1>here</1>.",+ "link_valid_for_12_hrs_description": "Note: The download link is valid only for 12 hours. You can generate new download link by following instructionss.","create_your_first_form": "Create your first form","create_your_first_form_description": "With Routing Forms you can ask qualifying questions and route to the correct person or event type.","create_your_first_webhook": "Create your first Webhook",diff --git a/packages/emails/src/templates/DailyVideoDownloadRecordingEmail.tsx b/packages/emails/src/templates/DailyVideoDownloadRecordingEmail.tsxindex 1244e0de082..d84c8a1f500 100644--- a/packages/emails/src/templates/DailyVideoDownloadRecordingEmail.tsx+++ b/packages/emails/src/templates/DailyVideoDownloadRecordingEmail.tsx@@ -1,5 +1,4 @@import type { TFunction } from "next-i18next";-import { Trans } from "next-i18next";import { WEBAPP_URL, APP_NAME, COMPANY_NAME } from "@calcom/lib/constants";@@ -89,11 +88,10 @@ export const DailyVideoDownloadRecordingEmail = (</div><p style={{ fontWeight: 500, lineHeight: "20px", marginTop: "8px" }}>- <Trans i18nKey="link_valid_for_12_hrs">- Note: The download link is valid only for 12 hours. You can generate new download link by following- instructions- <a href="https://cal.com/docs/enterprise-features/teams/cal-video-recordings"> here</a>- </Trans>+ {props.language("link_valid_for_12_hrs_description")}{" "}+ <a href="https://cal.com/docs/enterprise-features/teams/cal-video-recordings">+ {props.language("here")}+ </a></p><p style={{ fontWeight: 400, lineHeight: "24px", marginTop: "32px", marginBottom: "8px" }}>