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:
@@ -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",
|
||||
})}
|
||||
/>
|
||||
|
||||
@@ -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} />
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
})}
|
||||
/>
|
||||
|
||||
@@ -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",
|
||||
})}
|
||||
/>
|
||||
|
||||
@@ -32,6 +32,7 @@ export default function Packages() {
|
||||
icon="meeting_room"
|
||||
text={packages.join(", ")}
|
||||
title={intl.formatMessage({
|
||||
id: "booking.roomClassification",
|
||||
defaultMessage: "Room classification",
|
||||
})}
|
||||
/>
|
||||
|
||||
@@ -42,6 +42,7 @@ export default function Terms() {
|
||||
icon="contract"
|
||||
text={rateTerm.title}
|
||||
title={intl.formatMessage({
|
||||
id: "booking.terms",
|
||||
defaultMessage: "Terms",
|
||||
})}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user