fix: sync English labels

This commit is contained in:
Michael Zetterberg
2025-06-03 11:57:52 +02:00
parent 12b22ba8cd
commit 17f1a59e97
4 changed files with 15 additions and 19 deletions

View File

@@ -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,