updating the copy and title on token dettection toggle in advanced settings and notification in import tokens (#15880)

feature/default_network_editable
Niranjana Binoy 2 years ago committed by PeterYinusa
parent 51f1e4f238
commit 0402e043f8
  1. 6
      app/_locales/de/messages.json
  2. 6
      app/_locales/el/messages.json
  3. 18
      app/_locales/en/messages.json
  4. 6
      app/_locales/es/messages.json
  5. 6
      app/_locales/fr/messages.json
  6. 6
      app/_locales/hi/messages.json
  7. 6
      app/_locales/id/messages.json
  8. 6
      app/_locales/ja/messages.json
  9. 6
      app/_locales/ko/messages.json
  10. 6
      app/_locales/pt/messages.json
  11. 6
      app/_locales/ru/messages.json
  12. 6
      app/_locales/tl/messages.json
  13. 6
      app/_locales/tr/messages.json
  14. 6
      app/_locales/vi/messages.json
  15. 4
      ui/helpers/constants/settings.js
  16. 8
      ui/helpers/utils/settings-search.test.js
  17. 2
      ui/pages/import-token/import-token.component.js
  18. 4
      ui/pages/settings/advanced-tab/advanced-tab.component.js

@ -3670,12 +3670,6 @@
"tokenDetails": { "tokenDetails": {
"message": "Token-Details" "message": "Token-Details"
}, },
"tokenDetection": {
"message": "Token-Erkennung"
},
"tokenDetectionAlertMessage": {
"message": "Die Token-Erkennung ist derzeit für $1 verfügbar. $2"
},
"tokenId": { "tokenId": {
"message": "Token-ID" "message": "Token-ID"
}, },

@ -3726,12 +3726,6 @@
"tokenDetails": { "tokenDetails": {
"message": "Λεπτομέρειες token" "message": "Λεπτομέρειες token"
}, },
"tokenDetection": {
"message": "Εντοπισμός token"
},
"tokenDetectionAlertMessage": {
"message": "Ο εντοπισμός token είναι επί του παρόντος διαθέσιμος στο $1. $2"
},
"tokenId": { "tokenId": {
"message": "Αναγνωριστικό token" "message": "Αναγνωριστικό token"
}, },

@ -1228,6 +1228,15 @@
"message": "The RPC URL you have entered returned a different chain ID ($1). Please update the Chain ID to match the RPC URL of the network you are trying to add.", "message": "The RPC URL you have entered returned a different chain ID ($1). Please update the Chain ID to match the RPC URL of the network you are trying to add.",
"description": "$1 is the return value of eth_chainId from an RPC endpoint" "description": "$1 is the return value of eth_chainId from an RPC endpoint"
}, },
"enhancedTokenDetection": {
"message": "Enhanced token detection"
},
"enhancedTokenDetectionAlertMessage": {
"message": "Enhanced token detection is currently available on $1. $2"
},
"enhancedTokenDetectionDescription": {
"message": "ConsenSys' token API aggregates a list of tokens from various third party token lists. When turned on, tokens will be automatically detected, and searchable, on Ethereum mainnet, Binance, Polygon and Avalanche. When turned off, automatic detection and search can only be done on Ethereum mainnet."
},
"ensIllegalCharacter": { "ensIllegalCharacter": {
"message": "Illegal character for ENS." "message": "Illegal character for ENS."
}, },
@ -3944,15 +3953,6 @@
"tokenDetails": { "tokenDetails": {
"message": "Token details" "message": "Token details"
}, },
"tokenDetection": {
"message": "Token detection"
},
"tokenDetectionAlertMessage": {
"message": "Token detection is currently available on $1. $2"
},
"tokenDetectionDescription": {
"message": "ConsenSys' token API aggregates a list of tokens from various third party token lists. When turned on, tokens will be automatically detected, and searchable, on Ethereum mainnet, Binance, Polygon and Avalanche. When turned off, you will still be able to search for tokens on Ethereum mainnet using MetaMask's legacy token list."
},
"tokenFoundTitle": { "tokenFoundTitle": {
"message": "1 new token found" "message": "1 new token found"
}, },

