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:
Joakim Jäderberg
2025-10-22 11:00:03 +00:00
parent bdfe2ab213
commit aafad9781f
499 changed files with 93363 additions and 99164 deletions

View File

@@ -37,6 +37,7 @@ export function useGuaranteeBooking(
})
toast.error(
intl.formatMessage({
id: "guaranteePayment.failed",
defaultMessage:
"We had an issue guaranteeing your booking. Please try again.",
})

View File

@@ -18,11 +18,13 @@ export function useGuaranteePaymentFailedToast() {
switch (errorCode) {
case "AncillaryFailed":
return intl.formatMessage({
id: "guaranteePayment.ancillaryFailed",
defaultMessage:
"The product could not be added. Your booking is guaranteed. Please try again.",
})
default:
return intl.formatMessage({
id: "guaranteePayment.failed",
defaultMessage:
"We had an issue guaranteeing your booking. Please try again.",
})

View File

@@ -5,6 +5,7 @@ export default function useRateTitles() {
const intl = useIntl()
const payNow = intl.formatMessage({
id: "booking.payNow",
defaultMessage: "Pay now",
})
@@ -12,24 +13,29 @@ export default function useRateTitles() {
change: {
paymentTerm: payNow,
title: intl.formatMessage({
id: "booking.freeRebooking",
defaultMessage: "Free rebooking",
}),
},
flex: {
paymentTerm: intl.formatMessage({
id: "booking.payLater",
defaultMessage: "Pay later",
}),
title: intl.formatMessage({
id: "booking.freeCancellation",
defaultMessage: "Free cancellation",
}),
},
save: {
paymentTerm: payNow,
title: intl.formatMessage({
id: "booking.nonRefundable",
defaultMessage: "Non-refundable",
}),
},
noPriceAvailable: intl.formatMessage({
id: "booking.noPricesAvailable",
defaultMessage: "No prices available",
}),
}