Merged in fix/remove-filter-to-show-all-hotels (pull request #925)
Fix/remove filter to show all hotels * fix: remove filter to show all hotels on select-hotel-page * fix: add missing translations Approved-by: Pontus Dreij
This commit is contained in:
@@ -356,6 +356,7 @@
|
||||
"This room is not available": "Dette værelse er ikke tilgængeligt",
|
||||
"To get the member price <span>{amount} {currency}</span>, log in or join when completing the booking.": "For at få medlemsprisen <span>{amount} {currency}</span>, log ind eller tilmeld dig, når du udfylder bookingen.",
|
||||
"To secure your reservation, we kindly ask you to provide your payment card details. Rest assured, no charges will be made at this time.": "For at sikre din reservation, beder vi om at du giver os dine betalingsoplysninger. Du kan så være sikker på, at ingen gebyrer vil blive opkrævet på dette tidspunkt.",
|
||||
"Total": "Total",
|
||||
"Total Points": "Samlet antal point",
|
||||
"Total price": "Samlet pris",
|
||||
"Total price (incl VAT)": "Samlet pris (inkl. moms)",
|
||||
|
||||
@@ -354,6 +354,7 @@
|
||||
"This room is not available": "Dieses Zimmer ist nicht verfügbar",
|
||||
"To get the member price <span>{amount} {currency}</span>, log in or join when completing the booking.": "Um den Mitgliederpreis von <span>{amount} {currency}</span> zu erhalten, loggen Sie sich ein oder treten Sie Scandic Friends bei, wenn Sie die Buchung abschließen.",
|
||||
"To secure your reservation, we kindly ask you to provide your payment card details. Rest assured, no charges will be made at this time.": "Um Ihre Reservierung zu sichern, bitten wir Sie, Ihre Zahlungskarteninformationen zu geben. Sie können sicher sein, dass keine Gebühren zu diesem Zeitpunkt erhoben werden.",
|
||||
"Total": "Gesamt",
|
||||
"Total Points": "Gesamtpunktzahl",
|
||||
"Total price": "Gesamtpreis",
|
||||
"Total price (incl VAT)": "Gesamtpreis (inkl. MwSt.)",
|
||||
|
||||
@@ -384,6 +384,7 @@
|
||||
"This room is not available": "This room is not available",
|
||||
"To get the member price <span>{amount} {currency}</span>, log in or join when completing the booking.": "To get the member price <span>{amount} {currency}</span>, log in or join when completing the booking.",
|
||||
"To secure your reservation, we kindly ask you to provide your payment card details. Rest assured, no charges will be made at this time.": "To secure your reservation, we kindly ask you to provide your payment card details. Rest assured, no charges will be made at this time.",
|
||||
"Total": "Total",
|
||||
"Total Points": "Total Points",
|
||||
"Total cost": "Total cost",
|
||||
"Total price": "Total price",
|
||||
|
||||
@@ -356,6 +356,7 @@
|
||||
"This room is not available": "Tämä huone ei ole käytettävissä",
|
||||
"To get the member price <span>{amount} {currency}</span>, log in or join when completing the booking.": "Jäsenhintaan saavat sisäänkirjautuneet tai liittyneet jäsenet.",
|
||||
"To secure your reservation, we kindly ask you to provide your payment card details. Rest assured, no charges will be made at this time.": "Varmistaaksesi varauksen, pyydämme sinua antamaan meille maksukortin tiedot. Varmista, että ei veloiteta maksusi tällä hetkellä.",
|
||||
"Total": "Kokonais",
|
||||
"Total Points": "Kokonaispisteet",
|
||||
"Total price": "Kokonaishinta",
|
||||
"Total price (incl VAT)": "Kokonaishinta (sis. ALV)",
|
||||
|
||||
@@ -353,6 +353,7 @@
|
||||
"This room is not available": "Dette rommet er ikke tilgjengelig",
|
||||
"To get the member price <span>{amount} {currency}</span>, log in or join when completing the booking.": "For å få medlemsprisen <span>{amount} {currency}</span>, logg inn eller bli med når du fullfører bestillingen.",
|
||||
"To secure your reservation, we kindly ask you to provide your payment card details. Rest assured, no charges will be made at this time.": "For å sikre din reservasjon, ber vi om at du gir oss dine betalingskortdetaljer. Vær sikker på at ingen gebyrer vil bli belastet på dette tidspunktet.",
|
||||
"Total": "Total",
|
||||
"Total Points": "Totale poeng",
|
||||
"Total incl VAT": "Sum inkl mva",
|
||||
"Total price": "Totalpris",
|
||||
|
||||
@@ -353,6 +353,7 @@
|
||||
"This room is not available": "Detta rum är inte tillgängligt",
|
||||
"To get the member price <span>{amount} {currency}</span>, log in or join when completing the booking.": "För att få medlemsprisen <span>{amount} {currency}</span>, logga in eller bli medlem när du slutför bokningen.",
|
||||
"To secure your reservation, we kindly ask you to provide your payment card details. Rest assured, no charges will be made at this time.": "För att säkra din bokning ber vi om att du ger oss dina betalkortdetaljer. Välj säker på att ingen avgifter kommer att debiteras just nu.",
|
||||
"Total": "Totalt",
|
||||
"Total Points": "Poäng totalt",
|
||||
"Total incl VAT": "Totalt inkl moms",
|
||||
"Total price": "Totalpris",
|
||||
|
||||
@@ -105,7 +105,7 @@ const hotelContentSchema = z.object({
|
||||
imageSizes: imageSizesSchema,
|
||||
}),
|
||||
texts: z.object({
|
||||
facilityInformation: z.string(),
|
||||
facilityInformation: z.string().optional(),
|
||||
surroundingInformation: z.string(),
|
||||
descriptions: z.object({
|
||||
short: z.string(),
|
||||
|
||||
@@ -468,12 +468,9 @@ export const hotelQueryRouter = router({
|
||||
})
|
||||
)
|
||||
return {
|
||||
availability: validateAvailabilityData.data.data
|
||||
.filter(
|
||||
(hotels) =>
|
||||
hotels.attributes.status === AvailabilityEnum.Available
|
||||
)
|
||||
.flatMap((hotels) => hotels.attributes),
|
||||
availability: validateAvailabilityData.data.data.flatMap(
|
||||
(hotels) => hotels.attributes
|
||||
),
|
||||
}
|
||||
}),
|
||||
rooms: serviceProcedure
|
||||
|
||||
@@ -11,8 +11,8 @@ const roomContentSchema = z.object({
|
||||
),
|
||||
texts: z.object({
|
||||
descriptions: z.object({
|
||||
short: z.string(),
|
||||
medium: z.string(),
|
||||
short: z.string().optional(),
|
||||
medium: z.string().optional(),
|
||||
}),
|
||||
}),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user