fix: sync English labels
This commit is contained in:
@@ -29,11 +29,11 @@ export async function translateWellnessDetails({
|
|||||||
case SaunaDetails.SeparateMenAndWomen:
|
case SaunaDetails.SeparateMenAndWomen:
|
||||||
if (value === "True") {
|
if (value === "True") {
|
||||||
return intl.formatMessage({
|
return intl.formatMessage({
|
||||||
defaultMessage: "Separate men and women: Yes",
|
defaultMessage: "Gender-separated sauna",
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
return intl.formatMessage({
|
return intl.formatMessage({
|
||||||
defaultMessage: "Separate men and women: No",
|
defaultMessage: "Mixed-gender sauna",
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -143,7 +143,7 @@ export function getPageSectionsData(
|
|||||||
heading:
|
heading:
|
||||||
sectionHeadings?.conferences_meetings ||
|
sectionHeadings?.conferences_meetings ||
|
||||||
intl.formatMessage({
|
intl.formatMessage({
|
||||||
defaultMessage: "Meetings & Conferences",
|
defaultMessage: "Meetings & conferences",
|
||||||
}),
|
}),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -478,7 +478,7 @@ function BreakfastPriceList() {
|
|||||||
<span>
|
<span>
|
||||||
{intl.formatMessage(
|
{intl.formatMessage(
|
||||||
{
|
{
|
||||||
defaultMessage: "{price} / Years 4-12 / Night",
|
defaultMessage: "{price}/night for kids (ages 4–12)",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
price: `${breakfastData.priceChild} ${breakfastData.currency}`,
|
price: `${breakfastData.priceChild} ${breakfastData.currency}`,
|
||||||
@@ -496,15 +496,11 @@ function BreakfastPriceList() {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Typography variant="Body/Paragraph/mdBold">
|
<Typography variant="Body/Paragraph/mdBold">
|
||||||
{/* eslint-disable-next-line formatjs/no-literal-string-in-jsx */}
|
<span>
|
||||||
<span>{`${intl.formatMessage({
|
{intl.formatMessage({
|
||||||
defaultMessage: "Free",
|
defaultMessage: "Free for kids (under 4)",
|
||||||
})} / ${intl.formatMessage(
|
})}
|
||||||
{
|
</span>
|
||||||
defaultMessage: "Under {age} years",
|
|
||||||
},
|
|
||||||
{ age: 4 }
|
|
||||||
)}`}</span>
|
|
||||||
</Typography>
|
</Typography>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ export async function getTitle(data: RawMetadataSchema) {
|
|||||||
const reviewsTitleLong = intl.formatMessage(
|
const reviewsTitleLong = intl.formatMessage(
|
||||||
{
|
{
|
||||||
defaultMessage:
|
defaultMessage:
|
||||||
"Ratings and reviews for {hotelName} in {destination}",
|
"Ratings & reviews for {hotelName} in {destination}",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
hotelName: data.hotelData.name,
|
hotelName: data.hotelData.name,
|
||||||
@@ -55,7 +55,7 @@ export async function getTitle(data: RawMetadataSchema) {
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
const reviewsTitleShort = intl.formatMessage(
|
const reviewsTitleShort = intl.formatMessage(
|
||||||
{ defaultMessage: "Ratings and reviews for {hotelName}" },
|
{ defaultMessage: "Ratings & reviews for {hotelName}" },
|
||||||
{ hotelName: data.hotelData.name }
|
{ hotelName: data.hotelData.name }
|
||||||
)
|
)
|
||||||
if (reviewsTitleLong.length > 60) {
|
if (reviewsTitleLong.length > 60) {
|
||||||
@@ -86,7 +86,7 @@ export async function getTitle(data: RawMetadataSchema) {
|
|||||||
const wellnessTitleLong = intl.formatMessage(
|
const wellnessTitleLong = intl.formatMessage(
|
||||||
{
|
{
|
||||||
defaultMessage:
|
defaultMessage:
|
||||||
"Gym & Health Facilities at {hotelName} in {destination}",
|
"Gym & health facilities at {hotelName} in {destination}",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
hotelName: data.hotelData.name,
|
hotelName: data.hotelData.name,
|
||||||
@@ -95,7 +95,7 @@ export async function getTitle(data: RawMetadataSchema) {
|
|||||||
)
|
)
|
||||||
const wellnessTitleShort = intl.formatMessage(
|
const wellnessTitleShort = intl.formatMessage(
|
||||||
{
|
{
|
||||||
defaultMessage: "Gym & Health Facilities at {hotelName}",
|
defaultMessage: "Gym & health facilities at {hotelName}",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
hotelName: data.hotelData.name,
|
hotelName: data.hotelData.name,
|
||||||
@@ -134,7 +134,7 @@ export async function getTitle(data: RawMetadataSchema) {
|
|||||||
const meetingsTitleLong = intl.formatMessage(
|
const meetingsTitleLong = intl.formatMessage(
|
||||||
{
|
{
|
||||||
defaultMessage:
|
defaultMessage:
|
||||||
"Meetings & Conferences at {hotelName} in {destination}",
|
"Meetings & conferences at {hotelName} in {destination}",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
hotelName: data.hotelData.name,
|
hotelName: data.hotelData.name,
|
||||||
@@ -143,7 +143,7 @@ export async function getTitle(data: RawMetadataSchema) {
|
|||||||
)
|
)
|
||||||
const meetingsTitleShort = intl.formatMessage(
|
const meetingsTitleShort = intl.formatMessage(
|
||||||
{
|
{
|
||||||
defaultMessage: "Meetings & Conferences at {hotelName}",
|
defaultMessage: "Meetings & conferences at {hotelName}",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
hotelName: data.hotelData.name,
|
hotelName: data.hotelData.name,
|
||||||
|
|||||||
Reference in New Issue
Block a user