diff --git a/components/ContentType/HotelPage/AmenitiesList/index.tsx b/components/ContentType/HotelPage/AmenitiesList/index.tsx index 5bad0cfb7..7732fcd73 100644 --- a/components/ContentType/HotelPage/AmenitiesList/index.tsx +++ b/components/ContentType/HotelPage/AmenitiesList/index.tsx @@ -3,16 +3,18 @@ import { ChevronRightIcon } from "@/components/Icons" import Button from "@/components/TempDesignSystem/Button" import Body from "@/components/TempDesignSystem/Text/Body" import Subtitle from "@/components/TempDesignSystem/Text/Subtitle" +import { getIntl } from "@/i18n" import styles from "./amenitiesList.module.css" import { HotelData } from "@/types/hotel" -export default function AmenitiesList({ +export default async function AmenitiesList({ detailedFacilities, }: { detailedFacilities: HotelData["data"]["attributes"]["detailedFacilities"] }) { + const { formatMessage } = await getIntl() const sortedAmenities = detailedFacilities .sort((a, b) => b.sortOrder - a.sortOrder) .slice(0, 5) @@ -31,13 +33,14 @@ export default function AmenitiesList({ ) })} + {/*TODO: This should open a side peek. Add once the Side Peek component has been merged. */} diff --git a/i18n/dictionaries/da.json b/i18n/dictionaries/da.json index bf291085e..a45c59815 100644 --- a/i18n/dictionaries/da.json +++ b/i18n/dictionaries/da.json @@ -81,6 +81,7 @@ "Select date of birth": "Vælg fødselsdato", "Select language": "Vælg sprog", "Show more": "Vis mere", + "Show all amenities": "Vis alle faciliteter", "Skip to main content": "Spring over og gå til hovedindhold", "Something went wrong!": "Noget gik galt!", "Street": "Gade", diff --git a/i18n/dictionaries/de.json b/i18n/dictionaries/de.json index 32a5450ff..3daa55820 100644 --- a/i18n/dictionaries/de.json +++ b/i18n/dictionaries/de.json @@ -81,6 +81,7 @@ "Select date of birth": "Geburtsdatum auswählen", "Select language": "Sprache auswählen", "Show more": "Zeig mehr", + "Show all amenities": "Alle Annehmlichkeiten anzeigen", "Skip to main content": "Direkt zum Inhalt", "Something went wrong!": "Etwas ist schief gelaufen!", "Street": "Straße", diff --git a/i18n/dictionaries/en.json b/i18n/dictionaries/en.json index 4e087174a..875f63bed 100644 --- a/i18n/dictionaries/en.json +++ b/i18n/dictionaries/en.json @@ -82,6 +82,7 @@ "Select date of birth": "Select date of birth", "Select language": "Select language", "Show more": "Show more", + "Show all amenities": "Show all amenities", "Skip to main content": "Skip to main content", "Something went wrong!": "Something went wrong!", "Street": "Street", diff --git a/i18n/dictionaries/fi.json b/i18n/dictionaries/fi.json index c4062e528..25e10e809 100644 --- a/i18n/dictionaries/fi.json +++ b/i18n/dictionaries/fi.json @@ -81,6 +81,7 @@ "Select date of birth": "Valitse syntymäaika", "Select language": "Valitse kieli", "Show more": "Näytä lisää", + "Show all amenities": "Näytä kaikki mukavuudet", "Skip to main content": "Siirry pääsisältöön", "Something went wrong!": "Jotain meni pieleen!", "Street": "Katu", diff --git a/i18n/dictionaries/no.json b/i18n/dictionaries/no.json index defa4aabc..3ca70d42d 100644 --- a/i18n/dictionaries/no.json +++ b/i18n/dictionaries/no.json @@ -81,6 +81,7 @@ "Select date of birth": "Velg fødselsdato", "Select language": "Velg språk", "Show more": "Vis mer", + "Show all amenities": "Vis alle fasiliteter", "Skip to main content": "Gå videre til hovedsiden", "Something went wrong!": "Noe gikk galt!", "Street": "Gate", diff --git a/i18n/dictionaries/sv.json b/i18n/dictionaries/sv.json index 976dcd7a1..a80a502c4 100644 --- a/i18n/dictionaries/sv.json +++ b/i18n/dictionaries/sv.json @@ -81,6 +81,7 @@ "Select date of birth": "Välj födelsedatum", "Select language": "Välj språk", "Show more": "Visa mer", + "Show all amenities": "Visa alla bekvämligheter", "Skip to main content": "Fortsätt till huvudinnehåll", "Something went wrong!": "Något gick fel!", "Street": "Gata",