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:
Peer RichelsenandUdit Takkar authored and GitHub committed 2024-01-19 22:37:04 +00:00
1 parent c11e76bac9
commit ae3f30fabf
3 files changed
+37 -12

No files matched your search

+19 -9
View File
@@ -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>
@@ -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",
@@ -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>