diff --git a/packages/emails/src/templates/VerifyAccountEmail.tsx b/packages/emails/src/templates/VerifyAccountEmail.tsx index 462f2ca469..b59f8174cf 100644 --- a/packages/emails/src/templates/VerifyAccountEmail.tsx +++ b/packages/emails/src/templates/VerifyAccountEmail.tsx @@ -1,6 +1,6 @@ import type { TFunction } from "next-i18next"; -import { APP_NAME, SUPPORT_MAIL_ADDRESS } from "@calcom/lib/constants"; +import { APP_NAME, COMPANY_NAME, SUPPORT_MAIL_ADDRESS } from "@calcom/lib/constants"; import { BaseEmailHtml, CallToAction } from "../components"; @@ -50,7 +50,7 @@ export const VerifyAccountEmail = ( style={{ color: "#3E3E3E" }} target="_blank" rel="noreferrer"> - <>{props.language("the_calcom_team")} + <>{props.language("the_calcom_team", { companyName: COMPANY_NAME })}

diff --git a/packages/emails/templates/account-verify-email.ts b/packages/emails/templates/account-verify-email.ts index bcb39e36a7..74a651ac00 100644 --- a/packages/emails/templates/account-verify-email.ts +++ b/packages/emails/templates/account-verify-email.ts @@ -1,6 +1,6 @@ import type { TFunction } from "next-i18next"; -import { APP_NAME } from "@calcom/lib/constants"; +import { APP_NAME, COMPANY_NAME } from "@calcom/lib/constants"; import { renderEmail } from "../"; import BaseEmail from "./_base-email"; @@ -14,7 +14,6 @@ export type EmailVerifyLink = { verificationEmailLink: string; }; - export default class AccountVerifyEmail extends BaseEmail { verifyAccountInput: EmailVerifyLink; @@ -44,7 +43,10 @@ ${this.verifyAccountInput.language("hi_user_name", { name: this.verifyAccountInp ${this.verifyAccountInput.language("verify_email_email_body", { appName: APP_NAME })} ${this.verifyAccountInput.language("verify_email_email_link_text")} ${this.verifyAccountInput.verificationEmailLink} -${this.verifyAccountInput.language("happy_scheduling")} ${this.verifyAccountInput.language("the_calcom_team")} +${this.verifyAccountInput.language("happy_scheduling")} ${this.verifyAccountInput.language( + "the_calcom_team", + { companyName: COMPANY_NAME } + )} `.replace(/(<([^>]+)>)/gi, ""); } }