From 8d1e9954d4e36250779c8fb966f11f8ae4553ba4 Mon Sep 17 00:00:00 2001 From: Anton Gunnarsson Date: Wed, 19 Mar 2025 09:12:36 +0000 Subject: [PATCH] Merged in fix/sas-unlink-missing-intl (pull request #1534) Add missing intl keys for SAS unlink flow Approved-by: Linus Flood --- .../Blocks/DynamicContent/SAS/LinkedAccounts/UnlinkSAS.tsx | 3 +-- apps/scandic-web/i18n/dictionaries/da.json | 3 +++ apps/scandic-web/i18n/dictionaries/de.json | 3 +++ apps/scandic-web/i18n/dictionaries/en.json | 3 +++ apps/scandic-web/i18n/dictionaries/fi.json | 3 +++ apps/scandic-web/i18n/dictionaries/no.json | 3 +++ apps/scandic-web/i18n/dictionaries/sv.json | 3 +++ 7 files changed, 19 insertions(+), 2 deletions(-) diff --git a/apps/scandic-web/components/Blocks/DynamicContent/SAS/LinkedAccounts/UnlinkSAS.tsx b/apps/scandic-web/components/Blocks/DynamicContent/SAS/LinkedAccounts/UnlinkSAS.tsx index a94ea7dcd..532073e56 100644 --- a/apps/scandic-web/components/Blocks/DynamicContent/SAS/LinkedAccounts/UnlinkSAS.tsx +++ b/apps/scandic-web/components/Blocks/DynamicContent/SAS/LinkedAccounts/UnlinkSAS.tsx @@ -18,9 +18,8 @@ export function UnlinkSAS() { titleText={intl.formatMessage({ id: "Are you sure you want to unlink your account?", })} - // TODO update copy bodyText={intl.formatMessage({ - id: "We could not connect your accounts to give you access. Please contact us and we’ll help you resolve this issue.", + id: "This will remove any level upgrades and you will no longer be able to transfer points from SAS.", })} cancelButtonText={intl.formatMessage({ id: "Go back" })} proceedText={intl.formatMessage({ id: "Yes, unlink my accounts" })} diff --git a/apps/scandic-web/i18n/dictionaries/da.json b/apps/scandic-web/i18n/dictionaries/da.json index b8fc50ea2..a52a3fe75 100644 --- a/apps/scandic-web/i18n/dictionaries/da.json +++ b/apps/scandic-web/i18n/dictionaries/da.json @@ -66,6 +66,7 @@ "Are you sure you want to continue with the cancellation?": "Er du sikker på, at du vil fortsætte med annullereringen?", "Are you sure you want to remove the card ending with {lastFourDigits} from your member profile?": "Er du sikker på, at du vil fjerne kortet, der slutter me {lastFourDigits} fra din medlemsprofil?", "Are you sure you want to remove this product?": "Er du sikker på, at du vil fjerne dette produkt?", + "Are you sure you want to unlink your account?": "Are you sure you want to unlink your account?", "Arrival date": "Ankomstdato", "As our Close Friend": "Som vores nære ven", "As our {level}": "Som vores {level}", @@ -718,6 +719,7 @@ "This room is equipped with": "Dette værelse er udstyret med", "This room is not available": "Dette værelse er ikke tilgængeligt", "This verifcation is needed for additional security.": "This verifcation is needed for additional security.", + "This will remove any level upgrades and you will no longer be able to transfer points from SAS.": "This will remove any level upgrades and you will no longer be able to transfer points from SAS.", "Thursday": "Torsdag", "Tier match status": "Tier match status", "Tier status": "Tier status", @@ -813,6 +815,7 @@ "Yes, redeem": "Yes, redeem", "Yes, remove my card": "Ja, fjern mit kort", "You are about to exchange:": "You are about to exchange:", + "Yes, unlink my accounts": "Yes, unlink my accounts", "You can always change your mind later and add breakfast at the hotel.": "Du kan altid ombestemme dig senere og tilføje morgenmad på hotellet.", "You can still book the room but you need to confirm that you accept the new price": "Du kan stadig booke værelset, men du skal bekræfte, at du accepterer den nye pris", "You canceled adding a new credit card.": "Du har annulleret tilføjelsen af et nyt kreditkort.", diff --git a/apps/scandic-web/i18n/dictionaries/de.json b/apps/scandic-web/i18n/dictionaries/de.json index 3be230ab5..2d862bff1 100644 --- a/apps/scandic-web/i18n/dictionaries/de.json +++ b/apps/scandic-web/i18n/dictionaries/de.json @@ -66,6 +66,7 @@ "Are you sure you want to continue with the cancellation?": "Sind Sie sicher, dass Sie mit der Stornierung fortfahren möchten?", "Are you sure you want to remove the card ending with {lastFourDigits} from your member profile?": "Möchten Sie die Karte mit der Endung {lastFourDigits} wirklich aus Ihrem Mitgliedsprofil entfernen?", "Are you sure you want to remove this product?": "Möchten Sie dieses Produkt wirklich entfernen?", + "Are you sure you want to unlink your account?": "Are you sure you want to unlink your account?", "Arrival date": "Ankunftsdatum", "As our Close Friend": "Als unser enger Freund", "As our {level}": "Als unser {level}", @@ -716,6 +717,7 @@ "This room is equipped with": "Dieses Zimmer ist ausgestattet mit", "This room is not available": "Dieses Zimmer ist nicht verfügbar", "This verifcation is needed for additional security.": "This verifcation is needed for additional security.", + "This will remove any level upgrades and you will no longer be able to transfer points from SAS.": "This will remove any level upgrades and you will no longer be able to transfer points from SAS.", "Thursday": "Donnerstag", "Tier match status": "Tier match status", "Tier status": "Tier status", @@ -811,6 +813,7 @@ "Yes, redeem": "Yes, redeem", "Yes, remove my card": "Ja, meine Karte entfernen", "You are about to exchange:": "You are about to exchange:", + "Yes, unlink my accounts": "Yes, unlink my accounts", "You can always change your mind later and add breakfast at the hotel.": "Sie können es sich später jederzeit anders überlegen und das Frühstück im Hotel hinzufügen.", "You can still book the room but you need to confirm that you accept the new price": "Sie können das Zimmer noch buchen, aber Sie müssen bestätigen, dass Sie die neue Preis akzeptieren", "You canceled adding a new credit card.": "Sie haben das Hinzufügen einer neuen Kreditkarte abgebrochen.", diff --git a/apps/scandic-web/i18n/dictionaries/en.json b/apps/scandic-web/i18n/dictionaries/en.json index f303a0b9f..6202e5c3c 100644 --- a/apps/scandic-web/i18n/dictionaries/en.json +++ b/apps/scandic-web/i18n/dictionaries/en.json @@ -65,6 +65,7 @@ "Are you sure you want to continue with the cancellation?": "Are you sure you want to continue with the cancellation?", "Are you sure you want to remove the card ending with {lastFourDigits} from your member profile?": "Are you sure you want to remove the card ending with {lastFourDigits} from your member profile?", "Are you sure you want to remove this product?": "Are you sure you want to remove this product?", + "Are you sure you want to unlink your account?": "Are you sure you want to unlink your account?", "Arrival date": "Arrival date", "As our Close Friend": "As our Close Friend", "As our {level}": "As our {level}", @@ -715,6 +716,7 @@ "This room is equipped with": "This room is equipped with", "This room is not available": "This room is not available", "This verifcation is needed for additional security.": "This verifcation is needed for additional security.", + "This will remove any level upgrades and you will no longer be able to transfer points from SAS.": "This will remove any level upgrades and you will no longer be able to transfer points from SAS.", "Thursday": "Thursday", "Tier match status": "Tier match status", "Tier status": "Tier status", @@ -809,6 +811,7 @@ "Yes, redeem": "Yes, redeem", "Yes, remove my card": "Yes, remove my card", "You are about to exchange:": "You are about to exchange:", + "Yes, unlink my accounts": "Yes, unlink my accounts", "You can always change your mind later and add breakfast at the hotel.": "You can always change your mind later and add breakfast at the hotel.", "You can still book the room but you need to confirm that you accept the new price": "You can still book the room but you need to confirm that you accept the new price", "You canceled adding a new credit card.": "You canceled adding a new credit card.", diff --git a/apps/scandic-web/i18n/dictionaries/fi.json b/apps/scandic-web/i18n/dictionaries/fi.json index bc75488b9..e3283370c 100644 --- a/apps/scandic-web/i18n/dictionaries/fi.json +++ b/apps/scandic-web/i18n/dictionaries/fi.json @@ -65,6 +65,7 @@ "Are you sure you want to continue with the cancellation?": "Oletko varmasti haluamassa jatkaa peruuttamista?", "Are you sure you want to remove the card ending with {lastFourDigits} from your member profile?": "Haluatko varmasti poistaa kortin, joka päättyy numeroon {lastFourDigits} jäsenprofiilistasi?", "Are you sure you want to remove this product?": "Haluatko varmasti poistaa tämän tuotteen?", + "Are you sure you want to unlink your account?": "Are you sure you want to unlink your account?", "Arrival date": "Saapumispäivä", "As our Close Friend": "Läheisenä ystävänämme", "As our {level}": "{level}-etu", @@ -716,6 +717,7 @@ "This room is equipped with": "Tämä huone on varustettu", "This room is not available": "Tämä huone ei ole käytettävissä", "This verifcation is needed for additional security.": "This verifcation is needed for additional security.", + "This will remove any level upgrades and you will no longer be able to transfer points from SAS.": "This will remove any level upgrades and you will no longer be able to transfer points from SAS.", "Thursday": "Thursday", "Tier match status": "Tier match status", "Tier status": "Tier status", @@ -811,6 +813,7 @@ "Yes, redeem": "Yes, redeem", "Yes, remove my card": "Kyllä, poista korttini", "You are about to exchange:": "You are about to exchange:", + "Yes, unlink my accounts": "Yes, unlink my accounts", "You can always change your mind later and add breakfast at the hotel.": "Voit aina muuttaa mieltäsi myöhemmin ja lisätä aamiaisen hotelliin.", "You can still book the room but you need to confirm that you accept the new price": "Voit vielä bookea huoneen, mutta sinun on vahvistettava, että hyväksyt uuden hinnan", "You canceled adding a new credit card.": "Peruutit uuden luottokortin lisäämisen.", diff --git a/apps/scandic-web/i18n/dictionaries/no.json b/apps/scandic-web/i18n/dictionaries/no.json index 36e989698..cd88734e9 100644 --- a/apps/scandic-web/i18n/dictionaries/no.json +++ b/apps/scandic-web/i18n/dictionaries/no.json @@ -65,6 +65,7 @@ "Are you sure you want to continue with the cancellation?": "Er du sikker på, at du vil fortsætte med annullereringen?", "Are you sure you want to remove the card ending with {lastFourDigits} from your member profile?": "Er du sikker på at du vil fjerne kortet som slutter på {lastFourDigits} fra medlemsprofilen din?", "Are you sure you want to remove this product?": "Er du sikker på at du vil fjerne dette produktet?", + "Are you sure you want to unlink your account?": "Are you sure you want to unlink your account?", "Arrival date": "Ankomstdato", "As our Close Friend": "Som vår nære venn", "As our {level}": "Som vår {level}", @@ -713,6 +714,7 @@ "This room is equipped with": "Dette rommet er utstyrt med", "This room is not available": "Dette rommet er ikke tilgjengelig", "This verifcation is needed for additional security.": "This verifcation is needed for additional security.", + "This will remove any level upgrades and you will no longer be able to transfer points from SAS.": "This will remove any level upgrades and you will no longer be able to transfer points from SAS.", "Thursday": "Torsdag", "Tier match status": "Tier match status", "Tier status": "Tier status", @@ -807,6 +809,7 @@ "Yes, redeem": "Yes, redeem", "Yes, remove my card": "Ja, fjern kortet mitt", "You are about to exchange:": "You are about to exchange:", + "Yes, unlink my accounts": "Yes, unlink my accounts", "You can always change your mind later and add breakfast at the hotel.": "Du kan alltid ombestemme deg senere og legge til frokost på hotellet.", "You can still book the room but you need to confirm that you accept the new price": "Du kan fortsatt booke rommet, men du må bekrefte at du aksepterer den nye prisen", "You canceled adding a new credit card.": "Du kansellerte å legge til et nytt kredittkort.", diff --git a/apps/scandic-web/i18n/dictionaries/sv.json b/apps/scandic-web/i18n/dictionaries/sv.json index bda0a4f60..d26e21355 100644 --- a/apps/scandic-web/i18n/dictionaries/sv.json +++ b/apps/scandic-web/i18n/dictionaries/sv.json @@ -65,6 +65,7 @@ "Are you sure you want to continue with the cancellation?": "Är du säker på att du vill fortsätta med avbokningen?", "Are you sure you want to remove the card ending with {lastFourDigits} from your member profile?": "Är du säker på att du vill ta bort kortet som slutar med {lastFourDigits} från din medlemsprofil?", "Are you sure you want to remove this product?": "Är du säker på att du vill ta bort den här produkten?", + "Are you sure you want to unlink your account?": "Are you sure you want to unlink your account?", "Arrival date": "Ankomstdatum", "As our Close Friend": "Som vår nära vän", "As our {level}": "Som vår {level}", @@ -714,6 +715,7 @@ "This room is equipped with": "Detta rum är utrustat med", "This room is not available": "Detta rum är inte tillgängligt", "This verifcation is needed for additional security.": "This verifcation is needed for additional security.", + "This will remove any level upgrades and you will no longer be able to transfer points from SAS.": "This will remove any level upgrades and you will no longer be able to transfer points from SAS.", "Thursday": "Torsdag", "Tier match status": "Tier match status", "Tier status": "Tier status", @@ -809,6 +811,7 @@ "Yes, redeem": "Yes, redeem", "Yes, remove my card": "Ja, ta bort mitt kort", "You are about to exchange:": "You are about to exchange:", + "Yes, unlink my accounts": "Yes, unlink my accounts", "You can always change your mind later and add breakfast at the hotel.": "Du kan alltid ändra dig senare och lägga till frukost på hotellet.", "You can still book the room but you need to confirm that you accept the new price": "Du kan fortsatt boka rummet men du måste bekräfta att du accepterar det nya priset", "You canceled adding a new credit card.": "Du avbröt att lägga till ett nytt kreditkort.",