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:
@@ -65,7 +65,12 @@ export function UserMenu({ isMobile = false }: { isMobile?: boolean }) {
|
||||
: "Body/Supporting text (caption)/smRegular"
|
||||
}
|
||||
>
|
||||
<span>{intl.formatMessage({ defaultMessage: "Log in" })}</span>
|
||||
<span>
|
||||
{intl.formatMessage({
|
||||
id: "partnerSas.menu.login",
|
||||
defaultMessage: "Log in",
|
||||
})}
|
||||
</span>
|
||||
</Typography>
|
||||
)}
|
||||
</a>
|
||||
@@ -102,6 +107,7 @@ export function UserMenu({ isMobile = false }: { isMobile?: boolean }) {
|
||||
type="button"
|
||||
className={styles.closeModalBtn}
|
||||
aria-label={intl.formatMessage({
|
||||
id: "header.closeMenu",
|
||||
defaultMessage: "Close menu",
|
||||
})}
|
||||
onPress={close}
|
||||
@@ -158,7 +164,10 @@ function UserMenuContent({
|
||||
<Typography variant={"Title/Subtitle/md"}>
|
||||
<h3>
|
||||
{intl.formatMessage(
|
||||
{ defaultMessage: `Hi {fName} {lName}!` },
|
||||
{
|
||||
id: "partnerSas.mobileMenu.greeting",
|
||||
defaultMessage: `Hi {fName} {lName}!`,
|
||||
},
|
||||
{ fName: firstName, lName: lastName }
|
||||
)}
|
||||
</h3>
|
||||
@@ -166,7 +175,12 @@ function UserMenuContent({
|
||||
)}
|
||||
<p className={styles.pointsDetails}>
|
||||
<Typography variant="Title/Overline/sm">
|
||||
<span>{intl.formatMessage({ defaultMessage: "EB Points" })}</span>
|
||||
<span>
|
||||
{intl.formatMessage({
|
||||
id: "partnerSas.menu.ebPointsTitle",
|
||||
defaultMessage: "EB Points",
|
||||
})}
|
||||
</span>
|
||||
</Typography>
|
||||
<Typography variant="Title/Overline/sm">
|
||||
{/* eslint-disable-next-line formatjs/no-literal-string-in-jsx */}
|
||||
@@ -176,6 +190,7 @@ function UserMenuContent({
|
||||
<span>
|
||||
{intl.formatMessage(
|
||||
{
|
||||
id: "partnerSas.menu.ebPoints",
|
||||
defaultMessage: "{points} points",
|
||||
},
|
||||
{
|
||||
@@ -190,7 +205,10 @@ function UserMenuContent({
|
||||
<Typography variant={"Link/md"} className={styles.logoutLink}>
|
||||
{/* Link triggers rsc which doesn't reload complete page and shows logged in even after logout */}
|
||||
<a href={`/${lang}/logout`}>
|
||||
{intl.formatMessage({ defaultMessage: "Log out" })}
|
||||
{intl.formatMessage({
|
||||
id: "common.logOut",
|
||||
defaultMessage: "Log out",
|
||||
})}
|
||||
</a>
|
||||
</Typography>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user