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

@@ -63,6 +63,7 @@ export default function Room({ booking, roomNr, user }: RoomProps) {
const adultsMsg = intl.formatMessage(
{
id: "booking.numberOfAdults",
defaultMessage: "{adults, plural, one {# adult} other {# adults}}",
},
{
@@ -72,6 +73,7 @@ export default function Room({ booking, roomNr, user }: RoomProps) {
const childrenMsg = intl.formatMessage(
{
id: "booking.numberOfChildren",
defaultMessage: "{children, plural, one {# child} other {# children}}",
},
{
@@ -85,10 +87,12 @@ export default function Room({ booking, roomNr, user }: RoomProps) {
const formattedTotalPrice = formatPrice(intl, totalPrice, currencyCode)
let breakfastPrice = intl.formatMessage({
id: "common.noBreakfast",
defaultMessage: "No breakfast",
})
if (rateDefinition.breakfastIncluded) {
breakfastPrice = intl.formatMessage({
id: "common.included",
defaultMessage: "Included",
})
} else if (breakfast) {
@@ -132,6 +136,7 @@ export default function Room({ booking, roomNr, user }: RoomProps) {
<Typography variant="Body/Supporting text (caption)/smBold">
<span>
{intl.formatMessage({
id: "common.cancelled",
defaultMessage: "Cancelled",
})}
</span>
@@ -143,6 +148,7 @@ export default function Room({ booking, roomNr, user }: RoomProps) {
<span>
{intl.formatMessage(
{
id: "booking.roomIndex",
defaultMessage: "Room {roomIndex}",
},
{
@@ -158,6 +164,7 @@ export default function Room({ booking, roomNr, user }: RoomProps) {
{isCancelled ? (
<span>
{intl.formatMessage({
id: "booking.cancellationNo",
defaultMessage: "Cancellation no",
})}
{/* eslint-disable-next-line formatjs/no-literal-string-in-jsx */}
@@ -166,6 +173,7 @@ export default function Room({ booking, roomNr, user }: RoomProps) {
) : (
<span>
{intl.formatMessage({
id: "common.bookingNumber",
defaultMessage: "Booking number",
})}
{/* eslint-disable-next-line formatjs/no-literal-string-in-jsx */}
@@ -227,6 +235,7 @@ export default function Room({ booking, roomNr, user }: RoomProps) {
<Typography variant="Body/Paragraph/mdBold">
<p>
{intl.formatMessage({
id: "booking.guests",
defaultMessage: "Guests",
})}
</p>
@@ -242,6 +251,7 @@ export default function Room({ booking, roomNr, user }: RoomProps) {
<Typography variant="Body/Paragraph/mdBold">
<p>
{intl.formatMessage({
id: "booking.terms",
defaultMessage: "Terms",
})}
</p>
@@ -290,6 +300,7 @@ export default function Room({ booking, roomNr, user }: RoomProps) {
<Typography variant="Body/Paragraph/mdBold">
<p>
{intl.formatMessage({
id: "myStay.modifyBy",
defaultMessage: "Modify By",
})}
</p>
@@ -306,6 +317,7 @@ export default function Room({ booking, roomNr, user }: RoomProps) {
<Typography variant="Body/Paragraph/mdBold">
<p>
{intl.formatMessage({
id: "common.breakfast",
defaultMessage: "Breakfast",
})}
</p>
@@ -321,6 +333,7 @@ export default function Room({ booking, roomNr, user }: RoomProps) {
<Typography variant="Body/Lead text">
<p>
{intl.formatMessage({
id: "booking.roomTotal",
defaultMessage: "Room total",
})}
</p>

View File

@@ -33,6 +33,7 @@ export default function MultiRoom(props: MultiRoomProps) {
<Typography variant="Title/sm">
<h2 className={styles.title}>
{intl.formatMessage({
id: "myStay.yourRooms",
defaultMessage: "Your rooms",
})}
</h2>
@@ -54,6 +55,7 @@ export default function MultiRoom(props: MultiRoomProps) {
<Typography variant="Body/Lead text">
<p>
{intl.formatMessage({
id: "myStay.bookingTotal",
defaultMessage: "Booking total",
})}
{/* eslint-disable-next-line formatjs/no-literal-string-in-jsx */}

View File

@@ -24,6 +24,7 @@ export default function BookingCode() {
>
{intl.formatMessage(
{
id: "booking.bookingCodeWithValue",
defaultMessage: "<strong>Booking code</strong>: {value}",
},
{

View File

@@ -40,6 +40,7 @@ export default function PriceDetails() {
<Typography variant="Body/Lead text">
<p>
{intl.formatMessage({
id: "booking.roomTotal",
defaultMessage: "Room total",
})}
</p>

View File

@@ -15,6 +15,7 @@ export default function BedPreference() {
const mainBedWidthValueMsg = intl.formatMessage(
{
id: "room.bedSize",
defaultMessage: "{value} cm",
},
{
@@ -24,7 +25,8 @@ export default function BedPreference() {
const mainBedWidthRangeMsg = intl.formatMessage(
{
defaultMessage: "{min}{max} cm",
id: "room.bedSizeRange",
defaultMessage: "{min}-{max} cm",
},
{
min: bedType.mainBed.widthRange.min,
@@ -42,6 +44,7 @@ export default function BedPreference() {
icon="bed"
text={text}
title={intl.formatMessage({
id: "booking.bedPreference",
defaultMessage: "Bed preference",
})}
/>

View File

@@ -19,10 +19,12 @@ export default function Breakfast() {
)
let breakfastPrice = intl.formatMessage({
id: "common.noBreakfast",
defaultMessage: "No breakfast",
})
if (rateDefinition.breakfastIncluded) {
breakfastPrice = intl.formatMessage({
id: "common.included",
defaultMessage: "Included",
})
} else if (breakfast) {
@@ -34,6 +36,9 @@ export default function Breakfast() {
)
}
const title = intl.formatMessage({ defaultMessage: "Breakfast" })
const title = intl.formatMessage({
id: "common.breakfast",
defaultMessage: "Breakfast",
})
return <Row icon="coffee" text={breakfastPrice} title={title} />
}

View File

@@ -14,6 +14,7 @@ export default function Guests() {
const adultsMsg = intl.formatMessage(
{
id: "booking.numberOfAdults",
defaultMessage: "{adults, plural, one {# adult} other {# adults}}",
},
{
@@ -23,6 +24,7 @@ export default function Guests() {
const childrenMsg = intl.formatMessage(
{
id: "booking.numberOfChildren",
defaultMessage: "{children, plural, one {# child} other {# children}}",
},
{
@@ -38,6 +40,7 @@ export default function Guests() {
icon="person"
text={childrenAges.length > 0 ? adultsAndChildrenMsg : adultsOnlyMsg}
title={intl.formatMessage({
id: "booking.guests",
defaultMessage: "Guests",
})}
/>

View File

@@ -29,6 +29,7 @@ export default function ModifyBy() {
const text = intl.formatMessage(
{
id: "common.untilWithTimeAndDate",
defaultMessage: "Until {time}, {date}",
},
{
@@ -42,6 +43,7 @@ export default function ModifyBy() {
icon="refresh"
text={text}
title={intl.formatMessage({
id: "booking.changeOrCancel",
defaultMessage: "Change or cancel",
})}
/>

View File

@@ -32,6 +32,7 @@ export default function Packages() {
icon="meeting_room"
text={packages.join(", ")}
title={intl.formatMessage({
id: "booking.roomClassification",
defaultMessage: "Room classification",
})}
/>

View File

@@ -42,6 +42,7 @@ export default function Terms() {
icon="contract"
text={rateTerm.title}
title={intl.formatMessage({
id: "booking.terms",
defaultMessage: "Terms",
})}
>

View File

@@ -27,6 +27,7 @@ export default function Header({ user }: { user: SafeUser }) {
<span>
{intl.formatMessage(
{
id: "booking.roomIndex",
defaultMessage: "Room {roomIndex}",
},
{
@@ -40,6 +41,7 @@ export default function Header({ user }: { user: SafeUser }) {
<Typography variant="Body/Paragraph/mdBold">
<span>
{intl.formatMessage({
id: "common.bookingNumber",
defaultMessage: "Booking number",
})}
{/* eslint-disable-next-line formatjs/no-literal-string-in-jsx */}

View File

@@ -43,7 +43,10 @@ export default function RoomDetailsSidePeek({
})
}}
>
{intl.formatMessage({ defaultMessage: "See room details" })}
{intl.formatMessage({
id: "hotel.seeRoomDetails",
defaultMessage: "See room details",
})}
<MaterialIcon icon="chevron_right" size={14} color="CurrentColor" />
</Button>
<SidePeekSelfControlled