@ -3726,12 +3726,6 @@
"tokenDetails": { "tokenDetails": {
"message": "Detalles del token" "message": "Detalles del token"
}, },
"tokenDetection": {
"message": "Detección del token"
},
"tokenDetectionAlertMessage": {
"message": "La detección de tókens está actualmente disponible en $1. $2"
},
"tokenId": { "tokenId": {
"message": "Identificador de Token" "message": "Identificador de Token"
}, },

@ -3726,12 +3726,6 @@
"tokenDetails": { "tokenDetails": {
"message": "Détails du token" "message": "Détails du token"
}, },
"tokenDetection": {
"message": "Détection du token"
},
"tokenDetectionAlertMessage": {
"message": "La détection du token est actuellement disponible sur $1. $2"
},
"tokenId": { "tokenId": {
"message": "ID de token" "message": "ID de token"
}, },

@ -3726,12 +3726,6 @@
"tokenDetails": { "tokenDetails": {
"message": "टकन विवरण" "message": "टकन विवरण"
}, },
"tokenDetection": {
"message": "टकन डिशन"
},
"tokenDetectionAlertMessage": {
"message": "फिलहल टकन डिशन $1 पर उपलबध ह। $2"
},
"tokenId": { "tokenId": {
"message": "टकन आइड" "message": "टकन आइड"
}, },

@ -3726,12 +3726,6 @@
"tokenDetails": { "tokenDetails": {
"message": "Detail token" "message": "Detail token"
}, },
"tokenDetection": {
"message": "Deteksi token"
},
"tokenDetectionAlertMessage": {
"message": "Saat ini deteksi token tersedia di $1. $2"
},
"tokenId": { "tokenId": {
"message": "ID token" "message": "ID token"
}, },

@ -3726,12 +3726,6 @@
"tokenDetails": { "tokenDetails": {
"message": "トークンの詳細" "message": "トークンの詳細"
}, },
"tokenDetection": {
"message": "トークン検出"
},
"tokenDetectionAlertMessage": {
"message": "トークン検出は現在 $1 で利用可能です。$2"
},
"tokenId": { "tokenId": {
"message": "トークン ID" "message": "トークン ID"
}, },

@ -3726,12 +3726,6 @@
"tokenDetails": { "tokenDetails": {
"message": "토큰 상세 정보" "message": "토큰 상세 정보"
}, },
"tokenDetection": {
"message": "토큰 감지"
},
"tokenDetectionAlertMessage": {
"message": "토큰 감지 기능은 현재 $1. $2에서 사용할 수 있습니다."
},
"tokenId": { "tokenId": {
"message": "토큰 ID" "message": "토큰 ID"
}, },

@ -3726,12 +3726,6 @@
"tokenDetails": { "tokenDetails": {
"message": "Dados do token" "message": "Dados do token"
}, },
"tokenDetection": {
"message": "Detecção de token"
},
"tokenDetectionAlertMessage": {
"message": "A detecção de tokens está atualmente disponível em $1. $2"
},
"tokenId": { "tokenId": {
"message": "ID do token" "message": "ID do token"
}, },

@ -3726,12 +3726,6 @@
"tokenDetails": { "tokenDetails": {
"message": "Сведения о токене" "message": "Сведения о токене"
}, },
"tokenDetection": {
"message": "Обнаружение токена"
},
"tokenDetectionAlertMessage": {
"message": "Обнаружение токена в настоящее время доступно на $1. $2"
},
"tokenId": { "tokenId": {
"message": "Ид. токена" "message": "Ид. токена"
}, },

@ -3726,12 +3726,6 @@
"tokenDetails": { "tokenDetails": {
"message": "Mga detalye ng token" "message": "Mga detalye ng token"
}, },
"tokenDetection": {
"message": "Pagtuklas sa token"
},
"tokenDetectionAlertMessage": {
"message": "Ang pagtukoy ng token ay kasalukuyang magagamit sa $1. $2"
},
"tokenId": { "tokenId": {
"message": "Token ID" "message": "Token ID"
}, },

