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

@@ -23,19 +23,27 @@ export default async function EmployeeBenefitsAuthCard() {
<Card
className={styles.card}
scriptedTopTitle={intl.formatMessage({
id: "dtmc.letsBeFriends",
defaultMessage: "Lets be friends!",
})}
heading={intl.formatMessage({
id: "dtmc.joinLoyaltyProgram",
defaultMessage: "Join our loyalty program today!",
})}
primaryButton={{
href: login[lang],
title: intl.formatMessage({ defaultMessage: "Log in" }),
title: intl.formatMessage({
id: "dtmc.logIn",
defaultMessage: "Log in",
}),
openInNewTab: false,
}}
secondaryButton={{
href: signup[lang],
title: intl.formatMessage({ defaultMessage: "Sign up" }),
title: intl.formatMessage({
id: "common.signUp",
defaultMessage: "Sign up",
}),
openInNewTab: false,
}}
theme="primaryInverted"

View File

@@ -1,5 +1,3 @@
import React from "react"
import { login } from "@scandic-hotels/common/constants/routes/handleAuth"
import { signup } from "@scandic-hotels/common/constants/routes/signup"
import ButtonLink from "@scandic-hotels/design-system/ButtonLink"
@@ -30,12 +28,14 @@ export default async function EmployeeBenefitsCallToActions() {
<Typography variant="Body/Paragraph/mdBold">
<p>
{intl.formatMessage({
id: "dtmc.alreadyMember",
defaultMessage: "Already a Scandic Friends member?",
})}
</p>
</Typography>
<ButtonLink href={loginAndLinkURL} size="Medium" variant="Tertiary">
{intl.formatMessage({
id: "dtmc.logInAndLinkEmployment",
defaultMessage: "Log in and link employment",
})}
</ButtonLink>
@@ -45,12 +45,14 @@ export default async function EmployeeBenefitsCallToActions() {
<Typography variant="Body/Paragraph/mdBold">
<p>
{intl.formatMessage({
id: "dtmc.noScandicFriendsAccountYet",
defaultMessage: "Don't have a Scandic Friends account yet?",
})}
</p>
</Typography>
<ButtonLink href={signup[lang]} size="Medium" variant="Secondary">
{intl.formatMessage({
id: "dtmc.signUpAndLinkEmployment",
defaultMessage: "Sign up and link employment",
})}
</ButtonLink>
@@ -70,6 +72,7 @@ export default async function EmployeeBenefitsCallToActions() {
typography="Body/Paragraph/mdBold"
>
{intl.formatMessage({
id: "dtmc.showTeamMemberCard",
defaultMessage: "Show Team Member Card",
})}
</TeamMemberCardTrigger>
@@ -88,6 +91,7 @@ export default async function EmployeeBenefitsCallToActions() {
color="Primary"
>
{intl.formatMessage({
id: "dtmc.linkMyEmployment",
defaultMessage: "Link my employment",
})}
</ButtonLink>