From ef4e4b2dcc65ba6744c1e306695747267018a407 Mon Sep 17 00:00:00 2001 From: Sean Brydon Date: Wed, 25 Oct 2023 10:15:43 +0100 Subject: [PATCH] i18n --- apps/web/pages/signup.tsx | 18 ++++++++---------- apps/web/public/static/locales/en/common.json | 2 +- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/apps/web/pages/signup.tsx b/apps/web/pages/signup.tsx index 5454a884fd..fd143f81a5 100644 --- a/apps/web/pages/signup.tsx +++ b/apps/web/pages/signup.tsx @@ -2,7 +2,6 @@ import { zodResolver } from "@hookform/resolvers/zod"; import { CalendarHeart, Info, Link2, ShieldCheckIcon, StarIcon, Users } from "lucide-react"; import type { GetServerSidePropsContext } from "next"; import { signIn } from "next-auth/react"; -import { Trans } from "next-i18next"; import Link from "next/link"; import { useRouter, useSearchParams } from "next/navigation"; import type { CSSProperties } from "react"; @@ -372,15 +371,14 @@ export default function Signup({ prepopulateFormValues, token, orgSlug }: Signup {t("already_have_account")}
- - By signing up, you agree to our - - Terms of Service - - - Privacy Policy - - + By signing up, you agree to our{" "} + + Terms of Service{" "} + + and{" "} + + Privacy Policy. +
diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json index fdf16a5b4f..6785835a41 100644 --- a/apps/web/public/static/locales/en/common.json +++ b/apps/web/public/static/locales/en/common.json @@ -67,7 +67,7 @@ "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 of Service and <4>Privacy Policy.", + "signing_up_terms":"By signing up, you agree to our <2>Terms of Service and <3>Privacy Policy.", "open_env": "Open .env and agree to our License", "env_changed": "I've changed my .env", "accept_license": "Accept License",