Merged in feat/lokalise-rebuild (pull request #2993)

Feat/lokalise rebuild

* chore(lokalise): update translation ids

* chore(lokalise): easier to switch between projects

* chore(lokalise): update translation ids

* .

* .

* .

* .

* .

* .

* chore(lokalise): update translation ids

* chore(lokalise): update translation ids

* .

* .

* .

* chore(lokalise): update translation ids

* chore(lokalise): update translation ids

* .

* .

* chore(lokalise): update translation ids

* chore(lokalise): update translation ids

* chore(lokalise): new translations

* merge

* switch to errors for missing id's

* merge

* sync translations


Approved-by: Linus Flood
This commit is contained in:
Joakim Jäderberg
2025-10-22 11:00:03 +00:00
parent bdfe2ab213
commit aafad9781f
499 changed files with 93363 additions and 99164 deletions

View File

@@ -25,6 +25,7 @@ export function AlreadyLinkedError() {
<Typography variant="Title/Subtitle/lg">
<h1>
{intl.formatMessage({
id: "linkEuroBonusAccount.alreadyLinkedHeading",
defaultMessage:
"Your Scandic Friends and SAS EuroBonus accounts are already connected",
})}
@@ -33,6 +34,7 @@ export function AlreadyLinkedError() {
<Typography variant="Body/Paragraph/mdRegular">
<p>
{intl.formatMessage({
id: "linkEuroBonusAccount.alreadyLinkedMessage",
defaultMessage:
"Great news! You can go straight to My Pages to explore all your perks and rewards!",
})}
@@ -46,6 +48,7 @@ export function AlreadyLinkedError() {
size={"Large"}
>
{intl.formatMessage({
id: "linkEuroBonusAccount.viewLinkedAccountsButton",
defaultMessage: "View your linked accounts",
})}
</ButtonLink>

View File

@@ -26,6 +26,7 @@ export function DateOfBirthError() {
<Typography variant="Title/Subtitle/lg">
<h1>
{intl.formatMessage({
id: "linkEuroBonusAccount.dateOfBirthErrorHeading",
defaultMessage: "Date of birth not matching",
})}
</h1>
@@ -33,6 +34,7 @@ export function DateOfBirthError() {
<Typography variant="Body/Paragraph/mdRegular">
<p>
{intl.formatMessage({
id: "linkEuroBonusAccount.couldntConnectAccountsErrorMessage",
defaultMessage:
"We couldnt connect your accounts. Please contact us and well help you resolve this.",
})}
@@ -41,6 +43,7 @@ export function DateOfBirthError() {
<Button theme="base" asChild>
<Link href={profile[lang]}>
{intl.formatMessage({
id: "linkEuroBonusAccount.viewYourDetailsButton",
defaultMessage: "View your details",
})}
</Link>

View File

@@ -19,6 +19,7 @@ export function SASModalDivider() {
<Typography variant="Body/Paragraph/mdRegular">
<span>
{intl.formatMessage({
id: "common.or",
defaultMessage: "or",
})}
</span>
@@ -31,6 +32,7 @@ export function SASModalContactBlock() {
const intl = useIntl()
const phone = intl.formatMessage({
id: "linkEuroBonusAccount.contactPhoneNumber",
defaultMessage: "+46 8 517 517 00",
})
@@ -39,6 +41,7 @@ export function SASModalContactBlock() {
<Typography variant="Title/Subtitle/md">
<h4 className={styles.contactBlockTitle}>
{intl.formatMessage({
id: "common.contactUs",
defaultMessage: "Contact us",
})}
</h4>

View File

@@ -13,6 +13,7 @@ export function TooManyCodesError() {
return (
<GenericError
title={intl.formatMessage({
id: "linkEuroBonusAccount.tooManyCodesErrorHeading",
defaultMessage: "Youve requested too many codes",
})}
variant="info"
@@ -20,12 +21,14 @@ export function TooManyCodesError() {
<Typography variant="Body/Paragraph/mdRegular">
<p>
{intl.formatMessage({
id: "linkEuroBonusAccount.tooManyFailedAttemptsErrorMessage",
defaultMessage: "Please wait 1 hour before trying again.",
})}
</p>
</Typography>
<Button theme="base" disabled>
{intl.formatMessage({
id: "linkEuroBonusAccount.sendNewCodeButton",
defaultMessage: "Send new code",
})}
</Button>

View File

@@ -13,6 +13,7 @@ export function TooManyFailedAttemptsError() {
return (
<GenericError
title={intl.formatMessage({
id: "linkEuroBonusAccount.tooManyFailedAttemptsErrorHeading",
defaultMessage: "Too many failed attempts.",
})}
variant="info"
@@ -20,12 +21,14 @@ export function TooManyFailedAttemptsError() {
<Typography variant="Body/Paragraph/mdRegular">
<p>
{intl.formatMessage({
id: "linkEuroBonusAccount.tooManyFailedAttemptsErrorMessage",
defaultMessage: "Please wait 1 hour before trying again.",
})}
</p>
</Typography>
<Button theme="base" disabled>
{intl.formatMessage({
id: "linkEuroBonusAccount.sendNewCodeButton",
defaultMessage: "Send new code",
})}
</Button>

View File

@@ -13,12 +13,14 @@ export function UnlinkError() {
return (
<GenericError
title={intl.formatMessage({
id: "unlinkEuroBonusAccount.errorHeading",
defaultMessage: "We could not unlink your accounts",
})}
>
<Typography variant="Body/Paragraph/mdRegular">
<p>
{intl.formatMessage({
id: "unlinkEuroBonusAccount.errorMessage",
defaultMessage:
"We couldnt unlink your accounts. Please contact us and well help you resolve this.",
})}