From c1152109c38f9b593660d3fbf27eb0a1ca119f74 Mon Sep 17 00:00:00 2001 From: Fredrik Thorsson Date: Thu, 14 Nov 2024 22:38:53 +0100 Subject: [PATCH] feat(SW-880): add translations --- .../ContentType/HotelPage/SidePeeks/Utils/getType.ts | 7 ++++++- i18n/dictionaries/da.json | 2 ++ i18n/dictionaries/de.json | 2 ++ i18n/dictionaries/en.json | 2 ++ i18n/dictionaries/fi.json | 2 ++ i18n/dictionaries/no.json | 2 ++ i18n/dictionaries/sv.json | 2 ++ 7 files changed, 18 insertions(+), 1 deletion(-) diff --git a/components/ContentType/HotelPage/SidePeeks/Utils/getType.ts b/components/ContentType/HotelPage/SidePeeks/Utils/getType.ts index 9cab458c7..1a6f87a63 100644 --- a/components/ContentType/HotelPage/SidePeeks/Utils/getType.ts +++ b/components/ContentType/HotelPage/SidePeeks/Utils/getType.ts @@ -3,21 +3,26 @@ import { getIntl } from "@/i18n" export async function getFacilityType(type: string) { const intl = await getIntl() - /* TODO: Get full list of types */ const outdoorPool = intl.formatMessage({ id: "Outdoor pool" }) + const indoorPool = intl.formatMessage({ id: "Indoor pool" }) const sauna = intl.formatMessage({ id: "Sauna" }) const relax = intl.formatMessage({ id: "Relax" }) const gym = intl.formatMessage({ id: "Gym" }) + const jacuzzi = intl.formatMessage({ id: "Jacuzzi" }) switch (type) { case "OutdoorPool": return outdoorPool + case "IndoorPool": + return indoorPool case "Sauna": return sauna case "Relax": return relax case "Gym": return gym + case "Jacuzzi": + return jacuzzi default: return type } diff --git a/i18n/dictionaries/da.json b/i18n/dictionaries/da.json index 232348983..14c46b7be 100644 --- a/i18n/dictionaries/da.json +++ b/i18n/dictionaries/da.json @@ -160,7 +160,9 @@ "In crib": "i tremmeseng", "In extra bed": "i ekstra seng", "Included": "Inkluderet", + "Indoor pool": "Indendørs pool", "It is not posible to manage your communication preferences right now, please try again later or contact support if the problem persists.": "Det er ikke muligt at administrere dine kommunikationspræferencer lige nu, prøv venligst igen senere eller kontakt support, hvis problemet fortsætter.", + "Jacuzzi": "Jacuzzi", "Join Scandic Friends": "Tilmeld dig Scandic Friends", "Join at no cost": "Tilmeld dig uden omkostninger", "Join or log in while booking for member pricing.": "Tilmeld dig eller log ind under booking for medlemspris.", diff --git a/i18n/dictionaries/de.json b/i18n/dictionaries/de.json index d025df242..403f0db22 100644 --- a/i18n/dictionaries/de.json +++ b/i18n/dictionaries/de.json @@ -160,7 +160,9 @@ "In crib": "im Kinderbett", "In extra bed": "im zusätzlichen Bett", "Included": "Iinklusive", + "Indoor pool": "Innenpool", "It is not posible to manage your communication preferences right now, please try again later or contact support if the problem persists.": "Es ist derzeit nicht möglich, Ihre Kommunikationseinstellungen zu verwalten. Bitte versuchen Sie es später erneut oder wenden Sie sich an den Support, wenn das Problem weiterhin besteht.", + "Jacuzzi": "Whirlpool", "Join Scandic Friends": "Treten Sie Scandic Friends bei", "Join at no cost": "Kostenlos beitreten", "Join or log in while booking for member pricing.": "Treten Sie Scandic Friends bei oder loggen Sie sich ein, um den Mitgliederpreis zu erhalten.", diff --git a/i18n/dictionaries/en.json b/i18n/dictionaries/en.json index c7d7336a5..2bb99e5f2 100644 --- a/i18n/dictionaries/en.json +++ b/i18n/dictionaries/en.json @@ -172,7 +172,9 @@ "In crib": "In crib", "In extra bed": "In extra bed", "Included": "Included", + "Indoor pool": "Indoor pool", "It is not posible to manage your communication preferences right now, please try again later or contact support if the problem persists.": "It is not posible to manage your communication preferences right now, please try again later or contact support if the problem persists.", + "Jacuzzi": "Jacuzzi", "Join Scandic Friends": "Join Scandic Friends", "Join at no cost": "Join at no cost", "Join or log in while booking for member pricing.": "Join or log in while booking for member pricing.", diff --git a/i18n/dictionaries/fi.json b/i18n/dictionaries/fi.json index add731307..bfaa69ec6 100644 --- a/i18n/dictionaries/fi.json +++ b/i18n/dictionaries/fi.json @@ -160,7 +160,9 @@ "In crib": "Pinnasängyssä", "In extra bed": "Oma vuodepaikka", "Included": "Sisälly hintaan", + "Indoor pool": "Sisäuima-allas", "It is not posible to manage your communication preferences right now, please try again later or contact support if the problem persists.": "Viestintäasetuksiasi ei voi hallita juuri nyt. Yritä myöhemmin uudelleen tai ota yhteyttä tukeen, jos ongelma jatkuu.", + "Jacuzzi": "Poreallas", "Join Scandic Friends": "Liity jäseneksi", "Join at no cost": "Liity maksutta", "Join or log in while booking for member pricing.": "Liity tai kirjaudu sisään, kun varaat jäsenhinnan.", diff --git a/i18n/dictionaries/no.json b/i18n/dictionaries/no.json index 4c6415e42..b593f1c83 100644 --- a/i18n/dictionaries/no.json +++ b/i18n/dictionaries/no.json @@ -158,7 +158,9 @@ "In crib": "i sprinkelseng", "In extra bed": "i ekstraseng", "Included": "Inkludert", + "Indoor pool": "Innendørs basseng", "It is not posible to manage your communication preferences right now, please try again later or contact support if the problem persists.": "Det er ikke mulig å administrere kommunikasjonspreferansene dine akkurat nå, prøv igjen senere eller kontakt support hvis problemet vedvarer.", + "Jacuzzi": "Boblebad", "Join Scandic Friends": "Bli med i Scandic Friends", "Join at no cost": "Bli med uten kostnad", "Join or log in while booking for member pricing.": "Bli med eller logg inn under bestilling for medlemspris.", diff --git a/i18n/dictionaries/sv.json b/i18n/dictionaries/sv.json index 47c8096ca..05c775020 100644 --- a/i18n/dictionaries/sv.json +++ b/i18n/dictionaries/sv.json @@ -158,7 +158,9 @@ "In crib": "I spjälsäng", "In extra bed": "Egen sängplats", "Included": "Inkluderad", + "Indoor pool": "Inomhuspool", "It is not posible to manage your communication preferences right now, please try again later or contact support if the problem persists.": "Det gick inte att hantera dina kommunikationsinställningar just nu, försök igen senare eller kontakta supporten om problemet kvarstår.", + "Jacuzzi": "Jacuzzi", "Join Scandic Friends": "Gå med i Scandic Friends", "Join at no cost": "Gå med utan kostnad", "Join or log in while booking for member pricing.": "Bli medlem eller logga in när du bokar för medlemspriser.",