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:
@@ -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>
|
||||
|
||||
@@ -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 */}
|
||||
|
||||
Reference in New Issue
Block a user