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

@@ -45,6 +45,7 @@ export function JoinScandicFriendsCard({ name = "join" }: Props) {
<span>
{/* eslint-disable-next-line formatjs/no-literal-string-in-jsx */}
{`${intl.formatMessage({
id: "enterDetails.joinScandicFriendsCard.title",
defaultMessage: "Get the member room price",
})}: `}
</span>
@@ -65,6 +66,7 @@ export function JoinScandicFriendsCard({ name = "join" }: Props) {
<Typography variant="Body/Paragraph/mdRegular">
<div>
{intl.formatMessage({
id: "enterDetails.joinScandicFriendsCard.joinCheckboxLabel",
defaultMessage: "Join Scandic Friends now",
})}
</div>
@@ -83,6 +85,7 @@ export function JoinScandicFriendsCard({ name = "join" }: Props) {
redirectTo={loginPathname}
>
{intl.formatMessage({
id: "enterDetails.joinScandicFriendsCard.loginButtonText",
defaultMessage: "Log in",
})}
</LoginButton>
@@ -92,6 +95,7 @@ export function JoinScandicFriendsCard({ name = "join" }: Props) {
<Footnote color="uiTextPlaceholder">
{intl.formatMessage(
{
id: "enterDetails.joinScandicFriendsCard.terms",
defaultMessage:
"By joining you accept the <termsAndConditionsLink>Terms and Conditions</termsAndConditionsLink>. The Scandic Friends Membership is valid until further notice, but can at any time be terminated by contacting Scandic Customer Service.",
},

View File

@@ -55,6 +55,7 @@ export function PartnerSASJoinScandicFriendsCard({
<h2 className={styles.priceContainer}>
<span>
{intl.formatMessage({
id: "enterDetails.joinScandicFriendsCard.title",
defaultMessage: "Get the member room price",
})}
{/* eslint-disable-next-line formatjs/no-literal-string-in-jsx */}
@@ -74,6 +75,7 @@ export function PartnerSASJoinScandicFriendsCard({
<Typography variant="Body/Paragraph/mdRegular">
<div>
{intl.formatMessage({
id: "enterDetails.joinScandicFriendsCard.joinCheckboxLabel",
defaultMessage: "Join Scandic Friends now",
})}
</div>
@@ -85,6 +87,7 @@ export function PartnerSASJoinScandicFriendsCard({
registerOptions={{ onBlur: updateDetailsStore }}
disabled={Boolean(joinValue)}
label={intl.formatMessage({
id: "enterDetails.joinScandicFriendsCard.membershipIdLabel",
defaultMessage: "Already a member? Membership ID",
})}
/>
@@ -94,6 +97,7 @@ export function PartnerSASJoinScandicFriendsCard({
<Footnote color="uiTextPlaceholder">
{intl.formatMessage(
{
id: "enterDetails.joinScandicFriendsCard.terms",
defaultMessage:
"By joining you accept the <termsAndConditionsLink>Terms and Conditions</termsAndConditionsLink>. The Scandic Friends Membership is valid until further notice, but can at any time be terminated by contacting Scandic Customer Service.",
},

View File

@@ -22,6 +22,7 @@ export function MembershipNumberInput({
label={
label ||
intl.formatMessage({
id: "common.membershipId",
defaultMessage: "Membership ID",
})
}

View File

@@ -48,6 +48,7 @@ export default function Signup({
<BookingFlowInput
name="zipCode"
label={intl.formatMessage({
id: "common.zipCode",
defaultMessage: "Zip code",
})}
registerOptions={{ required: true, ...registerOptions }}
@@ -57,6 +58,7 @@ export default function Signup({
<Caption type="bold">
<span className={styles.required}>
{intl.formatMessage({
id: "common.birthDate",
defaultMessage: "Birth date",
})}
</span>
@@ -64,9 +66,18 @@ export default function Signup({
</header>
<DateSelect
labels={{
day: intl.formatMessage({ defaultMessage: "Day" }),
month: intl.formatMessage({ defaultMessage: "Month" }),
year: intl.formatMessage({ defaultMessage: "Year" }),
day: intl.formatMessage({
id: "common.day",
defaultMessage: "Day",
}),
month: intl.formatMessage({
id: "common.month",
defaultMessage: "Month",
}),
year: intl.formatMessage({
id: "common.year",
defaultMessage: "Year",
}),
errorMessage: getErrorMessage(
intl,
config.variant,

View File

@@ -170,12 +170,14 @@ export default function Details({ user }: DetailsProps) {
className={styles.fullWidth}
>
{intl.formatMessage({
id: "enterDetails.roomInfo.title",
defaultMessage: "Guest information",
})}
</Footnote>
<BookingFlowInput
autoComplete="given-name"
label={intl.formatMessage({
id: "common.firstName",
defaultMessage: "First name",
})}
maxLength={30}
@@ -186,6 +188,7 @@ export default function Details({ user }: DetailsProps) {
<BookingFlowInput
autoComplete="family-name"
label={intl.formatMessage({
id: "common.lastName",
defaultMessage: "Last name",
})}
maxLength={30}
@@ -196,6 +199,7 @@ export default function Details({ user }: DetailsProps) {
<CountrySelect
className={styles.fullWidth}
label={intl.formatMessage({
id: "common.country",
defaultMessage: "Country",
})}
lang={lang}
@@ -213,6 +217,7 @@ export default function Details({ user }: DetailsProps) {
autoComplete="email"
className={styles.fullWidth}
label={intl.formatMessage({
id: "common.emailAddress",
defaultMessage: "Email address",
})}
name="email"
@@ -222,6 +227,7 @@ export default function Details({ user }: DetailsProps) {
<Phone
className={styles.fullWidth}
countryLabel={intl.formatMessage({
id: "common.countryCode",
defaultMessage: "Country code",
})}
countriesWithTranslatedName={getFormattedCountryList(intl)}
@@ -232,6 +238,7 @@ export default function Details({ user }: DetailsProps) {
formState.errors.phoneNumber?.message
)}
label={intl.formatMessage({
id: "common.phoneNumber",
defaultMessage: "Phone number",
})}
name="phoneNumber"