chore: fixed some of the terms language (#13334)
* fixed some of the terms language * minor changes * Update apps/web/pages/settings/organizations/[id]/onboard-admins.tsx * fixed yarn * nit * fix: trans --------- Co-authored-by: Udit Takkar <[email protected]>
This commit is contained in:
1 parent
c11e76bac9
commit
ae3f30fabf
3 files changed
+37
-12
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user