fix(SW-1089): add updated translations

This commit is contained in:
Chuma McPhoy
2024-12-11 15:53:06 +01:00
parent f5fbb44ec7
commit d50758104d
7 changed files with 21 additions and 12 deletions

View File

@@ -41,9 +41,8 @@ export default function SignupForm({ link, subtitle, title }: SignUpFormProps) {
const phoneNumber = intl.formatMessage({ id: "Phone number" }) const phoneNumber = intl.formatMessage({ id: "Phone number" })
const zipCode = intl.formatMessage({ id: "Zip code" }) const zipCode = intl.formatMessage({ id: "Zip code" })
const signupButtonText = intl.formatMessage({ const signupButtonText = intl.formatMessage({
id: "Sign up to Scandic Friends", id: "Join now",
}) })
const signingUpPendingText = intl.formatMessage({ id: "Signing up..." })
const signup = trpc.user.signup.useMutation({ const signup = trpc.user.signup.useMutation({
onSuccess: (data) => { onSuccess: (data) => {
@@ -160,7 +159,7 @@ export default function SignupForm({ link, subtitle, title }: SignUpFormProps) {
</Subtitle> </Subtitle>
</header> </header>
<Checkbox name="termsAccepted" registerOptions={{ required: true }}> <Checkbox name="termsAccepted" registerOptions={{ required: true }}>
{intl.formatMessage({ id: "I accept the terms and conditions" })} {intl.formatMessage({ id: "I accept" })}
</Checkbox> </Checkbox>
{/* TODO: Update copy once ready */} {/* TODO: Update copy once ready */}
<Body> <Body>
@@ -218,9 +217,7 @@ export default function SignupForm({ link, subtitle, title }: SignUpFormProps) {
disabled={methods.formState.isSubmitting || signup.isPending} disabled={methods.formState.isSubmitting || signup.isPending}
data-testid="submit" data-testid="submit"
> >
{methods.formState.isSubmitting || signup.isPending {signupButtonText}
? signingUpPendingText
: signupButtonText}
</Button> </Button>
)} )}
</form> </form>

View File

@@ -179,6 +179,7 @@
"How do you want to sleep?": "Hvordan vil du sove?", "How do you want to sleep?": "Hvordan vil du sove?",
"How it works": "Hvordan det virker", "How it works": "Hvordan det virker",
"Hurry up and use them before they expire!": "Skynd dig og brug dem, før de udløber!", "Hurry up and use them before they expire!": "Skynd dig og brug dem, før de udløber!",
"I accept": "Jeg accepterer",
"I accept the terms and conditions": "Jeg accepterer vilkårene", "I accept the terms and conditions": "Jeg accepterer vilkårene",
"I would like to get my booking confirmation via sms": "Jeg vil gerne få min booking bekræftelse via SMS", "I would like to get my booking confirmation via sms": "Jeg vil gerne få min booking bekræftelse via SMS",
"Image gallery": "{name} - Billedgalleri", "Image gallery": "{name} - Billedgalleri",
@@ -191,6 +192,7 @@
"Jacuzzi": "Jacuzzi", "Jacuzzi": "Jacuzzi",
"Join Scandic Friends": "Tilmeld dig Scandic Friends", "Join Scandic Friends": "Tilmeld dig Scandic Friends",
"Join at no cost": "Tilmeld dig uden omkostninger", "Join at no cost": "Tilmeld dig uden omkostninger",
"Join now": "Tilmeld dig nu",
"Join or log in while booking for member pricing.": "Tilmeld dig eller log ind under booking for medlemspris.", "Join or log in while booking for member pricing.": "Tilmeld dig eller log ind under booking for medlemspris.",
"King bed": "Kingsize-seng", "King bed": "Kingsize-seng",
"Language": "Sprog", "Language": "Sprog",
@@ -500,7 +502,7 @@
"room type": "værelsestype", "room type": "værelsestype",
"room types": "værelsestyper", "room types": "værelsestyper",
"signup.terms": "Ved at tilmelde dig accepterer du Scandic Friends <termsLink>vilkår og betingelser</termsLink>. Dit medlemskab er gyldigt indtil videre, og du kan til enhver tid opsige dit medlemskab ved at sende en e-mail til Scandics kundeservice", "signup.terms": "Ved at tilmelde dig accepterer du Scandic Friends <termsLink>vilkår og betingelser</termsLink>. Dit medlemskab er gyldigt indtil videre, og du kan til enhver tid opsige dit medlemskab ved at sende en e-mail til Scandics kundeservice",
"signupPage.terms": "Ja tak, jeg vil gerne være medlem af Scandic Friends, og jeg accepterer <termsAndConditions>vilkårene og betingelser</termsAndConditions> for programmet. Samtidig samtykker jeg til at modtage Scandic Friends nyheder, tilbud og inspiration fra Scandic AB og Scandic A/S via e-mail og sms. Jeg er informeret om, at jeg til enhver tid kan tilbagekalde mit samtykke. Læs her, hvordan vi håndterer dine <privacyPolicy>personoplysninger</privacyPolicy>.", "signupPage.terms": "Ved at acceptere <termsAndConditions>vilkårene og betingelserne for Scandic Friends</termsAndConditions>, forstår jeg, at mine personlige oplysninger vil blive behandlet i overensstemmelse med<privacyPolicy>Scandics privatlivspolitik</privacyPolicy>.",
"special character": "speciel karakter", "special character": "speciel karakter",
"spendable points expiring by": "{points} Brugbare point udløber den {date}", "spendable points expiring by": "{points} Brugbare point udløber den {date}",
"to": "til", "to": "til",

View File

@@ -179,6 +179,7 @@
"How do you want to sleep?": "Wie möchtest du schlafen?", "How do you want to sleep?": "Wie möchtest du schlafen?",
"How it works": "Wie es funktioniert", "How it works": "Wie es funktioniert",
"Hurry up and use them before they expire!": "Beeilen Sie sich und nutzen Sie sie, bevor sie ablaufen!", "Hurry up and use them before they expire!": "Beeilen Sie sich und nutzen Sie sie, bevor sie ablaufen!",
"I accept": "Ich akzeptiere",
"I accept the terms and conditions": "Ich akzeptiere die Geschäftsbedingungen", "I accept the terms and conditions": "Ich akzeptiere die Geschäftsbedingungen",
"I would like to get my booking confirmation via sms": "Ich möchte meine Buchungsbestätigung per SMS erhalten", "I would like to get my booking confirmation via sms": "Ich möchte meine Buchungsbestätigung per SMS erhalten",
"Image gallery": "{name} - Bildergalerie", "Image gallery": "{name} - Bildergalerie",
@@ -191,6 +192,7 @@
"Jacuzzi": "Whirlpool", "Jacuzzi": "Whirlpool",
"Join Scandic Friends": "Treten Sie Scandic Friends bei", "Join Scandic Friends": "Treten Sie Scandic Friends bei",
"Join at no cost": "Kostenlos beitreten", "Join at no cost": "Kostenlos beitreten",
"Join now": "Mitglied werden",
"Join or log in while booking for member pricing.": "Treten Sie Scandic Friends bei oder loggen Sie sich ein, um den Mitgliederpreis zu erhalten.", "Join or log in while booking for member pricing.": "Treten Sie Scandic Friends bei oder loggen Sie sich ein, um den Mitgliederpreis zu erhalten.",
"King bed": "Kingsize-Bett", "King bed": "Kingsize-Bett",
"Language": "Sprache", "Language": "Sprache",
@@ -499,7 +501,7 @@
"room type": "zimmerart", "room type": "zimmerart",
"room types": "zimmerarten", "room types": "zimmerarten",
"signup.terms": "Mit Ihrer Anmeldung akzeptieren Sie die <termsLink>Allgemeinen Geschäftsbedingungen</termsLink> von Scandic Friends. Ihre Mitgliedschaft ist bis auf Weiteres gültig und Sie können sie jederzeit kündigen, indem Sie eine E-Mail an den Kundenservice von Scandic senden.", "signup.terms": "Mit Ihrer Anmeldung akzeptieren Sie die <termsLink>Allgemeinen Geschäftsbedingungen</termsLink> von Scandic Friends. Ihre Mitgliedschaft ist bis auf Weiteres gültig und Sie können sie jederzeit kündigen, indem Sie eine E-Mail an den Kundenservice von Scandic senden.",
"signupPage.terms": "Hiermit akzeptiere ich die <termsAndConditions>Allgemeinen Geschäftsbedingungen</termsAndConditions> für Scandic Friends und willige in die Verarbeitung meiner personenbezogenen Daten in Übereinstimmung mit der <privacyPolicy>Datenschutzerklärung</privacyPolicy> von Scandic ein.", "signupPage.terms": "Mit der Annahme der <termsAndConditions>Allgemeinen Geschäftsbedingungen für Scandic Friends</termsAndConditions> erkläre ich mich damit einverstanden, dass meine persönlichen Daten in Übereinstimmung mit der <privacyPolicy>Datenschutzrichtlinie von Scandic verarbeitet werden</privacyPolicy>.",
"special character": "sonderzeichen", "special character": "sonderzeichen",
"spendable points expiring by": "{points} Einlösbare punkte verfallen bis zum {date}", "spendable points expiring by": "{points} Einlösbare punkte verfallen bis zum {date}",
"to": "zu", "to": "zu",

View File

@@ -196,6 +196,7 @@
"How do you want to sleep?": "How do you want to sleep?", "How do you want to sleep?": "How do you want to sleep?",
"How it works": "How it works", "How it works": "How it works",
"Hurry up and use them before they expire!": "Hurry up and use them before they expire!", "Hurry up and use them before they expire!": "Hurry up and use them before they expire!",
"I accept": "I accept",
"I accept the terms and conditions": "I accept the terms and conditions", "I accept the terms and conditions": "I accept the terms and conditions",
"I would like to get my booking confirmation via sms": "I would like to get my booking confirmation via sms", "I would like to get my booking confirmation via sms": "I would like to get my booking confirmation via sms",
"Image gallery": "{name} - Image gallery", "Image gallery": "{name} - Image gallery",
@@ -208,6 +209,7 @@
"Jacuzzi": "Jacuzzi", "Jacuzzi": "Jacuzzi",
"Join Scandic Friends": "Join Scandic Friends", "Join Scandic Friends": "Join Scandic Friends",
"Join at no cost": "Join at no cost", "Join at no cost": "Join at no cost",
"Join now": "Join now",
"Join or log in while booking for member pricing.": "Join or log in while booking for member pricing.", "Join or log in while booking for member pricing.": "Join or log in while booking for member pricing.",
"King bed": "King bed", "King bed": "King bed",
"Language": "Language", "Language": "Language",
@@ -552,7 +554,7 @@
"room type": "room type", "room type": "room type",
"room types": "room types", "room types": "room types",
"signup.terms": "By signing up you accept the Scandic Friends <termsLink>Terms and Conditions</termsLink>. Your membership is valid until further notice, and you can terminate your membership at any time by sending an email to Scandics customer service", "signup.terms": "By signing up you accept the Scandic Friends <termsLink>Terms and Conditions</termsLink>. Your membership is valid until further notice, and you can terminate your membership at any time by sending an email to Scandics customer service",
"signupPage.terms": "Yes, I accept the <termsAndConditions>Terms and conditions</termsAndConditions> for Scandic Friends and understand that Scandic will process my personal data in accordance with Scandic's <privacyPolicy>Privacy Policy</privacyPolicy>.", "signupPage.terms": "By accepting the <termsAndConditions>Terms and Conditions for Scandic Friends</termsAndConditions> I understand that my personal data will be processed in accordance with <privacyPolicy>Scandic's Privacy Policy</privacyPolicy>.",
"special character": "special character", "special character": "special character",
"spendable points expiring by": "{points} spendable points expiring by {date}", "spendable points expiring by": "{points} spendable points expiring by {date}",
"to": "to", "to": "to",

View File

@@ -179,6 +179,7 @@
"How do you want to sleep?": "Kuinka haluat nukkua?", "How do you want to sleep?": "Kuinka haluat nukkua?",
"How it works": "Kuinka se toimii", "How it works": "Kuinka se toimii",
"Hurry up and use them before they expire!": "Ole nopea ja käytä ne ennen kuin ne vanhenevat!", "Hurry up and use them before they expire!": "Ole nopea ja käytä ne ennen kuin ne vanhenevat!",
"I accept": "Hyväksyn",
"I accept the terms and conditions": "Hyväksyn käyttöehdot", "I accept the terms and conditions": "Hyväksyn käyttöehdot",
"I would like to get my booking confirmation via sms": "Haluan saada varauksen vahvistuksen SMS-viestillä", "I would like to get my booking confirmation via sms": "Haluan saada varauksen vahvistuksen SMS-viestillä",
"Image gallery": "{name} - Kuvagalleria", "Image gallery": "{name} - Kuvagalleria",
@@ -191,6 +192,7 @@
"Jacuzzi": "Poreallas", "Jacuzzi": "Poreallas",
"Join Scandic Friends": "Liity jäseneksi", "Join Scandic Friends": "Liity jäseneksi",
"Join at no cost": "Liity maksutta", "Join at no cost": "Liity maksutta",
"Join now": "Liity jäseneksi",
"Join or log in while booking for member pricing.": "Liity tai kirjaudu sisään, kun varaat jäsenhinnan.", "Join or log in while booking for member pricing.": "Liity tai kirjaudu sisään, kun varaat jäsenhinnan.",
"King bed": "King-vuode", "King bed": "King-vuode",
"Language": "Kieli", "Language": "Kieli",
@@ -498,7 +500,7 @@
"room type": "huonetyyppi", "room type": "huonetyyppi",
"room types": "huonetyypit", "room types": "huonetyypit",
"signup.terms": "Rekisteröitymällä hyväksyt Scandic Friendsin <termsLink>käyttöehdot</termsLink>. Jäsenyytesi on voimassa toistaiseksi ja voit lopettaa jäsenyytesi milloin tahansa lähettämällä sähköpostia Scandicin asiakaspalveluun", "signup.terms": "Rekisteröitymällä hyväksyt Scandic Friendsin <termsLink>käyttöehdot</termsLink>. Jäsenyytesi on voimassa toistaiseksi ja voit lopettaa jäsenyytesi milloin tahansa lähettämällä sähköpostia Scandicin asiakaspalveluun",
"signupPage.terms": "Kyllä, hyväksyn Scandic Friends <termsAndConditions>-jäsenyyttä koskevat ehdot</termsAndConditions> ja ymmärrän, että Scandic käsittelee henkilötietojani Scandicin <privacyPolicy>Tietosuojaselosteen</privacyPolicy> mukaisesti.", "signupPage.terms": "Kyllä, <termsAndConditions>hyväksyn Scandic Friends -jäsenyyttä</termsAndConditions> koskevat ehdot ja ymmärrän, että Scandic käsittelee henkilötietojani <privacyPolicy>Scandicin Tietosuojaselosteen mukaisesti</privacyPolicy>.",
"special character": "erikoishahmo", "special character": "erikoishahmo",
"spendable points expiring by": "{points} pistettä vanhenee {date} mennessä", "spendable points expiring by": "{points} pistettä vanhenee {date} mennessä",
"to": "to", "to": "to",

View File

@@ -178,6 +178,7 @@
"How do you want to sleep?": "Hvordan vil du sove?", "How do you want to sleep?": "Hvordan vil du sove?",
"How it works": "Hvordan det fungerer", "How it works": "Hvordan det fungerer",
"Hurry up and use them before they expire!": "Skynd deg og bruk dem før de utløper!", "Hurry up and use them before they expire!": "Skynd deg og bruk dem før de utløper!",
"I accept": "Jeg aksepterer",
"I accept the terms and conditions": "Jeg aksepterer vilkårene", "I accept the terms and conditions": "Jeg aksepterer vilkårene",
"Image gallery": "{name} - Bildegalleri", "Image gallery": "{name} - Bildegalleri",
"In adults bed": "i voksnes seng", "In adults bed": "i voksnes seng",
@@ -189,6 +190,7 @@
"Jacuzzi": "Boblebad", "Jacuzzi": "Boblebad",
"Join Scandic Friends": "Bli med i Scandic Friends", "Join Scandic Friends": "Bli med i Scandic Friends",
"Join at no cost": "Bli med uten kostnad", "Join at no cost": "Bli med uten kostnad",
"Join now": "Bli medlem nå",
"Join or log in while booking for member pricing.": "Bli med eller logg inn under bestilling for medlemspris.", "Join or log in while booking for member pricing.": "Bli med eller logg inn under bestilling for medlemspris.",
"King bed": "King-size-seng", "King bed": "King-size-seng",
"Language": "Språk", "Language": "Språk",
@@ -497,7 +499,7 @@
"room type": "romtype", "room type": "romtype",
"room types": "romtyper", "room types": "romtyper",
"signup.terms": "Ved å registrere deg godtar du Scandic Friends <termsLink>vilkår og betingelser</termsLink>. Medlemskapet ditt er gyldig inntil videre, og du kan si opp medlemskapet ditt når som helst ved å sende en e-post til Scandics kundeservice", "signup.terms": "Ved å registrere deg godtar du Scandic Friends <termsLink>vilkår og betingelser</termsLink>. Medlemskapet ditt er gyldig inntil videre, og du kan si opp medlemskapet ditt når som helst ved å sende en e-post til Scandics kundeservice",
"signupPage.terms": "Jeg godtar <termsAndConditions>betingelsene for medlemskap</termsAndConditions> i Scandic Friends og er inneforstått med at Scandic vil behandle personopplysninger om meg i henhold til <privacyPolicy>Personvernerklæring</privacyPolicy>.", "signupPage.terms": "Ved å akseptere <termsAndConditions>vilkårene og betingelsene for Scandic Friends</termsAndConditions>, er jeg inneforstått med at mine personopplysninger vil bli behandlet i samsvar med <privacyPolicy>Scandics personvernpolicy</privacyPolicy>.",
"special character": "spesiell karakter", "special character": "spesiell karakter",
"spendable points expiring by": "{points} Brukbare poeng utløper innen {date}", "spendable points expiring by": "{points} Brukbare poeng utløper innen {date}",
"to": "til", "to": "til",

View File

@@ -178,6 +178,7 @@
"How do you want to sleep?": "Hur vill du sova?", "How do you want to sleep?": "Hur vill du sova?",
"How it works": "Hur det fungerar", "How it works": "Hur det fungerar",
"Hurry up and use them before they expire!": "Skynda dig och använd dem innan de går ut!", "Hurry up and use them before they expire!": "Skynda dig och använd dem innan de går ut!",
"I accept": "Jag accepterar",
"I accept the terms and conditions": "Jag accepterar villkoren", "I accept the terms and conditions": "Jag accepterar villkoren",
"I would like to get my booking confirmation via sms": "Jag vill få min bokningsbekräftelse via sms", "I would like to get my booking confirmation via sms": "Jag vill få min bokningsbekräftelse via sms",
"Image gallery": "{name} - Bildgalleri", "Image gallery": "{name} - Bildgalleri",
@@ -190,6 +191,7 @@
"Jacuzzi": "Jacuzzi", "Jacuzzi": "Jacuzzi",
"Join Scandic Friends": "Gå med i Scandic Friends", "Join Scandic Friends": "Gå med i Scandic Friends",
"Join at no cost": "Gå med utan kostnad", "Join at no cost": "Gå med utan kostnad",
"Join now": "Gå med nu",
"Join or log in while booking for member pricing.": "Bli medlem eller logga in när du bokar för medlemspriser.", "Join or log in while booking for member pricing.": "Bli medlem eller logga in när du bokar för medlemspriser.",
"King bed": "King size-säng", "King bed": "King size-säng",
"Language": "Språk", "Language": "Språk",
@@ -498,7 +500,7 @@
"room type": "rumtyp", "room type": "rumtyp",
"room types": "rumstyper", "room types": "rumstyper",
"signup.terms": "Genom att registrera dig accepterar du Scandic Friends <termsLink>Användarvillkor</termsLink>. Ditt medlemskap gäller tills vidare och du kan när som helst säga upp ditt medlemskap genom att skicka ett mejl till Scandics kundtjänst", "signup.terms": "Genom att registrera dig accepterar du Scandic Friends <termsLink>Användarvillkor</termsLink>. Ditt medlemskap gäller tills vidare och du kan när som helst säga upp ditt medlemskap genom att skicka ett mejl till Scandics kundtjänst",
"signupPage.terms": "Ja, jag accepterar <termsAndConditions>medlemsvillkoren</termsAndConditions> för Scandic Friends och förstår att Scandic kommer att behandla mina personuppgifter i enlighet med Scandic's <privacyPolicy>Integritetspolicy</privacyPolicy>.", "signupPage.terms": "Genom att acceptera <termsAndConditions>villkoren för Scandic Friends</termsAndConditions> förstår jag att mina personuppgifter kommer att behandlas i enlighet med <privacyPolicy>Scandics Integritetspolicy</privacyPolicy>.",
"special character": "speciell karaktär", "special character": "speciell karaktär",
"spendable points expiring by": "{points} poäng förfaller {date}", "spendable points expiring by": "{points} poäng förfaller {date}",
"to": "till", "to": "till",