fix(SW-614): update enter details strings

This commit is contained in:
Tobias Johansson
2024-10-24 14:45:25 +02:00
parent a690750c36
commit 7819db2bb2
8 changed files with 52 additions and 13 deletions

View File

@@ -58,38 +58,47 @@ export default async function StepPage({
const mustBeGuaranteed = false const mustBeGuaranteed = false
const paymentGuarantee = intl.formatMessage({
id: "Payment Guarantee",
})
const payment = intl.formatMessage({
id: "Payment",
})
const guaranteeWithCard = intl.formatMessage({
id: "Guarantee booking with credit card",
})
const selectPaymentMethod = intl.formatMessage({
id: "Select payment method",
})
return ( return (
<section> <section>
<HistoryStateManager /> <HistoryStateManager />
<SectionAccordion <SectionAccordion
header="Select bed" header={intl.formatMessage({ id: "Select bed" })}
step={StepEnum.selectBed} step={StepEnum.selectBed}
label={intl.formatMessage({ id: "Request bedtype" })} label={intl.formatMessage({ id: "Request bedtype" })}
> >
<BedType /> <BedType />
</SectionAccordion> </SectionAccordion>
<SectionAccordion <SectionAccordion
header="Food options" header={intl.formatMessage({ id: "Food options" })}
step={StepEnum.breakfast} step={StepEnum.breakfast}
label={intl.formatMessage({ id: "Select breakfast options" })} label={intl.formatMessage({ id: "Select breakfast options" })}
> >
<Breakfast packages={breakfastPackages} /> <Breakfast packages={breakfastPackages} />
</SectionAccordion> </SectionAccordion>
<SectionAccordion <SectionAccordion
header="Details" header={intl.formatMessage({ id: "Details" })}
step={StepEnum.details} step={StepEnum.details}
label={intl.formatMessage({ id: "Enter your details" })} label={intl.formatMessage({ id: "Enter your details" })}
> >
<Details user={user} /> <Details user={user} />
</SectionAccordion> </SectionAccordion>
<SectionAccordion <SectionAccordion
header={mustBeGuaranteed ? "Payment Guarantee" : "Payment"} header={mustBeGuaranteed ? paymentGuarantee : payment}
step={StepEnum.payment} step={StepEnum.payment}
label={ label={mustBeGuaranteed ? guaranteeWithCard : selectPaymentMethod}
mustBeGuaranteed
? intl.formatMessage({ id: "Guarantee booking with credit card" })
: intl.formatMessage({ id: "Select payment method" })
}
> >
<Payment <Payment
hotelId={searchParams.hotel} hotelId={searchParams.hotel}

View File

@@ -171,9 +171,9 @@ export default function Payment({
return <LoadingSpinner /> return <LoadingSpinner />
} }
const paymentVerb = mustBeGuaranteed const guaranteeing = intl.formatMessage({ id: "guaranteeing" })
? intl.formatMessage({ id: "guaranteeing" }) const paying = intl.formatMessage({ id: "paying" })
: intl.formatMessage({ id: "paying" }) const paymentVerb = mustBeGuaranteed ? guaranteeing : paying
return ( return (
<FormProvider {...methods}> <FormProvider {...methods}>

View File

@@ -86,6 +86,7 @@
"Description": "Beskrivelse", "Description": "Beskrivelse",
"Destination": "Destination", "Destination": "Destination",
"Destinations & hotels": "Destinationer & hoteller", "Destinations & hotels": "Destinationer & hoteller",
"Details": "Detaljer",
"Disabled booking options header": "Vi beklager", "Disabled booking options header": "Vi beklager",
"Disabled booking options text": "Koder, checks og bonusnætter er endnu ikke tilgængelige på den nye hjemmeside.", "Disabled booking options text": "Koder, checks og bonusnætter er endnu ikke tilgængelige på den nye hjemmeside.",
"Discard changes": "Kassér ændringer", "Discard changes": "Kassér ændringer",
@@ -116,6 +117,7 @@
"First name": "Fornavn", "First name": "Fornavn",
"Flexibility": "Fleksibilitet", "Flexibility": "Fleksibilitet",
"Follow us": "Følg os", "Follow us": "Følg os",
"Food options": "Madvalg",
"Former Scandic Hotel": "Tidligere Scandic Hotel", "Former Scandic Hotel": "Tidligere Scandic Hotel",
"Free cancellation": "Gratis afbestilling", "Free cancellation": "Gratis afbestilling",
"Free rebooking": "Gratis ombooking", "Free rebooking": "Gratis ombooking",
@@ -222,6 +224,8 @@
"Password": "Adgangskode", "Password": "Adgangskode",
"Pay later": "Betal senere", "Pay later": "Betal senere",
"Pay now": "Betal nu", "Pay now": "Betal nu",
"Payment": "Betaling",
"Payment Guarantee": "Garanti betaling",
"Payment info": "Betalingsoplysninger", "Payment info": "Betalingsoplysninger",
"Pet Room": "Kæledyrsrum", "Pet Room": "Kæledyrsrum",
"Pet-friendly rooms have an additional fee of 20 EUR per stay": "Kæledyrsrum har en ekstra gebyr på 20 EUR per ophold", "Pet-friendly rooms have an additional fee of 20 EUR per stay": "Kæledyrsrum har en ekstra gebyr på 20 EUR per ophold",
@@ -272,6 +276,7 @@
"See room details": "Se værelsesdetaljer", "See room details": "Se værelsesdetaljer",
"See rooms": "Se værelser", "See rooms": "Se værelser",
"Select a country": "Vælg et land", "Select a country": "Vælg et land",
"Select bed": "Vælg seng",
"Select breakfast options": "Vælg morgenmadsmuligheder", "Select breakfast options": "Vælg morgenmadsmuligheder",
"Select country of residence": "Vælg bopælsland", "Select country of residence": "Vælg bopælsland",
"Select date of birth": "Vælg fødselsdato", "Select date of birth": "Vælg fødselsdato",

View File

@@ -86,6 +86,7 @@
"Description": "Beschreibung", "Description": "Beschreibung",
"Destination": "Bestimmungsort", "Destination": "Bestimmungsort",
"Destinations & hotels": "Reiseziele & Hotels", "Destinations & hotels": "Reiseziele & Hotels",
"Details": "Details",
"Disabled booking options header": "Es tut uns leid", "Disabled booking options header": "Es tut uns leid",
"Disabled booking options text": "Codes, Schecks und Bonusnächte sind auf der neuen Website noch nicht verfügbar.", "Disabled booking options text": "Codes, Schecks und Bonusnächte sind auf der neuen Website noch nicht verfügbar.",
"Discard changes": "Änderungen verwerfen", "Discard changes": "Änderungen verwerfen",
@@ -116,6 +117,7 @@
"First name": "Vorname", "First name": "Vorname",
"Flexibility": "Flexibilität", "Flexibility": "Flexibilität",
"Follow us": "Folgen Sie uns", "Follow us": "Folgen Sie uns",
"Food options": "Speisen & Getränke",
"Former Scandic Hotel": "Ehemaliges Scandic Hotel", "Former Scandic Hotel": "Ehemaliges Scandic Hotel",
"Free cancellation": "Kostenlose Stornierung", "Free cancellation": "Kostenlose Stornierung",
"Free rebooking": "Kostenlose Umbuchung", "Free rebooking": "Kostenlose Umbuchung",
@@ -220,6 +222,8 @@
"Password": "Passwort", "Password": "Passwort",
"Pay later": "Später bezahlen", "Pay later": "Später bezahlen",
"Pay now": "Jetzt bezahlen", "Pay now": "Jetzt bezahlen",
"Payment": "Zahlung",
"Payment Guarantee": "Zahlungsgarantie",
"Payment info": "Zahlungsinformationen", "Payment info": "Zahlungsinformationen",
"Pet Room": "Haustierzimmer", "Pet Room": "Haustierzimmer",
"Pet-friendly rooms have an additional fee of 20 EUR per stay": "Haustierzimmer haben einen zusätzlichen Preis von 20 EUR pro Aufenthalt", "Pet-friendly rooms have an additional fee of 20 EUR per stay": "Haustierzimmer haben einen zusätzlichen Preis von 20 EUR pro Aufenthalt",
@@ -271,6 +275,7 @@
"See room details": "Zimmerdetails ansehen", "See room details": "Zimmerdetails ansehen",
"See rooms": "Zimmer ansehen", "See rooms": "Zimmer ansehen",
"Select a country": "Wähle ein Land", "Select a country": "Wähle ein Land",
"Select bed": "Betttyp auswählen",
"Select breakfast options": "Wählen Sie Frühstücksoptionen", "Select breakfast options": "Wählen Sie Frühstücksoptionen",
"Select country of residence": "Wählen Sie das Land Ihres Wohnsitzes aus", "Select country of residence": "Wählen Sie das Land Ihres Wohnsitzes aus",
"Select date of birth": "Geburtsdatum auswählen", "Select date of birth": "Geburtsdatum auswählen",

View File

@@ -92,6 +92,7 @@
"Description": "Description", "Description": "Description",
"Destination": "Destination", "Destination": "Destination",
"Destinations & hotels": "Destinations & hotels", "Destinations & hotels": "Destinations & hotels",
"Details": "Details",
"Disabled booking options header": "We're sorry", "Disabled booking options header": "We're sorry",
"Disabled booking options text": "Codes, cheques and reward nights aren't available on the new website yet.", "Disabled booking options text": "Codes, cheques and reward nights aren't available on the new website yet.",
"Discard changes": "Discard changes", "Discard changes": "Discard changes",
@@ -123,6 +124,7 @@
"First name": "First name", "First name": "First name",
"Flexibility": "Flexibility", "Flexibility": "Flexibility",
"Follow us": "Follow us", "Follow us": "Follow us",
"Food options": "Food options",
"Former Scandic Hotel": "Former Scandic Hotel", "Former Scandic Hotel": "Former Scandic Hotel",
"Free cancellation": "Free cancellation", "Free cancellation": "Free cancellation",
"Free rebooking": "Free rebooking", "Free rebooking": "Free rebooking",
@@ -231,6 +233,8 @@
"Password": "Password", "Password": "Password",
"Pay later": "Pay later", "Pay later": "Pay later",
"Pay now": "Pay now", "Pay now": "Pay now",
"Payment": "Payment",
"Payment Guarantee": "Payment Guarantee",
"Payment info": "Payment info", "Payment info": "Payment info",
"Payment received": "Payment received", "Payment received": "Payment received",
"Pet Room": "Pet room", "Pet Room": "Pet room",
@@ -286,6 +290,7 @@
"See room details": "See room details", "See room details": "See room details",
"See rooms": "See rooms", "See rooms": "See rooms",
"Select a country": "Select a country", "Select a country": "Select a country",
"Select bed": "Select bed",
"Select breakfast options": "Select breakfast options", "Select breakfast options": "Select breakfast options",
"Select country of residence": "Select country of residence", "Select country of residence": "Select country of residence",
"Select date of birth": "Select date of birth", "Select date of birth": "Select date of birth",
@@ -320,9 +325,9 @@
"Theatre": "Theatre", "Theatre": "Theatre",
"There are no transactions to display": "There are no transactions to display", "There are no transactions to display": "There are no transactions to display",
"Things nearby HOTEL_NAME": "Things nearby {hotelName}", "Things nearby HOTEL_NAME": "Things nearby {hotelName}",
"To secure your reservation, we kindly ask you to provide your payment card details. Rest assured, no charges will be made at this time.": "To secure your reservation, we kindly ask you to provide your payment card details. Rest assured, no charges will be made at this time.",
"Total Points": "Total Points", "Total Points": "Total Points",
"Total cost": "Total cost", "Total cost": "Total cost",
"To secure your reservation, we kindly ask you to provide your payment card details. Rest assured, no charges will be made at this time.": "To secure your reservation, we kindly ask you to provide your payment card details. Rest assured, no charges will be made at this time.",
"Total incl VAT": "Total incl VAT", "Total incl VAT": "Total incl VAT",
"Total price": "Total price", "Total price": "Total price",
"Tourist": "Tourist", "Tourist": "Tourist",

View File

@@ -86,6 +86,7 @@
"Description": "Kuvaus", "Description": "Kuvaus",
"Destination": "Kohde", "Destination": "Kohde",
"Destinations & hotels": "Kohteet ja hotellit", "Destinations & hotels": "Kohteet ja hotellit",
"Details": "Tiedot",
"Disabled booking options header": "Olemme pahoillamme", "Disabled booking options header": "Olemme pahoillamme",
"Disabled booking options text": "Koodit, sekit ja palkintoillat eivät ole vielä saatavilla uudella verkkosivustolla.", "Disabled booking options text": "Koodit, sekit ja palkintoillat eivät ole vielä saatavilla uudella verkkosivustolla.",
"Discard changes": "Hylkää muutokset", "Discard changes": "Hylkää muutokset",
@@ -116,6 +117,7 @@
"First name": "Etunimi", "First name": "Etunimi",
"Flexibility": "Joustavuus", "Flexibility": "Joustavuus",
"Follow us": "Seuraa meitä", "Follow us": "Seuraa meitä",
"Food options": "Ruokavalio",
"Former Scandic Hotel": "Entinen Scandic-hotelli", "Former Scandic Hotel": "Entinen Scandic-hotelli",
"Free cancellation": "Ilmainen peruutus", "Free cancellation": "Ilmainen peruutus",
"Free rebooking": "Ilmainen uudelleenvaraus", "Free rebooking": "Ilmainen uudelleenvaraus",
@@ -222,6 +224,8 @@
"Password": "Salasana", "Password": "Salasana",
"Pay later": "Maksa myöhemmin", "Pay later": "Maksa myöhemmin",
"Pay now": "Maksa nyt", "Pay now": "Maksa nyt",
"Payment": "Maksu",
"Payment Guarantee": "Varmistusmaksu",
"Payment info": "Maksutiedot", "Payment info": "Maksutiedot",
"Pet Room": "Lemmikkihuone", "Pet Room": "Lemmikkihuone",
"Pet-friendly rooms have an additional fee of 20 EUR per stay": "Lemmikkihuoneen lisäkustannus on 20 EUR per majoitus", "Pet-friendly rooms have an additional fee of 20 EUR per stay": "Lemmikkihuoneen lisäkustannus on 20 EUR per majoitus",
@@ -273,6 +277,7 @@
"See room details": "Katso huoneen tiedot", "See room details": "Katso huoneen tiedot",
"See rooms": "Katso huoneet", "See rooms": "Katso huoneet",
"Select a country": "Valitse maa", "Select a country": "Valitse maa",
"Select bed": "Valitse vuodetyyppi",
"Select breakfast options": "Valitse aamiaisvaihtoehdot", "Select breakfast options": "Valitse aamiaisvaihtoehdot",
"Select country of residence": "Valitse asuinmaa", "Select country of residence": "Valitse asuinmaa",
"Select date of birth": "Valitse syntymäaika", "Select date of birth": "Valitse syntymäaika",

View File

@@ -85,6 +85,7 @@
"Description": "Beskrivelse", "Description": "Beskrivelse",
"Destination": "Destinasjon", "Destination": "Destinasjon",
"Destinations & hotels": "Destinasjoner og hoteller", "Destinations & hotels": "Destinasjoner og hoteller",
"Details": "Detaljer",
"Disabled booking options header": "Vi beklager", "Disabled booking options header": "Vi beklager",
"Disabled booking options text": "Koder, checks og belønningsnætter er enda ikke tilgjengelige på den nye nettsiden.", "Disabled booking options text": "Koder, checks og belønningsnætter er enda ikke tilgjengelige på den nye nettsiden.",
"Discard changes": "Forkaste endringer", "Discard changes": "Forkaste endringer",
@@ -115,6 +116,7 @@
"First name": "Fornavn", "First name": "Fornavn",
"Flexibility": "Fleksibilitet", "Flexibility": "Fleksibilitet",
"Follow us": "Følg oss", "Follow us": "Følg oss",
"Food options": "Matvalg",
"Former Scandic Hotel": "Tidligere Scandic-hotell", "Former Scandic Hotel": "Tidligere Scandic-hotell",
"Free cancellation": "Gratis avbestilling", "Free cancellation": "Gratis avbestilling",
"Free rebooking": "Gratis ombooking", "Free rebooking": "Gratis ombooking",
@@ -220,6 +222,8 @@
"Password": "Passord", "Password": "Passord",
"Pay later": "Betal senere", "Pay later": "Betal senere",
"Pay now": "Betal nå", "Pay now": "Betal nå",
"Payment": "Betaling",
"Payment Guarantee": "Garantera betalning",
"Payment info": "Betalingsinformasjon", "Payment info": "Betalingsinformasjon",
"Pet Room": "Kjæledyrsrom", "Pet Room": "Kjæledyrsrom",
"Pet-friendly rooms have an additional fee of 20 EUR per stay": "Kjæledyrsrom har en tilleggsavgift på 20 EUR per opphold", "Pet-friendly rooms have an additional fee of 20 EUR per stay": "Kjæledyrsrom har en tilleggsavgift på 20 EUR per opphold",
@@ -270,6 +274,7 @@
"See room details": "Se detaljer om rommet", "See room details": "Se detaljer om rommet",
"See rooms": "Se rom", "See rooms": "Se rom",
"Select a country": "Velg et land", "Select a country": "Velg et land",
"Select bed": "Vælg seng",
"Select breakfast options": "Velg frokostalternativer", "Select breakfast options": "Velg frokostalternativer",
"Select country of residence": "Velg bostedsland", "Select country of residence": "Velg bostedsland",
"Select date of birth": "Velg fødselsdato", "Select date of birth": "Velg fødselsdato",

View File

@@ -85,6 +85,7 @@
"Description": "Beskrivning", "Description": "Beskrivning",
"Destination": "Destination", "Destination": "Destination",
"Destinations & hotels": "Destinationer & hotell", "Destinations & hotels": "Destinationer & hotell",
"Details": "Detaljer",
"Disabled booking options header": "Vi beklagar", "Disabled booking options header": "Vi beklagar",
"Disabled booking options text": "Koder, bonuscheckar och belöningsnätter är inte tillgängliga på den nya webbplatsen än.", "Disabled booking options text": "Koder, bonuscheckar och belöningsnätter är inte tillgängliga på den nya webbplatsen än.",
"Discard changes": "Ignorera ändringar", "Discard changes": "Ignorera ändringar",
@@ -115,6 +116,7 @@
"First name": "Förnamn", "First name": "Förnamn",
"Flexibility": "Flexibilitet", "Flexibility": "Flexibilitet",
"Follow us": "Följ oss", "Follow us": "Följ oss",
"Food options": "Matval",
"Former Scandic Hotel": "Tidigare Scandichotell", "Former Scandic Hotel": "Tidigare Scandichotell",
"Free cancellation": "Fri avbokning", "Free cancellation": "Fri avbokning",
"Free rebooking": "Fri ombokning", "Free rebooking": "Fri ombokning",
@@ -220,6 +222,8 @@
"Password": "Lösenord", "Password": "Lösenord",
"Pay later": "Betala senare", "Pay later": "Betala senare",
"Pay now": "Betala nu", "Pay now": "Betala nu",
"Payment": "Betalning",
"Payment Guarantee": "Garantera betalning",
"Payment info": "Betalningsinformation", "Payment info": "Betalningsinformation",
"Pet Room": "Husdjursrum", "Pet Room": "Husdjursrum",
"Pet-friendly rooms have an additional fee of 20 EUR per stay": "Husdjursrum har en extra avgift på 20 EUR per vistelse", "Pet-friendly rooms have an additional fee of 20 EUR per stay": "Husdjursrum har en extra avgift på 20 EUR per vistelse",
@@ -270,6 +274,7 @@
"See room details": "Se rumsdetaljer", "See room details": "Se rumsdetaljer",
"See rooms": "Se rum", "See rooms": "Se rum",
"Select a country": "Välj ett land", "Select a country": "Välj ett land",
"Select bed": "Välj säng",
"Select breakfast options": "Välj frukostalternativ", "Select breakfast options": "Välj frukostalternativ",
"Select country of residence": "Välj bosättningsland", "Select country of residence": "Välj bosättningsland",
"Select date of birth": "Välj födelsedatum", "Select date of birth": "Välj födelsedatum",