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

@@ -53,9 +53,7 @@ export function SelectedRoomPanel({ roomIndex }: { roomIndex: number }) {
<div className={styles.content}>
<Caption color="uiTextHighContrast">
{intl.formatMessage(
{
defaultMessage: "Room {roomIndex}",
},
{ id: "booking.roomIndex", defaultMessage: "Room {roomIndex}" },
{ roomIndex: roomNr }
)}
</Caption>
@@ -90,6 +88,7 @@ export function SelectedRoomPanel({ roomIndex }: { roomIndex: number }) {
icon="edit_square"
/>
{intl.formatMessage({
id: "common.change",
defaultMessage: "Change",
})}
</Chip>
@@ -112,6 +111,7 @@ function useSelectedProductTitle({ roomIndex }: { roomIndex: number }) {
const selectedRate = selectedRates.forRoom(roomIndex)
const night = intl.formatMessage({
id: "common.night",
defaultMessage: "night",
})
@@ -171,18 +171,23 @@ function useSelectedProductTitle({ roomIndex }: { roomIndex: number }) {
function useRateTitle(rate: RateEnum | undefined) {
const intl = useIntl()
const freeCancelation = intl.formatMessage({
id: "booking.freeCancellation",
defaultMessage: "Free cancellation",
})
const nonRefundable = intl.formatMessage({
id: "booking.nonRefundable",
defaultMessage: "Non-refundable",
})
const freeBooking = intl.formatMessage({
id: "booking.freeRebooking",
defaultMessage: "Free rebooking",
})
const payLater = intl.formatMessage({
id: "booking.payLater",
defaultMessage: "Pay later",
})
const payNow = intl.formatMessage({
id: "booking.payNow",
defaultMessage: "Pay now",
})

View File

@@ -33,14 +33,13 @@ export function MultiRoomWrapper({ children, isMultiRoom, roomIndex }: Props) {
const isActiveRoom = activeRoomIndex === roomIndex
const roomMsg = intl.formatMessage(
{
defaultMessage: "Room {roomIndex}",
},
{ id: "booking.roomIndex", defaultMessage: "Room {roomIndex}" },
{ roomIndex: roomNr }
)
const adultsMsg = intl.formatMessage(
{
id: "booking.numberOfAdults",
defaultMessage: "{adults, plural, one {# adult} other {# adults}}",
},
{ adults: adultCount }
@@ -48,6 +47,7 @@ export function MultiRoomWrapper({ children, isMultiRoom, roomIndex }: Props) {
const childrenMsg = intl.formatMessage(
{
id: "booking.numberOfChildren",
defaultMessage: "{children, plural, one {# child} other {# children}}",
},
{
@@ -112,6 +112,7 @@ export function MultiRoomWrapper({ children, isMultiRoom, roomIndex }: Props) {
variant="icon"
>
{intl.formatMessage({
id: "common.close",
defaultMessage: "Close",
})}
<MaterialIcon