From 8942a1da1151b1bc11cfff8c073f7246c328893a Mon Sep 17 00:00:00 2001 From: Linus Flood Date: Mon, 3 Mar 2025 06:52:33 +0000 Subject: [PATCH] Merged in feat/LOY-165-menu (pull request #1454) feat/myprofile-menu fixed casing * feat/myprofile-menu fixed casing Approved-by: Erik Tiekstra --- apps/scandic-web/i18n/dictionaries/da.json | 8 ++++---- apps/scandic-web/i18n/dictionaries/de.json | 10 +++++----- apps/scandic-web/i18n/dictionaries/en.json | 8 ++++---- apps/scandic-web/i18n/dictionaries/fi.json | 8 ++++---- apps/scandic-web/i18n/dictionaries/no.json | 8 ++++---- apps/scandic-web/i18n/dictionaries/sv.json | 8 ++++---- .../routers/navigation/mypages/getPrimaryLinks.ts | 6 +++--- .../routers/navigation/mypages/getSecondaryLinks.ts | 2 +- 8 files changed, 29 insertions(+), 29 deletions(-) diff --git a/apps/scandic-web/i18n/dictionaries/da.json b/apps/scandic-web/i18n/dictionaries/da.json index 184a22462..4de2f3b9b 100644 --- a/apps/scandic-web/i18n/dictionaries/da.json +++ b/apps/scandic-web/i18n/dictionaries/da.json @@ -399,16 +399,16 @@ "Museum": "Museum", "Museums": "Museer", "My Add-on's": "Mine tilføjelser", - "My Benefits": "Mine Fordele", - "My Points": "Mine Point", - "My Profile": "Min profil", - "My Stays": "Mine Ophold", + "My benefits": "Mine fordele", "My communication preferences": "Mine kommunikationspræferencer", "My membership cards": "Mine medlemskort", "My pages": "Mine sider", "My pages menu": "Mine sider menu", "My payment cards": "Mine betalingskort", + "My points": "Mine point", + "My profile": "Min profil", "My stay at": "My stay at", + "My stays": "Mine ophold", "My wishes": "Mine ønsker", "N/A": "N/A", "Name": "Navn", diff --git a/apps/scandic-web/i18n/dictionaries/de.json b/apps/scandic-web/i18n/dictionaries/de.json index f01ae5de4..6382c4177 100644 --- a/apps/scandic-web/i18n/dictionaries/de.json +++ b/apps/scandic-web/i18n/dictionaries/de.json @@ -401,16 +401,16 @@ "Museum": "Museum", "Museums": "Museen", "My Add-on's": "Meine Add-ons", - "My Benefits": "Meine Vorteile", - "My Points": "Meine Punkte", - "My Profile": "Mein Profil", - "My Stays": "Meine Aufenthalte", + "My benefits": "Meine vorteile", "My communication preferences": "Meine Kommunikationseinstellungen", "My membership cards": "Meine Mitgliedskarten", - "My pages": "Meine Seiten", + "My pages": "Meine seiten", "My pages menu": "Meine Seite Menü", "My payment cards": "Meine Zahlungskarten", + "My points": "Meine punkte", + "My profile": "Mein profil", "My stay at": "My stay at", + "My stays": "Meine aufenthalte", "My wishes": "Meine Wünsche", "N/A": "N/A", "Name": "Name", diff --git a/apps/scandic-web/i18n/dictionaries/en.json b/apps/scandic-web/i18n/dictionaries/en.json index 3efe24924..58436e5c7 100644 --- a/apps/scandic-web/i18n/dictionaries/en.json +++ b/apps/scandic-web/i18n/dictionaries/en.json @@ -402,16 +402,16 @@ "Museum": "Museum", "Museums": "Museums", "My Add-on's": "My Add-on's", - "My Benefits": "My Benefits", - "My Points": "My points", - "My Profile": "My Profile", - "My Stays": "My Stays", + "My benefits": "My benefits", "My communication preferences": "My communication preferences", "My membership cards": "My membership cards", "My pages": "My pages", "My pages menu": "My pages menu", "My payment cards": "My payment cards", + "My points": "My points", + "My profile": "My profile", "My stay at": "My stay at", + "My stays": "My stays", "My wishes": "My wishes", "N/A": "N/A", "Name": "Name", diff --git a/apps/scandic-web/i18n/dictionaries/fi.json b/apps/scandic-web/i18n/dictionaries/fi.json index 549681077..79782c504 100644 --- a/apps/scandic-web/i18n/dictionaries/fi.json +++ b/apps/scandic-web/i18n/dictionaries/fi.json @@ -400,16 +400,16 @@ "Museum": "Museo", "Museums": "Museot", "My Add-on's": "Omat lisäosat", - "My Benefits": "Etuni", - "My Points": "Pisteeni", - "My Profile": "Profiilini", - "My Stays": "Varaukseni", + "My benefits": "Etuni", "My communication preferences": "Viestintämieltymykseni", "My membership cards": "Jäsenkorttini", "My pages": "Omat sivut", "My pages menu": "Omat sivut -valikko", "My payment cards": "Minun maksukortit", + "My points": "Pisteeni", + "My profile": "Profiilini", "My stay at": "My stay at", + "My stays": "Varaukseni", "My wishes": "Toiveeni", "N/A": "N/A", "Name": "Nimi", diff --git a/apps/scandic-web/i18n/dictionaries/no.json b/apps/scandic-web/i18n/dictionaries/no.json index 45dab8c66..63a179a5b 100644 --- a/apps/scandic-web/i18n/dictionaries/no.json +++ b/apps/scandic-web/i18n/dictionaries/no.json @@ -399,16 +399,16 @@ "Museum": "Museum", "Museums": "Museums", "My Add-on's": "Mine tillegg", - "My Benefits": "Mine fordeler", - "My Points": "Mine poeng", - "My Profile": "Min profil", - "My Stays": "Mine opphold", + "My benefits": "Mine fordeler", "My communication preferences": "Mine kommunikasjonspreferanser", "My membership cards": "Mine medlemskort", "My pages": "Mine sider", "My pages menu": "Mine sider-menyen", "My payment cards": "Mine betalingskort", + "My points": "Mine poeng", + "My profile": "Min profil", "My stay at": "My stay at", + "My stays": "Mine opphold", "My wishes": "Mine ønsker", "N/A": "N/A", "Name": "Navn", diff --git a/apps/scandic-web/i18n/dictionaries/sv.json b/apps/scandic-web/i18n/dictionaries/sv.json index 9462a5454..5e154a75a 100644 --- a/apps/scandic-web/i18n/dictionaries/sv.json +++ b/apps/scandic-web/i18n/dictionaries/sv.json @@ -399,16 +399,16 @@ "Museum": "Museum", "Museums": "Museer", "My Add-on's": "Mina tillägg", - "My Benefits": "Mina förmåner", - "My Points": "Mina poäng", - "My Profile": "Min profil", - "My Stays": "Mina vistelser", + "My benefits": "Mina förmåner", "My communication preferences": "Mina kommunikationspreferenser", "My membership cards": "Mina medlemskort", "My pages": "Mina sidor", "My pages menu": "Mina sidor meny", "My payment cards": "Mina betalningskort", + "My points": "Mina poäng", + "My profile": "Min profil", "My stay at": "My stay at", + "My stays": "Mina vistelser", "My wishes": "Mina önskningar", "N/A": "N/A", "Name": "Namn", diff --git a/apps/scandic-web/server/routers/navigation/mypages/getPrimaryLinks.ts b/apps/scandic-web/server/routers/navigation/mypages/getPrimaryLinks.ts index f4ee72439..73597f81c 100644 --- a/apps/scandic-web/server/routers/navigation/mypages/getPrimaryLinks.ts +++ b/apps/scandic-web/server/routers/navigation/mypages/getPrimaryLinks.ts @@ -26,17 +26,17 @@ export const getPrimaryLinks = cache( }, { type: "link", - text: intl.formatMessage({ id: "My Points" }), + text: intl.formatMessage({ id: "My points" }), href: routes.points[lang], }, { type: "link", - text: intl.formatMessage({ id: "My Stays" }), + text: intl.formatMessage({ id: "My stays" }), href: routes.stays[lang], }, { type: "link", - text: intl.formatMessage({ id: "My Benefits" }), + text: intl.formatMessage({ id: "My benefits" }), href: routes.benefits[lang], }, ] diff --git a/apps/scandic-web/server/routers/navigation/mypages/getSecondaryLinks.ts b/apps/scandic-web/server/routers/navigation/mypages/getSecondaryLinks.ts index 7cb7a59eb..0b92ca9ea 100644 --- a/apps/scandic-web/server/routers/navigation/mypages/getSecondaryLinks.ts +++ b/apps/scandic-web/server/routers/navigation/mypages/getSecondaryLinks.ts @@ -19,7 +19,7 @@ export async function getSecondaryLinks({ }, { type: "link", - text: intl.formatMessage({ id: "My Profile" }), + text: intl.formatMessage({ id: "My profile" }), href: routes.profile[lang], }, ]