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:
Joakim Jäderberg
2025-10-22 11:00:03 +00:00
parent bdfe2ab213
commit aafad9781f
499 changed files with 93363 additions and 99164 deletions

View File

@@ -18,6 +18,7 @@ export async function getDestinationCityPageDescription(
if (hotelCount === 1) {
const destinationCitySingleHotelDescription = intl.formatMessage(
{
id: "metadata.destinationCitySingleHotel",
defaultMessage:
"Discover our Scandic hotel in {location}. Start your day with a delicious breakfast before exploring {location}. Book your stay at a Scandic hotel now!",
},
@@ -28,6 +29,7 @@ export async function getDestinationCityPageDescription(
}
const destinationCityMultipleHotelDescription = intl.formatMessage(
{
id: "metadata.destinationCityMultipleHotels",
defaultMessage:
"Discover all our {hotelCount} Scandic hotels in {location}. Start your day with a delicious breakfast before exploring {location}. Book your stay at a Scandic hotel now!",
},
@@ -53,6 +55,7 @@ export async function getDestinationCountryPageDescription(
if (!hotelCount) {
destinationCountryDescription = intl.formatMessage(
{
id: "metadata.discoverLocation",
defaultMessage:
"Discover {location}. Enjoy your stay at a Scandic hotel. Book now!",
},
@@ -61,6 +64,7 @@ export async function getDestinationCountryPageDescription(
} else if (!cities || cities.length < 2) {
destinationCountryDescription = intl.formatMessage(
{
id: "metadata.discoverHotelsInLocation",
defaultMessage:
"Discover all our {hotelCount} Scandic hotels in {location}. Enjoy your stay at a Scandic hotel. Book now!",
},
@@ -69,6 +73,7 @@ export async function getDestinationCountryPageDescription(
} else {
destinationCountryDescription = intl.formatMessage(
{
id: "metadata.discoverHotelsInTwoCities",
defaultMessage:
"Discover all our {hotelCount} Scandic hotels in {location}. Explore {city1}, {city2}, and more! All while enjoying your stay at a Scandic hotel. Book now!",
},

View File

@@ -59,13 +59,17 @@ export async function getHotelPageDescription(data: RawMetadataSchema) {
if (!amenities || amenities.length < 4) {
return intl.formatMessage(
{ defaultMessage: "{hotelName} in {location}. Book your stay now!" },
{
id: "metadata.hotelInLocation",
defaultMessage: "{hotelName} in {location}. Book your stay now!",
},
{ hotelName, location }
)
}
const hotelDescription = intl.formatMessage(
{
id: "metadata.hotelInLocationWithAmenities",
defaultMessage:
"{hotelName} in {location} offers {amenity1} and {amenity2}. Guests can also enjoy {amenity3} and {amenity4}. Book your stay at {hotelName} today!",
},
@@ -80,6 +84,7 @@ export async function getHotelPageDescription(data: RawMetadataSchema) {
)
const shortHotelDescription = intl.formatMessage(
{
id: "metadata.hotelInLocationWithAmenitiesShort",
defaultMessage:
"{hotelName} in {location} offers {amenity1} and {amenity2}. Guests can also enjoy {amenity3} and {amenity4}.",
},