1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00

adding textfix on experimental tab (#17306)

This commit is contained in:
vthomas13 2023-02-02 13:18:25 -05:00 committed by GitHub
parent 3f50243cef
commit 7ef3fa08ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 6 deletions

View File

@ -4240,10 +4240,10 @@
"message": "Autodetect NFTs"
},
"useCollectibleDetectionDescription": {
"message": "We use third-party APIs to detect NFTs in your wallet, which means your IP address may be exposed to their servers. Leave this feature off if you don't want the app to pull data from those services."
"message": "We use third-party APIs to detect NFTs in your wallet, which means your IP address may be exposed to centralized servers. There are a few things to be cautious about when enabling this feature."
},
"useCollectibleDetectionDescriptionLine2": {
"message": "Additionally, be aware that:"
"message": "Your account address will be viewable to third-party APIs."
},
"useCollectibleDetectionDescriptionLine3": {
"message": "NFT metadata may contain links to scams or phishing sites."
@ -4251,6 +4251,9 @@
"useCollectibleDetectionDescriptionLine4": {
"message": "Anyone can airdrop NFTs to your account. This can include offensive content that might be automatically displayed in your wallet."
},
"useCollectibleDetectionDescriptionLine5": {
"message": "Leave this feature off if you don't want the app to pull data from those services."
},
"useDefault": {
"message": "Use default"
},

View File

@ -7,8 +7,10 @@ import {
} from '../../../helpers/utils/settings-search';
import { EVENT } from '../../../../shared/constants/metametrics';
import Typography from '../../../components/ui/typography/typography';
import { Text } from '../../../components/component-library';
import {
COLORS,
TEXT_COLORS,
FONT_WEIGHT,
TYPOGRAPHY,
} from '../../../helpers/constants/design-system';
@ -96,13 +98,17 @@ export default class ExperimentalTab extends PureComponent {
<div className="settings-page__content-item">
<span>{t('useCollectibleDetection')}</span>
<div className="settings-page__content-description">
{t('useCollectibleDetectionDescription')}
<br />
{t('useCollectibleDetectionDescriptionLine2')}
<Text color={TEXT_COLORS.TEXT_ALTERNATIVE}>
{t('useCollectibleDetectionDescription')}
</Text>
<ul className="settings-page__content-unordered-list">
<li>{t('useCollectibleDetectionDescriptionLine2')}</li>
<li>{t('useCollectibleDetectionDescriptionLine3')}</li>
<li>{t('useCollectibleDetectionDescriptionLine4')}</li>
</ul>
<Text color={TEXT_COLORS.TEXT_ALTERNATIVE} paddingTop={4}>
{t('useCollectibleDetectionDescriptionLine5')}
</Text>
</div>
</div>
<div className="settings-page__content-item">

View File

@ -356,7 +356,7 @@
&__content-unordered-list {
padding-left: 2.5rem;
margin-top: 2.5rem;
margin-top: 1rem;
list-style: disc;
}