Skip to content

Scheduling infrastructure for absolutely everyone.

chore: fixed some of the terms language (#13334)

Peer Richelsenae3f30fabf24
diff --git a/apps/web/pages/signup.tsx b/apps/web/pages/signup.tsx
index 1efeb4f30cd..4f9d6782ab5 100644
--- a/apps/web/pages/signup.tsx
+++ b/apps/web/pages/signup.tsx
@@ -3,6 +3,7 @@
import { zodResolver } from "@hookform/resolvers/zod";
import { CalendarHeart, Info, Link2, ShieldCheckIcon, StarIcon, Users } from "lucide-react";
import { signIn } from "next-auth/react";
+import { Trans } from "next-i18next";
import Link from "next/link";
import { useRouter } from "next/navigation";
import { useState, useEffect } from "react";
@@ -441,15 +442,24 @@ export default function Signup({
{t("sign_in")}
</Link>
</div>
- <div className="text-subtle">
- By signing up, you agree to our{" "}
- <Link className="text-emphasis hover:underline" href={`${WEBSITE_URL}/terms`}>
- Terms{" "}
- </Link>
- <span>&</span>{" "}
- <Link className="text-emphasis hover:underline" href={`${WEBSITE_URL}/privacy`}>
- Privacy Policy.
- </Link>
+ <div className="text-subtle ">
+ <Trans i18nKey="signing_up_terms">
+ By proceeding, you agree to our{" "}
+ <Link
+ className="text-emphasis hover:underline"
+ href={`${WEBSITE_URL}/terms`}
+ target="_blank">
+ <a>Terms</a>
+ </Link>{" "}
+ and{" "}
+ <Link
+ className="text-emphasis hover:underline"
+ href={`${WEBSITE_URL}/privacy`}
+ target="_blank">
+ <a>Privacy Policy</a>
+ </Link>
+ .
+ </Trans>
</div>
</div>
</div>
diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json
index 8f348e650ff..bee72de30f9 100644
--- a/apps/web/public/static/locales/en/common.json
+++ b/apps/web/public/static/locales/en/common.json
@@ -78,7 +78,6 @@
"cannot_repackage_codebase": "You can not repackage or sell the codebase",
"acquire_license": "Acquire a commercial license to remove these terms by emailing",
"terms_summary": "Summary of terms",
- "signing_up_terms":"By signing up you agree to our <2>Terms</2> & <3>Privacy Policy</3>.",
"open_env": "Open .env and agree to our License",
"env_changed": "I've changed my .env",
"accept_license": "Accept License",
diff --git a/packages/features/bookings/Booker/components/BookEventForm/BookEventForm.tsx b/packages/features/bookings/Booker/components/BookEventForm/BookEventForm.tsx
index e59a0e26ee5..53b2054ab0d 100644
--- a/packages/features/bookings/Booker/components/BookEventForm/BookEventForm.tsx
+++ b/packages/features/bookings/Booker/components/BookEventForm/BookEventForm.tsx
@@ -3,6 +3,8 @@ import type { UseMutationResult } from "@tanstack/react-query";
import { useMutation } from "@tanstack/react-query";
import { useSession } from "next-auth/react";
import type { TFunction } from "next-i18next";
+import { Trans } from "next-i18next";
+import Link from "next/link";
import { useRouter, useSearchParams, usePathname } from "next/navigation";
import { useEffect, useRef, useState, useMemo } from "react";
import type { FieldError } from "react-hook-form";
@@ -27,6 +29,7 @@ import getBookingResponsesSchema, {
} from "@calcom/features/bookings/lib/getBookingResponsesSchema";
import { getFullName } from "@calcom/features/form-builder/utils";
import { useBookingSuccessRedirect } from "@calcom/lib/bookingSuccessRedirect";
+import { WEBSITE_URL } from "@calcom/lib/constants";
import { MINUTES_TO_BOOK } from "@calcom/lib/constants";
import getPaymentAppData from "@calcom/lib/getPaymentAppData";
import { useLocale } from "@calcom/lib/hooks/useLocale";
@@ -433,6 +436,19 @@ export const BookEventFormChild = ({
/>
</div>
)}
+ <div className="text-subtle my-3 w-full text-xs opacity-80">
+ <Trans i18nKey="signing_up_terms">
+ By proceeding, you agree to our{" "}
+ <Link className="text-emphasis hover:underline" href={`${WEBSITE_URL}/terms`} target="_blank">
+ <a>Terms</a>
+ </Link>{" "}
+ and{" "}
+ <Link className="text-emphasis hover:underline" href={`${WEBSITE_URL}/privacy`} target="_blank">
+ <a>Privacy Policy</a>
+ </Link>
+ .
+ </Trans>
+ </div>
<div className="modalsticky mt-auto flex justify-end space-x-2 rtl:space-x-reverse">
{isInstantMeeting ? (
<Button type="submit" color="primary" loading={createInstantBookingMutation.isLoading}>
@@ -546,9 +562,9 @@ const RedirectToInstantMeetingModal = ({ expiryTime }: { expiryTime?: Date }) =>
Please schedule a future call if we're not available in XX seconds.
*/}
- {/* Once countdown ends:
+ {/* Once countdown ends:
Oops, we couldn't connect you this time.
- Please schedule a future call instead. We value your time.
+ Please schedule a future call instead. We value your time.
*/}
<p className="font-medium">{t("please_do_not_close_this_tab")}</p>