Merged in feat/lokalise-rebuild (pull request #2993)
Feat/lokalise rebuild * chore(lokalise): update translation ids * chore(lokalise): easier to switch between projects * chore(lokalise): update translation ids * . * . * . * . * . * . * chore(lokalise): update translation ids * chore(lokalise): update translation ids * . * . * . * chore(lokalise): update translation ids * chore(lokalise): update translation ids * . * . * chore(lokalise): update translation ids * chore(lokalise): update translation ids * chore(lokalise): new translations * merge * switch to errors for missing id's * merge * sync translations Approved-by: Linus Flood
This commit is contained in:
@@ -53,11 +53,13 @@ export default function AdditionalInfoForm({
|
||||
<div>
|
||||
<Title level="h2" as="h3">
|
||||
{intl.formatMessage({
|
||||
id: "hotelReservation.findMyBooking.title",
|
||||
defaultMessage: "Find your booking",
|
||||
})}
|
||||
</Title>
|
||||
<Body>
|
||||
{intl.formatMessage({
|
||||
id: "hotelReservation.findMyBooking.additionalInfoText",
|
||||
defaultMessage: "We need some details to confirm your identity.",
|
||||
})}
|
||||
</Body>
|
||||
@@ -65,6 +67,7 @@ export default function AdditionalInfoForm({
|
||||
<div className={styles.inputs}>
|
||||
<Input
|
||||
label={intl.formatMessage({
|
||||
id: "common.firstName",
|
||||
defaultMessage: "First name",
|
||||
})}
|
||||
name="firstName"
|
||||
@@ -72,6 +75,7 @@ export default function AdditionalInfoForm({
|
||||
/>
|
||||
<Input
|
||||
label={intl.formatMessage({
|
||||
id: "common.email",
|
||||
defaultMessage: "Email",
|
||||
})}
|
||||
name="email"
|
||||
@@ -87,6 +91,7 @@ export default function AdditionalInfoForm({
|
||||
disabled={form.formState.isSubmitting}
|
||||
>
|
||||
{intl.formatMessage({
|
||||
id: "common.confirm",
|
||||
defaultMessage: "Confirm",
|
||||
})}
|
||||
</Button>
|
||||
|
||||
@@ -55,6 +55,7 @@ export default function FindMyBooking() {
|
||||
logger.error("Failed to create ref id", error)
|
||||
toast.error(
|
||||
intl.formatMessage({
|
||||
id: "findMyBooking.failedToSubmit",
|
||||
defaultMessage: "Failed to submit form, please try again later.",
|
||||
})
|
||||
)
|
||||
@@ -74,11 +75,13 @@ export default function FindMyBooking() {
|
||||
<div>
|
||||
<Title level="h2" as="h3">
|
||||
{intl.formatMessage({
|
||||
id: "findMyBooking.findYourStay",
|
||||
defaultMessage: "Find your stay",
|
||||
})}
|
||||
</Title>
|
||||
<Body>
|
||||
{intl.formatMessage({
|
||||
id: "findMyBooking.manageBooking",
|
||||
defaultMessage:
|
||||
"View and manage your booking made via our website or app.",
|
||||
})}
|
||||
@@ -87,6 +90,7 @@ export default function FindMyBooking() {
|
||||
<div className={[styles.inputs, styles.grid].join(" ")}>
|
||||
<Input
|
||||
label={intl.formatMessage({
|
||||
id: "common.bookingNumber",
|
||||
defaultMessage: "Booking number",
|
||||
})}
|
||||
name="confirmationNumber"
|
||||
@@ -94,6 +98,7 @@ export default function FindMyBooking() {
|
||||
/>
|
||||
<Input
|
||||
label={intl.formatMessage({
|
||||
id: "common.firstName",
|
||||
defaultMessage: "First name",
|
||||
})}
|
||||
name="firstName"
|
||||
@@ -101,6 +106,7 @@ export default function FindMyBooking() {
|
||||
/>
|
||||
<Input
|
||||
label={intl.formatMessage({
|
||||
id: "common.lastName",
|
||||
defaultMessage: "Last name",
|
||||
})}
|
||||
name="lastName"
|
||||
@@ -108,6 +114,7 @@ export default function FindMyBooking() {
|
||||
/>
|
||||
<Input
|
||||
label={intl.formatMessage({
|
||||
id: "common.email",
|
||||
defaultMessage: "Email",
|
||||
})}
|
||||
name="email"
|
||||
@@ -119,12 +126,14 @@ export default function FindMyBooking() {
|
||||
<div className={styles.footnote}>
|
||||
<Caption type="bold">
|
||||
{intl.formatMessage({
|
||||
id: "findMyBooking.cantFindYourStay",
|
||||
defaultMessage: "Can't find your stay?",
|
||||
})}
|
||||
</Caption>
|
||||
<Caption>
|
||||
{intl.formatMessage(
|
||||
{
|
||||
id: "findMyBooking.customerService",
|
||||
defaultMessage:
|
||||
"Please contact <link>customer service</link>.",
|
||||
},
|
||||
@@ -150,6 +159,7 @@ export default function FindMyBooking() {
|
||||
disabled={form.formState.isSubmitting || update.isPending}
|
||||
>
|
||||
{intl.formatMessage({
|
||||
id: "common.find",
|
||||
defaultMessage: "Find",
|
||||
})}
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user