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:
@@ -41,6 +41,7 @@ export default function Multiroom() {
|
||||
<Title level="h2" as="h4">
|
||||
{intl.formatMessage(
|
||||
{
|
||||
id: "booking.roomIndex",
|
||||
defaultMessage: "Room {roomIndex}",
|
||||
},
|
||||
{
|
||||
@@ -54,8 +55,14 @@ export default function Multiroom() {
|
||||
|
||||
{room.bedTypes.length ? (
|
||||
<Section
|
||||
header={intl.formatMessage({ defaultMessage: "Bed preference" })}
|
||||
label={intl.formatMessage({ defaultMessage: "Preferred bed type" })}
|
||||
header={intl.formatMessage({
|
||||
id: "booking.bedPreference",
|
||||
defaultMessage: "Bed preference",
|
||||
})}
|
||||
label={intl.formatMessage({
|
||||
id: "enterDetails.bedPreference.description",
|
||||
defaultMessage: "Preferred bed type",
|
||||
})}
|
||||
additionalInfo={bedTypeInfoText}
|
||||
step={EnterDetailsStepEnum.selectBed}
|
||||
>
|
||||
@@ -66,9 +73,11 @@ export default function Multiroom() {
|
||||
{showBreakfastStep ? (
|
||||
<Section
|
||||
header={intl.formatMessage({
|
||||
id: "common.breakfast",
|
||||
defaultMessage: "Breakfast",
|
||||
})}
|
||||
label={intl.formatMessage({
|
||||
id: "enterDetails.breakfast.description",
|
||||
defaultMessage: "Select breakfast options",
|
||||
})}
|
||||
step={EnterDetailsStepEnum.breakfast}
|
||||
@@ -79,10 +88,12 @@ export default function Multiroom() {
|
||||
|
||||
<Section
|
||||
header={intl.formatMessage({
|
||||
id: "enterDetails.details.title",
|
||||
defaultMessage: "Details",
|
||||
})}
|
||||
step={EnterDetailsStepEnum.details}
|
||||
label={intl.formatMessage({
|
||||
id: "enterDetails.details.description",
|
||||
defaultMessage: "Contact details",
|
||||
})}
|
||||
>
|
||||
|
||||
@@ -45,6 +45,7 @@ export default function RoomOne({ user }: { user: User | null }) {
|
||||
<Title level="h2" as="h4">
|
||||
{intl.formatMessage(
|
||||
{
|
||||
id: "booking.roomIndex",
|
||||
defaultMessage: "Room {roomIndex}",
|
||||
},
|
||||
{
|
||||
@@ -59,8 +60,14 @@ export default function RoomOne({ user }: { user: User | null }) {
|
||||
|
||||
{room.bedTypes ? (
|
||||
<Section
|
||||
header={intl.formatMessage({ defaultMessage: "Bed preference" })}
|
||||
label={intl.formatMessage({ defaultMessage: "Preferred bed type" })}
|
||||
header={intl.formatMessage({
|
||||
id: "booking.bedPreference",
|
||||
defaultMessage: "Bed preference",
|
||||
})}
|
||||
label={intl.formatMessage({
|
||||
id: "enterDetails.bedPreference.description",
|
||||
defaultMessage: "Preferred bed type",
|
||||
})}
|
||||
additionalInfo={bedTypeInfoText}
|
||||
step={EnterDetailsStepEnum.selectBed}
|
||||
>
|
||||
@@ -71,9 +78,11 @@ export default function RoomOne({ user }: { user: User | null }) {
|
||||
{showBreakfastStep ? (
|
||||
<Section
|
||||
header={intl.formatMessage({
|
||||
id: "common.breakfast",
|
||||
defaultMessage: "Breakfast",
|
||||
})}
|
||||
label={intl.formatMessage({
|
||||
id: "enterDetails.breakfast.description",
|
||||
defaultMessage: "Select breakfast options",
|
||||
})}
|
||||
step={EnterDetailsStepEnum.breakfast}
|
||||
@@ -84,10 +93,12 @@ export default function RoomOne({ user }: { user: User | null }) {
|
||||
|
||||
<Section
|
||||
header={intl.formatMessage({
|
||||
id: "enterDetails.details.title",
|
||||
defaultMessage: "Details",
|
||||
})}
|
||||
step={EnterDetailsStepEnum.details}
|
||||
label={intl.formatMessage({
|
||||
id: "enterDetails.details.description",
|
||||
defaultMessage: "Contact details",
|
||||
})}
|
||||
>
|
||||
|
||||
@@ -6,10 +6,12 @@ export function getBedTypeInfoText(
|
||||
hasMultipleBedTypes: boolean
|
||||
) {
|
||||
const availabilityText = intl.formatMessage({
|
||||
id: "booking.subjectToAvailability",
|
||||
defaultMessage: "Subject to availability",
|
||||
})
|
||||
|
||||
const extraBedText = intl.formatMessage({
|
||||
id: "enterDetails.room.extraBedText",
|
||||
defaultMessage: "Extra bed will be provided additionally",
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user