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:
@@ -17,6 +17,7 @@ export default function Card({ title, children }: CardProps) {
|
||||
width={113}
|
||||
height={125}
|
||||
alt={intl.formatMessage({
|
||||
id: "rewards.surprise",
|
||||
defaultMessage: "Surprise!",
|
||||
})}
|
||||
/>
|
||||
|
||||
@@ -77,6 +77,7 @@ export default function SurprisesNotification({
|
||||
<>
|
||||
{intl.formatMessage(
|
||||
{
|
||||
id: "myPages.countOfGiftsAddedToYourBenefits",
|
||||
defaultMessage:
|
||||
"{amount, plural, one {Gift} other {Gifts}} added to your benefits",
|
||||
},
|
||||
@@ -85,6 +86,7 @@ export default function SurprisesNotification({
|
||||
<br />
|
||||
<Link href={benefitPageUrl} textDecoration="underline">
|
||||
{intl.formatMessage({
|
||||
id: "myPages.goToMyBenfits",
|
||||
defaultMessage: "Go to My Benefits",
|
||||
})}
|
||||
</Link>
|
||||
@@ -97,6 +99,7 @@ export default function SurprisesNotification({
|
||||
<>
|
||||
{intl.formatMessage(
|
||||
{
|
||||
id: "myPages.somethingWentWrongShowingYourSurprise",
|
||||
defaultMessage:
|
||||
"Oops! Something went wrong while showing your surprise. Please refresh the page or try again later. If the issue persists, <link>contact the support.</link>",
|
||||
},
|
||||
@@ -174,6 +177,7 @@ export default function SurprisesNotification({
|
||||
>
|
||||
<Dialog
|
||||
aria-label={intl.formatMessage({
|
||||
id: "myPages.Surprises",
|
||||
defaultMessage: "Surprises",
|
||||
})}
|
||||
className={styles.dialog}
|
||||
@@ -192,6 +196,7 @@ export default function SurprisesNotification({
|
||||
<p>
|
||||
{intl.formatMessage(
|
||||
{
|
||||
id: "myPages.AmountOutOfTotalWithValues",
|
||||
defaultMessage: "{amount} out of {total}",
|
||||
},
|
||||
{
|
||||
|
||||
@@ -15,6 +15,7 @@ export default function Initial({ totalSurprises, onOpen }: InitialProps) {
|
||||
return (
|
||||
<Card
|
||||
title={intl.formatMessage({
|
||||
id: "rewards.surprise",
|
||||
defaultMessage: "Surprise!",
|
||||
})}
|
||||
>
|
||||
@@ -24,6 +25,7 @@ export default function Initial({ totalSurprises, onOpen }: InitialProps) {
|
||||
<>
|
||||
{intl.formatMessage(
|
||||
{
|
||||
id: "myPages.surprises.giftsWaiting",
|
||||
defaultMessage:
|
||||
"You have <b>{amount}</b> gifts waiting for you!",
|
||||
},
|
||||
@@ -34,11 +36,13 @@ export default function Initial({ totalSurprises, onOpen }: InitialProps) {
|
||||
)}
|
||||
<br />
|
||||
{intl.formatMessage({
|
||||
id: "myPages.surprises.willExpire",
|
||||
defaultMessage: "Hurry up and use them before they expire!",
|
||||
})}
|
||||
</>
|
||||
) : (
|
||||
intl.formatMessage({
|
||||
id: "myPages.surprises.giftWaiting",
|
||||
defaultMessage: "We have a special gift waiting for you!",
|
||||
})
|
||||
)}
|
||||
@@ -47,6 +51,7 @@ export default function Initial({ totalSurprises, onOpen }: InitialProps) {
|
||||
<Typography variant="Body/Supporting text (caption)/smRegular">
|
||||
<p>
|
||||
{intl.formatMessage({
|
||||
id: "myPages.surprises.findGifts",
|
||||
defaultMessage: "You'll find all your gifts in 'My benefits'",
|
||||
})}
|
||||
</p>
|
||||
@@ -62,6 +67,7 @@ export default function Initial({ totalSurprises, onOpen }: InitialProps) {
|
||||
>
|
||||
{intl.formatMessage(
|
||||
{
|
||||
id: "myPages.surprises.openGifts",
|
||||
defaultMessage: "Open {amount, plural, one {gift} other {gifts}}",
|
||||
},
|
||||
{ amount: totalSurprises }
|
||||
|
||||
@@ -30,6 +30,7 @@ export default function Navigation({
|
||||
className={styles.chevron}
|
||||
/>
|
||||
{intl.formatMessage({
|
||||
id: "common.previous",
|
||||
defaultMessage: "Previous",
|
||||
})}
|
||||
</Button>
|
||||
@@ -41,6 +42,7 @@ export default function Navigation({
|
||||
typography="Body/Supporting text (caption)/smBold"
|
||||
>
|
||||
{intl.formatMessage({
|
||||
id: "common.next",
|
||||
defaultMessage: "Next",
|
||||
})}
|
||||
<MaterialIcon icon="chevron_right" size={20} color="CurrentColor" />
|
||||
|
||||
Reference in New Issue
Block a user