fix(SW-614): update enter details strings
This commit is contained in:
@@ -58,38 +58,47 @@ export default async function StepPage({
|
||||
|
||||
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 (
|
||||
<section>
|
||||
<HistoryStateManager />
|
||||
<SectionAccordion
|
||||
header="Select bed"
|
||||
header={intl.formatMessage({ id: "Select bed" })}
|
||||
step={StepEnum.selectBed}
|
||||
label={intl.formatMessage({ id: "Request bedtype" })}
|
||||
>
|
||||
<BedType />
|
||||
</SectionAccordion>
|
||||
<SectionAccordion
|
||||
header="Food options"
|
||||
header={intl.formatMessage({ id: "Food options" })}
|
||||
step={StepEnum.breakfast}
|
||||
label={intl.formatMessage({ id: "Select breakfast options" })}
|
||||
>
|
||||
<Breakfast packages={breakfastPackages} />
|
||||
</SectionAccordion>
|
||||
<SectionAccordion
|
||||
header="Details"
|
||||
header={intl.formatMessage({ id: "Details" })}
|
||||
step={StepEnum.details}
|
||||
label={intl.formatMessage({ id: "Enter your details" })}
|
||||
>
|
||||
<Details user={user} />
|
||||
</SectionAccordion>
|
||||
<SectionAccordion
|
||||
header={mustBeGuaranteed ? "Payment Guarantee" : "Payment"}
|
||||
header={mustBeGuaranteed ? paymentGuarantee : payment}
|
||||
step={StepEnum.payment}
|
||||
label={
|
||||
mustBeGuaranteed
|
||||
? intl.formatMessage({ id: "Guarantee booking with credit card" })
|
||||
: intl.formatMessage({ id: "Select payment method" })
|
||||
}
|
||||
label={mustBeGuaranteed ? guaranteeWithCard : selectPaymentMethod}
|
||||
>
|
||||
<Payment
|
||||
hotelId={searchParams.hotel}
|
||||
|
||||
@@ -171,9 +171,9 @@ export default function Payment({
|
||||
return <LoadingSpinner />
|
||||
}
|
||||
|
||||
const paymentVerb = mustBeGuaranteed
|
||||
? intl.formatMessage({ id: "guaranteeing" })
|
||||
: intl.formatMessage({ id: "paying" })
|
||||
const guaranteeing = intl.formatMessage({ id: "guaranteeing" })
|
||||
const paying = intl.formatMessage({ id: "paying" })
|
||||
const paymentVerb = mustBeGuaranteed ? guaranteeing : paying
|
||||
|
||||
return (
|
||||
<FormProvider {...methods}>
|
||||
|
||||
@@ -86,6 +86,7 @@
|
||||
"Description": "Beskrivelse",
|
||||
"Destination": "Destination",
|
||||
"Destinations & hotels": "Destinationer & hoteller",
|
||||
"Details": "Detaljer",
|
||||
"Disabled booking options header": "Vi beklager",
|
||||
"Disabled booking options text": "Koder, checks og bonusnætter er endnu ikke tilgængelige på den nye hjemmeside.",
|
||||
"Discard changes": "Kassér ændringer",
|
||||
@@ -116,6 +117,7 @@
|
||||
"First name": "Fornavn",
|
||||
"Flexibility": "Fleksibilitet",
|
||||
"Follow us": "Følg os",
|
||||
"Food options": "Madvalg",
|
||||
"Former Scandic Hotel": "Tidligere Scandic Hotel",
|
||||
"Free cancellation": "Gratis afbestilling",
|
||||
"Free rebooking": "Gratis ombooking",
|
||||
@@ -222,6 +224,8 @@
|
||||
"Password": "Adgangskode",
|
||||
"Pay later": "Betal senere",
|
||||
"Pay now": "Betal nu",
|
||||
"Payment": "Betaling",
|
||||
"Payment Guarantee": "Garanti betaling",
|
||||
"Payment info": "Betalingsoplysninger",
|
||||
"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",
|
||||
@@ -272,6 +276,7 @@
|
||||
"See room details": "Se værelsesdetaljer",
|
||||
"See rooms": "Se værelser",
|
||||
"Select a country": "Vælg et land",
|
||||
"Select bed": "Vælg seng",
|
||||
"Select breakfast options": "Vælg morgenmadsmuligheder",
|
||||
"Select country of residence": "Vælg bopælsland",
|
||||
"Select date of birth": "Vælg fødselsdato",
|
||||
|
||||
@@ -86,6 +86,7 @@
|
||||
"Description": "Beschreibung",
|
||||
"Destination": "Bestimmungsort",
|
||||
"Destinations & hotels": "Reiseziele & Hotels",
|
||||
"Details": "Details",
|
||||
"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.",
|
||||
"Discard changes": "Änderungen verwerfen",
|
||||
@@ -116,6 +117,7 @@
|
||||
"First name": "Vorname",
|
||||
"Flexibility": "Flexibilität",
|
||||
"Follow us": "Folgen Sie uns",
|
||||
"Food options": "Speisen & Getränke",
|
||||
"Former Scandic Hotel": "Ehemaliges Scandic Hotel",
|
||||
"Free cancellation": "Kostenlose Stornierung",
|
||||
"Free rebooking": "Kostenlose Umbuchung",
|
||||
@@ -220,6 +222,8 @@
|
||||
"Password": "Passwort",
|
||||
"Pay later": "Später bezahlen",
|
||||
"Pay now": "Jetzt bezahlen",
|
||||
"Payment": "Zahlung",
|
||||
"Payment Guarantee": "Zahlungsgarantie",
|
||||
"Payment info": "Zahlungsinformationen",
|
||||
"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",
|
||||
@@ -271,6 +275,7 @@
|
||||
"See room details": "Zimmerdetails ansehen",
|
||||
"See rooms": "Zimmer ansehen",
|
||||
"Select a country": "Wähle ein Land",
|
||||
"Select bed": "Betttyp auswählen",
|
||||
"Select breakfast options": "Wählen Sie Frühstücksoptionen",
|
||||
"Select country of residence": "Wählen Sie das Land Ihres Wohnsitzes aus",
|
||||
"Select date of birth": "Geburtsdatum auswählen",
|
||||
|
||||
@@ -92,6 +92,7 @@
|
||||
"Description": "Description",
|
||||
"Destination": "Destination",
|
||||
"Destinations & hotels": "Destinations & hotels",
|
||||
"Details": "Details",
|
||||
"Disabled booking options header": "We're sorry",
|
||||
"Disabled booking options text": "Codes, cheques and reward nights aren't available on the new website yet.",
|
||||
"Discard changes": "Discard changes",
|
||||
@@ -123,6 +124,7 @@
|
||||
"First name": "First name",
|
||||
"Flexibility": "Flexibility",
|
||||
"Follow us": "Follow us",
|
||||
"Food options": "Food options",
|
||||
"Former Scandic Hotel": "Former Scandic Hotel",
|
||||
"Free cancellation": "Free cancellation",
|
||||
"Free rebooking": "Free rebooking",
|
||||
@@ -231,6 +233,8 @@
|
||||
"Password": "Password",
|
||||
"Pay later": "Pay later",
|
||||
"Pay now": "Pay now",
|
||||
"Payment": "Payment",
|
||||
"Payment Guarantee": "Payment Guarantee",
|
||||
"Payment info": "Payment info",
|
||||
"Payment received": "Payment received",
|
||||
"Pet Room": "Pet room",
|
||||
@@ -286,6 +290,7 @@
|
||||
"See room details": "See room details",
|
||||
"See rooms": "See rooms",
|
||||
"Select a country": "Select a country",
|
||||
"Select bed": "Select bed",
|
||||
"Select breakfast options": "Select breakfast options",
|
||||
"Select country of residence": "Select country of residence",
|
||||
"Select date of birth": "Select date of birth",
|
||||
@@ -320,9 +325,9 @@
|
||||
"Theatre": "Theatre",
|
||||
"There are no transactions to display": "There are no transactions to display",
|
||||
"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 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 price": "Total price",
|
||||
"Tourist": "Tourist",
|
||||
|
||||
@@ -86,6 +86,7 @@
|
||||
"Description": "Kuvaus",
|
||||
"Destination": "Kohde",
|
||||
"Destinations & hotels": "Kohteet ja hotellit",
|
||||
"Details": "Tiedot",
|
||||
"Disabled booking options header": "Olemme pahoillamme",
|
||||
"Disabled booking options text": "Koodit, sekit ja palkintoillat eivät ole vielä saatavilla uudella verkkosivustolla.",
|
||||
"Discard changes": "Hylkää muutokset",
|
||||
@@ -116,6 +117,7 @@
|
||||
"First name": "Etunimi",
|
||||
"Flexibility": "Joustavuus",
|
||||
"Follow us": "Seuraa meitä",
|
||||
"Food options": "Ruokavalio",
|
||||
"Former Scandic Hotel": "Entinen Scandic-hotelli",
|
||||
"Free cancellation": "Ilmainen peruutus",
|
||||
"Free rebooking": "Ilmainen uudelleenvaraus",
|
||||
@@ -222,6 +224,8 @@
|
||||
"Password": "Salasana",
|
||||
"Pay later": "Maksa myöhemmin",
|
||||
"Pay now": "Maksa nyt",
|
||||
"Payment": "Maksu",
|
||||
"Payment Guarantee": "Varmistusmaksu",
|
||||
"Payment info": "Maksutiedot",
|
||||
"Pet Room": "Lemmikkihuone",
|
||||
"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 rooms": "Katso huoneet",
|
||||
"Select a country": "Valitse maa",
|
||||
"Select bed": "Valitse vuodetyyppi",
|
||||
"Select breakfast options": "Valitse aamiaisvaihtoehdot",
|
||||
"Select country of residence": "Valitse asuinmaa",
|
||||
"Select date of birth": "Valitse syntymäaika",
|
||||
|
||||
@@ -85,6 +85,7 @@
|
||||
"Description": "Beskrivelse",
|
||||
"Destination": "Destinasjon",
|
||||
"Destinations & hotels": "Destinasjoner og hoteller",
|
||||
"Details": "Detaljer",
|
||||
"Disabled booking options header": "Vi beklager",
|
||||
"Disabled booking options text": "Koder, checks og belønningsnætter er enda ikke tilgjengelige på den nye nettsiden.",
|
||||
"Discard changes": "Forkaste endringer",
|
||||
@@ -115,6 +116,7 @@
|
||||
"First name": "Fornavn",
|
||||
"Flexibility": "Fleksibilitet",
|
||||
"Follow us": "Følg oss",
|
||||
"Food options": "Matvalg",
|
||||
"Former Scandic Hotel": "Tidligere Scandic-hotell",
|
||||
"Free cancellation": "Gratis avbestilling",
|
||||
"Free rebooking": "Gratis ombooking",
|
||||
@@ -220,6 +222,8 @@
|
||||
"Password": "Passord",
|
||||
"Pay later": "Betal senere",
|
||||
"Pay now": "Betal nå",
|
||||
"Payment": "Betaling",
|
||||
"Payment Guarantee": "Garantera betalning",
|
||||
"Payment info": "Betalingsinformasjon",
|
||||
"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",
|
||||
@@ -270,6 +274,7 @@
|
||||
"See room details": "Se detaljer om rommet",
|
||||
"See rooms": "Se rom",
|
||||
"Select a country": "Velg et land",
|
||||
"Select bed": "Vælg seng",
|
||||
"Select breakfast options": "Velg frokostalternativer",
|
||||
"Select country of residence": "Velg bostedsland",
|
||||
"Select date of birth": "Velg fødselsdato",
|
||||
|
||||
@@ -85,6 +85,7 @@
|
||||
"Description": "Beskrivning",
|
||||
"Destination": "Destination",
|
||||
"Destinations & hotels": "Destinationer & hotell",
|
||||
"Details": "Detaljer",
|
||||
"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.",
|
||||
"Discard changes": "Ignorera ändringar",
|
||||
@@ -115,6 +116,7 @@
|
||||
"First name": "Förnamn",
|
||||
"Flexibility": "Flexibilitet",
|
||||
"Follow us": "Följ oss",
|
||||
"Food options": "Matval",
|
||||
"Former Scandic Hotel": "Tidigare Scandichotell",
|
||||
"Free cancellation": "Fri avbokning",
|
||||
"Free rebooking": "Fri ombokning",
|
||||
@@ -220,6 +222,8 @@
|
||||
"Password": "Lösenord",
|
||||
"Pay later": "Betala senare",
|
||||
"Pay now": "Betala nu",
|
||||
"Payment": "Betalning",
|
||||
"Payment Guarantee": "Garantera betalning",
|
||||
"Payment info": "Betalningsinformation",
|
||||
"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",
|
||||
@@ -270,6 +274,7 @@
|
||||
"See room details": "Se rumsdetaljer",
|
||||
"See rooms": "Se rum",
|
||||
"Select a country": "Välj ett land",
|
||||
"Select bed": "Välj säng",
|
||||
"Select breakfast options": "Välj frukostalternativ",
|
||||
"Select country of residence": "Välj bosättningsland",
|
||||
"Select date of birth": "Välj födelsedatum",
|
||||
|
||||
Reference in New Issue
Block a user