fix: signing_up_terms i18n (#15156)

Co-authored-by: Keith Williams <keithwillcode@gmail.com>
This commit is contained in:
Udit Takkar
2024-05-23 19:06:30 +00:00
committed by GitHub
co-authored by Keith Williams
parent 1a381695e5
commit b1bbbcee90
3 changed files with 39 additions and 29 deletions
+19 -17
View File
@@ -538,23 +538,25 @@ export default function Signup({
</Link>
</div>
<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">
Terms
</Link>{" "}
and{" "}
<Link
className="text-emphasis hover:underline"
href={`${WEBSITE_URL}/privacy`}
target="_blank">
Privacy Policy
</Link>
.
</Trans>
<Trans
i18nKey="signing_up_terms"
components={[
<Link
className="text-emphasis hover:underline"
key="terms"
href={`${WEBSITE_URL}/terms`}
target="_blank">
Terms
</Link>,
<Link
className="text-emphasis hover:underline"
key="privacy"
href={`${WEBSITE_URL}/privacy`}
target="_blank">
Privacy Policy.
</Link>,
]}
/>
</div>
</div>
</div>
@@ -2442,7 +2442,7 @@
"lowest_rated_members": "Members with lowest rated meetings",
"csat_score": "CSAT Score",
"lockedSMS": "Locked SMS",
"signing_up_terms": "By proceeding, you agree to our <1>Terms</1> and <2>Privacy Policy</2>.",
"signing_up_terms": "By proceeding, you agree to our <0>Terms</0> and <1>Privacy Policy</1>.",
"always_show_x_days": "Always {{x}} days available",
"unable_to_subscribe_to_the_platform": "An error occurred while trying to subscribe to the platform plan, please try again later",
"updating_oauth_client_error": "An error occurred while updating the OAuth client, please try again later",
@@ -114,17 +114,25 @@ export const BookEventForm = ({
)}
{!isPlatform && IS_CALCOM && (
<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">
Terms
</Link>{" "}
and{" "}
<Link className="text-emphasis hover:underline" href={`${WEBSITE_URL}/privacy`} target="_blank">
Privacy Policy
</Link>
.
</Trans>
<Trans
i18nKey="signing_up_terms"
components={[
<Link
className="text-emphasis hover:underline"
key="terms"
href={`${WEBSITE_URL}/terms`}
target="_blank">
Terms
</Link>,
<Link
className="text-emphasis hover:underline"
key="privacy"
href={`${WEBSITE_URL}/privacy`}
target="_blank">
Privacy Policy.
</Link>,
]}
/>
</div>
)}
<div className="modalsticky mt-auto flex justify-end space-x-2 rtl:space-x-reverse">