fix(i18n): prepare for Lokalise
This commit is contained in:
@@ -42,7 +42,9 @@ export default function SurprisesNotification({
|
||||
toast.success(
|
||||
<>
|
||||
{intl.formatMessage(
|
||||
{ id: "Gift(s) added to your benefits" },
|
||||
{
|
||||
id: "{amount, plural, one {Gift} other {Gifts}} added to your benefits",
|
||||
},
|
||||
{ amount: surprises.length }
|
||||
)}
|
||||
<br />
|
||||
@@ -117,7 +119,10 @@ export default function SurprisesNotification({
|
||||
}}
|
||||
onAnimationComplete={confetti}
|
||||
>
|
||||
<Dialog aria-label="Surprises" className={styles.dialog}>
|
||||
<Dialog
|
||||
aria-label={intl.formatMessage({ id: "Surprises" })}
|
||||
className={styles.dialog}
|
||||
>
|
||||
{({ close }) => {
|
||||
return (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user