From b89630fdd2d1309ff5b641a9dcb3ef3dc409a298 Mon Sep 17 00:00:00 2001 From: David Walsh Date: Thu, 1 Jun 2023 16:14:38 -0500 Subject: [PATCH] Release MultiChain 0.5 (#18903) * Show portfolio icon in ETH overview * Show new copy button in QR code modal * Show address copy button in wallet overview * Update connected status component * Remove legacy MenuBar * Remove legacy ImportTokenLink * Remove AssetListItem * Remove DetectedTokensLink * Remove legacy AppHeader * Remove MULTICHAIN flag from builds.yml * Remove legacy AccountMenu * FIX: Token cell snapshot * Add data-testid for Account Picker * Remove multichain check in LoadingNetworkScreen * Remove MULTICHAIN check for AccountDetailsModal * Remove MULTICHAIN check for AssetList * Update QR dimensions * Remove MULTICHAIN declaration from metamaskrc.dist * Implement PickerNetwork and NetworkListMenu in onboarding * Remove legacy NetworkDropdown and Dropdown * Remove documentation about legacy account menu * FIX: Fixes route tests for missing data-testid=network-display * Fix account-menu-icon data-testid * Fix TokenCell test * FIX Onboarding Flow tests * Remove unused locales from AccountMenu removal * E2E: Fix Import Secret Recovery Phrase: logs out of the vault * E2E: Fix Show account details: should show the QR code for the account * E2E: Fix add-account.spec.js * E2E: Fix state-logs.spec.js * E2E: Fix lock-account.spec.js * E2E: Fix settings-general.spec.js * E2E: Fix advanced-settings.spec.js * E2E: Fix auto-lock.spec.js * E2E: Fix backup-restore.spec.js * E2E: Fix clear-activity.spec.js * E2E: Fix settings-search.spec.js * E2E: Fix encrypt-decrypt.spec.js * E2E: Fix dapp-interactions.spec.js * E2E: Fix test-snap-management.spec.js * E2E: Fix add-custom-network.spec.js * E2E: Fix from-import-ui.spec.js * E2E: Fix provider-api.spec.js * E2E: Fix chain-interactions.spec.js * E2E: Fix custom-rpc-history.spec.js * Remove network icon from overview components * E2E: Fix user-actions-benchmark.js * E2E: Fix benchmark.js * E2E: Fix add-hide-token.spec.js * E2E: Fix address-book.spec.js * E2E: Fix custom-token-add-approve.spec.js * E2E: Fix incremental-security.spec.js * E2E: Fix metamask-responsive-ui.spec.js * E2E: Onboarding.spec.js * E2E: Fix permissions.spec.js * E2E: Fix send-hex-address.spec.js * E2E: Fix send-to-contract.spec.js * Remove dead AccountOptionsMenu test * E2E: Fix token-details.spec.js * E2E: Fix switch-custom-network.spec.js * E2E: Fix metamask-ui.spec.js * Revert "UX Multichain: updated border top for activity list (#19176)" This reverts commit 15598f2a23d936d3c468a1b8849ec3baaccee4cd. * E2Es: Fix test-snap-management.spec.js and test-snap-notification.spec.js * E2Es: Fix add-account.spec.js after flaky test fixes * e2e flaky test * adds back the mmi options * scss fix * test fix * removes unnecessary double quotes * Prevent double logos on login screen * Update ui/components/ui/list-item/index.scss Co-authored-by: Nidhi Kumari --------- Co-authored-by: seaona Co-authored-by: Antonio Regadas Co-authored-by: Nidhi Kumari --- .metamaskrc.dist | 1 - app/_locales/am/messages.json | 10 - app/_locales/ar/messages.json | 10 - app/_locales/bg/messages.json | 10 - app/_locales/bn/messages.json | 10 - app/_locales/ca/messages.json | 10 - app/_locales/cs/messages.json | 7 - app/_locales/da/messages.json | 10 - app/_locales/de/messages.json | 29 - app/_locales/el/messages.json | 29 - app/_locales/en/messages.json | 34 +- app/_locales/es/messages.json | 29 - app/_locales/es_419/messages.json | 26 - app/_locales/et/messages.json | 10 - app/_locales/fa/messages.json | 10 - app/_locales/fi/messages.json | 10 - app/_locales/fil/messages.json | 10 - app/_locales/fr/messages.json | 29 - app/_locales/he/messages.json | 10 - app/_locales/hi/messages.json | 29 - app/_locales/hn/messages.json | 7 - app/_locales/hr/messages.json | 10 - app/_locales/ht/messages.json | 10 - app/_locales/hu/messages.json | 10 - app/_locales/id/messages.json | 29 - app/_locales/it/messages.json | 13 - app/_locales/ja/messages.json | 29 - app/_locales/kn/messages.json | 10 - app/_locales/ko/messages.json | 29 - app/_locales/lt/messages.json | 10 - app/_locales/lv/messages.json | 10 - app/_locales/ms/messages.json | 10 - app/_locales/nl/messages.json | 7 - app/_locales/no/messages.json | 10 - app/_locales/ph/messages.json | 13 - app/_locales/pl/messages.json | 10 - app/_locales/pt/messages.json | 29 - app/_locales/pt_BR/messages.json | 26 - app/_locales/ro/messages.json | 10 - app/_locales/ru/messages.json | 29 - app/_locales/sk/messages.json | 10 - app/_locales/sl/messages.json | 10 - app/_locales/sr/messages.json | 10 - app/_locales/sv/messages.json | 10 - app/_locales/sw/messages.json | 10 - app/_locales/ta/messages.json | 7 - app/_locales/th/messages.json | 7 - app/_locales/tl/messages.json | 29 - app/_locales/tr/messages.json | 29 - app/_locales/uk/messages.json | 10 - app/_locales/vi/messages.json | 29 - app/_locales/zh_CN/messages.json | 29 - app/_locales/zh_TW/messages.json | 13 - builds.yml | 1 - .../files-to-convert.json | 4 - docs/components/account-menu.md | 16 - test/e2e/benchmark.js | 2 +- test/e2e/helpers.js | 10 +- test/e2e/metamask-ui.spec.js | 12 +- test/e2e/snaps/test-snap-management.spec.js | 18 +- test/e2e/snaps/test-snap-notification.spec.js | 12 +- test/e2e/tests/account-details.spec.js | 7 +- test/e2e/tests/add-account.spec.js | 79 ++- test/e2e/tests/add-custom-network.spec.js | 38 +- test/e2e/tests/add-hide-token.spec.js | 10 +- test/e2e/tests/address-book.spec.js | 8 +- test/e2e/tests/advanced-settings.spec.js | 4 +- test/e2e/tests/auto-lock.spec.js | 4 +- test/e2e/tests/backup-restore.spec.js | 8 +- test/e2e/tests/chain-interactions.spec.js | 9 +- test/e2e/tests/clear-activity.spec.js | 9 +- test/e2e/tests/custom-rpc-history.spec.js | 26 +- .../tests/custom-token-add-approve.spec.js | 9 +- test/e2e/tests/dapp-interactions.spec.js | 12 +- test/e2e/tests/encrypt-decrypt.spec.js | 1 - test/e2e/tests/from-import-ui.spec.js | 120 ++-- test/e2e/tests/incremental-security.spec.js | 16 +- test/e2e/tests/lock-account.spec.js | 10 +- test/e2e/tests/metamask-responsive-ui.spec.js | 2 +- test/e2e/tests/onboarding.spec.js | 5 +- test/e2e/tests/permissions.spec.js | 4 +- test/e2e/tests/provider-api.spec.js | 2 +- test/e2e/tests/send-hex-address.spec.js | 16 +- test/e2e/tests/send-to-contract.spec.js | 4 +- test/e2e/tests/settings-general.spec.js | 4 +- test/e2e/tests/settings-search.spec.js | 36 +- test/e2e/tests/state-logs.spec.js | 4 +- test/e2e/tests/switch-custom-network.spec.js | 2 +- test/e2e/tests/token-details.spec.js | 2 +- test/e2e/user-actions-benchmark.js | 6 +- .../__snapshots__/account-menu.test.js.snap | 400 ------------ .../account-menu/account-menu.component.js | 617 ------------------ .../account-menu/account-menu.container.js | 81 --- .../app/account-menu/account-menu.test.js | 208 ------ ui/components/app/account-menu/index.js | 1 - ui/components/app/account-menu/index.scss | 291 --------- .../app/account-menu/keyring-label.js | 56 -- ui/components/app/app-components.scss | 6 - .../__snapshots__/app-header.test.js.snap | 301 --------- .../app/app-header/app-header.component.js | 195 ------ .../app/app-header/app-header.container.js | 76 --- .../app/app-header/app-header.stories.js | 25 - .../app/app-header/app-header.test.js | 182 ------ ui/components/app/app-header/index.js | 1 - ui/components/app/app-header/index.scss | 122 ---- .../app/asset-list-item/asset-list-item.js | 179 ----- .../app/asset-list-item/asset-list-item.scss | 75 --- .../asset-list-item.stories.js | 51 -- ui/components/app/asset-list-item/index.js | 1 - ui/components/app/asset-list/asset-list.js | 84 +-- .../detected-tokens-link.js | 66 -- .../detected-tokens-link.stories.js | 28 - .../detected-tokens-link.test.js | 32 - .../detected-tokens-link/index.scss | 5 - .../connected-status-indicator.js | 39 +- .../__snapshots__/dropdown.test.js.snap | 12 - ui/components/app/dropdowns/dropdown.js | 106 --- ui/components/app/dropdowns/dropdown.test.js | 31 - .../app/dropdowns/network-dropdown.js | 464 ------------- .../app/dropdowns/network-dropdown.test.js | 186 ------ .../import-token-link.test.js.snap | 53 -- .../import-token-link.component.js | 72 -- .../import-token-link.test.js | 95 --- ui/components/app/import-token-link/index.js | 1 - .../app/import-token-link/index.scss | 8 - .../loading-network-screen.container.js | 5 +- .../app/menu-bar/account-options-menu.js | 225 ------- .../menu-bar/account-options-menu.stories.js | 19 - .../app/menu-bar/account-options-menu.test.js | 104 --- ui/components/app/menu-bar/index.js | 1 - ui/components/app/menu-bar/index.scss | 42 -- ui/components/app/menu-bar/menu-bar.js | 101 --- ui/components/app/menu-bar/menu-bar.test.js | 142 ---- .../__snapshots__/token-cell.test.js.snap | 133 ++-- ui/components/app/token-cell/token-cell.js | 78 +-- .../app/token-cell/token-cell.test.js | 2 +- .../transaction-list-item.component.js | 2 - .../app/wallet-overview/eth-overview.js | 69 +- .../app/wallet-overview/token-overview.js | 4 - .../app/wallet-overview/wallet-overview.js | 14 +- .../account-list-item-menu.js | 49 ++ .../account-list-item-menu.stories.js | 2 +- .../account-list-menu/account-list-menu.js | 1 + .../__snapshots__/account-picker.test.js.snap | 1 + .../account-picker/account-picker.js | 1 + .../__snapshots__/app-header.test.js.snap | 1 + .../multichain/app-header/app-header.js | 56 +- .../multichain/app-header/app-header.scss | 27 + .../multichain/app-header/app-header.test.js | 1 + .../multichain/global-menu/global-menu.js | 1 + .../multichain-token-list-item.test.js.snap | 1 + .../multichain-token-list-item.js | 5 +- .../network-list-menu/network-list-menu.js | 19 +- .../list-item.component.test.js.snap | 4 +- ui/components/ui/list-item/index.scss | 4 - .../ui/list-item/list-item.component.js | 5 - ui/components/ui/qr-code/qr-code.js | 64 +- ui/pages/home/home.component.js | 14 +- .../onboarding-flow/onboarding-flow.test.js | 5 + .../privacy-settings/privacy-settings.js | 42 +- ui/pages/routes/routes.component.js | 27 +- ui/pages/routes/routes.component.test.js | 4 + 162 files changed, 640 insertions(+), 6154 deletions(-) delete mode 100644 docs/components/account-menu.md delete mode 100644 ui/components/app/account-menu/__snapshots__/account-menu.test.js.snap delete mode 100644 ui/components/app/account-menu/account-menu.component.js delete mode 100644 ui/components/app/account-menu/account-menu.container.js delete mode 100644 ui/components/app/account-menu/account-menu.test.js delete mode 100644 ui/components/app/account-menu/index.js delete mode 100644 ui/components/app/account-menu/index.scss delete mode 100644 ui/components/app/account-menu/keyring-label.js delete mode 100644 ui/components/app/app-header/__snapshots__/app-header.test.js.snap delete mode 100644 ui/components/app/app-header/app-header.component.js delete mode 100644 ui/components/app/app-header/app-header.container.js delete mode 100644 ui/components/app/app-header/app-header.stories.js delete mode 100644 ui/components/app/app-header/app-header.test.js delete mode 100644 ui/components/app/app-header/index.js delete mode 100644 ui/components/app/app-header/index.scss delete mode 100644 ui/components/app/asset-list-item/asset-list-item.js delete mode 100644 ui/components/app/asset-list-item/asset-list-item.scss delete mode 100644 ui/components/app/asset-list-item/asset-list-item.stories.js delete mode 100644 ui/components/app/asset-list-item/index.js delete mode 100644 ui/components/app/asset-list/detected-tokens-link/detected-tokens-link.js delete mode 100644 ui/components/app/asset-list/detected-tokens-link/detected-tokens-link.stories.js delete mode 100644 ui/components/app/asset-list/detected-tokens-link/detected-tokens-link.test.js delete mode 100644 ui/components/app/asset-list/detected-tokens-link/index.scss delete mode 100644 ui/components/app/dropdowns/__snapshots__/dropdown.test.js.snap delete mode 100644 ui/components/app/dropdowns/dropdown.js delete mode 100644 ui/components/app/dropdowns/dropdown.test.js delete mode 100644 ui/components/app/dropdowns/network-dropdown.js delete mode 100644 ui/components/app/dropdowns/network-dropdown.test.js delete mode 100644 ui/components/app/import-token-link/__snapshots__/import-token-link.test.js.snap delete mode 100644 ui/components/app/import-token-link/import-token-link.component.js delete mode 100644 ui/components/app/import-token-link/import-token-link.test.js delete mode 100644 ui/components/app/import-token-link/index.js delete mode 100644 ui/components/app/import-token-link/index.scss delete mode 100644 ui/components/app/menu-bar/account-options-menu.js delete mode 100644 ui/components/app/menu-bar/account-options-menu.stories.js delete mode 100644 ui/components/app/menu-bar/account-options-menu.test.js delete mode 100644 ui/components/app/menu-bar/index.js delete mode 100644 ui/components/app/menu-bar/index.scss delete mode 100644 ui/components/app/menu-bar/menu-bar.js delete mode 100644 ui/components/app/menu-bar/menu-bar.test.js diff --git a/.metamaskrc.dist b/.metamaskrc.dist index d00289cdb2c2..0e0bc421eb1f 100644 --- a/.metamaskrc.dist +++ b/.metamaskrc.dist @@ -9,7 +9,6 @@ INFURA_PROJECT_ID=00000000000 ;SWAPS_USE_DEV_APIS= ;PORTFOLIO_URL= ;TRANSACTION_SECURITY_PROVIDER= -;MULTICHAIN= ; Set this to test changes to the phishing warning page. ;PHISHING_WARNING_PAGE_URL= diff --git a/app/_locales/am/messages.json b/app/_locales/am/messages.json index c7bb730e55e5..0235cf116157 100644 --- a/app/_locales/am/messages.json +++ b/app/_locales/am/messages.json @@ -148,9 +148,6 @@ "connect": { "message": "ይገናኙ" }, - "connectHardwareWallet": { - "message": "ከሃርድዌር ቋት ጋር ይገናኙ" - }, "connectingTo": { "message": "ከ $1ጋር መገናኘት" }, @@ -187,9 +184,6 @@ "create": { "message": "ፍጠር" }, - "createAccount": { - "message": "መለያ ፍጠር" - }, "createPassword": { "message": "የይለፍ ቃል ፍጠር" }, @@ -798,10 +792,6 @@ "transferFrom": { "message": "የማዛወሪያ ቅጽ" }, - "troubleTokenBalances": { - "message": "የተለዋጭ ስም ቀሪ ሂሳብዎን ስንጭን ችግር አጋጥሞናል። ማየት ይችላሉ", - "description": "Followed by a link (here) to view token balances" - }, "tryAgain": { "message": "እንደገና ሞክር" }, diff --git a/app/_locales/ar/messages.json b/app/_locales/ar/messages.json index 392d7fdfabef..28b43b109169 100644 --- a/app/_locales/ar/messages.json +++ b/app/_locales/ar/messages.json @@ -158,9 +158,6 @@ "connect": { "message": "اتصال" }, - "connectHardwareWallet": { - "message": "ربط محفظة الأجهزة" - }, "connectingTo": { "message": "جارِ الاتصال بـ $1" }, @@ -197,9 +194,6 @@ "create": { "message": "إنشاء" }, - "createAccount": { - "message": "إنشاء حساب" - }, "createPassword": { "message": "إنشاء كلمة مرور" }, @@ -810,10 +804,6 @@ "transferFrom": { "message": "التحويل من" }, - "troubleTokenBalances": { - "message": "واجهتنا مشكلة في تحميل أرصدتك من العملات الرمزية. يمكنك الاطلاع عليها", - "description": "Followed by a link (here) to view token balances" - }, "tryAgain": { "message": "إعادة المحاولة" }, diff --git a/app/_locales/bg/messages.json b/app/_locales/bg/messages.json index e4ce863f5439..fd311ee6fe18 100644 --- a/app/_locales/bg/messages.json +++ b/app/_locales/bg/messages.json @@ -154,9 +154,6 @@ "connect": { "message": "Свързване" }, - "connectHardwareWallet": { - "message": "Свържете хардуерен портфейл" - }, "connectingTo": { "message": "Свързване с $1" }, @@ -193,9 +190,6 @@ "create": { "message": "Създаване" }, - "createAccount": { - "message": "Създай акаунт" - }, "createPassword": { "message": "Създаване на парола" }, @@ -809,10 +803,6 @@ "transferFrom": { "message": "Трансфер от" }, - "troubleTokenBalances": { - "message": "Имахме проблеми със зареждането на вашите символи. Можете да ги видите", - "description": "Followed by a link (here) to view token balances" - }, "tryAgain": { "message": "Нов опит" }, diff --git a/app/_locales/bn/messages.json b/app/_locales/bn/messages.json index 6ba3e132d82d..0dacc812de60 100644 --- a/app/_locales/bn/messages.json +++ b/app/_locales/bn/messages.json @@ -154,9 +154,6 @@ "connect": { "message": "সংযুক্ত করুন" }, - "connectHardwareWallet": { - "message": "হার্ডওয়্যার ওয়ালেট সংযুক্ত করুন" - }, "connectingTo": { "message": " $1 এর সাথে সংযোগ করছে" }, @@ -190,9 +187,6 @@ "create": { "message": "তৈরি করুন" }, - "createAccount": { - "message": "অ্যাকাউন্ট তৈরি করুন" - }, "createPassword": { "message": "পাসওয়ার্ড তৈরি করুন" }, @@ -807,10 +801,6 @@ "transferFrom": { "message": "থেকে ট্রান্সফার করুন" }, - "troubleTokenBalances": { - "message": "আপনার টোকেন ব্যালেন্সগুলি লোড করতে আমাদের সমস্যা হয়েছিল। আপনি সেগুলি দেখতে পারেন", - "description": "Followed by a link (here) to view token balances" - }, "tryAgain": { "message": "আবার করুন" }, diff --git a/app/_locales/ca/messages.json b/app/_locales/ca/messages.json index ab1da7841f7a..d8964e540ed6 100644 --- a/app/_locales/ca/messages.json +++ b/app/_locales/ca/messages.json @@ -151,9 +151,6 @@ "connect": { "message": "Connecta" }, - "connectHardwareWallet": { - "message": "Connectar Moneder Hardaware" - }, "connectingTo": { "message": "Connectant a $1 " }, @@ -190,9 +187,6 @@ "create": { "message": "Crea" }, - "createAccount": { - "message": "Crea " - }, "createPassword": { "message": "Crear Contrasenya" }, @@ -785,10 +779,6 @@ "transferFrom": { "message": "Transferir Des de" }, - "troubleTokenBalances": { - "message": "Hem tingut problemes en carregar el teu saldo de fitxes. Els pots veure", - "description": "Followed by a link (here) to view token balances" - }, "tryAgain": { "message": "Torna-ho a provar" }, diff --git a/app/_locales/cs/messages.json b/app/_locales/cs/messages.json index 3b82640c9f61..2b6cb9a3f7b4 100644 --- a/app/_locales/cs/messages.json +++ b/app/_locales/cs/messages.json @@ -81,9 +81,6 @@ "create": { "message": "Vytvořit" }, - "createAccount": { - "message": "Vytvořit účet" - }, "customToken": { "message": "Vlastní token" }, @@ -364,10 +361,6 @@ "transactionError": { "message": "Chyba transakce. Vyhozena výjimka v kódu kontraktu." }, - "troubleTokenBalances": { - "message": "Měli jsme problém s načtením vašich tokenových zůstatků. Můžete je vidět ", - "description": "Followed by a link (here) to view token balances" - }, "typePassword": { "message": "Zadejte své heslo" }, diff --git a/app/_locales/da/messages.json b/app/_locales/da/messages.json index 733b31dab2b9..dde18bd24286 100644 --- a/app/_locales/da/messages.json +++ b/app/_locales/da/messages.json @@ -154,9 +154,6 @@ "connect": { "message": "Få forbindelse" }, - "connectHardwareWallet": { - "message": "Forbind Hardwarepung" - }, "connectingTo": { "message": "Forbinder til $1" }, @@ -193,9 +190,6 @@ "create": { "message": "Opret" }, - "createAccount": { - "message": "Opret konto" - }, "createPassword": { "message": "Opret adgangskode" }, @@ -782,10 +776,6 @@ "transferFrom": { "message": "Overfør fra" }, - "troubleTokenBalances": { - "message": "Vi havde problemer med at indlæse dine tokenbalancer. Du kan se dem", - "description": "Followed by a link (here) to view token balances" - }, "tryAgain": { "message": "Prøv igen" }, diff --git a/app/_locales/de/messages.json b/app/_locales/de/messages.json index e2188a54b7c5..e42405107a12 100644 --- a/app/_locales/de/messages.json +++ b/app/_locales/de/messages.json @@ -642,9 +642,6 @@ "connectAccountOrCreate": { "message": "Konto verbinden oder Neues erstellen" }, - "connectHardwareWallet": { - "message": "Hardware-Wallet verknüpfen" - }, "connectManually": { "message": "Manuelle Verbindung zur aktuellen Site" }, @@ -789,9 +786,6 @@ "create": { "message": "Erstellen" }, - "createAccount": { - "message": "Konto erstellen" - }, "createNewWallet": { "message": "Eine neue Wallet erstellen" }, @@ -1636,9 +1630,6 @@ "importTokenWarning": { "message": "Jeder kann ein Token mit beliebigem Namen erstellen, einschließlich gefälschter Versionen bestehender Token. Hinzufügen und Handeln auf eigene Gefahr!" }, - "importTokens": { - "message": "Token importieren" - }, "importTokensCamelCase": { "message": "Token importieren" }, @@ -1990,9 +1981,6 @@ "missingSettingRequest": { "message": "Hier anfragen" }, - "missingToken": { - "message": "Sie sehen Ihren Token nicht?" - }, "moreComingSoon": { "message": "Mehr in Kürze ..." }, @@ -2235,9 +2223,6 @@ "notEnoughGas": { "message": "Nicht genügend Gas" }, - "notifications": { - "message": "Benachrichtigungen" - }, "notifications10ActionText": { "message": "Einstellungen ansehen", "description": "The 'call to action' on the button, or link, of the 'Visit in Settings' notification. Upon clicking, users will be taken to Settings page." @@ -3214,9 +3199,6 @@ "showHexDataDescription": { "message": "Wählen Sie dies aus, um das Hexdatenfeld auf dem Senden-Bildschirm anzuzeigen" }, - "showHide": { - "message": "Ein-/Ausblenden" - }, "showIncomingTransactions": { "message": "Eingehende Transaktionen anzeigen" }, @@ -3416,9 +3398,6 @@ "status": { "message": "Status" }, - "statusConnected": { - "message": "Verbinden" - }, "statusNotConnected": { "message": "Nicht verbunden" }, @@ -3923,10 +3902,6 @@ "toggleEthSignField": { "message": "eth_sign-Anfragen ein- oder ausschalten" }, - "toggleTestNetworks": { - "message": "$1 Test-Netzwerke", - "description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open Settings > Advanced where users can enable the display of test networks in the network dropdown." - }, "token": { "message": "Token" }, @@ -4106,10 +4081,6 @@ "troubleStarting": { "message": "Beim Starten von MetaMask ist ein Problem aufgetreten. Dies könnte ein vorübergehendes Problem sein. Versuchen Sie daher, die Erweiterung neu zu starten." }, - "troubleTokenBalances": { - "message": "Wir haben Schwierigkeiten dein Tokenguthaben zu laden. Du kannst es hier anzeigen lassen", - "description": "Followed by a link (here) to view token balances" - }, "trustSiteApprovePermission": { "message": "Durch Erteilung der Erlaubnis erlauben Sie den folgenden $1 Zugriff auf Ihr Guthaben" }, diff --git a/app/_locales/el/messages.json b/app/_locales/el/messages.json index 6e7732aa323b..85c862b316f3 100644 --- a/app/_locales/el/messages.json +++ b/app/_locales/el/messages.json @@ -642,9 +642,6 @@ "connectAccountOrCreate": { "message": "Σύνδεση λογαριασμού ή δημιουργία νέου" }, - "connectHardwareWallet": { - "message": "Σύνδεση Πορτοφολιού Υλικού" - }, "connectManually": { "message": "Χειροκίνητη σύνδεση στον τρέχοντα ιστότοπο" }, @@ -789,9 +786,6 @@ "create": { "message": "Δημιουργία" }, - "createAccount": { - "message": "Δημιουργία Λογαριασμού" - }, "createNewWallet": { "message": "Δημιουργήστε ένα νέο πορτοφόλι" }, @@ -1636,9 +1630,6 @@ "importTokenWarning": { "message": "Ο καθένας μπορεί να δημιουργήσει ένα token με οποιοδήποτε όνομα, συμπεριλαμβανομένων ψεύτικων εκδόσεων των υφιστάμενων νομισμάτων. Προσθέστε και ανταλλάξτε με δική σας ευθύνη!" }, - "importTokens": { - "message": "εισαγωγή token" - }, "importTokensCamelCase": { "message": "Εισαγωγή Token" }, @@ -1990,9 +1981,6 @@ "missingSettingRequest": { "message": "Υποβάλετε αίτημα εδώ" }, - "missingToken": { - "message": "Δεν βλέπετε το token σας;" - }, "moreComingSoon": { "message": "Περισσότερα έρχονται σύντομα..." }, @@ -2235,9 +2223,6 @@ "notEnoughGas": { "message": "Δεν Υπάρχει Αρκετό τέλος συναλλαγής" }, - "notifications": { - "message": "Ειδοποιήσεις" - }, "notifications10ActionText": { "message": "Μετάβαση στις Ρυθμίσεις", "description": "The 'call to action' on the button, or link, of the 'Visit in Settings' notification. Upon clicking, users will be taken to Settings page." @@ -3211,9 +3196,6 @@ "showHexDataDescription": { "message": "Επιλέξτε αυτό για να εμφανίσετε το πεδίο hex δεδομένων στην οθόνη αποστολής" }, - "showHide": { - "message": "Εμφάνιση/απόκρυψη" - }, "showIncomingTransactions": { "message": "Εμφάνιση Εισερχομένων Συναλλαγών" }, @@ -3413,9 +3395,6 @@ "status": { "message": "Κατάσταση" }, - "statusConnected": { - "message": "Συνδεδεμένο" - }, "statusNotConnected": { "message": "Δεν έχει συνδεθεί" }, @@ -3920,10 +3899,6 @@ "toggleEthSignField": { "message": "Εναλλαγή αιτημάτων eth_sign" }, - "toggleTestNetworks": { - "message": "$1 δοκιμαστικά δίκτυα", - "description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open Settings > Advanced where users can enable the display of test networks in the network dropdown." - }, "token": { "message": "Διακριτικό" }, @@ -4103,10 +4078,6 @@ "troubleStarting": { "message": "Το MetaMask αντιμετώπισε πρόβλημα κατά την εκκίνηση. Αυτό το σφάλμα μπορεί να είναι τυχαίο, γι' αυτό προσπαθήστε να επανεκκινήσετε την επέκταση." }, - "troubleTokenBalances": { - "message": "Είχαμε πρόβλημα να φορτώσουμε τα υπόλοιπα του διακριτικού σας. Μπορείτε να τα δείτε ", - "description": "Followed by a link (here) to view token balances" - }, "trustSiteApprovePermission": { "message": "Χορηγώντας άδεια, επιτρέπετε στα ακόλουθα $1 να έχουν πρόσβαση στα χρήματά σας" }, diff --git a/app/_locales/en/messages.json b/app/_locales/en/messages.json index df2552bb0e2b..da0872014940 100644 --- a/app/_locales/en/messages.json +++ b/app/_locales/en/messages.json @@ -745,9 +745,6 @@ "connectCustodialAccountTitle": { "message": "Custodial Accounts" }, - "connectHardwareWallet": { - "message": "Connect hardware wallet" - }, "connectManually": { "message": "Manually connect to current site" }, @@ -895,9 +892,6 @@ "create": { "message": "Create" }, - "createAccount": { - "message": "Create account" - }, "createNewWallet": { "message": "Create a new wallet" }, @@ -1798,7 +1792,9 @@ "message": "full access to your wallet and funds.", "description": "Is the bolded text in 'holdToRevealContentPrivateKey2'" }, - "holdToRevealLockedLabel": { "message": "hold to reveal circle locked" }, + "holdToRevealLockedLabel": { + "message": "hold to reveal circle locked" + }, "holdToRevealPrivateKey": { "message": "Hold to reveal Private Key" }, @@ -1811,7 +1807,9 @@ "holdToRevealSRPTitle": { "message": "Keep your SRP safe" }, - "holdToRevealUnlockedLabel": { "message": "hold to reveal circle unlocked" }, + "holdToRevealUnlockedLabel": { + "message": "hold to reveal circle unlocked" + }, "id": { "message": "Id" }, @@ -1879,9 +1877,6 @@ "importTokenWarning": { "message": "Anyone can create a token with any name, including fake versions of existing tokens. Add and trade at your own risk!" }, - "importTokens": { - "message": "import tokens" - }, "importTokensCamelCase": { "message": "Import tokens" }, @@ -2262,9 +2257,6 @@ "missingSettingRequest": { "message": "Request here" }, - "missingToken": { - "message": "Don't see your token?" - }, "mmiAddToken": { "message": "The page at $1 would like to authorise the following custodian token in MetaMask Institutional" }, @@ -3715,9 +3707,6 @@ "showHexDataDescription": { "message": "Select this to show the hex data field on the send screen" }, - "showHide": { - "message": "Show/hide" - }, "showIncomingTransactions": { "message": "Show incoming transactions" }, @@ -3984,9 +3973,6 @@ "status": { "message": "Status" }, - "statusConnected": { - "message": "Connected" - }, "statusNotConnected": { "message": "Not connected" }, @@ -4556,10 +4542,6 @@ "toggleEthSignOn": { "message": "ON (Not recommended)" }, - "toggleTestNetworks": { - "message": "$1 test networks", - "description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open Settings > Advanced where users can enable the display of test networks in the network dropdown." - }, "token": { "message": "Token" }, @@ -4770,10 +4752,6 @@ "troubleStarting": { "message": "MetaMask had trouble starting. This error could be intermittent, so try restarting the extension." }, - "troubleTokenBalances": { - "message": "We had trouble loading your token balances. You can view them ", - "description": "Followed by a link (here) to view token balances" - }, "trustSiteApprovePermission": { "message": "By granting permission, you are allowing the following $1 to access your funds" }, diff --git a/app/_locales/es/messages.json b/app/_locales/es/messages.json index ed4a75cfe666..8a406e5fb22b 100644 --- a/app/_locales/es/messages.json +++ b/app/_locales/es/messages.json @@ -642,9 +642,6 @@ "connectAccountOrCreate": { "message": "Conectar cuenta o crear nueva" }, - "connectHardwareWallet": { - "message": "Conectar la cartera de hardware" - }, "connectManually": { "message": "Conectarse manualmente al sitio actual" }, @@ -789,9 +786,6 @@ "create": { "message": "Crear" }, - "createAccount": { - "message": "Crear cuenta" - }, "createNewWallet": { "message": "Crear una cartera nueva" }, @@ -1636,9 +1630,6 @@ "importTokenWarning": { "message": "Toda persona puede crear un token con cualquier nombre, incluso versiones falsas de tokens existentes. ¡Agréguelo y realice transacciones bajo su propio riesgo!" }, - "importTokens": { - "message": "agregar activo" - }, "importTokensCamelCase": { "message": "Importar tokens" }, @@ -1990,9 +1981,6 @@ "missingSettingRequest": { "message": "Solicítelo aquí" }, - "missingToken": { - "message": "¿No ve su token?" - }, "moreComingSoon": { "message": "Más próximamente..." }, @@ -2235,9 +2223,6 @@ "notEnoughGas": { "message": "No hay gas suficiente" }, - "notifications": { - "message": "Notificaciones" - }, "notifications10ActionText": { "message": "Ir a configuración", "description": "The 'call to action' on the button, or link, of the 'Visit in Settings' notification. Upon clicking, users will be taken to Settings page." @@ -3214,9 +3199,6 @@ "showHexDataDescription": { "message": "Seleccione esta opción para mostrar el campo de datos hexadecimales en la pantalla de envío" }, - "showHide": { - "message": "Mostrar/ocultar" - }, "showIncomingTransactions": { "message": "Mostrar transacciones entrantes" }, @@ -3416,9 +3398,6 @@ "status": { "message": "Estado" }, - "statusConnected": { - "message": "Conectado" - }, "statusNotConnected": { "message": "No conectado" }, @@ -3923,10 +3902,6 @@ "toggleEthSignField": { "message": "Alternar solicitudes de eth_sign" }, - "toggleTestNetworks": { - "message": "$1 redes de prueba", - "description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open Settings > Advanced where users can enable the display of test networks in the network dropdown." - }, "token": { "message": "Token" }, @@ -4106,10 +4081,6 @@ "troubleStarting": { "message": "MetaMask tuvo problemas para iniciar. Este error podría ser intermitente, así que intente reiniciar la extensión." }, - "troubleTokenBalances": { - "message": "Tuvimos problemas al cargar los saldos de token. Puede verlos ", - "description": "Followed by a link (here) to view token balances" - }, "trustSiteApprovePermission": { "message": "Al conceder el permiso, usted permite que los siguientes $1 tengan acceso a sus fondos" }, diff --git a/app/_locales/es_419/messages.json b/app/_locales/es_419/messages.json index b53e151f51be..c5c54cfd0459 100644 --- a/app/_locales/es_419/messages.json +++ b/app/_locales/es_419/messages.json @@ -389,9 +389,6 @@ "connectAccountOrCreate": { "message": "Conectar cuenta o crear nueva" }, - "connectHardwareWallet": { - "message": "Conectar la cartera de hardware" - }, "connectManually": { "message": "Conectarse manualmente al sitio actual" }, @@ -499,9 +496,6 @@ "create": { "message": "Crear" }, - "createAccount": { - "message": "Crear cuenta" - }, "createNewWallet": { "message": "Crear una nueva cartera" }, @@ -1091,9 +1085,6 @@ "importTokenWarning": { "message": "Toda persona puede crear un token con cualquier nombre, incluso versiones falsas de tokens existentes. ¡Agréguelo y realice transacciones bajo su propio riesgo!" }, - "importTokens": { - "message": "importar tokens" - }, "importTokensCamelCase": { "message": "Importar tokens" }, @@ -1351,9 +1342,6 @@ "missingNFT": { "message": "¿No ve su NFT?" }, - "missingToken": { - "message": "¿No ve su token?" - }, "mustSelectOne": { "message": "Debe seleccionar al menos 1 token." }, @@ -2064,9 +2052,6 @@ "showHexDataDescription": { "message": "Seleccione esta opción para mostrar el campo de datos hexadecimales en la pantalla de envío" }, - "showHide": { - "message": "Mostrar/ocultar" - }, "showIncomingTransactions": { "message": "Mostrar transacciones entrantes" }, @@ -2168,9 +2153,6 @@ "stateLogsDescription": { "message": "Los registros de estado contienen sus direcciones de cuentas públicas y las transacciones enviadas." }, - "statusConnected": { - "message": "Conectado" - }, "statusNotConnected": { "message": "No conectado" }, @@ -2549,10 +2531,6 @@ "message": "Para: $1", "description": "$1 is the address to include in the To label. It is typically shortened first using shortenAddress" }, - "toggleTestNetworks": { - "message": "$1 redes de prueba", - "description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open Settings > Advanced where users can enable the display of test networks in the network dropdown." - }, "token": { "message": "Token" }, @@ -2692,10 +2670,6 @@ "message": "Tuvimos problemas al conectar su $1. Pruebe revisar $2 e inténtelo de nuevo.", "description": "$1 is the wallet device name; $2 is a link to wallet connection guide" }, - "troubleTokenBalances": { - "message": "Tuvimos problemas al cargar los saldos de token. Puede verlos ", - "description": "Followed by a link (here) to view token balances" - }, "trustSiteApprovePermission": { "message": "Al conceder el permiso, usted permite que los siguientes $1 tengan acceso a sus fondos" }, diff --git a/app/_locales/et/messages.json b/app/_locales/et/messages.json index f9a64457ea99..5cd0e5978faf 100644 --- a/app/_locales/et/messages.json +++ b/app/_locales/et/messages.json @@ -154,9 +154,6 @@ "connect": { "message": "Ühendamine" }, - "connectHardwareWallet": { - "message": "Ühendage riistvara rahakott" - }, "connectingTo": { "message": "Ühenduse loomine $1" }, @@ -193,9 +190,6 @@ "create": { "message": "Loo" }, - "createAccount": { - "message": "Loo konto" - }, "createPassword": { "message": "Loo parool" }, @@ -803,10 +797,6 @@ "transferFrom": { "message": "Ülekandmine asukohast" }, - "troubleTokenBalances": { - "message": "Teie loasaldode laadimisega oli probleem. Saate neid vaadata", - "description": "Followed by a link (here) to view token balances" - }, "tryAgain": { "message": "Proovi uuesti" }, diff --git a/app/_locales/fa/messages.json b/app/_locales/fa/messages.json index 6d61ed44d97d..8bf51ba0fc8d 100644 --- a/app/_locales/fa/messages.json +++ b/app/_locales/fa/messages.json @@ -154,9 +154,6 @@ "connect": { "message": "اتصال" }, - "connectHardwareWallet": { - "message": "اتصال کیف سخت افزار" - }, "connectingTo": { "message": "در حال اتصال به 1$1" }, @@ -193,9 +190,6 @@ "create": { "message": "ایجاد" }, - "createAccount": { - "message": "ایجاد حساب" - }, "createPassword": { "message": "ایجاد رمز عبور" }, @@ -813,10 +807,6 @@ "transferFrom": { "message": "انتقال از" }, - "troubleTokenBalances": { - "message": "ما در بارگیری صورت حساب های رمزیاب تان دچار مشکل شدیم. شما میتوانید آنها را مشاهده کنید", - "description": "Followed by a link (here) to view token balances" - }, "tryAgain": { "message": "امتحان مجدد" }, diff --git a/app/_locales/fi/messages.json b/app/_locales/fi/messages.json index 0cea114d6682..8d51098535fa 100644 --- a/app/_locales/fi/messages.json +++ b/app/_locales/fi/messages.json @@ -154,9 +154,6 @@ "connect": { "message": "Muodosta yhteys" }, - "connectHardwareWallet": { - "message": "Yhdistä laitteistokukkaro" - }, "connectingTo": { "message": "Yhdistetään summaan $1 " }, @@ -193,9 +190,6 @@ "create": { "message": "Luo" }, - "createAccount": { - "message": "Luo tili" - }, "createPassword": { "message": "Luo salasana" }, @@ -810,10 +804,6 @@ "transferFrom": { "message": "Siirto kohteesta" }, - "troubleTokenBalances": { - "message": "Kohtasimme ongelmia ladatessamme tietuesaldojasi. Voit katsella niitä kohteessa", - "description": "Followed by a link (here) to view token balances" - }, "tryAgain": { "message": "Yritä uudelleen" }, diff --git a/app/_locales/fil/messages.json b/app/_locales/fil/messages.json index 3f7d43347a64..cc9bced09439 100644 --- a/app/_locales/fil/messages.json +++ b/app/_locales/fil/messages.json @@ -133,9 +133,6 @@ "connect": { "message": "Kumonekta" }, - "connectHardwareWallet": { - "message": "Magkonekta ng Hardware Wallet" - }, "connectingTo": { "message": "Kumokonekta sa $1" }, @@ -172,9 +169,6 @@ "create": { "message": "Gumawa" }, - "createAccount": { - "message": "Gumawa ng Account" - }, "createPassword": { "message": "Gumawa ng Password" }, @@ -725,10 +719,6 @@ "transferFrom": { "message": "I-transfer Mula Sa" }, - "troubleTokenBalances": { - "message": "Nagkaroon kami ng problema sa pag-loading sa iyong mga token balance. Makikita mo ang mga iyon ", - "description": "Followed by a link (here) to view token balances" - }, "tryAgain": { "message": "Subukang muli" }, diff --git a/app/_locales/fr/messages.json b/app/_locales/fr/messages.json index 253c30a8b833..296b7e9fd190 100644 --- a/app/_locales/fr/messages.json +++ b/app/_locales/fr/messages.json @@ -642,9 +642,6 @@ "connectAccountOrCreate": { "message": "Connecter un compte ou en créer un nouveau" }, - "connectHardwareWallet": { - "message": "Connecter un portefeuille matériel" - }, "connectManually": { "message": "Se connecter manuellement au site actuel" }, @@ -789,9 +786,6 @@ "create": { "message": "Créer" }, - "createAccount": { - "message": "Créer un compte" - }, "createNewWallet": { "message": "Créer un nouveau portefeuille" }, @@ -1636,9 +1630,6 @@ "importTokenWarning": { "message": "Tout un chacun peut créer un jeton avec n’importe quel nom, y compris de fausses versions de jetons existants. Ajoutez et échangez avec prudence !" }, - "importTokens": { - "message": "importer des jetons" - }, "importTokensCamelCase": { "message": "Importer des jetons" }, @@ -1990,9 +1981,6 @@ "missingSettingRequest": { "message": "Demandez ici" }, - "missingToken": { - "message": "Vous ne voyez pas votre jeton ?" - }, "moreComingSoon": { "message": "D’autres à venir..." }, @@ -2235,9 +2223,6 @@ "notEnoughGas": { "message": "Pas assez de gaz" }, - "notifications": { - "message": "Notifications" - }, "notifications10ActionText": { "message": "Ouvrir les paramètres", "description": "The 'call to action' on the button, or link, of the 'Visit in Settings' notification. Upon clicking, users will be taken to Settings page." @@ -3214,9 +3199,6 @@ "showHexDataDescription": { "message": "Selectionner ici pour afficher le champs de données hex dans l’écran d’envoi" }, - "showHide": { - "message": "Afficher/masquer" - }, "showIncomingTransactions": { "message": "Afficher les transactions entrantes" }, @@ -3416,9 +3398,6 @@ "status": { "message": "État" }, - "statusConnected": { - "message": "Connecté" - }, "statusNotConnected": { "message": "Non connecté" }, @@ -3923,10 +3902,6 @@ "toggleEthSignField": { "message": "Activer/Désactiver les requêtes eth-sign" }, - "toggleTestNetworks": { - "message": "$1 réseaux de test", - "description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open Settings > Advanced where users can enable the display of test networks in the network dropdown." - }, "token": { "message": "Jeton" }, @@ -4106,10 +4081,6 @@ "troubleStarting": { "message": "Impossible de démarrer MetaMask. Cette erreur peut être occasionnelle, essayez donc de redémarrer lextension." }, - "troubleTokenBalances": { - "message": "Nous avons eu du mal à charger votre balance de jetons, vous pouvez la consulter ici :", - "description": "Followed by a link (here) to view token balances" - }, "trustSiteApprovePermission": { "message": "En accordant cette autorisation, vous permettez au(x) $1 suivant(s) d’accéder à vos fonds" }, diff --git a/app/_locales/he/messages.json b/app/_locales/he/messages.json index 4e3ab6b6432d..d5f54a97a400 100644 --- a/app/_locales/he/messages.json +++ b/app/_locales/he/messages.json @@ -154,9 +154,6 @@ "connect": { "message": "התחברות" }, - "connectHardwareWallet": { - "message": "חבר ארנק חומרה" - }, "connectingTo": { "message": "מתחבר ל- $1 " }, @@ -193,9 +190,6 @@ "create": { "message": "צור" }, - "createAccount": { - "message": "פתיחת חשבון" - }, "createPassword": { "message": "יצירת ססמה" }, @@ -810,10 +804,6 @@ "transferFrom": { "message": "העברה מ-" }, - "troubleTokenBalances": { - "message": "לא הצלחנו לטעון את יתרות הטוקנים שלך. באפשרותך להציג אותן", - "description": "Followed by a link (here) to view token balances" - }, "tryAgain": { "message": "ניסיון חוזר" }, diff --git a/app/_locales/hi/messages.json b/app/_locales/hi/messages.json index 48f1459a783f..59db01bc88f0 100644 --- a/app/_locales/hi/messages.json +++ b/app/_locales/hi/messages.json @@ -642,9 +642,6 @@ "connectAccountOrCreate": { "message": "खाता कनेक्ट करें या नया बनाएं" }, - "connectHardwareWallet": { - "message": "हार्डवेयर वॉलेट कनेक्ट करें" - }, "connectManually": { "message": "वर्तमान साइट से मैन्युअल रूप से कनेक्ट करें" }, @@ -789,9 +786,6 @@ "create": { "message": "बनाएं" }, - "createAccount": { - "message": "अकाउंट बनाएं" - }, "createNewWallet": { "message": "एक नया वॉलेट बनाएं" }, @@ -1636,9 +1630,6 @@ "importTokenWarning": { "message": "कोई भी किसी भी नाम के साथ एक टोकन बना सकता है, जिसमें मौजूदा टोकन के नकली संस्करण शामिल हैं। अपने जोखिम पर जोड़ें और व्यापार करें!" }, - "importTokens": { - "message": "टोकन आयात करें" - }, "importTokensCamelCase": { "message": "टोकन आयात करें" }, @@ -1990,9 +1981,6 @@ "missingSettingRequest": { "message": "यहां अनुरोध करें" }, - "missingToken": { - "message": "क्या अपना टोकन नहीं देख रहे हैं?" - }, "moreComingSoon": { "message": "और अधिक जल्द ही आ रहा..." }, @@ -2235,9 +2223,6 @@ "notEnoughGas": { "message": "पर्याप्त गैस नहीं" }, - "notifications": { - "message": "सूचनाएं" - }, "notifications10ActionText": { "message": "सेटिंग्स में जाएं", "description": "The 'call to action' on the button, or link, of the 'Visit in Settings' notification. Upon clicking, users will be taken to Settings page." @@ -3214,9 +3199,6 @@ "showHexDataDescription": { "message": "भेजने की स्क्रीन पर हेक्स डेटा फील्ड दिखाने के लिए इसका चयन करें" }, - "showHide": { - "message": "दिखाएं/छिपाएं" - }, "showIncomingTransactions": { "message": "आने वाले लेन-देन दिखाएं" }, @@ -3416,9 +3398,6 @@ "status": { "message": "स्टेटस" }, - "statusConnected": { - "message": "कनेक्ट किया गया" - }, "statusNotConnected": { "message": "कनेक्ट नहीं है" }, @@ -3923,10 +3902,6 @@ "toggleEthSignField": { "message": "Eth_sign अनुरोधों को टॉगल करें" }, - "toggleTestNetworks": { - "message": "$1 परीक्षण नेटवर्क", - "description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open Settings > Advanced where users can enable the display of test networks in the network dropdown." - }, "token": { "message": "टोकन" }, @@ -4106,10 +4081,6 @@ "troubleStarting": { "message": "MetaMask को शुरू करने में परेशानी आई। यह त्रुटि रुक-रुक कर हो सकती है, इसलिए एक्सटेंशन को फिर से शुरू करके देखें।" }, - "troubleTokenBalances": { - "message": "हमें आपके टोकन की शेषराशि लोड करने में परेशानी हुई। आप उन्हें देख सकते हैं ", - "description": "Followed by a link (here) to view token balances" - }, "trustSiteApprovePermission": { "message": "अनुमति प्रदान करके, आप निम्नलिखित $1 को अपने फंड तक पहुंचने की इजाजत दे रहे हैं" }, diff --git a/app/_locales/hn/messages.json b/app/_locales/hn/messages.json index f94ab181c90d..991a4f96c0b0 100644 --- a/app/_locales/hn/messages.json +++ b/app/_locales/hn/messages.json @@ -69,9 +69,6 @@ "create": { "message": "बनाएं" }, - "createAccount": { - "message": "खाता बनाएं" - }, "decimal": { "message": "दशमलव परिशुद्धता" }, @@ -323,10 +320,6 @@ "total": { "message": "कुल" }, - "troubleTokenBalances": { - "message": "मुसीबत... आपके टोकन शेष राशि को लोड करने में हमें परेशानी हुई थी। आप उन्हें देख सकते हैं", - "description": "Followed by a link (here) to view token balances" - }, "typePassword": { "message": "अपना पासवर्ड टाइप करें" }, diff --git a/app/_locales/hr/messages.json b/app/_locales/hr/messages.json index 72c63d3151a8..78df36ca40ba 100644 --- a/app/_locales/hr/messages.json +++ b/app/_locales/hr/messages.json @@ -154,9 +154,6 @@ "connect": { "message": "Povežite se" }, - "connectHardwareWallet": { - "message": "Poveži hardverski novčanik" - }, "connectingTo": { "message": "Povezivanje na $1" }, @@ -193,9 +190,6 @@ "create": { "message": "Stvori" }, - "createAccount": { - "message": "Stvori račun" - }, "createPassword": { "message": "Stvori lozinku" }, @@ -803,10 +797,6 @@ "transferFrom": { "message": "Prenesi od" }, - "troubleTokenBalances": { - "message": "Imamo problema s učitavanjem raspoloživog stanja vaših tokena. Možete ih vidjeti", - "description": "Followed by a link (here) to view token balances" - }, "tryAgain": { "message": "Pokušaj ponovo" }, diff --git a/app/_locales/ht/messages.json b/app/_locales/ht/messages.json index 5b1aaf04f9d2..fd92854debd2 100644 --- a/app/_locales/ht/messages.json +++ b/app/_locales/ht/messages.json @@ -96,9 +96,6 @@ "connect": { "message": "Konekte" }, - "connectHardwareWallet": { - "message": "Konekte Materyèl Wallet" - }, "connectingToMainnet": { "message": "Konekte ak Prensipal Ethereum Rezo a" }, @@ -120,9 +117,6 @@ "create": { "message": "Kreye" }, - "createAccount": { - "message": "Kreye Kont" - }, "currentLanguage": { "message": "Lang Aktyèl" }, @@ -563,10 +557,6 @@ "transfer": { "message": "Transfè" }, - "troubleTokenBalances": { - "message": "Nou te gen pwoblèm chaje balans token ou. Ou ka wè yo ", - "description": "Followed by a link (here) to view token balances" - }, "tryAgain": { "message": "Eseye anko" }, diff --git a/app/_locales/hu/messages.json b/app/_locales/hu/messages.json index 51270215da9b..b697190b7a92 100644 --- a/app/_locales/hu/messages.json +++ b/app/_locales/hu/messages.json @@ -154,9 +154,6 @@ "connect": { "message": "Csatlakozás" }, - "connectHardwareWallet": { - "message": "Hardverpénztárca csatlakoztatása" - }, "connectingTo": { "message": "Kapcsolódás: $1" }, @@ -193,9 +190,6 @@ "create": { "message": "Létrehozás" }, - "createAccount": { - "message": "Fiók létrehozása" - }, "createPassword": { "message": "Jelszó létrehozása" }, @@ -803,10 +797,6 @@ "transferFrom": { "message": "Átvezetés innen: " }, - "troubleTokenBalances": { - "message": "Gondjaink voltak tokenegyenlegeid betöltésével. Megtekintheted őket", - "description": "Followed by a link (here) to view token balances" - }, "tryAgain": { "message": "Újra" }, diff --git a/app/_locales/id/messages.json b/app/_locales/id/messages.json index 2e61efe24697..b1c80f8b4d7e 100644 --- a/app/_locales/id/messages.json +++ b/app/_locales/id/messages.json @@ -642,9 +642,6 @@ "connectAccountOrCreate": { "message": "Hubungkan akun atau buat baru" }, - "connectHardwareWallet": { - "message": "Hubungkan dompet perangkat keras" - }, "connectManually": { "message": "Hubungkan ke situs saat ini secara manual" }, @@ -789,9 +786,6 @@ "create": { "message": "Buat" }, - "createAccount": { - "message": "Buat akun" - }, "createNewWallet": { "message": "Buat dompet baru" }, @@ -1636,9 +1630,6 @@ "importTokenWarning": { "message": "Siapa pun dapat membuat token dengan nama apa pun, termasuk versi palsu dari token yang ada. Tambahkan dan perdagangkan dengan risiko ditanggung sendiri!" }, - "importTokens": { - "message": "impor token" - }, "importTokensCamelCase": { "message": "Impor token" }, @@ -1990,9 +1981,6 @@ "missingSettingRequest": { "message": "Minta di sini" }, - "missingToken": { - "message": "Tidak melihat token Anda?" - }, "moreComingSoon": { "message": "Selanjutnya akan segera hadir..." }, @@ -2235,9 +2223,6 @@ "notEnoughGas": { "message": "Gas tidak cukup" }, - "notifications": { - "message": "Notifikasi" - }, "notifications10ActionText": { "message": "Lihat di Pengaturan", "description": "The 'call to action' on the button, or link, of the 'Visit in Settings' notification. Upon clicking, users will be taken to Settings page." @@ -3214,9 +3199,6 @@ "showHexDataDescription": { "message": "Pilih ini untuk menampilkan bidang data hex di layar kirim" }, - "showHide": { - "message": "Tampil/Sembunyi" - }, "showIncomingTransactions": { "message": "Tampilkan transaksi masuk" }, @@ -3416,9 +3398,6 @@ "status": { "message": "Status" }, - "statusConnected": { - "message": "Terhubung" - }, "statusNotConnected": { "message": "Tidak terhubung" }, @@ -3923,10 +3902,6 @@ "toggleEthSignField": { "message": "Alihkan permintaan eth_sign" }, - "toggleTestNetworks": { - "message": "$1 jaringan pengujian", - "description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open Settings > Advanced where users can enable the display of test networks in the network dropdown." - }, "token": { "message": "Token" }, @@ -4106,10 +4081,6 @@ "troubleStarting": { "message": "MetaMask mengalami masalah saat memulai. Kesalahan ini dapat terjadi berselang, coba mulai ulang ekstensi." }, - "troubleTokenBalances": { - "message": "Kami mengalami masalah saat memuat saldo token Anda. Anda dapat melihatnya ", - "description": "Followed by a link (here) to view token balances" - }, "trustSiteApprovePermission": { "message": "Dengan memberikan izin, Anda mengizinkan $1 berikut untuk mengakses dana Anda" }, diff --git a/app/_locales/it/messages.json b/app/_locales/it/messages.json index 99d323da31df..4c594c6f8da5 100644 --- a/app/_locales/it/messages.json +++ b/app/_locales/it/messages.json @@ -485,9 +485,6 @@ "connectAccountOrCreate": { "message": "Connetti un account o creane uno nuovo" }, - "connectHardwareWallet": { - "message": "Connetti Portafoglio Hardware" - }, "connectManually": { "message": "Connettiti al sito manualmente" }, @@ -616,9 +613,6 @@ "create": { "message": "Crea" }, - "createAccount": { - "message": "Crea Account" - }, "createNewWallet": { "message": "Crea un nuovo portafoglio" }, @@ -1540,9 +1534,6 @@ "stateLogsDescription": { "message": "I log di stato contengono i tuoi indirizzi pubblici e le transazioni effettuate." }, - "statusConnected": { - "message": "Connesso" - }, "statusNotConnected": { "message": "Non connesso" }, @@ -1843,10 +1834,6 @@ "message": "Abbiamo riscontrato un errore nella connessione a $1, guarda la documentazione $2 e prova di nuovo.", "description": "$1 is the wallet device name; $2 is a link to wallet connection guide" }, - "troubleTokenBalances": { - "message": "Abbiamo avuto un problema a caricare il bilancio dei tuoi token. Puoi vederlo ", - "description": "Followed by a link (here) to view token balances" - }, "tryAgain": { "message": "Prova di nuovo" }, diff --git a/app/_locales/ja/messages.json b/app/_locales/ja/messages.json index 51e949432b9e..93f7ba7ae8f4 100644 --- a/app/_locales/ja/messages.json +++ b/app/_locales/ja/messages.json @@ -642,9 +642,6 @@ "connectAccountOrCreate": { "message": "アカウントを接続するか、または新規に作成します" }, - "connectHardwareWallet": { - "message": "ハードウェアウォレットの接続" - }, "connectManually": { "message": "現在のサイトに手動で接続" }, @@ -789,9 +786,6 @@ "create": { "message": "作成" }, - "createAccount": { - "message": "アカウントを作成" - }, "createNewWallet": { "message": "新規ウォレットを作成" }, @@ -1636,9 +1630,6 @@ "importTokenWarning": { "message": "誰でも既存のトークンの偽バージョンを含めて、任意の名前でトークンを作成することができます。追加および取引は自己責任となります!" }, - "importTokens": { - "message": "トークンをインポート" - }, "importTokensCamelCase": { "message": "トークンをインポート" }, @@ -1990,9 +1981,6 @@ "missingSettingRequest": { "message": "ここからリクエスト" }, - "missingToken": { - "message": "トークンが見当たりませんか?" - }, "moreComingSoon": { "message": "さらに近日追加予定..." }, @@ -2235,9 +2223,6 @@ "notEnoughGas": { "message": "ガスが不足しています" }, - "notifications": { - "message": "通知" - }, "notifications10ActionText": { "message": "設定に移動", "description": "The 'call to action' on the button, or link, of the 'Visit in Settings' notification. Upon clicking, users will be taken to Settings page." @@ -3214,9 +3199,6 @@ "showHexDataDescription": { "message": "これを選択すると、送金画面に16進データフィールドが表示されます" }, - "showHide": { - "message": "表示・非表示" - }, "showIncomingTransactions": { "message": "受信トランザクションを表示" }, @@ -3416,9 +3398,6 @@ "status": { "message": "ステータス" }, - "statusConnected": { - "message": "接続済み" - }, "statusNotConnected": { "message": "未接続" }, @@ -3923,10 +3902,6 @@ "toggleEthSignField": { "message": "eth_sign 要求の設定" }, - "toggleTestNetworks": { - "message": "$1テストネットワーク", - "description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open Settings > Advanced where users can enable the display of test networks in the network dropdown." - }, "token": { "message": "トークン" }, @@ -4106,10 +4081,6 @@ "troubleStarting": { "message": "MetaMask がうまく起動しませんでした。このエラーは断続的に発生する可能性があるため、拡張機能を再起動してみてください。" }, - "troubleTokenBalances": { - "message": "トークンバランスのロードに問題があります。トークンバランスを表示できます", - "description": "Followed by a link (here) to view token balances" - }, "trustSiteApprovePermission": { "message": "パーミッションを付与することで、次の$1による資金へのアクセスが許可されます" }, diff --git a/app/_locales/kn/messages.json b/app/_locales/kn/messages.json index 77e9199313b3..85ff834762be 100644 --- a/app/_locales/kn/messages.json +++ b/app/_locales/kn/messages.json @@ -154,9 +154,6 @@ "connect": { "message": "ಸಂಪರ್ಕಿಸು" }, - "connectHardwareWallet": { - "message": "ಹಾರ್ಡ್‌ವೆರ್ ವ್ಯಾಲೆಟ್‌‌ಗೆ ಸಂಪರ್ಕಪಡಿಸಿ" - }, "connectingTo": { "message": "$1 ಗೆ ಸಂಪರ್ಕಪಡಿಸಲಾಗುತ್ತಿದೆ" }, @@ -193,9 +190,6 @@ "create": { "message": "ರಚಿಸಿ" }, - "createAccount": { - "message": "ಖಾತೆಯನ್ನು ರಚಿಸಿ" - }, "createPassword": { "message": "ಪಾಸ್‌ವರ್ಡ್ ರಚಿಸಿ" }, @@ -813,10 +807,6 @@ "transferFrom": { "message": "ಇದರಿಂದ ವರ್ಗಾಯಿಸಿ" }, - "troubleTokenBalances": { - "message": "ನಿಮ್ಮ ಟೋಕನ್ ಬ್ಯಾಲೆನ್ಸ್‌ಗಳನ್ನು ಲೋಡ್ ಮಾಡುವಲ್ಲಿ ನಮಗೆ ಸಮಸ್ಯೆಯಾಗಿದೆ. ನೀವು ಅವುಗಳನ್ನು ನೋಡಬಹುದು", - "description": "Followed by a link (here) to view token balances" - }, "tryAgain": { "message": "ಪುನಃ ಪ್ರಯತ್ನಿಸಿ" }, diff --git a/app/_locales/ko/messages.json b/app/_locales/ko/messages.json index c44c1000f0dc..12e7d4b74f43 100644 --- a/app/_locales/ko/messages.json +++ b/app/_locales/ko/messages.json @@ -642,9 +642,6 @@ "connectAccountOrCreate": { "message": "계정 연결 또는 새 계정 만들기" }, - "connectHardwareWallet": { - "message": "하드웨어 지갑 연결" - }, "connectManually": { "message": "현재 사이트에 수동으로 연결" }, @@ -789,9 +786,6 @@ "create": { "message": "생성" }, - "createAccount": { - "message": "계정 생성" - }, "createNewWallet": { "message": "새 지갑 생성" }, @@ -1636,9 +1630,6 @@ "importTokenWarning": { "message": "기존 토큰의 가짜 버전을 포함하여 누구나 어떤 이름으로든 토큰을 만들 수 있습니다. 추가 및 거래는 사용자의 책임입니다." }, - "importTokens": { - "message": "토큰 가져오기" - }, "importTokensCamelCase": { "message": "토큰 가져오기" }, @@ -1990,9 +1981,6 @@ "missingSettingRequest": { "message": "여기에서 요청하세요" }, - "missingToken": { - "message": "토큰이 보이지 않나요?" - }, "moreComingSoon": { "message": "더 추가 예정..." }, @@ -2235,9 +2223,6 @@ "notEnoughGas": { "message": "가스 부족" }, - "notifications": { - "message": "알림" - }, "notifications10ActionText": { "message": "설정으로 이동하기", "description": "The 'call to action' on the button, or link, of the 'Visit in Settings' notification. Upon clicking, users will be taken to Settings page." @@ -3214,9 +3199,6 @@ "showHexDataDescription": { "message": "이 항목을 선택하면 보내기 화면에 16진수 데이터 필드가 표시됩니다." }, - "showHide": { - "message": "보기/숨기기" - }, "showIncomingTransactions": { "message": "수신 거래 표시" }, @@ -3416,9 +3398,6 @@ "status": { "message": "상태" }, - "statusConnected": { - "message": "연결됨" - }, "statusNotConnected": { "message": "연결되지 않음" }, @@ -3923,10 +3902,6 @@ "toggleEthSignField": { "message": "eth_sign 요청 토글" }, - "toggleTestNetworks": { - "message": "$1 테스트 네트워크", - "description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open Settings > Advanced where users can enable the display of test networks in the network dropdown." - }, "token": { "message": "토큰" }, @@ -4106,10 +4081,6 @@ "troubleStarting": { "message": "MetaMask 실행 중 오류가 발생했습니다. 일시적인 오류일 수 있으니 확장 프로그램을 재시작해 보세요." }, - "troubleTokenBalances": { - "message": "토큰 잔액을 로드하는 도중 문제가 발생했습니다. 다음에서 잔액을 확인하세요. ", - "description": "Followed by a link (here) to view token balances" - }, "trustSiteApprovePermission": { "message": "권한을 부여하면 다음 $1이(가) 귀하의 자금에 액세스할 수 있습니다." }, diff --git a/app/_locales/lt/messages.json b/app/_locales/lt/messages.json index 3b08314312d4..9b5d49cddfa8 100644 --- a/app/_locales/lt/messages.json +++ b/app/_locales/lt/messages.json @@ -154,9 +154,6 @@ "connect": { "message": "Prisijungti" }, - "connectHardwareWallet": { - "message": "Susieti aparatinės įrangos slaptažodinę" - }, "connectingTo": { "message": "Jungiamasi prie $1" }, @@ -193,9 +190,6 @@ "create": { "message": "Sukurti" }, - "createAccount": { - "message": "Sukurti paskyrą" - }, "createPassword": { "message": "Sukurti slaptažodį" }, @@ -813,10 +807,6 @@ "transferFrom": { "message": "Pervedimas iš" }, - "troubleTokenBalances": { - "message": "Susidurta su sunkumais įkeliant jūsų žetonų likučius. Galite juos peržiūrėti ", - "description": "Followed by a link (here) to view token balances" - }, "tryAgain": { "message": "Bandyti dar kartą" }, diff --git a/app/_locales/lv/messages.json b/app/_locales/lv/messages.json index 2ffc66e5c00e..af75f4b5e4d2 100644 --- a/app/_locales/lv/messages.json +++ b/app/_locales/lv/messages.json @@ -154,9 +154,6 @@ "connect": { "message": "Pievienošana" }, - "connectHardwareWallet": { - "message": "Pieslēgt aparatūras maku" - }, "connectingTo": { "message": "Pieslēdzas $1" }, @@ -193,9 +190,6 @@ "create": { "message": "Izveidot" }, - "createAccount": { - "message": "Izveidot kontu" - }, "createPassword": { "message": "Izveidot paroli" }, @@ -809,10 +803,6 @@ "transferFrom": { "message": "Nosūtīt no" }, - "troubleTokenBalances": { - "message": "Mums neizdevās ielādēt marķieru bilanci. Varat tos skatīt", - "description": "Followed by a link (here) to view token balances" - }, "tryAgain": { "message": "Mēģināt vēlreiz" }, diff --git a/app/_locales/ms/messages.json b/app/_locales/ms/messages.json index 5c304cd4777e..c2460d16aafd 100644 --- a/app/_locales/ms/messages.json +++ b/app/_locales/ms/messages.json @@ -154,9 +154,6 @@ "connect": { "message": "Sambung" }, - "connectHardwareWallet": { - "message": "Sambungkan Dompet Perkakasan" - }, "connectingTo": { "message": "Menyambungkan kepada $1" }, @@ -193,9 +190,6 @@ "create": { "message": "Cipta" }, - "createAccount": { - "message": "Cipta Akaun" - }, "createPassword": { "message": "Cipta Kata Laluan" }, @@ -790,10 +784,6 @@ "transferFrom": { "message": "Pindah Daripada" }, - "troubleTokenBalances": { - "message": "Kami menghadapi masalah memuatkan baki token anda. Anda boleh melihatnya", - "description": "Followed by a link (here) to view token balances" - }, "tryAgain": { "message": "Cuba lagi" }, diff --git a/app/_locales/nl/messages.json b/app/_locales/nl/messages.json index fc8a1e7fdfe0..00bfdf7495d3 100644 --- a/app/_locales/nl/messages.json +++ b/app/_locales/nl/messages.json @@ -69,9 +69,6 @@ "create": { "message": "creëren" }, - "createAccount": { - "message": "Account aanmaken" - }, "decimal": { "message": "Decimalen van precisie" }, @@ -313,10 +310,6 @@ "total": { "message": "Totaal" }, - "troubleTokenBalances": { - "message": "We hadden problemen bij het laden van uw tokenbalansen. Je kunt ze bekijken", - "description": "Followed by a link (here) to view token balances" - }, "typePassword": { "message": "Typ uw wachtwoord" }, diff --git a/app/_locales/no/messages.json b/app/_locales/no/messages.json index 2df0252ef401..3ea7a7471f50 100644 --- a/app/_locales/no/messages.json +++ b/app/_locales/no/messages.json @@ -151,9 +151,6 @@ "connect": { "message": "Koble til" }, - "connectHardwareWallet": { - "message": "Koble til maskinvarelommebok" - }, "connectingTo": { "message": "Forbinder til $1 " }, @@ -190,9 +187,6 @@ "create": { "message": "Opprett" }, - "createAccount": { - "message": "Opprett konto" - }, "createPassword": { "message": "Opprett passord " }, @@ -788,10 +782,6 @@ "transferFrom": { "message": "Overfør fra" }, - "troubleTokenBalances": { - "message": "Vi hadde problemer med å laste inn sjetongsaldoen din. Du kan se dem", - "description": "Followed by a link (here) to view token balances" - }, "tryAgain": { "message": "Prøv igjen" }, diff --git a/app/_locales/ph/messages.json b/app/_locales/ph/messages.json index c6e24bd52f3e..c6d6398cb592 100644 --- a/app/_locales/ph/messages.json +++ b/app/_locales/ph/messages.json @@ -252,9 +252,6 @@ "connectAccountOrCreate": { "message": "Ikonekta ang account o gumawa ng bago" }, - "connectHardwareWallet": { - "message": "Ikonekta ang Hardware Wallet" - }, "connectManually": { "message": "Manu-manong kumonekta sa kasalukuyang site" }, @@ -356,9 +353,6 @@ "create": { "message": "Gumawa" }, - "createAccount": { - "message": "Gumawa ng Account" - }, "createPassword": { "message": "Gumawa ng Password" }, @@ -1394,9 +1388,6 @@ "stateLogsDescription": { "message": "Naglalaman ang mga log ng estado ng iyong mga address ng pampublikong account at ipinadalang transaksyon." }, - "statusConnected": { - "message": "Nakakonekta" - }, "statusNotConnected": { "message": "Hindi nakakonekta" }, @@ -1797,10 +1788,6 @@ "message": "Nagkaproblema kami sa pagkonekta sa iyong $1, subukang suriin ang $2 at subukan ulit.", "description": "$1 is the wallet device name; $2 is a link to wallet connection guide" }, - "troubleTokenBalances": { - "message": "Nagkaproblema kami sa pag-load ng mga balanse ng iyong token. Puwede mong tingnan ang mga iyon ", - "description": "Followed by a link (here) to view token balances" - }, "tryAgain": { "message": "Subukan ulit" }, diff --git a/app/_locales/pl/messages.json b/app/_locales/pl/messages.json index 348798703340..e14f33c879f8 100644 --- a/app/_locales/pl/messages.json +++ b/app/_locales/pl/messages.json @@ -154,9 +154,6 @@ "connect": { "message": "Połącz" }, - "connectHardwareWallet": { - "message": "Podłącz portfel sprzętowy" - }, "connectingTo": { "message": "Łączenie z $1" }, @@ -193,9 +190,6 @@ "create": { "message": "Utwórz" }, - "createAccount": { - "message": "Utwórz konto" - }, "createPassword": { "message": "Utwórz hasło" }, @@ -801,10 +795,6 @@ "transferFrom": { "message": "Przelew z" }, - "troubleTokenBalances": { - "message": "Wystąpił problem z załadowaniem informacji o Twoich tokenach. Można je zobaczyć ", - "description": "Followed by a link (here) to view token balances" - }, "tryAgain": { "message": "Spróbuj ponownie" }, diff --git a/app/_locales/pt/messages.json b/app/_locales/pt/messages.json index 1a35b57fd16c..88bd6d6995d7 100644 --- a/app/_locales/pt/messages.json +++ b/app/_locales/pt/messages.json @@ -642,9 +642,6 @@ "connectAccountOrCreate": { "message": "Conectar conta ou criar nova" }, - "connectHardwareWallet": { - "message": "Conectar carteira de hardware" - }, "connectManually": { "message": "Conectar manualmente ao site atual" }, @@ -789,9 +786,6 @@ "create": { "message": "Criar" }, - "createAccount": { - "message": "Criar conta" - }, "createNewWallet": { "message": "Criar uma nova carteira" }, @@ -1636,9 +1630,6 @@ "importTokenWarning": { "message": "Qualquer pessoa pode criar um token com qualquer nome, incluindo versões falsas de tokens existentes. Adicione e negocie por sua conta e risco!" }, - "importTokens": { - "message": "importar tokens" - }, "importTokensCamelCase": { "message": "Importar tokens" }, @@ -1990,9 +1981,6 @@ "missingSettingRequest": { "message": "Solicite aqui" }, - "missingToken": { - "message": "Não está vendo seu token?" - }, "moreComingSoon": { "message": "Mais em breve..." }, @@ -2235,9 +2223,6 @@ "notEnoughGas": { "message": "Não há gás suficiente" }, - "notifications": { - "message": "Notificações" - }, "notifications10ActionText": { "message": "Visite nas configurações", "description": "The 'call to action' on the button, or link, of the 'Visit in Settings' notification. Upon clicking, users will be taken to Settings page." @@ -3214,9 +3199,6 @@ "showHexDataDescription": { "message": "Selecione essa opção para mostrar o campo de dados hexadecimais na tela de envio" }, - "showHide": { - "message": "Mostrar/ocultar" - }, "showIncomingTransactions": { "message": "Mostrar transações recebidas" }, @@ -3416,9 +3398,6 @@ "status": { "message": "Status" }, - "statusConnected": { - "message": "Conectado" - }, "statusNotConnected": { "message": "Não conectado" }, @@ -3923,10 +3902,6 @@ "toggleEthSignField": { "message": "Ativar/desativar solicitações eth_sign" }, - "toggleTestNetworks": { - "message": "$1 redes de teste", - "description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open Settings > Advanced where users can enable the display of test networks in the network dropdown." - }, "token": { "message": "Token" }, @@ -4106,10 +4081,6 @@ "troubleStarting": { "message": "A MetaMask teve problemas para iniciar. Esse erro pode ser intermitente, por isso tente reiniciar a extensão." }, - "troubleTokenBalances": { - "message": "Tivemos um problema a carregar o balanço dos seus tokens. Pode vê-los em ", - "description": "Followed by a link (here) to view token balances" - }, "trustSiteApprovePermission": { "message": "Ao conceder permissão, você estará autorizando que o $1 a seguir acesse seus fundos" }, diff --git a/app/_locales/pt_BR/messages.json b/app/_locales/pt_BR/messages.json index 5dfacf001178..48a0efd1af2d 100644 --- a/app/_locales/pt_BR/messages.json +++ b/app/_locales/pt_BR/messages.json @@ -389,9 +389,6 @@ "connectAccountOrCreate": { "message": "Conectar conta ou criar nova" }, - "connectHardwareWallet": { - "message": "Conectar carteira de hardware" - }, "connectManually": { "message": "Conectar manualmente ao site atual" }, @@ -499,9 +496,6 @@ "create": { "message": "Criar" }, - "createAccount": { - "message": "Criar conta" - }, "createNewWallet": { "message": "Criar uma nova carteira" }, @@ -1091,9 +1085,6 @@ "importTokenWarning": { "message": "Qualquer pessoa pode criar um token com qualquer nome, incluindo versões falsas de tokens existentes. Adicione e negocie por sua conta e risco!" }, - "importTokens": { - "message": "importar tokens" - }, "importTokensCamelCase": { "message": "Importar tokens" }, @@ -1351,9 +1342,6 @@ "missingNFT": { "message": "Não está vendo o seu NFT?" }, - "missingToken": { - "message": "Não está vendo o seu token?" - }, "mustSelectOne": { "message": "Selecione pelo menos 1 token." }, @@ -2064,9 +2052,6 @@ "showHexDataDescription": { "message": "Selecione essa opção para mostrar o campo de dados hexadecimais na tela de envio" }, - "showHide": { - "message": "Mostrar/ocultar" - }, "showIncomingTransactions": { "message": "Mostrar transações recebidas" }, @@ -2168,9 +2153,6 @@ "stateLogsDescription": { "message": "Os registros de estado contêm os endereços da sua conta pública e as transações enviadas." }, - "statusConnected": { - "message": "Conectado" - }, "statusNotConnected": { "message": "Não conectado" }, @@ -2549,10 +2531,6 @@ "message": "Para: $1", "description": "$1 is the address to include in the To label. It is typically shortened first using shortenAddress" }, - "toggleTestNetworks": { - "message": "$1 redes de teste", - "description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open Settings > Advanced where users can enable the display of test networks in the network dropdown." - }, "token": { "message": "Token" }, @@ -2692,10 +2670,6 @@ "message": "Tivemos dificuldade para conectar-nos à sua $1. Revise $2 e tente novamente.", "description": "$1 is the wallet device name; $2 is a link to wallet connection guide" }, - "troubleTokenBalances": { - "message": "Tivemos dificuldade para carregar os saldos do seu token. Você pode vê-los ", - "description": "Followed by a link (here) to view token balances" - }, "trustSiteApprovePermission": { "message": "Ao conceder permissão, você estará autorizando que o $1 a seguir acesse seus fundos" }, diff --git a/app/_locales/ro/messages.json b/app/_locales/ro/messages.json index 2ecf4a992950..c4384f140012 100644 --- a/app/_locales/ro/messages.json +++ b/app/_locales/ro/messages.json @@ -154,9 +154,6 @@ "connect": { "message": "Conectează-te" }, - "connectHardwareWallet": { - "message": "Conectare portofel hardware" - }, "connectingTo": { "message": "Se conectează la $1" }, @@ -193,9 +190,6 @@ "create": { "message": "Creați" }, - "createAccount": { - "message": "Creați cont" - }, "createPassword": { "message": "Creare parolă" }, @@ -794,10 +788,6 @@ "transferFrom": { "message": "Transferați de la" }, - "troubleTokenBalances": { - "message": "Am avut dificultăți cu încărcarea soldurilor dvs. de tokenuri. Le puteți vizualiza", - "description": "Followed by a link (here) to view token balances" - }, "tryAgain": { "message": "Încearcă din nou" }, diff --git a/app/_locales/ru/messages.json b/app/_locales/ru/messages.json index 77b9d7f8d5a1..1365b7cb2d78 100644 --- a/app/_locales/ru/messages.json +++ b/app/_locales/ru/messages.json @@ -642,9 +642,6 @@ "connectAccountOrCreate": { "message": "Подключите счет или создайте новый" }, - "connectHardwareWallet": { - "message": "Подключить аппаратный кошелек" - }, "connectManually": { "message": "Подключиться к текущему сайту вручную" }, @@ -789,9 +786,6 @@ "create": { "message": "Создать" }, - "createAccount": { - "message": "Создать счет" - }, "createNewWallet": { "message": "Создать новый кошелек" }, @@ -1636,9 +1630,6 @@ "importTokenWarning": { "message": "Кто угодно может создать токен с любым именем, включая поддельные версии существующих токенов. Добавляйте и торгуйте на свой страх и риск!" }, - "importTokens": { - "message": "импорт токенов" - }, "importTokensCamelCase": { "message": "Импорт токенов" }, @@ -1990,9 +1981,6 @@ "missingSettingRequest": { "message": "Запросите здесь" }, - "missingToken": { - "message": "Не видите свой токен?" - }, "moreComingSoon": { "message": "Скоро появится больше..." }, @@ -2235,9 +2223,6 @@ "notEnoughGas": { "message": "Недостаточно газа" }, - "notifications": { - "message": "Уведомления" - }, "notifications10ActionText": { "message": "Смотреть в настройках", "description": "The 'call to action' on the button, or link, of the 'Visit in Settings' notification. Upon clicking, users will be taken to Settings page." @@ -3214,9 +3199,6 @@ "showHexDataDescription": { "message": "Выберите эту опцию, чтобы отобразить поле шестнадцатеричных данных на экране отправки" }, - "showHide": { - "message": "Показать/скрыть" - }, "showIncomingTransactions": { "message": "Показать входящие транзакции" }, @@ -3416,9 +3398,6 @@ "status": { "message": "Статус" }, - "statusConnected": { - "message": "Подключено" - }, "statusNotConnected": { "message": "Не подключено" }, @@ -3923,10 +3902,6 @@ "toggleEthSignField": { "message": "Переключить запросы eth_sign" }, - "toggleTestNetworks": { - "message": "$1 тестовые сети", - "description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open Settings > Advanced where users can enable the display of test networks in the network dropdown." - }, "token": { "message": "Токен" }, @@ -4106,10 +4081,6 @@ "troubleStarting": { "message": "У MetaMask возникли проблемы с запуском. Эта ошибка может быть непостоянной, поэтому попробуйте перезапустить расширение." }, - "troubleTokenBalances": { - "message": "У нас возникли проблемы с загрузкой вашего баланса токенов. Вы можете просмотреть их ", - "description": "Followed by a link (here) to view token balances" - }, "trustSiteApprovePermission": { "message": "Давая разрешение, вы предоставляете следующему $1 доступ к вашим средствам." }, diff --git a/app/_locales/sk/messages.json b/app/_locales/sk/messages.json index 6b0057045917..8c120b6c9d41 100644 --- a/app/_locales/sk/messages.json +++ b/app/_locales/sk/messages.json @@ -148,9 +148,6 @@ "connect": { "message": "Pripojenie" }, - "connectHardwareWallet": { - "message": "Pripojiť hardvérovú peňaženku" - }, "connectingTo": { "message": "Pripája sa k $1" }, @@ -187,9 +184,6 @@ "create": { "message": "Vytvořit" }, - "createAccount": { - "message": "Vytvořit účet" - }, "createPassword": { "message": "Vytvoriť heslo" }, @@ -779,10 +773,6 @@ "transferFrom": { "message": "Presun z" }, - "troubleTokenBalances": { - "message": "Měli jsme problém s načtením vašich tokenových zůstatků. Můžete je vidět ", - "description": "Followed by a link (here) to view token balances" - }, "tryAgain": { "message": "Skúsiť znova" }, diff --git a/app/_locales/sl/messages.json b/app/_locales/sl/messages.json index bbc88645ea71..8dd18a88995a 100644 --- a/app/_locales/sl/messages.json +++ b/app/_locales/sl/messages.json @@ -154,9 +154,6 @@ "connect": { "message": "Poveži" }, - "connectHardwareWallet": { - "message": "Poveži strojno denarnico" - }, "connectingTo": { "message": "Povezovanje na $1" }, @@ -193,9 +190,6 @@ "create": { "message": "Ustvari" }, - "createAccount": { - "message": "Ustvari račun" - }, "createPassword": { "message": "Ustvari geslo" }, @@ -801,10 +795,6 @@ "transferFrom": { "message": "Prenesi od" }, - "troubleTokenBalances": { - "message": "Če imate težave pri ogledu zneskov žetonov si jih lahko ogledate ", - "description": "Followed by a link (here) to view token balances" - }, "tryAgain": { "message": "Poskusi znova" }, diff --git a/app/_locales/sr/messages.json b/app/_locales/sr/messages.json index b95229b5098e..b40ef040d52e 100644 --- a/app/_locales/sr/messages.json +++ b/app/_locales/sr/messages.json @@ -151,9 +151,6 @@ "connect": { "message": "Повезивање" }, - "connectHardwareWallet": { - "message": "Povežite Hardverski novčanik" - }, "connectingTo": { "message": "Povezuje se na $1" }, @@ -190,9 +187,6 @@ "create": { "message": "Направи" }, - "createAccount": { - "message": "Kreirajte nalog" - }, "createPassword": { "message": "Kreirajte lozinku" }, @@ -801,10 +795,6 @@ "transferFrom": { "message": "Prebacite iz" }, - "troubleTokenBalances": { - "message": "Imali smo problema sa učitavanjem bilansa Vaših tokena. Možete ih pogledati", - "description": "Followed by a link (here) to view token balances" - }, "tryAgain": { "message": "Пробај поново" }, diff --git a/app/_locales/sv/messages.json b/app/_locales/sv/messages.json index 75a70e467c30..2a7718a0476f 100644 --- a/app/_locales/sv/messages.json +++ b/app/_locales/sv/messages.json @@ -148,9 +148,6 @@ "connect": { "message": "Ansluta" }, - "connectHardwareWallet": { - "message": "Anslut hårdvaruplånbok" - }, "connectingTo": { "message": "Ansluter till $1" }, @@ -187,9 +184,6 @@ "create": { "message": "Skapa" }, - "createAccount": { - "message": "Skapa konto" - }, "createPassword": { "message": "Skapa lösenord" }, @@ -788,10 +782,6 @@ "transferFrom": { "message": "Överför från" }, - "troubleTokenBalances": { - "message": "Vi hade problem med att ladda dina token-saldon. Du kan se dem", - "description": "Followed by a link (here) to view token balances" - }, "tryAgain": { "message": "Försök igen" }, diff --git a/app/_locales/sw/messages.json b/app/_locales/sw/messages.json index 5ec90f52f210..fbb028c8dc27 100644 --- a/app/_locales/sw/messages.json +++ b/app/_locales/sw/messages.json @@ -148,9 +148,6 @@ "connect": { "message": "Unganisha" }, - "connectHardwareWallet": { - "message": "Unganisha Waleti ya Programu Maunzi" - }, "connectingTo": { "message": "Inaunganisha kwenye $1" }, @@ -187,9 +184,6 @@ "create": { "message": "Unda" }, - "createAccount": { - "message": "Fungua Akaunti" - }, "createPassword": { "message": "Unda Nenosiri" }, @@ -791,10 +785,6 @@ "transferFrom": { "message": "Tuma Kutoka" }, - "troubleTokenBalances": { - "message": "Tulipata shida kupakia salio lako la kianzio. Unaweza kuliona", - "description": "Followed by a link (here) to view token balances" - }, "tryAgain": { "message": "Jaribu tena" }, diff --git a/app/_locales/ta/messages.json b/app/_locales/ta/messages.json index 53b5a906ede2..0f042e0ac663 100644 --- a/app/_locales/ta/messages.json +++ b/app/_locales/ta/messages.json @@ -96,9 +96,6 @@ "create": { "message": "உருவாக்கு" }, - "createAccount": { - "message": "உங்கள் கணக்கை துவங்குங்கள்" - }, "custom": { "message": "மேம்பட்டவை" }, @@ -434,10 +431,6 @@ "transactionError": { "message": "பரிவர்த்தனை பிழை. விதிமுறை ஒப்பந்தத்தில் விதிவிலக்கு." }, - "troubleTokenBalances": { - "message": "உங்கள் டோக்கன் நிலுவைகளை ஏற்றுவதில் சிக்கல் ஏற்பட்டது. நீங்கள் அவர்களை பார்க்க முடியும்.", - "description": "Followed by a link (here) to view token balances" - }, "tryAgain": { "message": "மீண்டும் முயல்க" }, diff --git a/app/_locales/th/messages.json b/app/_locales/th/messages.json index 23e312863fbd..84dbefe113f3 100644 --- a/app/_locales/th/messages.json +++ b/app/_locales/th/messages.json @@ -87,9 +87,6 @@ "create": { "message": "สร้าง" }, - "createAccount": { - "message": "สร้างบัญชี" - }, "currencyConversion": { "message": "การแปลงสกุลเงิน" }, @@ -401,10 +398,6 @@ "transferBetweenAccounts": { "message": "โอนระหว่างบัญชีของฉัน" }, - "troubleTokenBalances": { - "message": "เรามีปัญหาในการโหลดยอดโทเค็นคงเหลือของคุณ คุณสามารถดูได้ที่นี่", - "description": "Followed by a link (here) to view token balances" - }, "typePassword": { "message": "พิมพ์รหัสผ่านของคุณ" }, diff --git a/app/_locales/tl/messages.json b/app/_locales/tl/messages.json index e0f0fd92d939..765ea453e8b3 100644 --- a/app/_locales/tl/messages.json +++ b/app/_locales/tl/messages.json @@ -642,9 +642,6 @@ "connectAccountOrCreate": { "message": "Ikonekta ang account o gumawa ng bago" }, - "connectHardwareWallet": { - "message": "Ikonekta ang hardware wallet" - }, "connectManually": { "message": "Manu-manong kumonekta sa kasalukuyang site" }, @@ -789,9 +786,6 @@ "create": { "message": "Gumawa" }, - "createAccount": { - "message": "Gumawa ng account" - }, "createNewWallet": { "message": "Gumawa ng bagong wallet" }, @@ -1636,9 +1630,6 @@ "importTokenWarning": { "message": "Sinumang ay maaaring lumikha ng token gamit ang alinmang pangalan, kabilang ang mga pekeng bersyon ng umiiral na mga token. Magdagdag at mag-trade sa sarili mong panganib!" }, - "importTokens": { - "message": "magdagdag ng mga token" - }, "importTokensCamelCase": { "message": "Mag-import ng mga Token" }, @@ -1990,9 +1981,6 @@ "missingSettingRequest": { "message": "Hilingin dito" }, - "missingToken": { - "message": "Hindi mo ba nakikita ang iyong mga token?" - }, "moreComingSoon": { "message": "Marami pang parating..." }, @@ -2235,9 +2223,6 @@ "notEnoughGas": { "message": "Hindi Sapat ang Gas" }, - "notifications": { - "message": "Mga Abiso" - }, "notifications10ActionText": { "message": "Bisitahin sa mga setting", "description": "The 'call to action' on the button, or link, of the 'Visit in Settings' notification. Upon clicking, users will be taken to Settings page." @@ -3214,9 +3199,6 @@ "showHexDataDescription": { "message": "Piliin ito para ipakita ang field ng hex data sa screen ng pagpapadala" }, - "showHide": { - "message": "Ipakita/itago" - }, "showIncomingTransactions": { "message": "Ipakita ang Mga Papasok na Transaksyon" }, @@ -3416,9 +3398,6 @@ "status": { "message": "Istado" }, - "statusConnected": { - "message": "Nakakonekta" - }, "statusNotConnected": { "message": "Hindi konektado" }, @@ -3923,10 +3902,6 @@ "toggleEthSignField": { "message": "I-toggle ang mga kahilingan sa eth_sign" }, - "toggleTestNetworks": { - "message": "$1 na test network", - "description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open Settings > Advanced where users can enable the display of test networks in the network dropdown." - }, "token": { "message": "Token" }, @@ -4106,10 +4081,6 @@ "troubleStarting": { "message": "Nagkaproblema ang MetaMask sa pagsisimula. Maaaring paulit-ulit ang error na ito, kaya subukang i-restart ang extension." }, - "troubleTokenBalances": { - "message": "Nagkaproblema kami sa pag-load ng mga balanse ng iyong token. Puwede mong tingnan ang mga iyon ", - "description": "Followed by a link (here) to view token balances" - }, "trustSiteApprovePermission": { "message": "Sa pamamagitan ng pagbibigay ng pahintulot, pinapayagan mo ang sumusunod na $1 para ma-access ang pondo mo" }, diff --git a/app/_locales/tr/messages.json b/app/_locales/tr/messages.json index 0ca8ba63a6c8..e58872f25c8e 100644 --- a/app/_locales/tr/messages.json +++ b/app/_locales/tr/messages.json @@ -642,9 +642,6 @@ "connectAccountOrCreate": { "message": "Hesabı bağla ya da yeni hesap oluştur" }, - "connectHardwareWallet": { - "message": "Donanım Cüzdanı Bağla" - }, "connectManually": { "message": "Mevcut siteye manuel olarak bağlan" }, @@ -789,9 +786,6 @@ "create": { "message": "Oluştur" }, - "createAccount": { - "message": "Hesap Oluştur" - }, "createNewWallet": { "message": "Yeni bir cüzdan oluştur" }, @@ -1636,9 +1630,6 @@ "importTokenWarning": { "message": "Herkes, mevcut tokenlerin sahte sürümleri de dahil olmak üzere herhangi bir ada sahip bir token oluşturabilir. Riski tamamen size ait olacak şekikde token ekleyin ve işlem yapın!" }, - "importTokens": { - "message": "tokenleri içe aktar" - }, "importTokensCamelCase": { "message": "Tokenleri içe aktar" }, @@ -1990,9 +1981,6 @@ "missingSettingRequest": { "message": "Buradan talep et" }, - "missingToken": { - "message": "Tokeninizi görmüyor musunuz?" - }, "moreComingSoon": { "message": "Daha fazlası çok yakında..." }, @@ -2235,9 +2223,6 @@ "notEnoughGas": { "message": "Yeterli gaz yok" }, - "notifications": { - "message": "Bildirimler" - }, "notifications10ActionText": { "message": "Ayarlarda ziyaret et", "description": "The 'call to action' on the button, or link, of the 'Visit in Settings' notification. Upon clicking, users will be taken to Settings page." @@ -3214,9 +3199,6 @@ "showHexDataDescription": { "message": "Gönder ekranında on altılık veri alanını göstermek için bunu seçin" }, - "showHide": { - "message": "Göster/gizle" - }, "showIncomingTransactions": { "message": "Gelen işlemleri göster" }, @@ -3416,9 +3398,6 @@ "status": { "message": "Durum" }, - "statusConnected": { - "message": "Bağlandı" - }, "statusNotConnected": { "message": "Bağlanmadı" }, @@ -3923,10 +3902,6 @@ "toggleEthSignField": { "message": "eth_sign taleplerini değiştirin" }, - "toggleTestNetworks": { - "message": "Test ağlarını $1", - "description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open Settings > Advanced where users can enable the display of test networks in the network dropdown." - }, "token": { "message": "Token" }, @@ -4106,10 +4081,6 @@ "troubleStarting": { "message": "MetaMask başlatılırken bir sorun oldu. Bu hata sürekli bir hata olmayabilir; bu yüzden uzantıyı yeniden başlatmayı dene." }, - "troubleTokenBalances": { - "message": "Token bakiyeleriniz yüklenirken sorun yaşadık. Burada görüntüleyebilirsiniz ", - "description": "Followed by a link (here) to view token balances" - }, "trustSiteApprovePermission": { "message": "İzin verdiğinizde paranıza aşağıdaki $1 erişimine izin verirsiniz" }, diff --git a/app/_locales/uk/messages.json b/app/_locales/uk/messages.json index acfaf09abca3..8c0a96d298ce 100644 --- a/app/_locales/uk/messages.json +++ b/app/_locales/uk/messages.json @@ -154,9 +154,6 @@ "connect": { "message": "Під’єднатися" }, - "connectHardwareWallet": { - "message": "Приєднайте апаратний гаманець" - }, "connectingTo": { "message": "Під'єднуємось до $1" }, @@ -193,9 +190,6 @@ "create": { "message": "Створити" }, - "createAccount": { - "message": "Створити обліковий запис" - }, "createPassword": { "message": "Створити пароль" }, @@ -813,10 +807,6 @@ "transferFrom": { "message": "Передати від" }, - "troubleTokenBalances": { - "message": "В нас виникли складнощі при завантаженні ваших залишків токенів. Ви можете переглянути їх", - "description": "Followed by a link (here) to view token balances" - }, "tryAgain": { "message": "Повторити" }, diff --git a/app/_locales/vi/messages.json b/app/_locales/vi/messages.json index ab97ee5c7d2d..6f13959858f8 100644 --- a/app/_locales/vi/messages.json +++ b/app/_locales/vi/messages.json @@ -642,9 +642,6 @@ "connectAccountOrCreate": { "message": "Kết nối tài khoản hoặc tạo tài khoản mới" }, - "connectHardwareWallet": { - "message": "Kết nối với ví cứng" - }, "connectManually": { "message": "Kết nối thủ công với trang web hiện tại" }, @@ -789,9 +786,6 @@ "create": { "message": "Tạo" }, - "createAccount": { - "message": "Tạo tài khoản" - }, "createNewWallet": { "message": "Tạo ví mới" }, @@ -1636,9 +1630,6 @@ "importTokenWarning": { "message": "Bất kỳ ai cũng tạo được token bằng bất kỳ tên nào, kể cả phiên bản giả của token hiện có. Bạn tự chịu rủi ro khi thêm và giao dịch!" }, - "importTokens": { - "message": "nhập token" - }, "importTokensCamelCase": { "message": "Nhập token" }, @@ -1990,9 +1981,6 @@ "missingSettingRequest": { "message": "Yêu cầu tại đây" }, - "missingToken": { - "message": "Không thấy token của mình?" - }, "moreComingSoon": { "message": "Sắp có thêm..." }, @@ -2235,9 +2223,6 @@ "notEnoughGas": { "message": "Không đủ gas" }, - "notifications": { - "message": "Thông báo" - }, "notifications10ActionText": { "message": "Xem trong phần Cài đặt", "description": "The 'call to action' on the button, or link, of the 'Visit in Settings' notification. Upon clicking, users will be taken to Settings page." @@ -3214,9 +3199,6 @@ "showHexDataDescription": { "message": "Chọn tùy chọn này để hiển thị trường dữ liệu thập lục phân trên màn hình gửi" }, - "showHide": { - "message": "Hiển thị/ẩn" - }, "showIncomingTransactions": { "message": "Hiển thị các giao dịch đến" }, @@ -3416,9 +3398,6 @@ "status": { "message": "Trạng thái" }, - "statusConnected": { - "message": "Đã kết nối" - }, "statusNotConnected": { "message": "Chưa kết nối" }, @@ -3923,10 +3902,6 @@ "toggleEthSignField": { "message": "Bật/tắt yêu cầu eth_sign" }, - "toggleTestNetworks": { - "message": "$1 mạng thử nghiệm", - "description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open Settings > Advanced where users can enable the display of test networks in the network dropdown." - }, "token": { "message": "Token" }, @@ -4106,10 +4081,6 @@ "troubleStarting": { "message": "MetaMask đã gặp sự cố khi khởi động. Lỗi này có thể xảy ra không liên tục, vì vậy hãy thử khởi động lại tiện ích." }, - "troubleTokenBalances": { - "message": "Chúng tôi đã gặp phải vấn đề khi tải số dư token của bạn. Bạn có thể xem số dư ", - "description": "Followed by a link (here) to view token balances" - }, "trustSiteApprovePermission": { "message": "Bằng cách cấp quyền, bạn cho phép $1 sau đây truy cập vào các khoản tiền của mình" }, diff --git a/app/_locales/zh_CN/messages.json b/app/_locales/zh_CN/messages.json index 0fa856db03c4..2902731db23e 100644 --- a/app/_locales/zh_CN/messages.json +++ b/app/_locales/zh_CN/messages.json @@ -642,9 +642,6 @@ "connectAccountOrCreate": { "message": "连接账户或创建新账户" }, - "connectHardwareWallet": { - "message": "连接硬件钱包" - }, "connectManually": { "message": "手动连接到当前站点" }, @@ -789,9 +786,6 @@ "create": { "message": "创建" }, - "createAccount": { - "message": "创建账户" - }, "createNewWallet": { "message": "创建新钱包" }, @@ -1636,9 +1630,6 @@ "importTokenWarning": { "message": "任何人都可以用任何名称创建代币,包括现有代币的虚假版本。添加和交易风险自负!" }, - "importTokens": { - "message": "添加资产" - }, "importTokensCamelCase": { "message": "添加代币" }, @@ -1990,9 +1981,6 @@ "missingSettingRequest": { "message": "在这里请求" }, - "missingToken": { - "message": "没有看到您的代币?" - }, "moreComingSoon": { "message": "更多即将到来……" }, @@ -2235,9 +2223,6 @@ "notEnoughGas": { "message": "燃料不足" }, - "notifications": { - "message": "通知" - }, "notifications10ActionText": { "message": "在设置中访问", "description": "The 'call to action' on the button, or link, of the 'Visit in Settings' notification. Upon clicking, users will be taken to Settings page." @@ -3214,9 +3199,6 @@ "showHexDataDescription": { "message": "选择此项以在发送屏幕上显示十六进制数据字段" }, - "showHide": { - "message": "显示/隐藏" - }, "showIncomingTransactions": { "message": "显示传入的交易" }, @@ -3416,9 +3398,6 @@ "status": { "message": "状态" }, - "statusConnected": { - "message": "已连接" - }, "statusNotConnected": { "message": "未连接" }, @@ -3923,10 +3902,6 @@ "toggleEthSignField": { "message": "切换eth_sign请求" }, - "toggleTestNetworks": { - "message": "$1 测试网络", - "description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open Settings > Advanced where users can enable the display of test networks in the network dropdown." - }, "token": { "message": "代币" }, @@ -4106,10 +4081,6 @@ "troubleStarting": { "message": "MetaMask无法启动。可能发生间歇性错误,因此请尝试重新启动扩展程序。" }, - "troubleTokenBalances": { - "message": "我们在加载您的代币余额时遇到问题。您可以查看它们 ", - "description": "Followed by a link (here) to view token balances" - }, "trustSiteApprovePermission": { "message": "通过授予权限,您允许以下 $1 访问您的资金" }, diff --git a/app/_locales/zh_TW/messages.json b/app/_locales/zh_TW/messages.json index fedf06a65bcc..643010601525 100644 --- a/app/_locales/zh_TW/messages.json +++ b/app/_locales/zh_TW/messages.json @@ -251,9 +251,6 @@ "connectAccountOrCreate": { "message": "連結帳戶或建立新的" }, - "connectHardwareWallet": { - "message": "連線硬體錢包" - }, "connectManually": { "message": "手動連結到目前的網站" }, @@ -355,9 +352,6 @@ "create": { "message": "建立" }, - "createAccount": { - "message": "建立帳戶" - }, "createPassword": { "message": "建立密碼" }, @@ -1322,9 +1316,6 @@ "stateLogsDescription": { "message": "狀態紀錄包含您的公開帳戶位址和已傳送的交易資訊" }, - "statusConnected": { - "message": "已連結" - }, "statusNotConnected": { "message": "未連結" }, @@ -1473,10 +1464,6 @@ "message": "我們在連線到您的 $1 的時候遇到問題,試著檢查 $2 然後再試一次。", "description": "$1 is the wallet device name; $2 is a link to wallet connection guide" }, - "troubleTokenBalances": { - "message": "無法取得代幣餘額。您可以到這裡查看 ", - "description": "Followed by a link (here) to view token balances" - }, "trustSiteApprovePermission": { "message": "您信任這個網站嗎?當您授予這個權限,$1 就能提領您的 $2 並且代替您自動發送交易。" }, diff --git a/builds.yml b/builds.yml index 950e5249ea0a..e1833d541732 100644 --- a/builds.yml +++ b/builds.yml @@ -153,7 +153,6 @@ env: - SUPPORT_LINK: https://support.metamask.io - SUPPORT_REQUEST_LINK: https://metamask.zendesk.com/hc/en-us - SKIP_BACKGROUND_INITIALIZATION: false - - MULTICHAIN: false # TODO(ritave): Move ManifestV3 into a feature? - ENABLE_MV3: false diff --git a/development/ts-migration-dashboard/files-to-convert.json b/development/ts-migration-dashboard/files-to-convert.json index bf123f1e373e..08d1a48e17be 100644 --- a/development/ts-migration-dashboard/files-to-convert.json +++ b/development/ts-migration-dashboard/files-to-convert.json @@ -470,10 +470,6 @@ "ui/components/app/detected-token/detected-token-values/detected-token-values.test.js", "ui/components/app/detected-token/detected-token.js", "ui/components/app/detected-token/detected-token.test.js", - "ui/components/app/dropdowns/dropdown.js", - "ui/components/app/dropdowns/dropdown.test.js", - "ui/components/app/dropdowns/network-dropdown.js", - "ui/components/app/dropdowns/network-dropdown.test.js", "ui/components/app/edit-gas-display/edit-gas-display.component.js", "ui/components/app/edit-gas-display/edit-gas-display.stories.js", "ui/components/app/edit-gas-display/edit-gas-display.test.js", diff --git a/docs/components/account-menu.md b/docs/components/account-menu.md deleted file mode 100644 index b65a99360dee..000000000000 --- a/docs/components/account-menu.md +++ /dev/null @@ -1,16 +0,0 @@ -# Account Menu - -The account menu is the popup menu which contains options such as: - - Logging out - - Switching accounts - - Creating a new account - - Importing an account - - Connecting a HW wallet - - Looking up info & help - - Adjusting settings - - It can be seen below where it has been outlined with a red box - - ![Screenshot of account menu](https://i.imgur.com/xpkfIuR.png) - - Above screenshot showing the menu bar in MetaMask 6.7.1 diff --git a/test/e2e/benchmark.js b/test/e2e/benchmark.js index df44a6dceb86..fc7d701a6859 100755 --- a/test/e2e/benchmark.js +++ b/test/e2e/benchmark.js @@ -26,7 +26,7 @@ async function measurePage(pageName) { await driver.navigate(); await driver.fill('#password', 'correct horse battery staple'); await driver.press('#password', driver.Key.ENTER); - await driver.findElement('.selected-account__name'); + await driver.findElement('[data-testid="account-menu-icon"]'); await driver.navigate(pageName); await driver.delay(1000); metrics = await driver.collectMetrics(); diff --git a/test/e2e/helpers.js b/test/e2e/helpers.js index ed062a98ea62..0e7aa4a3d8ea 100644 --- a/test/e2e/helpers.js +++ b/test/e2e/helpers.js @@ -496,12 +496,12 @@ const findAnotherAccountFromAccountList = async ( itemNumber, accountName, ) => { - await driver.clickElement('.account-menu__icon'); - const accountMenuItemSelector = `.account-menu__account:nth-child(${itemNumber})`; - const fourthAccountName = await driver.findElement( - `${accountMenuItemSelector} .account-menu__name`, + await driver.clickElement('[data-testid="account-menu-icon"]'); + const accountMenuItemSelector = `.multichain-account-list-item:nth-child(${itemNumber})`; + const acctName = await driver.findElement( + `${accountMenuItemSelector} .multichain-account-list-item__account-name__button`, ); - assert.equal(await fourthAccountName.getText(), accountName); + assert.equal(await acctName.getText(), accountName); return accountMenuItemSelector; }; diff --git a/test/e2e/metamask-ui.spec.js b/test/e2e/metamask-ui.spec.js index 572e090769e2..887d46d17434 100644 --- a/test/e2e/metamask-ui.spec.js +++ b/test/e2e/metamask-ui.spec.js @@ -128,13 +128,13 @@ describe('MetaMask', function () { describe('Import Secret Recovery Phrase', function () { it('logs out of the vault', async function () { - await driver.clickElement('.account-menu__icon'); + await driver.clickElement('[data-testid="account-options-menu-button"]'); await driver.delay(regularDelayMs); const lockButton = await driver.findClickableElement( - '.account-menu__lock-button', + '[data-testid="global-menu-lock"]', ); - assert.equal(await lockButton.getText(), 'Lock'); + assert.equal(await lockButton.getText(), 'Lock MetaMask'); await lockButton.click(); await driver.delay(regularDelayMs); }); @@ -163,7 +163,7 @@ describe('MetaMask', function () { it('balance renders', async function () { await driver.waitForSelector({ - css: '[data-testid="wallet-balance"] .list-item__heading', + css: '[data-testid="eth-overview__primary-currency"] .currency-display-component__text', text: '1000', }); await driver.delay(regularDelayMs); @@ -246,7 +246,7 @@ describe('MetaMask', function () { it('clicks on the import tokens button', async function () { await driver.clickElement(`[data-testid="home__asset-tab"]`); - await driver.clickElement({ text: 'import tokens', tag: 'a' }); + await driver.clickElement({ text: 'Import tokens', tag: 'button' }); await driver.delay(regularDelayMs); }); @@ -433,7 +433,7 @@ describe('MetaMask', function () { }); await driver.waitForSelector({ - css: '.asset-list-item__token-button', + css: '[data-testid="multichain-token-list-item-value"]', text: '7.5 TST', }); diff --git a/test/e2e/snaps/test-snap-management.spec.js b/test/e2e/snaps/test-snap-management.spec.js index 98503cadc960..23878cfe767c 100644 --- a/test/e2e/snaps/test-snap-management.spec.js +++ b/test/e2e/snaps/test-snap-management.spec.js @@ -73,15 +73,13 @@ describe('Test Snap Management', function () { await driver.switchToWindow(extensionPage); await driver.delay(1000); - // click on the account menu icon - await driver.clickElement('.account-menu__icon'); - await driver.delay(1000); + // click on the global action menu + await driver.clickElement( + '[data-testid="account-options-menu-button"]', + ); // try to click on the notification item - await driver.clickElement({ - text: 'Settings', - tag: 'div', - }); + await driver.clickElement({ text: 'Settings', tag: 'div' }); await driver.delay(1000); // try to click on the snaps item @@ -129,10 +127,14 @@ describe('Test Snap Management', function () { // check to see that there is one notification await driver.switchToWindow(extensionPage); await driver.delay(1000); + await driver.clickElement( + '[data-testid="account-options-menu-button"]', + ); const notificationResult = await driver.findElement( - '.account-menu__icon__notification-count', + '[data-testid="global-menu-notification-count"]', ); assert.equal(await notificationResult.getText(), '1'); + await driver.clickElement('.menu__background'); // try to remove snap await driver.clickElement({ diff --git a/test/e2e/snaps/test-snap-notification.spec.js b/test/e2e/snaps/test-snap-notification.spec.js index 5113a327a0ac..959dcbf852fc 100644 --- a/test/e2e/snaps/test-snap-notification.spec.js +++ b/test/e2e/snaps/test-snap-notification.spec.js @@ -85,19 +85,25 @@ describe('Test Snap Notification', function () { await driver.delay(1000); // check to see that there is one notification + await driver.clickElement( + '[data-testid="account-options-menu-button"]', + ); const notificationResult = await driver.findElement( - '.account-menu__icon__notification-count', + '[data-testid="global-menu-notification-count"]', ); assert.equal(await notificationResult.getText(), '1'); + await driver.clickElement('.menu__background'); // try to click on the account menu icon (via xpath) - await driver.clickElement('.account-menu__icon'); + await driver.clickElement( + '[data-testid="account-options-menu-button"]', + ); await driver.delay(500); // try to click on the notification item (via xpath) await driver.clickElement({ text: 'Notifications', - tag: 'div', + tag: 'span', }); await driver.delay(500); diff --git a/test/e2e/tests/account-details.spec.js b/test/e2e/tests/account-details.spec.js index 8b8c990f0500..9e70e6ee5aaa 100644 --- a/test/e2e/tests/account-details.spec.js +++ b/test/e2e/tests/account-details.spec.js @@ -24,12 +24,11 @@ describe('Show account details', function () { await driver.fill('#password', 'correct horse battery staple'); await driver.press('#password', driver.Key.ENTER); + await driver.clickElement('[data-testid="account-menu-icon"]'); await driver.clickElement( - '[data-testid="account-options-menu-button"]', - ); - await driver.clickElement( - '[data-testid="account-options-menu__account-details"]', + '[data-testid="account-list-item-menu-button"]', ); + await driver.clickElement('[data-testid="account-list-menu-details"'); const qrCode = await driver.findElement('.qr-code__wrapper'); assert.equal(await qrCode.isDisplayed(), true); diff --git a/test/e2e/tests/add-account.spec.js b/test/e2e/tests/add-account.spec.js index 4b74e61b4b0d..be1590879ea5 100644 --- a/test/e2e/tests/add-account.spec.js +++ b/test/e2e/tests/add-account.spec.js @@ -37,13 +37,15 @@ describe('Add account', function () { await driver.fill('#password', 'correct horse battery staple'); await driver.press('#password', driver.Key.ENTER); - await driver.clickElement('.account-menu__icon'); - await driver.clickElement({ text: 'Create account', tag: 'div' }); + await driver.clickElement('[data-testid="account-menu-icon"]'); + await driver.clickElement( + '[data-testid="multichain-account-menu-add-account"]', + ); + await driver.fill('.new-account-create-form input', '2nd account'); await driver.clickElement({ text: 'Create', tag: 'button' }); - const accountName = await driver.waitForSelector({ - css: '.selected-account__name', + css: '[data-testid="account-menu-icon"]', text: '2nd', }); assert.equal(await accountName.getText(), '2nd account'); @@ -75,9 +77,10 @@ describe('Add account', function () { await driver.delay(regularDelayMs); // Create a new account - await driver.findClickableElement('.account-menu__icon'); await driver.clickElement('[data-testid="account-menu-icon"]'); - await driver.clickElement({ text: 'Create account', tag: 'div' }); + await driver.clickElement( + '[data-testid="multichain-account-menu-add-account"]', + ); await driver.fill('.new-account-create-form input', '2nd account'); await driver.clickElement({ text: 'Create', tag: 'button' }); @@ -96,13 +99,12 @@ describe('Add account', function () { await sendTransaction(driver, secondAccount, '2.8'); // Lock the account - await driver.clickElement('.account-menu__icon'); + await driver.clickElement( + '[data-testid="account-options-menu-button"]', + ); await driver.delay(regularDelayMs); - const lockButton = await driver.findClickableElement( - '.account-menu__lock-button', - ); - await lockButton.click(); + await driver.clickElement('[data-testid="global-menu-lock"]'); await driver.delay(regularDelayMs); // Recover via SRP in "forget password" option @@ -111,6 +113,7 @@ describe('Add account', function () { ); await restoreSeedLink.click(); + await driver.delay(regularDelayMs); await driver.pasteIntoField( @@ -166,24 +169,30 @@ describe('Add account', function () { await driver.delay(regularDelayMs); - await driver.clickElement('.account-menu__icon'); - await driver.clickElement({ text: 'Create account', tag: 'div' }); + await driver.clickElement('[data-testid="account-menu-icon"]'); + + await driver.clickElement( + '[data-testid="multichain-account-menu-add-account"]', + ); await driver.fill('.new-account-create-form input', '2nd account'); await driver.clickElement({ text: 'Create', tag: 'button' }); + // Open account menu again + await driver.clickElement('[data-testid="account-menu-icon"]'); + + // Show account list menu for second account await driver.clickElement( - '[data-testid="account-options-menu-button"]', + '.multichain-account-list-item--selected [data-testid="account-list-item-menu-button"]', ); const menuItems = await driver.findElements('.menu-item'); - assert.equal(menuItems.length, 3); + assert.equal(menuItems.length, 2); // click out of menu await driver.clickElement('.menu__background'); // import with private key - await driver.clickElement('.account-menu__icon'); - await driver.clickElement({ text: 'Import account', tag: 'div' }); + await driver.clickElement({ text: 'Import account', tag: 'button' }); // enter private key', await driver.fill('#private-key-box', testPrivateKey); @@ -191,37 +200,47 @@ describe('Add account', function () { // should show the correct account name const importedAccountName = await driver.findElement( - '.selected-account__name', + '[data-testid="account-menu-icon"]', ); assert.equal(await importedAccountName.getText(), 'Account 3'); + // Open account menu again + await driver.clickElement('[data-testid="account-menu-icon"]'); + + // Show account list menu for second account await driver.clickElement( - '[data-testid="account-options-menu-button"]', + '.multichain-account-list-item--selected [data-testid="account-list-item-menu-button"]', ); - const menuItems2 = await driver.findElements('.menu-item'); - assert.equal(menuItems2.length, 4); + const importedMenuItems = await driver.findElements('.menu-item'); + assert.equal(importedMenuItems.length, 3); - await driver.findElement( - '[data-testid="account-options-menu__remove-account"]', - ); + await driver.findElement('[data-testid="account-list-menu-remove"]'); }, ); }); }); async function checkAccountDetails(driver) { - await driver.clickElement('[data-testid="account-options-menu-button"]'); + // Open account menu again + await driver.clickElement('[data-testid="account-menu-icon"]'); + + // Select account details for second account await driver.clickElement( - '[data-testid="account-options-menu__account-details"]', + '.multichain-account-list-item--selected [data-testid="account-list-item-menu-button"]', ); + await driver.clickElement('[data-testid="account-list-menu-details"]'); + + await driver.findVisibleElement('.popover-bg'); - await driver.findVisibleElement('.account-details-modal'); // get the public address for the "second account" - const accountDOM = await driver.findElement('.qr-code__address'); + const accountDOM = await driver.waitForSelector( + '.qr-code .multichain-address-copy-button', + ); const accountAddress = await accountDOM.getText(); - await driver.clickElement('.account-modal__close'); - await driver.waitForElementNotPresent('.account-details-modal '); + + await driver.clickElement('button[aria-label="Close"]'); + await driver.waitForElementNotPresent('.popover-bg'); return accountAddress; } diff --git a/test/e2e/tests/add-custom-network.spec.js b/test/e2e/tests/add-custom-network.spec.js index d87953bda357..789514e53283 100644 --- a/test/e2e/tests/add-custom-network.spec.js +++ b/test/e2e/tests/add-custom-network.spec.js @@ -1,6 +1,11 @@ const { strict: assert } = require('assert'); const FixtureBuilder = require('../fixture-builder'); -const { convertToHexValue, withFixtures, openDapp } = require('../helpers'); +const { + convertToHexValue, + withFixtures, + openDapp, + regularDelayMs, +} = require('../helpers'); describe('Custom network', function () { const chainID = '42161'; @@ -232,25 +237,28 @@ describe('Custom network', function () { title: this.test.title, }, async ({ driver }) => { + console.log('gets here -1'); await driver.navigate(); await driver.fill('#password', 'correct horse battery staple'); await driver.press('#password', driver.Key.ENTER); - await driver.clickElement('.account-menu__icon'); - await driver.clickElement({ tag: 'div', text: 'Settings' }); + // Avoid a stale element error + await driver.delay(regularDelayMs); - await driver.clickElement('.network-display'); - await driver.clickElement({ tag: 'button', text: 'Add network' }); + await driver.clickElement('[data-testid="network-display"]'); + await driver.clickElement({ tag: 'button', text: 'Add network' }); await driver.clickElement({ tag: 'button', text: 'Add', }); + // verify network details const title = await driver.findElement({ tag: 'h6', text: 'Arbitrum One', }); + assert.equal( await title.getText(), 'Arbitrum One', @@ -298,7 +306,7 @@ describe('Custom network', function () { }); // verify network switched const networkDisplayed = await driver.findElement({ - tag: 'span', + tag: 'p', text: 'Arbitrum One', }); assert.equal( @@ -322,10 +330,10 @@ describe('Custom network', function () { await driver.fill('#password', 'correct horse battery staple'); await driver.press('#password', driver.Key.ENTER); - await driver.clickElement('.account-menu__icon'); - await driver.clickElement({ tag: 'div', text: 'Settings' }); + // Avoid a stale element error + await driver.delay(regularDelayMs); - await driver.clickElement('.network-display'); + await driver.clickElement('[data-testid="network-display"]'); await driver.clickElement({ tag: 'button', text: 'Add network' }); // had to put all Add elements in list since list is changing and networks are not always in same order @@ -342,11 +350,13 @@ describe('Custom network', function () { }); // verify if added network is in list of networks - const networkDisplay = await driver.findElement('.network-display'); + const networkDisplay = await driver.findElement( + '[data-testid="network-display"]', + ); await networkDisplay.click(); const arbitrumNetwork = await driver.findElements({ - text: `Arbitrum One`, + text: 'Arbitrum One', tag: 'span', }); assert.ok(arbitrumNetwork.length, 1); @@ -378,12 +388,14 @@ describe('Custom network', function () { await driver.fill('#password', 'correct horse battery staple'); await driver.press('#password', driver.Key.ENTER); - await driver.clickElement('.account-menu__icon'); + await driver.clickElement( + '[data-testid="account-options-menu-button"]', + ); await driver.clickElement({ text: 'Settings', tag: 'div' }); await driver.clickElement({ text: 'Networks', tag: 'div' }); const arbitrumNetwork = await driver.clickElement({ - text: `Arbitrum One`, + text: 'Arbitrum One', tag: 'div', }); diff --git a/test/e2e/tests/add-hide-token.spec.js b/test/e2e/tests/add-hide-token.spec.js index 74b66f130d09..f37508adfd6d 100644 --- a/test/e2e/tests/add-hide-token.spec.js +++ b/test/e2e/tests/add-hide-token.spec.js @@ -50,16 +50,16 @@ describe('Hide token', function () { await driver.press('#password', driver.Key.ENTER); await driver.waitForSelector({ - css: '.asset-list-item__token-button', + css: '[data-testid="multichain-token-list-item-value"]', text: '0 TST', }); - let assets = await driver.findElements('.asset-list-item'); + let assets = await driver.findElements('.multichain-token-list-item'); assert.equal(assets.length, 2); await driver.clickElement({ text: 'Tokens', tag: 'button' }); - await driver.clickElement({ text: 'TST', tag: 'span' }); + await driver.clickElement({ text: 'TST', tag: 'p' }); await driver.clickElement('[data-testid="asset-options__button"]'); @@ -74,7 +74,7 @@ describe('Hide token', function () { // wait for confirm hide modal to be removed from DOM. await confirmHideModal.waitForElementState('hidden'); - assets = await driver.findElements('.asset-list-item'); + assets = await driver.findElements('.multichain-token-list-item'); assert.equal(assets.length, 1); }, ); @@ -106,7 +106,7 @@ describe('Add existing token using search', function () { await driver.fill('#password', 'correct horse battery staple'); await driver.press('#password', driver.Key.ENTER); - await driver.clickElement({ text: 'import tokens', tag: 'a' }); + await driver.clickElement({ text: 'Import tokens', tag: 'button' }); await driver.fill('#search-tokens', 'BAT'); await driver.clickElement({ text: 'BAT', diff --git a/test/e2e/tests/address-book.spec.js b/test/e2e/tests/address-book.spec.js index b1c40f409384..a7dd15164e37 100644 --- a/test/e2e/tests/address-book.spec.js +++ b/test/e2e/tests/address-book.spec.js @@ -102,7 +102,9 @@ describe('Address Book', function () { await driver.fill('#password', 'correct horse battery staple'); await driver.press('#password', driver.Key.ENTER); - await driver.clickElement('.identicon__address-wrapper'); + await driver.clickElement( + '[data-testid="account-options-menu-button"]', + ); await driver.clickElement({ text: 'Settings', tag: 'div' }); await driver.clickElement({ text: 'Contacts', tag: 'div' }); await driver.clickElement('[data-testid="recipient"]'); @@ -163,7 +165,9 @@ describe('Address Book', function () { await driver.fill('#password', 'correct horse battery staple'); await driver.press('#password', driver.Key.ENTER); - await driver.clickElement('.identicon__address-wrapper'); + await driver.clickElement( + '[data-testid="account-options-menu-button"]', + ); await driver.clickElement({ text: 'Settings', tag: 'div' }); await driver.clickElement({ text: 'Contacts', tag: 'div' }); diff --git a/test/e2e/tests/advanced-settings.spec.js b/test/e2e/tests/advanced-settings.spec.js index 88a4a7f27e86..58f5d61da64a 100644 --- a/test/e2e/tests/advanced-settings.spec.js +++ b/test/e2e/tests/advanced-settings.spec.js @@ -26,7 +26,9 @@ describe('Advanced Settings', function () { await driver.fill('#password', 'correct horse battery staple'); await driver.press('#password', driver.Key.ENTER); - await driver.clickElement('.account-menu__icon'); + await driver.clickElement( + '[data-testid="account-options-menu-button"]', + ); await driver.clickElement({ text: 'Settings', tag: 'div' }); await driver.clickElement({ text: 'Advanced', tag: 'div' }); diff --git a/test/e2e/tests/auto-lock.spec.js b/test/e2e/tests/auto-lock.spec.js index c49680f0d17b..71a25966befc 100644 --- a/test/e2e/tests/auto-lock.spec.js +++ b/test/e2e/tests/auto-lock.spec.js @@ -25,7 +25,9 @@ describe('Auto-Lock Timer', function () { await driver.fill('#password', 'correct horse battery staple'); await driver.press('#password', driver.Key.ENTER); // Set Auto Lock Timer - await driver.clickElement('.account-menu__icon'); + await driver.clickElement( + '[data-testid="account-options-menu-button"]', + ); await driver.clickElement({ text: 'Settings', tag: 'div' }); await driver.clickElement({ text: 'Advanced', tag: 'div' }); const sixSecsInMins = '0.1'; diff --git a/test/e2e/tests/backup-restore.spec.js b/test/e2e/tests/backup-restore.spec.js index cf90718a5f30..d52cf1fa6126 100644 --- a/test/e2e/tests/backup-restore.spec.js +++ b/test/e2e/tests/backup-restore.spec.js @@ -70,7 +70,9 @@ describe('Backup and Restore', function () { await driver.press('#password', driver.Key.ENTER); // Download user settings - await driver.clickElement('.account-menu__icon'); + await driver.clickElement( + '[data-testid="account-options-menu-button"]', + ); await driver.clickElement({ text: 'Settings', tag: 'div' }); await driver.clickElement({ text: 'Advanced', tag: 'div' }); await driver.clickElement({ @@ -107,7 +109,9 @@ describe('Backup and Restore', function () { await driver.press('#password', driver.Key.ENTER); // Restore - await driver.clickElement('.account-menu__icon'); + await driver.clickElement( + '[data-testid="account-options-menu-button"]', + ); await driver.clickElement({ text: 'Settings', tag: 'div' }); await driver.clickElement({ text: 'Advanced', tag: 'div' }); const restore = await driver.findElement('#restore-file'); diff --git a/test/e2e/tests/chain-interactions.spec.js b/test/e2e/tests/chain-interactions.spec.js index 6597f67c177b..4e474ef4ebf9 100644 --- a/test/e2e/tests/chain-interactions.spec.js +++ b/test/e2e/tests/chain-interactions.spec.js @@ -55,9 +55,12 @@ describe('Chain Interactions', function () { await driver.switchToWindow(extension); // verify networks - const networkDisplay = await driver.findElement('.network-display'); - await networkDisplay.click(); + const networkDisplay = await driver.findElement( + '[data-testid="network-display"] p', + ); assert.equal(await networkDisplay.getText(), 'Localhost 8545'); + + await driver.clickElement('[data-testid="network-display"]'); const ganacheChain = await driver.findElements({ text: `Localhost ${port}`, tag: 'span', @@ -101,7 +104,7 @@ describe('Chain Interactions', function () { // verify current network const networkDisplay = await driver.findElement( - '[data-testid="network-display"]', + '[data-testid="network-display"] p', ); assert.equal(await networkDisplay.getText(), `Localhost ${port}`); }, diff --git a/test/e2e/tests/clear-activity.spec.js b/test/e2e/tests/clear-activity.spec.js index a16254c9cc0c..c6767271c97d 100644 --- a/test/e2e/tests/clear-activity.spec.js +++ b/test/e2e/tests/clear-activity.spec.js @@ -44,12 +44,11 @@ describe('Clear account activity', function () { }); // Clear activity and nonce data - await driver.clickElement('.account-menu__icon'); + await driver.clickElement( + '[data-testid="account-options-menu-button"]', + ); await driver.clickElement({ text: 'Settings', tag: 'div' }); - await driver.clickElement({ - css: '.tab-bar__tab__content__title', - text: 'Advanced', - }); + await driver.clickElement({ text: 'Advanced', tag: 'div' }); await driver.clickElement({ text: 'Clear activity tab data', tag: 'button', diff --git a/test/e2e/tests/custom-rpc-history.spec.js b/test/e2e/tests/custom-rpc-history.spec.js index 8696d2f7fa27..8b43ab712218 100644 --- a/test/e2e/tests/custom-rpc-history.spec.js +++ b/test/e2e/tests/custom-rpc-history.spec.js @@ -1,5 +1,9 @@ const { strict: assert } = require('assert'); -const { convertToHexValue, withFixtures } = require('../helpers'); +const { + convertToHexValue, + withFixtures, + regularDelayMs, +} = require('../helpers'); const FixtureBuilder = require('../fixture-builder'); describe('Stores custom RPC history', function () { @@ -31,7 +35,7 @@ describe('Stores custom RPC history', function () { const networkName = 'Secondary Ganache Testnet'; await driver.waitForElementNotPresent('.loading-overlay'); - await driver.clickElement('.network-display'); + await driver.clickElement('[data-testid="network-display"]'); await driver.clickElement({ text: 'Add network', tag: 'button' }); @@ -66,7 +70,7 @@ describe('Stores custom RPC history', function () { '.networks-tab__add-network-form-footer .btn-primary', ); - await driver.findElement({ text: networkName, tag: 'span' }); + await driver.findElement({ text: networkName, tag: 'p' }); }, ); }); @@ -87,7 +91,7 @@ describe('Stores custom RPC history', function () { const duplicateRpcUrl = 'https://mainnet.infura.io/v3/'; await driver.waitForElementNotPresent('.loading-overlay'); - await driver.clickElement('.network-display'); + await driver.clickElement('[data-testid="network-display"]'); await driver.clickElement({ text: 'Add network', tag: 'button' }); @@ -131,7 +135,7 @@ describe('Stores custom RPC history', function () { const duplicateChainId = '1'; await driver.waitForElementNotPresent('.loading-overlay'); - await driver.clickElement('.network-display'); + await driver.clickElement('[data-testid="network-display"]'); await driver.clickElement({ text: 'Add network', tag: 'button' }); @@ -179,7 +183,7 @@ describe('Stores custom RPC history', function () { await driver.press('#password', driver.Key.ENTER); await driver.waitForElementNotPresent('.loading-overlay'); - await driver.clickElement('.network-display'); + await driver.clickElement('[data-testid="network-display"]'); await driver.clickElement({ text: 'Ethereum Mainnet', tag: 'span' }); }, @@ -218,12 +222,16 @@ describe('Stores custom RPC history', function () { await driver.press('#password', driver.Key.ENTER); await driver.waitForElementNotPresent('.loading-overlay'); - await driver.clickElement('.network-display'); + await driver.clickElement('[data-testid="network-display"]'); + + await driver.clickElement('.toggle-button'); + + await driver.delay(regularDelayMs); // only recent 3 are found and in correct order (most recent at the top) const customRpcs = await driver.findElements({ text: 'http://127.0.0.1:8545/', - tag: 'span', + tag: 'div', }); // click Mainnet to dismiss network dropdown @@ -267,7 +275,7 @@ describe('Stores custom RPC history', function () { await driver.press('#password', driver.Key.ENTER); await driver.waitForElementNotPresent('.loading-overlay'); - await driver.clickElement('.network-display'); + await driver.clickElement('[data-testid="network-display"]'); await driver.clickElement({ text: 'Add network', tag: 'button' }); diff --git a/test/e2e/tests/custom-token-add-approve.spec.js b/test/e2e/tests/custom-token-add-approve.spec.js index 086651f876f9..fe78862d48e2 100644 --- a/test/e2e/tests/custom-token-add-approve.spec.js +++ b/test/e2e/tests/custom-token-add-approve.spec.js @@ -46,7 +46,7 @@ describe('Create token, approve token and approve token without gas', function ( await driver.clickElement(`[data-testid="home__asset-tab"]`); await driver.clickElement({ tag: 'button', text: 'Tokens' }); - await driver.clickElement({ text: 'import tokens', tag: 'a' }); + await driver.clickElement({ text: 'Import tokens', tag: 'button' }); await driver.clickElement({ text: 'Custom token', tag: 'button', @@ -69,11 +69,10 @@ describe('Create token, approve token and approve token without gas', function ( // renders balance for newly created token await driver.clickElement('.app-header__logo-container'); await driver.clickElement({ tag: 'button', text: 'Tokens' }); - const asset = await driver.waitForSelector({ - css: '.asset-list-item__token-value', - text: '10', + await driver.waitForSelector({ + css: '[data-testid="multichain-token-list-item-value"]', + text: '10 TST', }); - assert.equal(await asset.getText(), '10'); }, ); }); diff --git a/test/e2e/tests/dapp-interactions.spec.js b/test/e2e/tests/dapp-interactions.spec.js index bfd0a8e22471..dae045ef0d58 100644 --- a/test/e2e/tests/dapp-interactions.spec.js +++ b/test/e2e/tests/dapp-interactions.spec.js @@ -43,8 +43,10 @@ describe('Dapp interactions', function () { // Lock Account await driver.switchToWindow(extension); - await driver.clickElement('.account-menu__icon'); - await driver.clickElement({ text: 'Lock', tag: 'button' }); + await driver.clickElement( + '[data-testid="account-options-menu-button"]', + ); + await driver.clickElement({ text: 'Lock', tag: 'div' }); // Trigger Notification await driver.switchToWindowWithTitle('E2E Test Dapp', windowHandles); @@ -88,8 +90,10 @@ describe('Dapp interactions', function () { // Lock Account await driver.switchToWindow(extension); - await driver.clickElement('.account-menu__icon'); - await driver.clickElement({ text: 'Lock', tag: 'button' }); + await driver.clickElement( + '[data-testid="account-options-menu-button"]', + ); + await driver.clickElement({ text: 'Lock', tag: 'div' }); // Connect to Dapp1 await openDapp(driver, null, DAPP_ONE_URL); diff --git a/test/e2e/tests/encrypt-decrypt.spec.js b/test/e2e/tests/encrypt-decrypt.spec.js index a311b7545401..47e453de9c52 100644 --- a/test/e2e/tests/encrypt-decrypt.spec.js +++ b/test/e2e/tests/encrypt-decrypt.spec.js @@ -152,7 +152,6 @@ describe('Encrypt Decrypt', function () { await driver.fill('#password', 'correct horse battery staple'); await driver.press('#password', driver.Key.ENTER); - await driver.clickElement('.account-menu__icon'); await openDapp(driver); // ------ Get Encryption key and display ETH ------ diff --git a/test/e2e/tests/from-import-ui.spec.js b/test/e2e/tests/from-import-ui.spec.js index e0966999d9cb..d964b7b41f75 100644 --- a/test/e2e/tests/from-import-ui.spec.js +++ b/test/e2e/tests/from-import-ui.spec.js @@ -25,7 +25,6 @@ const ganacheOptions = { describe('MetaMask Import UI', function () { it('Importing wallet using Secret Recovery Phrase', async function () { const testPassword = 'correct horse battery staple'; - const testAddress = '0x0Cc5261AB8cE458dc977078A3623E2BaDD27afD3'; await withFixtures( { @@ -44,29 +43,31 @@ describe('MetaMask Import UI', function () { ); // Show account information + await driver.clickElement('[data-testid="account-menu-icon"]'); await driver.clickElement( - '[data-testid="account-options-menu-button"]', - ); - await driver.clickElement( - '[data-testid="account-options-menu__account-details"]', + '[data-testid="account-list-item-menu-button"]', ); + await driver.clickElement('[data-testid="account-list-menu-details"'); await driver.findVisibleElement('.qr-code__wrapper'); + // shows a QR code for the account - const detailsModal = await driver.findVisibleElement('span .modal'); + await driver.findVisibleElement('.popover-container'); // shows the correct account address - const address = await driver.findElement('.qr-code__address'); - - assert.equal(await address.getText(), testAddress); + const address = await driver.findElement( + '.multichain-address-copy-button', + ); + assert.equal(await address.getText(), '0x0Cc...afD3'); - await driver.clickElement('.account-modal__close'); - await detailsModal.waitForElementState('hidden'); + await driver.clickElement('[data-testid="popover-close"]'); // logs out of the account - await driver.clickElement('.account-menu__icon .identicon'); + await driver.clickElement( + '[data-testid="account-options-menu-button"]', + ); const lockButton = await driver.findClickableElement( - '.account-menu__lock-button', + '[data-testid="global-menu-lock"]', ); - assert.equal(await lockButton.getText(), 'Lock'); + assert.equal(await lockButton.getText(), 'Lock MetaMask'); await lockButton.click(); // accepts the account password after lock @@ -76,12 +77,13 @@ describe('MetaMask Import UI', function () { // Create a new account // switches to localhost await driver.delay(largeDelayMs); - await driver.clickElement('.network-display'); + await driver.clickElement('[data-testid="network-display"]'); + await driver.clickElement('.toggle-button'); await driver.clickElement({ text: 'Localhost', tag: 'span' }); // choose Create account from the account menu - await driver.clickElement('.account-menu__icon'); - await driver.clickElement({ text: 'Create account', tag: 'div' }); + await driver.clickElement('[data-testid="account-menu-icon"]'); + await driver.clickElement({ text: 'Add account', tag: 'button' }); // set account name await driver.fill('.new-account-create-form input', '2nd account'); @@ -89,13 +91,19 @@ describe('MetaMask Import UI', function () { await driver.clickElement({ text: 'Create', tag: 'button' }); // should show the correct account name - const accountName = await driver.findElement('.selected-account__name'); - assert.equal(await accountName.getText(), '2nd account'); + const accountName = await driver.isElementPresent({ + tag: 'span', + text: '2nd account', + }); + + assert.equal(accountName, true, 'Account name is not correct'); // Switch back to original account // chooses the original account from the account menu - await driver.clickElement('.account-menu__icon'); - await driver.clickElement('.account-menu__name'); + await driver.clickElement('[data-testid="account-menu-icon"]'); + await driver.clickElement( + '.multichain-account-list-item__account-name__button', + ); // Send ETH from inside MetaMask // starts a send transaction @@ -151,15 +159,16 @@ describe('MetaMask Import UI', function () { ); // Show account information + await driver.clickElement('[data-testid="account-menu-icon"]'); await driver.clickElement( - '[data-testid="account-options-menu-button"]', - ); - await driver.clickElement( - '[data-testid="account-options-menu__account-details"]', + '[data-testid="account-list-item-menu-button"]', ); + await driver.clickElement('[data-testid="account-list-menu-details"'); await driver.findVisibleElement('.qr-code__wrapper'); // shows the correct account address - const address = await driver.findElement('.qr-code__address'); + const address = await driver.findElement( + '.qr-code [data-testid="address-copy-button-text"]', + ); assert.equal(await address.getText(), testAddress); }, @@ -188,16 +197,18 @@ describe('MetaMask Import UI', function () { // Imports an account with private key // choose Create account from the account menu - await driver.clickElement('.account-menu__icon'); - await driver.clickElement({ text: 'Import account', tag: 'div' }); + await driver.clickElement('[data-testid="account-menu-icon"]'); + await driver.clickElement({ text: 'Import account', tag: 'button' }); // enter private key', + await driver.delay(regularDelayMs); await driver.fill('#private-key-box', testPrivateKey1); + await driver.delay(regularDelayMs); await driver.clickElement({ text: 'Import', tag: 'button' }); // should show the correct account name const importedAccountName = await driver.findElement( - '.selected-account__name', + '[data-testid="account-menu-icon"]', ); assert.equal(await importedAccountName.getText(), 'Account 4'); @@ -210,53 +221,48 @@ describe('MetaMask Import UI', function () { ); // confirm label is present on the same menu item const importedLabel = await driver.findElement( - `${accountMenuItemSelector} .keyring-label`, + `${accountMenuItemSelector} .mm-tag`, ); - assert.equal(await importedLabel.getText(), 'IMPORTED'); + assert.equal(await importedLabel.getText(), 'Imported'); // Imports and removes an account // choose Create account from the account menu - await driver.clickElement({ text: 'Import account', tag: 'div' }); + await driver.clickElement({ text: 'Import account', tag: 'button' }); // enter private key await driver.fill('#private-key-box', testPrivateKey2); await driver.clickElement({ text: 'Import', tag: 'button' }); // should see new account in account menu const importedAccount2Name = await driver.findElement( - '.selected-account__name', + '[data-testid="account-menu-icon"]', ); assert.equal(await importedAccount2Name.getText(), 'Account 5'); - await driver.clickElement('.account-menu__icon'); + await driver.clickElement('[data-testid="account-menu-icon"]'); const accountListItems = await driver.findElements( - '.account-menu__account', + '.multichain-account-list-item', ); assert.equal(accountListItems.length, 5); - await driver.clickPoint('.account-menu__icon', 0, 0); - - // should open the remove account modal - await driver.clickElement( - '[data-testid="account-options-menu-button"]', - ); await driver.clickElement( - '[data-testid="account-options-menu__remove-account"]', + '.multichain-account-list-item--selected [data-testid="account-list-item-menu-button"]', ); - await driver.findElement('.confirm-remove-account__account'); + + await driver.clickElement('[data-testid="account-list-menu-remove"]'); // should remove the account await driver.clickElement({ text: 'Remove', tag: 'button' }); // Wait until selected account switches away from removed account to first account await driver.waitForSelector({ - css: '.selected-account__name', + css: '[data-testid="account-menu-icon"]', text: 'Account 1', }); await driver.delay(regularDelayMs); - await driver.clickElement('.account-menu__icon'); + await driver.clickElement('[data-testid="account-menu-icon"]'); const accountListItemsAfterRemoval = await driver.findElements( - '.account-menu__account', + '.multichain-account-list-item', ); assert.equal(accountListItemsAfterRemoval.length, 4); }, @@ -279,8 +285,8 @@ describe('MetaMask Import UI', function () { await driver.press('#password', driver.Key.ENTER); // Imports an account with JSON file - await driver.clickElement('.account-menu__icon'); - await driver.clickElement({ text: 'Import account', tag: 'div' }); + await driver.clickElement('[data-testid="account-menu-icon"]'); + await driver.clickElement({ text: 'Import account', tag: 'button' }); await driver.clickElement('.dropdown__select'); await driver.clickElement({ text: 'JSON File', tag: 'option' }); @@ -301,7 +307,7 @@ describe('MetaMask Import UI', function () { // should show the correct account name const importedAccountName = await driver.findElement( - '.selected-account__name', + '[data-testid="account-menu-icon"]', ); assert.equal(await importedAccountName.getText(), 'Account 4'); @@ -315,12 +321,12 @@ describe('MetaMask Import UI', function () { // confirm label is present on the same menu item const importedLabel = await driver.findElement( - `${accountMenuItemSelector} .keyring-label`, + `${accountMenuItemSelector} .mm-tag`, ); - assert.equal(await importedLabel.getText(), 'IMPORTED'); + assert.equal(await importedLabel.getText(), 'Imported'); const accountListItems = await driver.findElements( - '.account-menu__account', + '.multichain-account-list-item', ); assert.equal(accountListItems.length, 4); }, @@ -345,8 +351,8 @@ describe('MetaMask Import UI', function () { await driver.press('#password', driver.Key.ENTER); // choose Import Account from the account menu - await driver.clickElement('.account-menu__icon'); - await driver.clickElement({ text: 'Import account', tag: 'div' }); + await driver.clickElement('[data-testid="account-menu-icon"]'); + await driver.clickElement({ text: 'Import account', tag: 'button' }); // enter private key', await driver.fill('#private-key-box', testPrivateKey); @@ -375,10 +381,10 @@ describe('MetaMask Import UI', function () { await driver.press('#password', driver.Key.ENTER); // choose Connect hardware wallet from the account menu - await driver.clickElement('.account-menu__icon'); + await driver.clickElement('[data-testid="account-menu-icon"]'); await driver.clickElement({ - text: 'Connect hardware wallet', - tag: 'div', + text: 'Hardware wallet', + tag: 'button', }); await driver.delay(regularDelayMs); diff --git a/test/e2e/tests/incremental-security.spec.js b/test/e2e/tests/incremental-security.spec.js index 6c243bd79829..29535738c744 100644 --- a/test/e2e/tests/incremental-security.spec.js +++ b/test/e2e/tests/incremental-security.spec.js @@ -65,21 +65,21 @@ describe('Incremental Security', function () { await driver.clickElement('[data-testid="pin-extension-done"]'); // open account menu + await driver.clickElement('[data-testid="account-menu-icon"]'); await driver.clickElement( - '[data-testid="account-options-menu-button"]', - ); - await driver.clickElement( - '[data-testid="account-options-menu__account-details"]', + '.multichain-account-list-item--selected [data-testid="account-list-item-menu-button"]', ); + await driver.clickElement('[data-testid="account-list-menu-details"'); // gets the current accounts address - const address = await driver.findElement('.qr-code__address'); + const address = await driver.findElement( + '.qr-code .multichain-address-copy-button', + ); const publicAddress = await address.getText(); // wait for account modal to be visible - const accountModal = await driver.findVisibleElement('span .modal'); - - await driver.clickElement('.account-modal__close'); + const accountModal = await driver.findVisibleElement('.popover-bg'); + await driver.clickElement('[data-testid="popover-close"]'); // wait for account modal to be removed from DOM await accountModal.waitForElementState('hidden'); diff --git a/test/e2e/tests/lock-account.spec.js b/test/e2e/tests/lock-account.spec.js index 1fd2910a622a..5b03fd7241e6 100644 --- a/test/e2e/tests/lock-account.spec.js +++ b/test/e2e/tests/lock-account.spec.js @@ -24,17 +24,19 @@ describe('Lock and unlock', function () { await driver.fill('#password', 'correct horse battery staple'); await driver.press('#password', driver.Key.ENTER); - await driver.clickElement('.account-menu__icon'); + await driver.clickElement( + '[data-testid="account-options-menu-button"]', + ); const lockButton = await driver.findClickableElement( - '.account-menu__lock-button', + '[data-testid="global-menu-lock"]', ); - assert.equal(await lockButton.getText(), 'Lock'); + assert.equal(await lockButton.getText(), 'Lock MetaMask'); await lockButton.click(); await driver.fill('#password', 'correct horse battery staple'); await driver.press('#password', driver.Key.ENTER); const walletBalance = await driver.findElement( - '[data-testid="wallet-balance"] .list-item__heading', + '.eth-overview__primary-balance', ); assert.equal(/^25\s*ETH$/u.test(await walletBalance.getText()), true); }, diff --git a/test/e2e/tests/metamask-responsive-ui.spec.js b/test/e2e/tests/metamask-responsive-ui.spec.js index 5d69b8c7c5cd..ff4fd09ab32b 100644 --- a/test/e2e/tests/metamask-responsive-ui.spec.js +++ b/test/e2e/tests/metamask-responsive-ui.spec.js @@ -72,7 +72,7 @@ describe('MetaMask Responsive UI', function () { // assert balance const balance = await driver.findElement( - '[data-testid="wallet-balance"]', + '[data-testid="eth-overview__primary-currency"]', ); assert.ok(/^0\sETH$/u.test(await balance.getText())); }, diff --git a/test/e2e/tests/onboarding.spec.js b/test/e2e/tests/onboarding.spec.js index e00b96a61541..f1ea9b262e83 100644 --- a/test/e2e/tests/onboarding.spec.js +++ b/test/e2e/tests/onboarding.spec.js @@ -271,8 +271,9 @@ describe('MetaMask onboarding', function () { // Add custome network localhost 8546 during onboarding await driver.clickElement({ text: 'Advanced configuration', tag: 'a' }); + await driver.clickElement('.mm-picker-network'); await driver.clickElement({ - text: 'Add custom network', + text: 'Add network', tag: 'button', }); @@ -301,7 +302,7 @@ describe('MetaMask onboarding', function () { // Check localhost 8546 is selected and its balance value is correct const networkDisplay = await driver.findElement( - '[data-testid="network-display"]', + '[data-testid="network-display"] p', ); assert.equal(await networkDisplay.getText(), networkName); diff --git a/test/e2e/tests/permissions.spec.js b/test/e2e/tests/permissions.spec.js index 5ea819b64c3b..648e0552e8bd 100644 --- a/test/e2e/tests/permissions.spec.js +++ b/test/e2e/tests/permissions.spec.js @@ -55,9 +55,7 @@ describe('Permissions', function () { await driver.clickElement( '[data-testid="account-options-menu-button"]', ); - await driver.clickElement( - '[data-testid="account-options-menu__connected-sites"]', - ); + await driver.clickElement('.menu-item'); await driver.findElement({ text: 'Connected sites', diff --git a/test/e2e/tests/provider-api.spec.js b/test/e2e/tests/provider-api.spec.js index 2321e015703b..b8c0e0edcd1c 100644 --- a/test/e2e/tests/provider-api.spec.js +++ b/test/e2e/tests/provider-api.spec.js @@ -46,7 +46,7 @@ describe('MetaMask', function () { const windowHandles = await driver.getAllWindowHandles(); await driver.switchToWindow(windowHandles[0]); - await driver.clickElement('.network-display'); + await driver.clickElement('[data-testid="network-display"]'); await driver.clickElement({ text: 'Ethereum Mainnet', tag: 'span' }); await driver.switchToWindowWithTitle('E2E Test Dapp', windowHandles); diff --git a/test/e2e/tests/send-hex-address.spec.js b/test/e2e/tests/send-hex-address.spec.js index b1d8edfad2e3..414176bb3a57 100644 --- a/test/e2e/tests/send-hex-address.spec.js +++ b/test/e2e/tests/send-hex-address.spec.js @@ -141,7 +141,9 @@ describe('Send ERC20 to a 40 character hexadecimal address', function () { // Send TST await driver.clickElement('[data-testid="home__asset-tab"]'); - await driver.clickElement('.token-cell'); + await driver.clickElement( + '[data-testid="multichain-token-list-button"]', + ); await driver.clickElement('[data-testid="eth-overview-send"]'); // Paste address without hex prefix @@ -155,14 +157,14 @@ describe('Send ERC20 to a 40 character hexadecimal address', function () { }); await driver.waitForSelector({ css: '.transaction-detail-item', - text: '0.00008455 ETH', + text: '0.000042 ETH', }); await driver.clickElement({ text: 'Next', tag: 'button' }); // Confirm transaction await driver.waitForSelector({ css: '.confirm-page-container-summary__title', - text: '0 TST', + text: '0', }); await driver.clickElement({ text: 'Confirm', tag: 'button' }); await driver.clickElement('[data-testid="home__activity-tab"]'); @@ -203,7 +205,9 @@ describe('Send ERC20 to a 40 character hexadecimal address', function () { // Send TST await driver.clickElement('[data-testid="home__asset-tab"]'); - await driver.clickElement('.token-cell'); + await driver.clickElement( + '[data-testid="multichain-token-list-button"]', + ); await driver.clickElement('[data-testid="eth-overview-send"]'); // Type address without hex prefix @@ -217,14 +221,14 @@ describe('Send ERC20 to a 40 character hexadecimal address', function () { }); await driver.waitForSelector({ css: '.transaction-detail-item', - text: '0.00008455 ETH', + text: '0.000042 ETH', }); await driver.clickElement({ text: 'Next', tag: 'button' }); // Confirm transaction await driver.waitForSelector({ css: '.confirm-page-container-summary__title', - text: '0 TST', + text: '0', }); await driver.clickElement({ text: 'Confirm', tag: 'button' }); await driver.clickElement('[data-testid="home__activity-tab"]'); diff --git a/test/e2e/tests/send-to-contract.spec.js b/test/e2e/tests/send-to-contract.spec.js index 62a6a58e4275..b8dfd4f5ebe2 100644 --- a/test/e2e/tests/send-to-contract.spec.js +++ b/test/e2e/tests/send-to-contract.spec.js @@ -34,7 +34,9 @@ describe('Send ERC20 token to contract address', function () { // Send TST await driver.clickElement('[data-testid="home__asset-tab"]'); - await driver.clickElement('.token-cell'); + await driver.clickElement( + '[data-testid="multichain-token-list-button"]', + ); await driver.clickElement('[data-testid="eth-overview-send"]'); // Type contract address diff --git a/test/e2e/tests/settings-general.spec.js b/test/e2e/tests/settings-general.spec.js index 4279f6908170..ad937acd05ec 100644 --- a/test/e2e/tests/settings-general.spec.js +++ b/test/e2e/tests/settings-general.spec.js @@ -26,7 +26,9 @@ describe('Settings', function () { await driver.press('#password', driver.Key.ENTER); // goes to the settings screen - await driver.clickElement('.account-menu__icon'); + await driver.clickElement( + '[data-testid="account-options-menu-button"]', + ); await driver.clickElement({ text: 'Settings', tag: 'div' }); // finds the jazzicon toggle turned on diff --git a/test/e2e/tests/settings-search.spec.js b/test/e2e/tests/settings-search.spec.js index c4af0ccc2f88..343b16ccfe1b 100644 --- a/test/e2e/tests/settings-search.spec.js +++ b/test/e2e/tests/settings-search.spec.js @@ -35,7 +35,9 @@ describe('Settings Search', function () { await driver.fill('#password', 'correct horse battery staple'); await driver.press('#password', driver.Key.ENTER); - await driver.clickElement('.account-menu__icon'); + await driver.clickElement( + '[data-testid="account-options-menu-button"]', + ); await driver.clickElement({ text: 'Settings', tag: 'div' }); await driver.fill('#search-settings', settingsSearch.general); @@ -61,7 +63,9 @@ describe('Settings Search', function () { await driver.fill('#password', 'correct horse battery staple'); await driver.press('#password', driver.Key.ENTER); - await driver.clickElement('.account-menu__icon'); + await driver.clickElement( + '[data-testid="account-options-menu-button"]', + ); await driver.clickElement({ text: 'Settings', tag: 'div' }); await driver.fill('#search-settings', settingsSearch.advanced); @@ -88,7 +92,9 @@ describe('Settings Search', function () { await driver.fill('#password', 'correct horse battery staple'); await driver.press('#password', driver.Key.ENTER); - await driver.clickElement('.account-menu__icon'); + await driver.clickElement( + '[data-testid="account-options-menu-button"]', + ); await driver.clickElement({ text: 'Settings', tag: 'div' }); await driver.fill('#search-settings', settingsSearch.contacts); @@ -115,7 +121,9 @@ describe('Settings Search', function () { await driver.fill('#password', 'correct horse battery staple'); await driver.press('#password', driver.Key.ENTER); - await driver.clickElement('.account-menu__icon'); + await driver.clickElement( + '[data-testid="account-options-menu-button"]', + ); await driver.clickElement({ text: 'Settings', tag: 'div' }); await driver.fill('#search-settings', settingsSearch.security); @@ -142,7 +150,9 @@ describe('Settings Search', function () { await driver.fill('#password', 'correct horse battery staple'); await driver.press('#password', driver.Key.ENTER); - await driver.clickElement('.account-menu__icon'); + await driver.clickElement( + '[data-testid="account-options-menu-button"]', + ); await driver.clickElement({ text: 'Settings', tag: 'div' }); await driver.fill('#search-settings', settingsSearch.alerts); @@ -169,7 +179,9 @@ describe('Settings Search', function () { await driver.fill('#password', 'correct horse battery staple'); await driver.press('#password', driver.Key.ENTER); - await driver.clickElement('.account-menu__icon'); + await driver.clickElement( + '[data-testid="account-options-menu-button"]', + ); await driver.clickElement({ text: 'Settings', tag: 'div' }); await driver.fill('#search-settings', settingsSearch.networks); @@ -196,7 +208,9 @@ describe('Settings Search', function () { await driver.fill('#password', 'correct horse battery staple'); await driver.press('#password', driver.Key.ENTER); - await driver.clickElement('.account-menu__icon'); + await driver.clickElement( + '[data-testid="account-options-menu-button"]', + ); await driver.clickElement({ text: 'Settings', tag: 'div' }); await driver.fill('#search-settings', settingsSearch.experimental); @@ -223,7 +237,9 @@ describe('Settings Search', function () { await driver.fill('#password', 'correct horse battery staple'); await driver.press('#password', driver.Key.ENTER); - await driver.clickElement('.account-menu__icon'); + await driver.clickElement( + '[data-testid="account-options-menu-button"]', + ); await driver.clickElement({ text: 'Settings', tag: 'div' }); await driver.fill('#search-settings', settingsSearch.about); @@ -250,7 +266,9 @@ describe('Settings Search', function () { await driver.fill('#password', 'correct horse battery staple'); await driver.press('#password', driver.Key.ENTER); - await driver.clickElement('.account-menu__icon'); + await driver.clickElement( + '[data-testid="account-options-menu-button"]', + ); await driver.clickElement({ text: 'Settings', tag: 'div' }); await driver.fill('#search-settings', 'Lorem ipsum'); diff --git a/test/e2e/tests/state-logs.spec.js b/test/e2e/tests/state-logs.spec.js index 2f33af58402d..f08a38fd135a 100644 --- a/test/e2e/tests/state-logs.spec.js +++ b/test/e2e/tests/state-logs.spec.js @@ -45,7 +45,9 @@ describe('State logs', function () { await driver.press('#password', driver.Key.ENTER); // Download state logs - await driver.clickElement('.account-menu__icon'); + await driver.clickElement( + '[data-testid="account-options-menu-button"]', + ); await driver.clickElement({ text: 'Settings', tag: 'div' }); await driver.clickElement({ text: 'Advanced', tag: 'div' }); await driver.clickElement({ diff --git a/test/e2e/tests/switch-custom-network.spec.js b/test/e2e/tests/switch-custom-network.spec.js index a670f913f2fc..9e0cf6857208 100644 --- a/test/e2e/tests/switch-custom-network.spec.js +++ b/test/e2e/tests/switch-custom-network.spec.js @@ -88,7 +88,7 @@ describe('Swtich ethereum chain', function () { await driver.switchToWindow(extension); const currentNetworkName = await driver.findElement({ - tag: 'span', + tag: 'p', text: 'Localhost 8546', }); diff --git a/test/e2e/tests/token-details.spec.js b/test/e2e/tests/token-details.spec.js index 6f5ed33c0d29..07c4a8570d62 100644 --- a/test/e2e/tests/token-details.spec.js +++ b/test/e2e/tests/token-details.spec.js @@ -24,7 +24,7 @@ describe('Token Details', function () { await driver.fill('#password', 'correct horse battery staple'); await driver.press('#password', driver.Key.ENTER); - await driver.clickElement({ text: 'import tokens', tag: 'a' }); + await driver.clickElement({ text: 'Import tokens', tag: 'button' }); await driver.clickElement({ text: 'Custom token', tag: 'button' }); const tokenAddress = '0x2EFA2Cb29C2341d8E5Ba7D3262C9e9d6f1Bf3711'; diff --git a/test/e2e/user-actions-benchmark.js b/test/e2e/user-actions-benchmark.js index 7b72c73f5bbd..722a43d259e8 100644 --- a/test/e2e/user-actions-benchmark.js +++ b/test/e2e/user-actions-benchmark.js @@ -33,9 +33,11 @@ async function loadNewAccount() { await driver.fill('#password', 'correct horse battery staple'); await driver.press('#password', driver.Key.ENTER); - await driver.clickElement('.account-menu__icon'); + await driver.clickElement('[data-testid="account-menu-icon"]'); const timestampBeforeAction = new Date(); - await driver.clickElement({ text: 'Create account', tag: 'div' }); + await driver.clickElement( + '[data-testid="multichain-account-menu-add-account"]', + ); await driver.fill('.new-account-create-form input', '2nd account'); await driver.clickElement({ text: 'Create', tag: 'button' }); await driver.waitForSelector({ diff --git a/ui/components/app/account-menu/__snapshots__/account-menu.test.js.snap b/ui/components/app/account-menu/__snapshots__/account-menu.test.js.snap deleted file mode 100644 index f7d981ce45a2..000000000000 --- a/ui/components/app/account-menu/__snapshots__/account-menu.test.js.snap +++ /dev/null @@ -1,400 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Account Menu Render Content should not render keyring label if keyring tyoe is Custody - JSONRPC 1`] = ` -
-