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:
@@ -49,9 +49,7 @@ export default function MyPagesMenuContent({
|
||||
<div className={introClassName}>
|
||||
<Subtitle type="two" className={styles.userName}>
|
||||
{intl.formatMessage(
|
||||
{
|
||||
defaultMessage: "Hi {firstName}!",
|
||||
},
|
||||
{ id: "myPages.hiFirstName", defaultMessage: "Hi {firstName}!" },
|
||||
{ firstName: user.firstName }
|
||||
)}
|
||||
</Subtitle>
|
||||
@@ -61,6 +59,7 @@ export default function MyPagesMenuContent({
|
||||
<span>
|
||||
{intl.formatMessage(
|
||||
{
|
||||
id: "common.pointsAmountPoints",
|
||||
defaultMessage: "{pointsAmount, number} points",
|
||||
},
|
||||
{ pointsAmount: membershipPoints }
|
||||
@@ -156,6 +155,7 @@ function SecondaryLinks({
|
||||
className={styles.link}
|
||||
>
|
||||
{intl.formatMessage({
|
||||
id: "common.logOut",
|
||||
defaultMessage: "Log out",
|
||||
})}
|
||||
</Link>
|
||||
@@ -170,27 +170,35 @@ export const useMyPagesNavigation = () => {
|
||||
|
||||
const MyPagesLinkTranslationMap: Record<MyPagesLinkKey, string> = {
|
||||
overview: intl.formatMessage({
|
||||
id: "common.overview",
|
||||
defaultMessage: "Overview",
|
||||
}),
|
||||
points: intl.formatMessage({
|
||||
id: "common.myPoints",
|
||||
defaultMessage: "My points",
|
||||
}),
|
||||
stays: intl.formatMessage({
|
||||
id: "common.myStays",
|
||||
defaultMessage: "My stays",
|
||||
}),
|
||||
benefits: intl.formatMessage({
|
||||
id: "common.myBenefits",
|
||||
defaultMessage: "My benefits",
|
||||
}),
|
||||
partnerSas: intl.formatMessage({
|
||||
id: "myPagesMenu.partnerSas",
|
||||
defaultMessage: "Scandic ♥ SAS",
|
||||
}),
|
||||
teamMemberCard: intl.formatMessage({
|
||||
id: "common.teamMemberCard",
|
||||
defaultMessage: "Team Member Card",
|
||||
}),
|
||||
scandicFriends: intl.formatMessage({
|
||||
id: "common.aboutScandicFriends",
|
||||
defaultMessage: "About Scandic Friends",
|
||||
}),
|
||||
profile: intl.formatMessage({
|
||||
id: "common.myProfile",
|
||||
defaultMessage: "My profile",
|
||||
}),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user