Skip to content

Commit bf2ebae

Browse files
authored
fix: text-inside-blocked-address-comp (#2594)
1 parent 95db832 commit bf2ebae

File tree

6 files changed

+9
-20
lines changed

6 files changed

+9
-20
lines changed

src/components/AddressBlockedModal.tsx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { Trans } from '@lingui/macro';
33
import { Box, Button, SvgIcon, Typography } from '@mui/material';
44

55
import { BasicModal } from './primitives/BasicModal';
6-
import { Link } from './primitives/Link';
76

87
export interface AddressBlockedProps {
98
address: string;
@@ -34,13 +33,7 @@ export const AddressBlockedModal = ({ address, onDisconnectWallet }: AddressBloc
3433
{address}
3534
</Typography>
3635
<Typography variant="description" sx={{ textAlign: 'center', mb: 4 }}>
37-
<Trans>
38-
This address is blocked on app.aave.com because it is associated with one or more
39-
</Trans>{' '}
40-
<Link href="https://docs.aave.com/faq/#address-screening" underline="always">
41-
<Trans>blocked activities</Trans>
42-
</Link>
43-
{'.'}
36+
<Trans>This address is blocked on app.aave.com.</Trans>
4437
</Typography>
4538
<Button variant="contained" onClick={onDisconnectWallet}>
4639
<SvgIcon fontSize="small" sx={{ mx: 1 }}>

src/locales/el/messages.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/locales/en/messages.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/locales/en/messages.po

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1856,10 +1856,6 @@ msgstr "Borrow balance after switch"
18561856
msgid "Asset has been successfully sent to CCIP contract. You can check the status of the transactions below"
18571857
msgstr "Asset has been successfully sent to CCIP contract. You can check the status of the transactions below"
18581858

1859-
#: src/components/AddressBlockedModal.tsx
1860-
msgid "blocked activities"
1861-
msgstr "blocked activities"
1862-
18631859
#: pages/500.page.tsx
18641860
msgid "Reload the page"
18651861
msgstr "Reload the page"
@@ -2405,6 +2401,10 @@ msgstr "Action requires an active reserve"
24052401
msgid "Amount to unstake"
24062402
msgstr "Amount to unstake"
24072403

2404+
#: src/components/AddressBlockedModal.tsx
2405+
msgid "This address is blocked on app.aave.com."
2406+
msgstr "This address is blocked on app.aave.com."
2407+
24082408
#: src/components/infoTooltips/SlippageTooltip.tsx
24092409
msgid "Slippage is the difference between the quoted and received amounts from changing market conditions between the moment the transaction is submitted and its verification."
24102410
msgstr "Slippage is the difference between the quoted and received amounts from changing market conditions between the moment the transaction is submitted and its verification."
@@ -2544,10 +2544,6 @@ msgstr "Please connect your wallet to get free testnet assets."
25442544
msgid "Approve Confirmed"
25452545
msgstr "Approve Confirmed"
25462546

2547-
#: src/components/AddressBlockedModal.tsx
2548-
msgid "This address is blocked on app.aave.com because it is associated with one or more"
2549-
msgstr "This address is blocked on app.aave.com because it is associated with one or more"
2550-
25512547
#: src/ui-config/errorMapping.tsx
25522548
msgid "Zero address not valid"
25532549
msgstr "Zero address not valid"

src/locales/es/messages.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/locales/fr/messages.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)