-
Referees
+
{t('Referees')}
(
- I want a code
+ {t('I want a code')}
- I have a code
+ {t('I have a code')}
);
@@ -77,7 +77,7 @@ export const Referrals = () => {
) : error ? (
-
Something went wrong
+
{t('Something went wrong')}
{error.message}
) : (
@@ -88,7 +88,7 @@ export const Referrals = () => {
-
How it works
+ {t('How it works')}
@@ -98,7 +98,8 @@ export const Referrals = () => {
href={REFERRAL_DOCS_LINK}
target="_blank"
>
- Read the terms
+ {t('Read the terms')}{' '}
+
diff --git a/apps/trading/client-pages/referrals/tiers.tsx b/apps/trading/client-pages/referrals/tiers.tsx
index 73f3831c2..e6045c2bb 100644
--- a/apps/trading/client-pages/referrals/tiers.tsx
+++ b/apps/trading/client-pages/referrals/tiers.tsx
@@ -7,6 +7,7 @@ import { Tag } from './tag';
import type { ComponentProps, ReactNode } from 'react';
import { ExternalLink } from '@vegaprotocol/ui-toolkit';
import { DApp, TOKEN_PROPOSALS, useLinks } from '@vegaprotocol/environment';
+import { t } from '@vegaprotocol/i18n';
const Loading = ({ variant }: { variant: 'large' | 'inline' }) => (
Multiplier {referralRewardMultiplier}x
{label}
- Stake a minimum of {minimumStakedTokens} $VEGA tokens
+ {t('Stake a minimum of')} {minimumStakedTokens} {t('$VEGA tokens')}
@@ -81,9 +82,12 @@ export const TiersContainer = () => {
if ((!loading && !details) || error) {
return (
- We're sorry but we don't have an active referral programme
- currently running. You can propose a new programme{' '}
- here
+ {t(
+ "We're sorry but we don't have an active referral programme currently running. You can propose a new programme"
+ )}{' '}
+
+ {t('here')}
+
.
);
@@ -93,10 +97,10 @@ export const TiersContainer = () => {
<>
{/* Benefit tiers */}
{loading || !stakingTiers || stakingTiers.length === 0 ? (
@@ -170,15 +174,15 @@ const TiersTable = ({
return (