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