@ -3726,12 +3726,6 @@
"tokenDetails": { "tokenDetails": {
"message": "Token bilgileri" "message": "Token bilgileri"
}, },
"tokenDetection": {
"message": "Token algılama"
},
"tokenDetectionAlertMessage": {
"message": "Token algılama şu anda $1 üzerinden kullanılabilir. $2"
},
"tokenId": { "tokenId": {
"message": "Token Kimliği" "message": "Token Kimliği"
}, },

@ -3726,12 +3726,6 @@
"tokenDetails": { "tokenDetails": {
"message": "Chi tiết token" "message": "Chi tiết token"
}, },
"tokenDetection": {
"message": "Phát hiện token"
},
"tokenDetectionAlertMessage": {
"message": "Tính năng phát hiện token hiện có sẵn trên $1. $2"
},
"tokenId": { "tokenId": {
"message": "ID Token" "message": "ID Token"
}, },

@ -322,8 +322,8 @@ export const SETTINGS_CONSTANTS = [
}, },
{ {
tabMessage: (t) => t('advanced'), tabMessage: (t) => t('advanced'),
sectionMessage: (t) => t('tokenDetection'), sectionMessage: (t) => t('enhancedTokenDetection'),
descriptionMessage: (t) => t('tokenDetectionDescription'), descriptionMessage: (t) => t('enhancedTokenDetectionDescription'),
route: `${ADVANCED_ROUTE}#token-description`, route: `${ADVANCED_ROUTE}#token-description`,
icon: 'fas fa-sliders-h', icon: 'fas fa-sliders-h',
}, },

@ -113,10 +113,10 @@ const t = (key) => {
return 'Localhost 8545'; return 'Localhost 8545';
case 'experimental': case 'experimental':
return 'Experimental'; return 'Experimental';
case 'tokenDetection': case 'enhancedTokenDetection':
return 'Token detection'; return 'Enhanced token detection';
case 'tokenDetectionDescription': case 'enhancedTokenDetectionDescription':
return "ConsenSys' token API aggregates a list of tokens from various third party token lists. When turned on, tokens will be automatically detected, and searchable, on Ethereum mainnet, Binance, Polygon and Avalanche. When turned off, you will still be able to search for tokens on Ethereum mainnet using MetaMask's legacy token list."; return "ConsenSys' token API aggregates a list of tokens from various third party token lists. When turned on, tokens will be automatically detected, and searchable, on Ethereum mainnet, Binance, Polygon and Avalanche. When turned off, automatic detection and search can only be done on Ethereum mainnet.";
case 'enableEIP1559V2': case 'enableEIP1559V2':
return 'Enable enhanced gas fee UI'; return 'Enable enhanced gas fee UI';
case 'enableEIP1559V2Description': case 'enableEIP1559V2Description':

@ -581,7 +581,7 @@ class ImportToken extends Component {
<div className="import-token__search-token"> <div className="import-token__search-token">
{!useTokenDetection && ( {!useTokenDetection && (
<ActionableMessage <ActionableMessage
message={t('tokenDetectionAlertMessage', [ message={t('enhancedTokenDetectionAlertMessage', [
networkName, networkName,
<Button <Button
type="link" type="link"

@ -827,9 +827,9 @@ export default class AdvancedTab extends PureComponent {
data-testid="advanced-setting-token-detection" data-testid="advanced-setting-token-detection"
> >
<div className="settings-page__content-item"> <div className="settings-page__content-item">
<span>{t('tokenDetection')}</span> <span>{t('enhancedTokenDetection')}</span>
<div className="settings-page__content-description"> <div className="settings-page__content-description">
{t('tokenDetectionDescription')} {t('enhancedTokenDetectionDescription')}
</div> </div>
</div> </div>
<div className="settings-page__content-item"> <div className="settings-page__content-item">

Loading…
Cancel
Save