Fix i18n TOC and PP

pull/11421/merge^2
Sean Brydon 2023-10-18 14:20:47 +01:00
parent 366696e696
commit 5d794efcae
2 changed files with 62 additions and 62 deletions

View File

@ -307,6 +307,7 @@ export default function Signup({ prepopulateFormValues, token, orgSlug }: Signup
</div>
</div>
{/* Social Logins */}
{!token && (
<div className="mt-6 grid gap-2 md:grid-cols-2">
<Button
color="secondary"
@ -362,6 +363,7 @@ export default function Signup({ prepopulateFormValues, token, orgSlug }: Signup
{t("saml_sso")}
</Button>
</div>
)}
</div>
{/* Already have an account & T&C */}
<div className="mt-6">
@ -369,19 +371,17 @@ export default function Signup({ prepopulateFormValues, token, orgSlug }: Signup
<Link href="/auth/login" className="text-emphasis hover:underline">
{t("already_have_account")}
</Link>
<p className="text-subtle">
<Trans i18nKey="signing_up_terms">
By signing up, you agree to our{" "}
<div className="text-subtle">
<Trans i18nKey="signing_up_terms" as="p">
By signing up, you agree to our
<Link className="text-emphasis hover:underline" href={`${WEBSITE_URL}/terms`}>
Terms of Service
</Link>{" "}
and{" "}
</Link>
<Link className="text-emphasis hover:underline" href={`${WEBSITE_URL}/privacy`}>
Privacy Policy
</Link>
.
</Trans>
</p>
</div>
</div>
</div>
</div>

View File

@ -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 <1>Terms of Service</1> and <2>Privacy Policy</2>.",
"signing_up_terms":"By signing up, you agree to our <2>Terms of Service</2> and <4>Privacy Policy</4>.",
"open_env": "Open .env and agree to our License",
"env_changed": "I've changed my .env",
"accept_license": "Accept License",