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

@@ -47,6 +47,7 @@ export default function LinkEmploymentErrorPage() {
/>
<span className={styles.navBackText}>
{intl.formatMessage({
id: "common.goBack",
defaultMessage: "Go back",
})}
</span>
@@ -69,6 +70,7 @@ export default function LinkEmploymentErrorPage() {
<Typography variant="Title/Subtitle/md">
<h3>
{intl.formatMessage({
id: "linkEmploymentError.contactHeading",
defaultMessage: "Contact our member service",
})}
</h3>
@@ -102,9 +104,11 @@ export default function LinkEmploymentErrorPage() {
const getErrorContent = (error: string | null, intl: IntlShape) => {
const defaultErrorContent = {
heading: intl.formatMessage({
id: "linkEmploymentError.genericHeading",
defaultMessage: "Your account could not be connected",
}),
message: intl.formatMessage({
id: "linkEmploymentError.genericMessage",
defaultMessage:
"We couldn't connect your accounts. Please contact us and we'll help you resolve this.",
}),
@@ -114,9 +118,11 @@ const getErrorContent = (error: string | null, intl: IntlShape) => {
case "unable_to_verify_employee_id":
return {
heading: intl.formatMessage({
id: "linkEmploymentError.notEligibleHeading",
defaultMessage: "You're not eligible for employee benefits",
}),
message: intl.formatMessage({
id: "linkEmploymentError.notEligibleMessage",
defaultMessage:
"This may be because your employment has not yet started, has ended, or you are a consultant. If you believe this is an error, please contact us for assistance.",
}),
@@ -124,10 +130,12 @@ const getErrorContent = (error: string | null, intl: IntlShape) => {
case "employee_id_already_linked":
return {
heading: intl.formatMessage({
id: "linkEmploymentError.alreadyLinkedHeading",
defaultMessage:
"Employee number already linked to another Scandic Friends membership.",
}),
message: intl.formatMessage({
id: "linkEmploymentError.alreadyLinkedMessage",
defaultMessage:
"If you believe this is an error, please contact us for assistance.",
}),