diff --git a/components/Forms/Signup/index.tsx b/components/Forms/Signup/index.tsx index 24fe2bd95..980b64212 100644 --- a/components/Forms/Signup/index.tsx +++ b/components/Forms/Signup/index.tsx @@ -37,6 +37,7 @@ 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", }) @@ -66,8 +67,9 @@ export default function SignupForm({ link, subtitle, title }: SignUpFormProps) { zipCode: "", }, password: "", + termsAccepted: false, }, - mode: "all", + mode: "onBlur", criteriaMode: "all", resolver: zodResolver(signUpSchema), reValidateMode: "onChange", @@ -157,9 +159,7 @@ export default function SignupForm({ link, subtitle, title }: SignUpFormProps) { - {intl.formatMessage({ - id: "Yes, I accept the Terms and conditions for Scandic Friends and understand that Scandic will process my personal data in accordance with", - })}{" "} + {acceptTermsText}{" "} 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", "special character": "special character", "spendable points expiring by": "{points} spendable points expiring by {date}", "to": "to", diff --git a/i18n/dictionaries/no.json b/i18n/dictionaries/no.json index b2501bfc7..52b804b12 100644 --- a/i18n/dictionaries/no.json +++ b/i18n/dictionaries/no.json @@ -461,6 +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", "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 e2b16255e..34b6935a2 100644 --- a/i18n/dictionaries/sv.json +++ b/i18n/dictionaries/sv.json @@ -462,6 +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", "special character": "speciell karaktär", "spendable points expiring by": "{points} poäng förfaller {date}", "to": "till",