Merged in fix/sas-english-copy (pull request #1695)

Update english copy for SAS related flows

* Update english copy for SAS related flows

* Add new copy to all languages

* Add use client directive to loading to use translations


Approved-by: Joakim Jäderberg
This commit is contained in:
Anton Gunnarsson
2025-04-02 11:49:12 +00:00
parent e4907d4b47
commit 67905198c6
16 changed files with 158 additions and 122 deletions

View File

@@ -24,15 +24,14 @@ export function AlreadyLinkedError() {
</Typography>
<Typography variant="Body/Paragraph/mdRegular">
<p>
{/* TODO copy */}
{intl.formatMessage({
id: "We could not connect your accounts to give you access. Please contact us and well help you resolve this issue.",
id: "Looks like youve already linked your Scandic Friends and SAS EuroBonus accounts!",
})}
</p>
</Typography>
<Button theme="base" asChild>
<Link href={partnerSas[lang]}>
{intl.formatMessage({ id: "View your account" })}
{intl.formatMessage({ id: "View your linked accounts" })}
</Link>
</Button>
<SASModalDivider />

View File

@@ -29,15 +29,14 @@ export function DateOfBirthError() {
</Typography>
<Typography variant="Body/Paragraph/mdRegular">
<p>
{/* TODO copy */}
{intl.formatMessage({
id: "We could not connect your accounts to give you access. Please contact us and well help you resolve this issue.",
id: "We couldnt connect your accounts. Please contact us and well help you resolve this.",
})}
</p>
</Typography>
<Button theme="base" asChild>
<Link href={profile[lang]}>
{intl.formatMessage({ id: "View your account" })}
{intl.formatMessage({ id: "View your details" })}
</Link>
</Button>
<SASModalDivider />

View File

@@ -33,7 +33,7 @@ export function SASModalContactBlock() {
<div style={{ display: "flex", flexDirection: "column" }}>
<Typography variant="Title/Subtitle/md">
<h4 className={styles.contactBlockTitle}>
{intl.formatMessage({ id: "Contact our memberservice" })}
{intl.formatMessage({ id: "Contact us" })}
</h4>
</Typography>
<Link