fix: added some missing redeem flow translations and fixed copy on button

This commit is contained in:
Christian Andolf
2025-01-09 14:20:54 +01:00
parent 6d58114d5a
commit 56276a6f19
3 changed files with 4 additions and 2 deletions

View File

@@ -49,8 +49,8 @@ export default function Campaign({ reward }: { reward: RewardWithRedeem }) {
theme="base" theme="base"
intent="primary" intent="primary"
> >
{reward.operaRewardId}
<CopyIcon color="pale" /> <CopyIcon color="pale" />
{intl.formatMessage({ id: "Copy promotion code" })}
</Button> </Button>
</footer> </footer>
</> </>

View File

@@ -14,7 +14,7 @@ export default function MembershipNumberBadge({
return ( return (
<div className={styles.rewardBadge}> <div className={styles.rewardBadge}>
<Caption textAlign="center" color="uiTextHighContrast"> <Caption textAlign="center" color="uiTextHighContrast">
{intl.formatMessage({ id: "Membership ID:" })} {membershipNumber} {intl.formatMessage({ id: "Membership ID" })}: {membershipNumber}
</Caption> </Caption>
</div> </div>
) )

View File

@@ -104,6 +104,7 @@
"Contact us": "Contact us", "Contact us": "Contact us",
"Continue": "Continue", "Continue": "Continue",
"Copied to clipboard": "Copied to clipboard", "Copied to clipboard": "Copied to clipboard",
"Copy promotion code": "Copy promotion code",
"Copyright all rights reserved": "Scandic AB All rights reserved", "Copyright all rights reserved": "Scandic AB All rights reserved",
"Could not find requested resource": "Could not find requested resource", "Could not find requested resource": "Could not find requested resource",
"Country": "Country", "Country": "Country",
@@ -364,6 +365,7 @@
"Print confirmation": "Print confirmation", "Print confirmation": "Print confirmation",
"Proceed to login": "Proceed to login", "Proceed to login": "Proceed to login",
"Proceed to payment method": "Proceed to payment method", "Proceed to payment method": "Proceed to payment method",
"Promo code": "Promo code",
"Provide a payment card in the next step": "Provide a payment card in the next step", "Provide a payment card in the next step": "Provide a payment card in the next step",
"Public price from": "Public price from", "Public price from": "Public price from",
"Public transport": "Public transport", "Public transport": "Public transport",