feat(SW-880): add translations
This commit is contained in:
committed by
Joakim Jäderberg
parent
edc65af74e
commit
c1152109c3
@@ -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
|
||||
}
|
||||
|
||||
@@ -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.",
|
||||
|
||||
@@ -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.",
|
||||
|
||||
@@ -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.",
|
||||
|
||||
@@ -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.",
|
||||
|
||||
@@ -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.",
|
||||
|
||||
@@ -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.",
|
||||
|
||||
Reference in New Issue
Block a user