diff --git a/components/Loyalty/Blocks/DynamicContent/LoyaltyLevels/data/FI.json b/components/Loyalty/Blocks/DynamicContent/LoyaltyLevels/data/FI.json index 0cafc660c..dcd499757 100644 --- a/components/Loyalty/Blocks/DynamicContent/LoyaltyLevels/data/FI.json +++ b/components/Loyalty/Blocks/DynamicContent/LoyaltyLevels/data/FI.json @@ -49,7 +49,7 @@ "requiredNights": 0, "benefits": [ { - "title": "Ansaintakerroin 25 %" + "title": "Ansaintakerroin +25 %" }, { "title": "Aikainen sisäänkirjautuminen – 1 tunti lisäaikaa varaustilanteen mukaan" diff --git a/components/Loyalty/Blocks/DynamicContent/LoyaltyLevels/index.tsx b/components/Loyalty/Blocks/DynamicContent/LoyaltyLevels/index.tsx index 9810488ac..ef7e0bbf9 100644 --- a/components/Loyalty/Blocks/DynamicContent/LoyaltyLevels/index.tsx +++ b/components/Loyalty/Blocks/DynamicContent/LoyaltyLevels/index.tsx @@ -75,7 +75,7 @@ function LevelCard({ formatMessage, lang, level }: LevelCardProps) { notFound() } } - const pointsString = `${level.requiredPoints.toLocaleString(lang)} ${formatMessage({ id: "Points" })} ` + const pointsString = `${level.requiredPoints.toLocaleString(lang)} ${formatMessage({ id: "points" })} ` return (
diff --git a/components/Loyalty/Blocks/DynamicContent/OverviewTable/data/DA.json b/components/Loyalty/Blocks/DynamicContent/OverviewTable/data/DA.json index 5833aa657..8c10a14fc 100644 --- a/components/Loyalty/Blocks/DynamicContent/OverviewTable/data/DA.json +++ b/components/Loyalty/Blocks/DynamicContent/OverviewTable/data/DA.json @@ -307,7 +307,7 @@ "level": 5, "name": "Loyal Friend", "requirement": "100 000p", - "description": "Du har været hos os på mange ophold, så derfor vil vi gerne give dig nogle af vores bedste bonusser.", + "description": "Du har været hos os på mange ophold, så derfor vil vi gerne give dig nogle af vores bedste fordele.", "icon": "/_static/icons/loyaltylevels/loyal-friend.svg", "benefits": [ { diff --git a/components/MyPages/Blocks/Benefits/NextLevel/index.tsx b/components/MyPages/Blocks/Benefits/NextLevel/index.tsx index 9f6a904dc..4b1815d52 100644 --- a/components/MyPages/Blocks/Benefits/NextLevel/index.tsx +++ b/components/MyPages/Blocks/Benefits/NextLevel/index.tsx @@ -16,7 +16,7 @@ import { getMembershipLevelObject } from "@/utils/membershipLevel" import styles from "./next.module.css" -import { AccountPageComponentProps } from "@/types/components/myPages/myPage/accountPage" +import type { AccountPageComponentProps } from "@/types/components/myPages/myPage/accountPage" export default async function NextLevelBenefitsBlock({ title, @@ -49,7 +49,7 @@ export default async function NextLevelBenefitsBlock({
- {formatMessage({ id: "As our" })} {nextLevel.name} + {formatMessage({ id: "As our" }, { level: nextLevel.name })} {" "} <Body color="white" textTransform="bold" textAlign="center"> - {formatter.format(membership.pointsToExpire)}{" "} - {formatMessage({ id: "spendable points expiring by" })}{" "} - {d.format("YYYY-MM-DD")} + {formatMessage( + { id: "spendable points expiring by" }, + { + points: formatter.format(membership.pointsToExpire), + date: d.format(dateFormat), + } + )} </Body> </section> ) diff --git a/i18n/dictionaries/da.json b/i18n/dictionaries/da.json index 0e25eebcf..ce1196a99 100644 --- a/i18n/dictionaries/da.json +++ b/i18n/dictionaries/da.json @@ -12,7 +12,7 @@ "An error occurred when trying to update profile.": "Der opstod en fejl under forsøg på at opdatere profilen.", "Arrival date": "Ankomstdato", "as of today": "fra idag", - "As our": "Som vores", + "As our": "Som vores {level}", "As our Close Friend": "Som vores nære ven", "At the hotel": "På hotellet", "Book": "Book", @@ -105,12 +105,13 @@ "Phone number": "Telefonnummer", "Please enter a valid phone number": "Indtast venligst et gyldigt telefonnummer", "Points": "Point", + "points": "Point", "Points being calculated": "Point udregnes", "Points earned prior to May 1, 2021": "Point optjent inden 1. maj 2021", "Points may take up to 10 days to be displayed.": "Det kan tage op til 10 dage at få vist point.", "Points needed to level up": "Point nødvendige for at stige i niveau", "Points needed to stay on level": "Point nødvendige for at holde sig på niveau", - "spendable points expiring by": "Brugbare point udløber den", + "spendable points expiring by": "{points} Brugbare point udløber den {date}", "Previous victories": "Tidligere sejre", "Read more": "Læs mere", "Read more about the hotel": "Læs mere om hotellet", diff --git a/i18n/dictionaries/de.json b/i18n/dictionaries/de.json index ce07af5af..476cfc598 100644 --- a/i18n/dictionaries/de.json +++ b/i18n/dictionaries/de.json @@ -11,7 +11,7 @@ "An error occurred when trying to update profile.": "Beim Versuch, das Profil zu aktualisieren, ist ein Fehler aufgetreten.", "Arrival date": "Ankunftsdatum", "as of today": "Stand heute", - "As our": "Als unser", + "As our": "Als unser {level}", "As our Close Friend": "Als unser enger Freund", "At the hotel": "Im Hotel", "Book": "Buchen", @@ -102,12 +102,13 @@ "Phone number": "Telefonnummer", "Please enter a valid phone number": "Bitte geben Sie eine gültige Telefonnummer ein", "Points": "Punkte", + "points": "Punkte", "Points being calculated": "Punkte werden berechnet", "Points earned prior to May 1, 2021": "Zusammengeführte Punkte vor dem 1. Mai 2021", "Points may take up to 10 days to be displayed.": "Es kann bis zu 10 Tage dauern, bis Punkte angezeigt werden.", "Points needed to level up": "Punkte, die zum Levelaufstieg benötigt werden", "Points needed to stay on level": "Erforderliche Punkte, um auf diesem Level zu bleiben", - "spendable points expiring by": "Einlösbare punkte verfallen bis zum", + "spendable points expiring by": "{points} Einlösbare punkte verfallen bis zum {date}", "Previous victories": "Bisherige Siege", "Read more": "Mehr lesen", "Read more about the hotel": "Lesen Sie mehr über das Hotel", @@ -181,4 +182,4 @@ "Use bonus cheque": "Bonusscheck nutzen", "Book reward night": "Bonusnacht buchen", "Find hotels": "Hotels finden" -} \ No newline at end of file +} diff --git a/i18n/dictionaries/en.json b/i18n/dictionaries/en.json index 9725744f5..d164ae04e 100644 --- a/i18n/dictionaries/en.json +++ b/i18n/dictionaries/en.json @@ -12,7 +12,7 @@ "An error occurred when trying to update profile.": "An error occurred when trying to update profile.", "Arrival date": "Arrival date", "as of today": "as of today", - "As our": "As our", + "As our": "As our {level}", "As our Close Friend": "As our Close Friend", "At the hotel": "At the hotel", "Book": "Book", @@ -110,12 +110,13 @@ "Phone number": "Phone number", "Please enter a valid phone number": "Please enter a valid phone number", "Points": "Points", + "points": "Points", "Points being calculated": "Points being calculated", "Points earned prior to May 1, 2021": "Points earned prior to May 1, 2021", "Points may take up to 10 days to be displayed.": "Points may take up to 10 days to be displayed.", "Points needed to level up": "Points needed to level up", "Points needed to stay on level": "Points needed to stay on level", - "spendable points expiring by": "spendable points expiring by", + "spendable points expiring by": "{points} spendable points expiring by {date}", "Previous victories": "Previous victories", "Read more": "Read more", "Read more about the hotel": "Read more about the hotel", @@ -193,4 +194,4 @@ "Use bonus cheque": "Use bonus cheque", "Book reward night": "Book reward night", "Find hotels": "Find hotels" -} \ No newline at end of file +} diff --git a/i18n/dictionaries/fi.json b/i18n/dictionaries/fi.json index f0245339f..c62ed9e98 100644 --- a/i18n/dictionaries/fi.json +++ b/i18n/dictionaries/fi.json @@ -12,7 +12,7 @@ "An error occurred when trying to update profile.": "Profiilia päivitettäessä tapahtui virhe.", "Arrival date": "Saapumispäivä", "as of today": "tänään", - "As our": "Kuin meidän", + "As our": "{level}-etu", "As our Close Friend": "Läheisenä ystävänämme", "At the hotel": "Hotellissa", "Book": "Varaa", @@ -70,7 +70,7 @@ "Join Scandic Friends": "Liity jäseneksi", "Language": "Kieli", "Level": "Level", - "Level up to unlock": "Nosta taso avataksesi lukituksen", + "Level up to unlock": "Nouse seuraavalle tasolle ja avaat seuraavan edun", "Log in": "Kirjaudu sisään", "Log in here": "Kirjaudu sisään", "Log out": "Kirjaudu ulos", @@ -105,12 +105,13 @@ "Phone number": "Puhelinnumero", "Please enter a valid phone number": "Ole hyvä ja näppäile voimassaoleva puhelinnumero", "Points": "Pisteet", + "points": "pistettä", "Points being calculated": "Pisteitä lasketaan", "Points earned prior to May 1, 2021": "Pisteet, jotka ansaittu ennen 1.5.2021", "Points may take up to 10 days to be displayed.": "Pisteiden näyttäminen voi kestää jopa 10 päivää.", "Points needed to level up": "Tarvitset vielä", "Points needed to stay on level": "Tällä tasolla pysymiseen tarvittavat pisteet", - "spendable points expiring by": "Käytettävät pisteet vanhenevat viimeistään", + "spendable points expiring by": "{points} pistettä vanhenee {date} mennessä", "Previous victories": "Edelliset voitot", "Read more": "Lue lisää", "Read more about the hotel": "Lue lisää hotellista", diff --git a/i18n/dictionaries/no.json b/i18n/dictionaries/no.json index 5f1a26a89..bd059414e 100644 --- a/i18n/dictionaries/no.json +++ b/i18n/dictionaries/no.json @@ -12,7 +12,7 @@ "An error occurred when trying to update profile.": "Det oppstod en feil under forsøk på å oppdatere profilen.", "Arrival date": "Ankomstdato", "as of today": "per idag", - "As our": "Som vår", + "As our": "Som vår {level}", "As our Close Friend": "Som vår nære venn", "At the hotel": "På hotellet", "Book": "Bestill", @@ -105,12 +105,13 @@ "Phone number": "Telefonnummer", "Please enter a valid phone number": "Vennligst oppgi et gyldig telefonnummer", "Points": "Poeng", + "points": "Poeng", "Points being calculated": "Poeng beregnes", "Points earned prior to May 1, 2021": "Opptjente poeng før 1. mai 2021", "Points may take up to 10 days to be displayed.": "Det kan ta opptil 10 dager før poeng vises.", "Points needed to level up": "Poeng som trengs for å komme opp i nivå", "Points needed to stay on level": "Poeng som trengs for å holde seg på nivå", - "spendable points expiring by": "Brukbare poeng utløper innen", + "spendable points expiring by": "{points} Brukbare poeng utløper innen {date}", "Previous victories": "Tidligere seire", "Read more": "Les mer", "Read more about the hotel": "Les mer om hotellet", @@ -187,4 +188,4 @@ "Use bonus cheque": "Bruk bonussjekk", "Book reward night": "Bestill belønningskveld", "Find hotels": "Finn hotell" -} \ No newline at end of file +} diff --git a/i18n/dictionaries/sv.json b/i18n/dictionaries/sv.json index e578a59df..d3141e423 100644 --- a/i18n/dictionaries/sv.json +++ b/i18n/dictionaries/sv.json @@ -12,7 +12,7 @@ "An error occurred when trying to update profile.": "Ett fel uppstod när du försökte uppdatera profilen.", "Arrival date": "Ankomstdatum", "as of today": "från och med idag", - "As our": "Som vår", + "As our": "Som vår {level}", "As our Close Friend": "Som vår nära vän", "At the hotel": "På hotellet", "Book": "Boka", @@ -108,12 +108,13 @@ "Phone number": "Telefonnummer", "Please enter a valid phone number": "Var vänlig och ange ett giltigt telefonnummer", "Points": "Poäng", + "points": "poäng", "Points being calculated": "Poäng beräknas", "Points earned prior to May 1, 2021": "Intjänade poäng före den 1 maj 2021", "Points may take up to 10 days to be displayed.": "Det kan ta upp till 10 dagar innan poäng visas.", "Points needed to level up": "Poäng som behövs för att gå upp i nivå", "Points needed to stay on level": "Poäng som behövs för att hålla sig på nivå", - "spendable points expiring by": "Spenderbara poäng förfaller till", + "spendable points expiring by": "{points} Spenderbara poäng förfaller till {date}", "Previous victories": "Tidigare segrar", "Read more": "Läs mer", "Read more about the hotel": "Läs mer om hotellet", @@ -189,4 +190,4 @@ "Use bonus cheque": "Use bonus cheque", "Book reward night": "Book reward night", "Find hotels": "Hitta hotell" -} \ No newline at end of file +}