fix(i18n): prepare for Lokalise
This commit is contained in:
@@ -68,7 +68,7 @@ export async function getTitle(data: RawMetadataSchema) {
|
||||
}
|
||||
if (data.hotelData) {
|
||||
return intl.formatMessage(
|
||||
{ id: "Stay at HOTEL_NAME | Hotel in DESTINATION" },
|
||||
{ id: "Stay at {hotelName} | Hotel in {destination}" },
|
||||
{
|
||||
hotelName: data.hotelData.name,
|
||||
destination: data.hotelData.address.city,
|
||||
|
||||
@@ -17,8 +17,6 @@ export const restaurantDaySchema = z.object({
|
||||
export const restaurantOpeningHoursSchema = z.object({
|
||||
isActive: z.boolean(),
|
||||
name: z.string().optional(),
|
||||
openingTime: z.string().optional(),
|
||||
closingTime: z.string().optional(),
|
||||
monday: restaurantDaySchema.optional(),
|
||||
tuesday: restaurantDaySchema.optional(),
|
||||
wednesday: restaurantDaySchema.optional(),
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
"hotelFacilityDetail": {
|
||||
"breakfast": {
|
||||
"heading": "Breakfast",
|
||||
"description": "Breakfast buffet is always included. It’s a tasty mix with healthy and allergy friendly alternatives."
|
||||
"description": "Breakfast buffet is always included. It's a tasty mix with healthy and allergy friendly alternatives."
|
||||
},
|
||||
"checkout": {
|
||||
"heading": "Check out",
|
||||
@@ -59,7 +59,7 @@
|
||||
},
|
||||
"gym": {
|
||||
"heading": "Gym",
|
||||
"description": "Our beds are comfy, but a workout will cheer you up as well. Have a run on the treadmill or work out in our well-equipped gym – it’s free when staying with us."
|
||||
"description": "Our beds are comfy, but a workout will cheer you up as well. Have a run on the treadmill or work out in our well-equipped gym – it's free when staying with us."
|
||||
},
|
||||
"internet": {
|
||||
"heading": "Internet",
|
||||
@@ -67,15 +67,15 @@
|
||||
},
|
||||
"laundry": {
|
||||
"heading": "Laundry",
|
||||
"description": "Got laundry that needs taking care of? Just dial 9 for the reception, and we’ll take care of it."
|
||||
"description": "Got laundry that needs taking care of? Just dial 9 for the reception, and we'll take care of it."
|
||||
},
|
||||
"luggage": {
|
||||
"heading": "Luggage",
|
||||
"description": "Do you need to store any luggage after check out? Speak to the reception and we’ll store it for you."
|
||||
"description": "Do you need to store any luggage after check out? Speak to the reception and we'll store it for you."
|
||||
},
|
||||
"shop": {
|
||||
"heading": "Shop",
|
||||
"description": "When the craving sets in, there’s freshly brewed coffee and lighter meals in our shop to bring up to your room. You can also find necessities such as a toothbrush. \\r\\n \\r\\nOur shop is open around the clock, you will find it next to the reception."
|
||||
"description": "When the craving sets in, there's freshly brewed coffee and lighter meals in our shop to bring up to your room. You can also find necessities such as a toothbrush. \\r\\n \\r\\nOur shop is open around the clock, you will find it next to the reception."
|
||||
},
|
||||
"telephone": {
|
||||
"heading": "Telephone",
|
||||
@@ -94,7 +94,7 @@
|
||||
},
|
||||
"sustainability": {
|
||||
"heading": "Sustainability Information",
|
||||
"description": "In 1993, Scandic decided to become a leader in sustainability and drive the development of sustainability in the hotel sector. It was at Scandic that the idea to “hang up your towel if you want to use it again” was formed – an idea that is now the standard in the hotel industry around the world. Sustainability is a part of our values – an integral element of all of the operations that Scandic’s team members manifest in daily work.",
|
||||
"description": "In 1993, Scandic decided to become a leader in sustainability and drive the development of sustainability in the hotel sector. It was at Scandic that the idea to “hang up your towel if you want to use it again” was formed – an idea that is now the standard in the hotel industry around the world. Sustainability is a part of our values – an integral element of all of the operations that Scandic's team members manifest in daily work.",
|
||||
"link": "https://www.youtube.com/watch?v=0td9PfNfT1A"
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user