diff --git a/components/Forms/Signup/index.tsx b/components/Forms/Signup/index.tsx index 980b64212..b832a1d6e 100644 --- a/components/Forms/Signup/index.tsx +++ b/components/Forms/Signup/index.tsx @@ -37,7 +37,6 @@ export default function SignupForm({ link, subtitle, title }: SignUpFormProps) { const email = intl.formatMessage({ id: "Email address" }) const phoneNumber = intl.formatMessage({ id: "Phone number" }) const zipCode = intl.formatMessage({ id: "Zip code" }) - const acceptTermsText = intl.formatMessage({ id: "signupPage.terms" }) const signupButtonText = intl.formatMessage({ id: "Sign up to Scandic Friends", }) @@ -159,15 +158,21 @@ export default function SignupForm({ link, subtitle, title }: SignUpFormProps) { - {acceptTermsText}{" "} - - {intl.formatMessage({ id: "Scandic's Privacy Policy." })} - + {intl.formatMessage( + { id: "signupPage.terms" }, + { + termsLink: (str) => ( + + {str} + + ), + } + )} diff --git a/i18n/dictionaries/da.json b/i18n/dictionaries/da.json index 86b34a97c..87f15501a 100644 --- a/i18n/dictionaries/da.json +++ b/i18n/dictionaries/da.json @@ -465,7 +465,7 @@ "points": "Point", "room type": "værelsestype", "room types": "værelsestyper", - "signupPage.terms": "Ja, jeg accepterer vilkårene og betingelserne for Scandic Friends og forstår, at Scandic vil behandle mine personlige data i overensstemmelse med", + "signupPage.terms": "Ja, jeg accepterer vilkårene og betingelserne for Scandic Friends og forstår, at Scandic vil behandle mine personlige data i overensstemmelse med Scandic's integritetspolicy.", "special character": "speciel karakter", "spendable points expiring by": "{points} Brugbare point udløber den {date}", "to": "til", diff --git a/i18n/dictionaries/de.json b/i18n/dictionaries/de.json index af1a98f3c..7a3c679d2 100644 --- a/i18n/dictionaries/de.json +++ b/i18n/dictionaries/de.json @@ -464,7 +464,7 @@ "points": "Punkte", "room type": "zimmerart", "room types": "zimmerarten", - "signupPage.terms": "Ja, ich akzeptiere die Allgemeinen Geschäftsbedingungen für Scandic Friends und verstehe, dass Scandic meine persönlichen Daten gemäß", + "signupPage.terms": "Ja, ich akzeptiere die Allgemeinen Geschäftsbedingungen für Scandic Friends und verstehe, dass Scandic meine persönlichen Daten gemäß Scandics Datenschutzrichtlinie.", "special character": "sonderzeichen", "spendable points expiring by": "{points} Einlösbare punkte verfallen bis zum {date}", "to": "zu", diff --git a/i18n/dictionaries/en.json b/i18n/dictionaries/en.json index 959f53dde..7b7973fa2 100644 --- a/i18n/dictionaries/en.json +++ b/i18n/dictionaries/en.json @@ -504,7 +504,7 @@ "room type": "room type", "room types": "room types", "signup.terms": "By signing up you accept the Scandic Friends Terms and Conditions. Your membership is valid until further notice, and you can terminate your membership at any time by sending an email to Scandic’s customer service", - "signupPage.terms": "Yes, I accept the Terms and conditions for Scandic Friends and understand that Scandic will process my personal data in accordance with", + "signupPage.terms": "Yes, I accept the Terms and conditions for Scandic Friends and understand that Scandic will process my personal data in accordance with Scandic's Privacy Policy.", "special character": "special character", "spendable points expiring by": "{points} spendable points expiring by {date}", "to": "to", diff --git a/i18n/dictionaries/fi.json b/i18n/dictionaries/fi.json index ebc7470d7..09b8df7a3 100644 --- a/i18n/dictionaries/fi.json +++ b/i18n/dictionaries/fi.json @@ -463,6 +463,7 @@ "points": "pistettä", "room type": "huonetyyppi", "room types": "huonetyypit", + "signupPage.terms": "Kyllä, hyväksyn Scandic Friends -käyttöehdot ja ymmärrän, että Scandic käsittelee henkilötietojani Scandicin tietosuojakäytännön mukaisesti.", "special character": "erikoishahmo", "spendable points expiring by": "{points} pistettä vanhenee {date} mennessä", "to": "to", diff --git a/i18n/dictionaries/no.json b/i18n/dictionaries/no.json index 52b804b12..8ae54a9e1 100644 --- a/i18n/dictionaries/no.json +++ b/i18n/dictionaries/no.json @@ -461,7 +461,7 @@ "points": "poeng", "room type": "romtype", "room types": "romtyper", - "signupPage.terms": "Ja, jeg godtar vilkårene og betingelsene for Scandic Friends og forstår at Scandic vil behandle mine personopplysninger i henhold til", + "signupPage.terms": "Ja, jeg godtar vilkårene og betingelsene for Scandic Friends og forstår at Scandic vil behandle mine personopplysninger i henhold til Scandics integritetspolicy.", "special character": "spesiell karakter", "spendable points expiring by": "{points} Brukbare poeng utløper innen {date}", "to": "til", diff --git a/i18n/dictionaries/sv.json b/i18n/dictionaries/sv.json index 34b6935a2..de3857f1a 100644 --- a/i18n/dictionaries/sv.json +++ b/i18n/dictionaries/sv.json @@ -462,7 +462,7 @@ "points": "poäng", "room type": "rumtyp", "room types": "rumstyper", - "signupPage.terms": "Ja, jag accepterar villkoren för Scandic Friends och förstår att Scandic kommer att behandla mina personuppgifter i enlighet med", + "signupPage.terms": "Ja, jag accepterar villkoren för Scandic Friends och förstår att Scandic kommer att behandla mina personuppgifter i enlighet med Scandics integritetspolicy.", "special character": "speciell karaktär", "spendable points expiring by": "{points} poäng förfaller {date}", "to": "till", diff --git a/server/routers/user/output.ts b/server/routers/user/output.ts index 616419047..a9e7a0416 100644 --- a/server/routers/user/output.ts +++ b/server/routers/user/output.ts @@ -1,8 +1,6 @@ import { z } from "zod" import { countriesMap } from "@/components/TempDesignSystem/Form/Country/countries" -import { passwordValidator } from "@/utils/passwordValidator" -import { phoneValidator } from "@/utils/phoneValidator" import { getMembership } from "@/utils/user" export const membershipSchema = z.object({