diff --git a/apps/scandic-web/actions/editProfile.ts b/apps/scandic-web/actions/editProfile.ts
index 848ca2d7c..3bea2e610 100644
--- a/apps/scandic-web/actions/editProfile.ts
+++ b/apps/scandic-web/actions/editProfile.ts
@@ -63,7 +63,8 @@ export const editProfile = protectedServerActionProcedure
message: issue.message,
})),
message: intl.formatMessage({
- defaultMessage: "An error occured when trying to update profile.",
+ defaultMessage:
+ "An error occurred when trying to update your profile.",
}),
status: Status.error,
}
@@ -83,7 +84,8 @@ export const editProfile = protectedServerActionProcedure
data: input,
issues: [],
message: intl.formatMessage({
- defaultMessage: "An error occured when trying to update profile.",
+ defaultMessage:
+ "An error occurred when trying to update your profile.",
}),
status: Status.error,
}
@@ -131,8 +133,9 @@ export const editProfile = protectedServerActionProcedure
}
if (payload.data[typedKey] !== profile[typedKey]) {
- // @ts-ignore
- body[typedKey] = payload.data[typedKey]
+ if (typedKey === "language") {
+ body[typedKey] = payload.data[typedKey]
+ } else body[typedKey] = payload.data[typedKey]
}
})
@@ -176,7 +179,8 @@ export const editProfile = protectedServerActionProcedure
data: input,
issues: [],
message: intl.formatMessage({
- defaultMessage: "An error occured when trying to update profile.",
+ defaultMessage:
+ "An error occurred when trying to update your profile.",
}),
status: Status.error,
}
@@ -184,7 +188,7 @@ export const editProfile = protectedServerActionProcedure
const json = await apiResponse.json()
if (json.errors?.length) {
- json.errors.forEach((error: any) => {
+ json.errors.forEach((error: unknown) => {
logger.warn(
"editProfile api patch errors (not aborting)",
JSON.stringify({
@@ -212,7 +216,8 @@ export const editProfile = protectedServerActionProcedure
message: issue.message,
})),
message: intl.formatMessage({
- defaultMessage: "An error occured when trying to update profile.",
+ defaultMessage:
+ "An error occurred when trying to update your profile.",
}),
status: Status.error,
}
diff --git a/apps/scandic-web/app/[lang]/(no-layout)/(protected)/link-employment-error/page.tsx b/apps/scandic-web/app/[lang]/(no-layout)/(protected)/link-employment-error/page.tsx
index 44a8aa17e..c8f116c32 100644
--- a/apps/scandic-web/app/[lang]/(no-layout)/(protected)/link-employment-error/page.tsx
+++ b/apps/scandic-web/app/[lang]/(no-layout)/(protected)/link-employment-error/page.tsx
@@ -106,7 +106,7 @@ const getErrorContent = (error: string | null, intl: IntlShape) => {
}),
message: intl.formatMessage({
defaultMessage:
- "We could not connect your accounts to give you access. Please contact us and we'll help you resolve this issue.",
+ "We couldn't connect your accounts. Please contact us and we'll help you resolve this.",
}),
}
diff --git a/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/login/page.tsx b/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/login/page.tsx
index 071a4f3f6..a4c71e0c2 100644
--- a/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/login/page.tsx
+++ b/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/login/page.tsx
@@ -59,7 +59,7 @@ export default async function SASxScandicLoginPage(
}),
unlink: intl.formatMessage({
defaultMessage:
- "Log in to your SAS Eurobonus account to confirm account unlinking.",
+ "Log in to your SAS EuroBonus account to confirm account unlinking.",
}),
transfer: intl.formatMessage({
defaultMessage:
diff --git a/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/transfer/success/page.tsx b/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/transfer/success/page.tsx
index c454f957c..20a5bc715 100644
--- a/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/transfer/success/page.tsx
+++ b/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/transfer/success/page.tsx
@@ -128,7 +128,7 @@ async function TransactionCard({
{intl.formatMessage({
- defaultMessage: "You have enough points for a bonus night!",
+ defaultMessage: "You have enough points for a reward night!",
})}
@@ -136,7 +136,7 @@ async function TransactionCard({
{intl.formatMessage({
defaultMessage:
- "Bonus Nights range from 10 000 - 80 000 points. Book your next stay with us today!",
+ "Redeem your points for cozy stays, delicious meals at our restaurants, or hotel extras to elevate your stay!",
})}
diff --git a/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddAncillaryFlow/AddAncillaryFlowModal/Steps/DeliveryDetailsStep/index.tsx b/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddAncillaryFlow/AddAncillaryFlowModal/Steps/DeliveryDetailsStep/index.tsx
index ac2a43ebf..79e5bf0de 100644
--- a/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddAncillaryFlow/AddAncillaryFlowModal/Steps/DeliveryDetailsStep/index.tsx
+++ b/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddAncillaryFlow/AddAncillaryFlowModal/Steps/DeliveryDetailsStep/index.tsx
@@ -34,7 +34,7 @@ export default function DeliveryMethodStep() {
{intl.formatMessage({
defaultMessage:
- "All add-ons are delivered at the same time. Changes to delivery times will affect earlier add-ons.",
+ "All extras are delivered together. Changes to delivery times will affect previously ordered extras.",
})}
diff --git a/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddedAncillaries/index.tsx b/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddedAncillaries/index.tsx
index 0842b2d68..1a94462ec 100644
--- a/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddedAncillaries/index.tsx
+++ b/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddedAncillaries/index.tsx
@@ -41,7 +41,7 @@ export function AddedAncillaries({
{intl.formatMessage({
- defaultMessage: "My Add-on's",
+ defaultMessage: "My extras",
})}
diff --git a/apps/scandic-web/components/HotelReservation/MyStay/GuestDetails/index.tsx b/apps/scandic-web/components/HotelReservation/MyStay/GuestDetails/index.tsx
index b7a5eed24..713304e37 100644
--- a/apps/scandic-web/components/HotelReservation/MyStay/GuestDetails/index.tsx
+++ b/apps/scandic-web/components/HotelReservation/MyStay/GuestDetails/index.tsx
@@ -140,7 +140,7 @@ export default function GuestDetails({
{intl.formatMessage({
- defaultMessage: "Your member tier",
+ defaultMessage: "Your member level",
})}
diff --git a/apps/scandic-web/components/LocalCallCharges/index.tsx b/apps/scandic-web/components/LocalCallCharges/index.tsx
index ef96c3a94..896033cfd 100644
--- a/apps/scandic-web/components/LocalCallCharges/index.tsx
+++ b/apps/scandic-web/components/LocalCallCharges/index.tsx
@@ -17,7 +17,7 @@ export default async function LocalCallCharges({
{intl.formatMessage({
- defaultMessage: "Price 0,16 €/min + local call charges",
+ defaultMessage: "Price: €0.16/min + local call charges",
})}
diff --git a/apps/scandic-web/components/MyPages/LevelProgressCard/InnerCard/StatsSection/index.tsx b/apps/scandic-web/components/MyPages/LevelProgressCard/InnerCard/StatsSection/index.tsx
index 2c8e6fcb8..b8fe23cb9 100644
--- a/apps/scandic-web/components/MyPages/LevelProgressCard/InnerCard/StatsSection/index.tsx
+++ b/apps/scandic-web/components/MyPages/LevelProgressCard/InnerCard/StatsSection/index.tsx
@@ -23,7 +23,7 @@ export default async function StatsSection({
{intl.formatMessage({
- defaultMessage: "Points Earned",
+ defaultMessage: "Points earned",
})}
diff --git a/apps/scandic-web/components/MyPages/Profile/ChangeNameDisclaimer/index.tsx b/apps/scandic-web/components/MyPages/Profile/ChangeNameDisclaimer/index.tsx
index 677610daa..0519e9551 100644
--- a/apps/scandic-web/components/MyPages/Profile/ChangeNameDisclaimer/index.tsx
+++ b/apps/scandic-web/components/MyPages/Profile/ChangeNameDisclaimer/index.tsx
@@ -19,7 +19,7 @@ export default function ChangeNameDisclaimer() {
{intl.formatMessage(
{
defaultMessage:
- "Need to change your name? Please get in touch with member support at +46 8 517 517 00 or member@scandichotels.com.",
+ "Need to update your name? Please get in touch with member service at +46 8 517 517 00 or member@scandichotels.com.",
},
{
phone([str]) {
diff --git a/apps/scandic-web/components/MyPages/Profile/index.tsx b/apps/scandic-web/components/MyPages/Profile/index.tsx
index b110ba3ac..abb62d969 100644
--- a/apps/scandic-web/components/MyPages/Profile/index.tsx
+++ b/apps/scandic-web/components/MyPages/Profile/index.tsx
@@ -100,7 +100,7 @@ export default async function Profile() {
{intl.formatMessage({
- defaultMessage: "Date of Birth",
+ defaultMessage: "Date of birth",
})}
diff --git a/apps/scandic-web/components/TempDesignSystem/MeetingRoomCard/utils.ts b/apps/scandic-web/components/TempDesignSystem/MeetingRoomCard/utils.ts
index 292c2deb5..7bb760195 100644
--- a/apps/scandic-web/components/TempDesignSystem/MeetingRoomCard/utils.ts
+++ b/apps/scandic-web/components/TempDesignSystem/MeetingRoomCard/utils.ts
@@ -70,7 +70,7 @@ export function translateSeatingType(type: string, intl: IntlShape) {
})
case SeatingType.Theatre:
return intl.formatMessage({
- defaultMessage: "Theatre",
+ defaultMessage: "Theater",
})
case SeatingType.UShape:
return intl.formatMessage({
diff --git a/apps/scandic-web/utils/metadata/title/hotelPage.ts b/apps/scandic-web/utils/metadata/title/hotelPage.ts
index afd1c3532..89bdc44ac 100644
--- a/apps/scandic-web/utils/metadata/title/hotelPage.ts
+++ b/apps/scandic-web/utils/metadata/title/hotelPage.ts
@@ -83,13 +83,12 @@ async function getSubpageTitle(
case additionalHotelData.hotelSpecialNeeds?.nameInUrl:
const accessibilityTitleLong = intl.formatMessage(
{
- defaultMessage:
- "Accessibility information for {hotelName} in {destination}",
+ defaultMessage: "Accessibility at {hotelName} in {destination}",
},
{ hotelName, destination }
)
const accessibilityTitleShort = intl.formatMessage(
- { defaultMessage: "Accessibility information for {hotelName}" },
+ { defaultMessage: "Accessibility at {hotelName}" },
{ hotelName }
)
diff --git a/packages/booking-flow/lib/components/BookingConfirmation/Promos/index.tsx b/packages/booking-flow/lib/components/BookingConfirmation/Promos/index.tsx
index 3962bdd73..98e744b51 100644
--- a/packages/booking-flow/lib/components/BookingConfirmation/Promos/index.tsx
+++ b/packages/booking-flow/lib/components/BookingConfirmation/Promos/index.tsx
@@ -37,7 +37,7 @@ export function Promos({ booking }: PromosProps) {