Updating content to sentence case and updating tests (#15285)

feature/default_network_editable
George Marshall 2 years ago committed by GitHub
parent e3420a4262
commit 0692f7bf25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 18
      app/_locales/de/messages.json
  2. 18
      app/_locales/el/messages.json
  3. 372
      app/_locales/en/messages.json
  4. 18
      app/_locales/es/messages.json
  5. 10
      app/_locales/es_419/messages.json
  6. 22
      app/_locales/fr/messages.json
  7. 18
      app/_locales/hi/messages.json
  8. 18
      app/_locales/id/messages.json
  9. 18
      app/_locales/ja/messages.json
  10. 18
      app/_locales/ko/messages.json
  11. 2
      app/_locales/ph/messages.json
  12. 18
      app/_locales/pt/messages.json
  13. 10
      app/_locales/pt_BR/messages.json
  14. 18
      app/_locales/ru/messages.json
  15. 18
      app/_locales/tl/messages.json
  16. 18
      app/_locales/tr/messages.json
  17. 18
      app/_locales/vi/messages.json
  18. 14
      app/_locales/zh_CN/messages.json
  19. 8
      test/e2e/metamask-ui.spec.js
  20. 14
      test/e2e/tests/add-account.spec.js
  21. 2
      test/e2e/tests/add-hide-token.spec.js
  22. 2
      test/e2e/tests/auto-lock.spec.js
  23. 2
      test/e2e/tests/contract-interactions.spec.js
  24. 8
      test/e2e/tests/custom-rpc-history.spec.js
  25. 6
      test/e2e/tests/custom-token-add-approve.spec.js
  26. 2
      test/e2e/tests/eth-sign.spec.js
  27. 2
      test/e2e/tests/failing-contract.spec.js
  28. 20
      test/e2e/tests/from-import-ui.spec.js
  29. 4
      test/e2e/tests/incremental-security.spec.js
  30. 4
      test/e2e/tests/metamask-responsive-ui.spec.js
  31. 2
      test/e2e/tests/navigate-transactions.spec.js
  32. 4
      test/e2e/tests/send-hex-address.spec.js
  33. 2
      test/e2e/tests/send-to-contract.spec.js
  34. 6
      test/e2e/tests/settings-search.spec.js
  35. 6
      test/e2e/tests/signature-request.spec.js
  36. 6
      test/e2e/tests/state-logs.spec.js
  37. 2
      test/e2e/tests/swap-eth.spec.js
  38. 6
      test/e2e/tests/token-details.spec.js
  39. 2
      ui/components/app/account-menu/account-menu.component.js
  40. 18
      ui/components/app/account-menu/account-menu.test.js
  41. 4
      ui/components/app/advanced-gas-controls/advanced-gas-controls.test.js
  42. 6
      ui/components/app/cancel-speedup-popover/cancel-speedup-popover.test.js
  43. 4
      ui/components/app/collectibles-tab/collectibles-tab.test.js
  44. 4
      ui/components/app/confirm-page-container/confirm-page-container-content/confirm-page-container-content.component.test.js
  45. 4
      ui/components/app/dropdowns/network-dropdown.test.js
  46. 2
      ui/components/app/edit-gas-display/edit-gas-display.component.js
  47. 4
      ui/components/app/gas-customization/advanced-gas-inputs/advanced-gas-inputs.test.js
  48. 2
      ui/components/app/import-token-link/import-token-link.component.js
  49. 14
      ui/components/app/transaction-breakdown/transaction-breakdown.test.js
  50. 4
      ui/components/ui/definition-list/definition-list.stories.js
  51. 2
      ui/components/ui/list-item/list-item.stories.js
  52. 4
      ui/components/ui/truncated-definition-list/truncated-definition-list.stories.js
  53. 2
      ui/ducks/ens.js
  54. 44
      ui/helpers/utils/settings-search.test.js
  55. 4
      ui/hooks/useTransactionDisplayData.test.js
  56. 8
      ui/pages/confirm-add-suggested-token/confirm-add-suggested-token.test.js
  57. 4
      ui/pages/confirm-approve/confirm-approve-content/confirm-approve-content.component.test.js
  58. 6
      ui/pages/confirm-import-token/confirm-import-token.test.js
  59. 4
      ui/pages/create-account/import-account/json.js
  60. 4
      ui/pages/create-account/import-account/private-key.js
  61. 6
      ui/pages/first-time-flow/create-password/new-account/new-account.component.js
  62. 6
      ui/pages/import-token/README.mdx
  63. 20
      ui/pages/import-token/import-token.test.js
  64. 2
      ui/pages/keychains/restore-vault.test.js
  65. 4
      ui/pages/onboarding-flow/secure-your-wallet/secure-your-wallet.test.js
  66. 6
      ui/pages/send/send-header/send-header.component.test.js
  67. 4
      ui/pages/settings/experimental-tab/experimental-tab.component.test.js
  68. 18
      ui/pages/settings/networks-tab/networks-form/networks-form.test.js
  69. 2
      ui/pages/settings/networks-tab/networks-list-item/networks-list-item.test.js
  70. 8
      ui/pages/settings/networks-tab/networks-list/networks-list.test.js
  71. 14
      ui/pages/settings/networks-tab/networks-tab-content/networks-tab-content.test.js
  72. 16
      ui/pages/settings/networks-tab/networks-tab.test.js
  73. 8
      ui/pages/swaps/build-quote/build-quote.js
  74. 4
      ui/pages/swaps/build-quote/build-quote.test.js
  75. 2
      ui/pages/swaps/fee-card/fee-card.test.js
  76. 8
      ui/pages/swaps/slippage-buttons/__snapshots__/slippage-buttons.test.js.snap
  77. 2
      ui/pages/swaps/slippage-buttons/slippage-buttons.js
  78. 8
      ui/pages/swaps/slippage-buttons/slippage-buttons.test.js
  79. 2
      ui/pages/swaps/swaps-footer/__snapshots__/swaps-footer.test.js.snap
  80. 2
      ui/pages/swaps/swaps-footer/swaps-footer.test.js
  81. 4
      ui/pages/token-details/token-details-page.test.js

@ -739,7 +739,7 @@
}, },
"customGasSettingToolTipMessage": { "customGasSettingToolTipMessage": {
"message": "$1 verwenden, um den Gaspreis anzupassen. Das kann verwirrend sein, wenn Sie damit nicht vertraut sind. Interaktion auf eigene Gefahr.", "message": "$1 verwenden, um den Gaspreis anzupassen. Das kann verwirrend sein, wenn Sie damit nicht vertraut sind. Interaktion auf eigene Gefahr.",
"description": "$1 is key 'advanced' (text: 'Advanced') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'advanced' (text: 'Advanced') separated here so that it can be passed in with bold font-weight"
}, },
"customGasSubTitle": { "customGasSubTitle": {
"message": "Höhere Gebühren können Bearbeitungszeiten verkürzen, wofür es allerdings keine Garantie gibt." "message": "Höhere Gebühren können Bearbeitungszeiten verkürzen, wofür es allerdings keine Garantie gibt."
@ -825,7 +825,7 @@
}, },
"depositCrypto": { "depositCrypto": {
"message": "$1 einzahlen", "message": "$1 einzahlen",
"description": "$1 represents the cypto symbol to be purchased" "description": "$1 represents the crypto symbol to be purchased"
}, },
"description": { "description": {
"message": "Beschreibung" "message": "Beschreibung"
@ -1470,7 +1470,7 @@
}, },
"highGasSettingToolTipMessage": { "highGasSettingToolTipMessage": {
"message": "Hohe Wahrscheinlichkeit, auch in volatilen Märkten. Verwenden Sie $1, um Schwankungen im Netzwerkverkehr, die z. B. durch den Ausfall beliebter NFTs entstehen, abzudecken.", "message": "Hohe Wahrscheinlichkeit, auch in volatilen Märkten. Verwenden Sie $1, um Schwankungen im Netzwerkverkehr, die z. B. durch den Ausfall beliebter NFTs entstehen, abzudecken.",
"description": "$1 is key 'high' (text: 'Aggressive') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'high' (text: 'Aggressive') separated here so that it can be passed in with bold font-weight"
}, },
"highLowercase": { "highLowercase": {
"message": "hoch" "message": "hoch"
@ -1773,7 +1773,7 @@
}, },
"lowGasSettingToolTipMessage": { "lowGasSettingToolTipMessage": {
"message": "Verwenden Sie $1, um auf einen günstigeren Preis zu warten. Zeitschätzungen sind viel ungenauer, da die Preise nicht vorhersehbar sind.", "message": "Verwenden Sie $1, um auf einen günstigeren Preis zu warten. Zeitschätzungen sind viel ungenauer, da die Preise nicht vorhersehbar sind.",
"description": "$1 is key 'low' separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'low' separated here so that it can be passed in with bold font-weight"
}, },
"lowLowercase": { "lowLowercase": {
"message": "niedrig" "message": "niedrig"
@ -1817,7 +1817,7 @@
}, },
"mediumGasSettingToolTipMessage": { "mediumGasSettingToolTipMessage": {
"message": "Verwenden Sie $1 für schnelle Verarbeitung zum aktuellen Marktpreis.", "message": "Verwenden Sie $1 für schnelle Verarbeitung zum aktuellen Marktpreis.",
"description": "$1 is key 'medium' (text: 'Market') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'medium' (text: 'Market') separated here so that it can be passed in with bold font-weight"
}, },
"memo": { "memo": {
"message": " Memo" "message": " Memo"
@ -2143,7 +2143,7 @@
}, },
"notifications10ActionText": { "notifications10ActionText": {
"message": "Einstellungen ansehen", "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." "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."
}, },
"notifications10DescriptionOne": { "notifications10DescriptionOne": {
"message": "Die verbesserte Token-Erkennung ist derzeit in den Netzwerken Ethereum Mainnet, Polygon, BSC und Avalanche verfügbar. Es gibt bald mehr!" "message": "Die verbesserte Token-Erkennung ist derzeit in den Netzwerken Ethereum Mainnet, Polygon, BSC und Avalanche verfügbar. Es gibt bald mehr!"
@ -2238,7 +2238,7 @@
}, },
"notifications8ActionText": { "notifications8ActionText": {
"message": "Zu den erweiterten Einstellungen gehen", "message": "Zu den erweiterten Einstellungen gehen",
"description": "Description on an action button that appears in the What's New popup. Tells the user that if they click it, they will go to our Advanced Settings page." "description": "Description on an action button that appears in the What's New popup. Tells the user that if they click it, they will go to our Advanced settings page."
}, },
"notifications8DescriptionOne": { "notifications8DescriptionOne": {
"message": "Ab MetaMask v10.4.0 benötigen Sie kein Ledger Live mehr, um Ihr Ledger Gerät mit MetaMask zu verbinden.", "message": "Ab MetaMask v10.4.0 benötigen Sie kein Ledger Live mehr, um Ihr Ledger Gerät mit MetaMask zu verbinden.",
@ -2483,7 +2483,7 @@
}, },
"preferredLedgerConnectionType": { "preferredLedgerConnectionType": {
"message": "Bevorzugter Ledger-Verbindungstyp", "message": "Bevorzugter Ledger-Verbindungstyp",
"description": "A header for a dropdown in the advanced section of settings. Appears above the ledgerConnectionPreferenceDescription message" "description": "A header for a dropdown in Settings > Advanced. Appears above the ledgerConnectionPreferenceDescription message"
}, },
"preparingSwap": { "preparingSwap": {
"message": "Swap wird vorbereitet ..." "message": "Swap wird vorbereitet ..."
@ -3654,7 +3654,7 @@
}, },
"toggleTestNetworks": { "toggleTestNetworks": {
"message": "$1 Test-Netzwerke", "message": "$1 Test-Netzwerke",
"description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open to the advanced settings where users can enable the display of test networks in the network dropdown." "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": { "token": {
"message": "Token" "message": "Token"

@ -747,7 +747,7 @@
}, },
"customGasSettingToolTipMessage": { "customGasSettingToolTipMessage": {
"message": "Χρησιμοποιήστε 1 $ για να προσαρμόσετε την τιμή του τέλους συναλλαγής. Αυτό μπορεί να προκαλέσει σύγχυση, αν δεν είστε εξοικειωμένοι. Επεξεργαστείτε το με δικό σας ρίσκο.", "message": "Χρησιμοποιήστε 1 $ για να προσαρμόσετε την τιμή του τέλους συναλλαγής. Αυτό μπορεί να προκαλέσει σύγχυση, αν δεν είστε εξοικειωμένοι. Επεξεργαστείτε το με δικό σας ρίσκο.",
"description": "$1 is key 'advanced' (text: 'Advanced') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'advanced' (text: 'Advanced') separated here so that it can be passed in with bold font-weight"
}, },
"customGasSubTitle": { "customGasSubTitle": {
"message": "Η αύξηση των τελών μπορεί να μειώσει τους χρόνους επεξεργασίας, αλλά αυτό δεν είναι εγγυημένο." "message": "Η αύξηση των τελών μπορεί να μειώσει τους χρόνους επεξεργασίας, αλλά αυτό δεν είναι εγγυημένο."
@ -833,7 +833,7 @@
}, },
"depositCrypto": { "depositCrypto": {
"message": "Κατάθεση $1", "message": "Κατάθεση $1",
"description": "$1 represents the cypto symbol to be purchased" "description": "$1 represents the crypto symbol to be purchased"
}, },
"description": { "description": {
"message": "Περιγραφή" "message": "Περιγραφή"
@ -1481,7 +1481,7 @@
}, },
"highGasSettingToolTipMessage": { "highGasSettingToolTipMessage": {
"message": "Χρησιμοποιήστε $1 για να καλύψετε απότομες αυξήσεις της κίνησης του δικτύου λόγω των δημοφιλών ξεκινημάτων NFT.", "message": "Χρησιμοποιήστε $1 για να καλύψετε απότομες αυξήσεις της κίνησης του δικτύου λόγω των δημοφιλών ξεκινημάτων NFT.",
"description": "$1 is key 'high' (text: 'Aggressive') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'high' (text: 'Aggressive') separated here so that it can be passed in with bold font-weight"
}, },
"highLowercase": { "highLowercase": {
"message": "υψηλό" "message": "υψηλό"
@ -1787,7 +1787,7 @@
}, },
"lowGasSettingToolTipMessage": { "lowGasSettingToolTipMessage": {
"message": "Χρησιμοποιήστε 1 $ για να περιμένετε για μια φθηνότερη τιμή. Οι εκτιμήσεις του χρόνου είναι πολύ λιγότερο ακριβείς καθώς οι τιμές είναι κάπως απρόβλεπτες.", "message": "Χρησιμοποιήστε 1 $ για να περιμένετε για μια φθηνότερη τιμή. Οι εκτιμήσεις του χρόνου είναι πολύ λιγότερο ακριβείς καθώς οι τιμές είναι κάπως απρόβλεπτες.",
"description": "$1 is key 'low' separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'low' separated here so that it can be passed in with bold font-weight"
}, },
"lowLowercase": { "lowLowercase": {
"message": "χαμηλό" "message": "χαμηλό"
@ -1831,7 +1831,7 @@
}, },
"mediumGasSettingToolTipMessage": { "mediumGasSettingToolTipMessage": {
"message": "Χρησιμοποιήστε $1 για γρήγορη επεξεργασία στην τρέχουσα τιμή της αγοράς.", "message": "Χρησιμοποιήστε $1 για γρήγορη επεξεργασία στην τρέχουσα τιμή της αγοράς.",
"description": "$1 is key 'medium' (text: 'Market') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'medium' (text: 'Market') separated here so that it can be passed in with bold font-weight"
}, },
"memo": { "memo": {
"message": "σημείωμα" "message": "σημείωμα"
@ -2170,7 +2170,7 @@
}, },
"notifications10ActionText": { "notifications10ActionText": {
"message": "Μετάβαση στις Ρυθμίσεις", "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." "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."
}, },
"notifications10DescriptionOne": { "notifications10DescriptionOne": {
"message": "Ο βελτιωμένος εντοπισμός token είναι προς το παρόν διαθέσιμος στα δίκτυα Ethereum Mainnet, Polygon, BSC και Avalanche. Περισσότερα προσεχώς!" "message": "Ο βελτιωμένος εντοπισμός token είναι προς το παρόν διαθέσιμος στα δίκτυα Ethereum Mainnet, Polygon, BSC και Avalanche. Περισσότερα προσεχώς!"
@ -2275,7 +2275,7 @@
}, },
"notifications8ActionText": { "notifications8ActionText": {
"message": "Μεταβείτε στις Ρυθμίσεις για Προχωρημένους", "message": "Μεταβείτε στις Ρυθμίσεις για Προχωρημένους",
"description": "Description on an action button that appears in the What's New popup. Tells the user that if they click it, they will go to our Advanced Settings page." "description": "Description on an action button that appears in the What's New popup. Tells the user that if they click it, they will go to our Advanced settings page."
}, },
"notifications8DescriptionOne": { "notifications8DescriptionOne": {
"message": "Από τη MetaMask v10.4.0 και μετά, δεν χρειάζεστε πλέον το Ledger Live για να συνδέσετε τη συσκευή Ledger με το MetaMask.", "message": "Από τη MetaMask v10.4.0 και μετά, δεν χρειάζεστε πλέον το Ledger Live για να συνδέσετε τη συσκευή Ledger με το MetaMask.",
@ -2520,7 +2520,7 @@
}, },
"preferredLedgerConnectionType": { "preferredLedgerConnectionType": {
"message": "Προτιμώμενος Τύπος Σύνδεσης Ledger", "message": "Προτιμώμενος Τύπος Σύνδεσης Ledger",
"description": "A header for a dropdown in the advanced section of settings. Appears above the ledgerConnectionPreferenceDescription message" "description": "A header for a dropdown in Settings > Advanced. Appears above the ledgerConnectionPreferenceDescription message"
}, },
"preparingSwap": { "preparingSwap": {
"message": "Προετοιμασία ανταλλαγής..." "message": "Προετοιμασία ανταλλαγής..."
@ -3710,7 +3710,7 @@
}, },
"toggleTestNetworks": { "toggleTestNetworks": {
"message": "$1 δοκιμαστικά δίκτυα", "message": "$1 δοκιμαστικά δίκτυα",
"description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open to the advanced settings where users can enable the display of test networks in the network dropdown." "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": { "token": {
"message": "Διακριτικό" "message": "Διακριτικό"

File diff suppressed because it is too large Load Diff

@ -747,7 +747,7 @@
}, },
"customGasSettingToolTipMessage": { "customGasSettingToolTipMessage": {
"message": "Use $1 para personalizar el precio de gas. Esto puede ser confuso si no está familiarizado. Interactúe bajo su propio riesgo.", "message": "Use $1 para personalizar el precio de gas. Esto puede ser confuso si no está familiarizado. Interactúe bajo su propio riesgo.",
"description": "$1 is key 'advanced' (text: 'Advanced') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'advanced' (text: 'Advanced') separated here so that it can be passed in with bold font-weight"
}, },
"customGasSubTitle": { "customGasSubTitle": {
"message": "Aumentar la cuota puede disminuir los tiempos de procesamiento, pero no está garantizado." "message": "Aumentar la cuota puede disminuir los tiempos de procesamiento, pero no está garantizado."
@ -833,7 +833,7 @@
}, },
"depositCrypto": { "depositCrypto": {
"message": "Deposite $1", "message": "Deposite $1",
"description": "$1 represents the cypto symbol to be purchased" "description": "$1 represents the crypto symbol to be purchased"
}, },
"description": { "description": {
"message": "Descripción" "message": "Descripción"
@ -1481,7 +1481,7 @@
}, },
"highGasSettingToolTipMessage": { "highGasSettingToolTipMessage": {
"message": "Alta probabilidad, incluso en mercados volátiles. Use $1 para cubrir aumentos repentinos en el tráfico de la red debido a cosas como caídas de NFT populares.", "message": "Alta probabilidad, incluso en mercados volátiles. Use $1 para cubrir aumentos repentinos en el tráfico de la red debido a cosas como caídas de NFT populares.",
"description": "$1 is key 'high' (text: 'Aggressive') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'high' (text: 'Aggressive') separated here so that it can be passed in with bold font-weight"
}, },
"highLowercase": { "highLowercase": {
"message": "alto" "message": "alto"
@ -1787,7 +1787,7 @@
}, },
"lowGasSettingToolTipMessage": { "lowGasSettingToolTipMessage": {
"message": "Utilice $1 para esperar un precio más bajo. Las estimaciones de tiempo son mucho menos precisas ya que los precios son algo imprevisibles.", "message": "Utilice $1 para esperar un precio más bajo. Las estimaciones de tiempo son mucho menos precisas ya que los precios son algo imprevisibles.",
"description": "$1 is key 'low' separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'low' separated here so that it can be passed in with bold font-weight"
}, },
"lowLowercase": { "lowLowercase": {
"message": "bajo" "message": "bajo"
@ -1831,7 +1831,7 @@
}, },
"mediumGasSettingToolTipMessage": { "mediumGasSettingToolTipMessage": {
"message": "Utilice $1 para un procesamiento rápido al precio actual del mercado.", "message": "Utilice $1 para un procesamiento rápido al precio actual del mercado.",
"description": "$1 is key 'medium' (text: 'Market') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'medium' (text: 'Market') separated here so that it can be passed in with bold font-weight"
}, },
"memo": { "memo": {
"message": "memorándum" "message": "memorándum"
@ -2170,7 +2170,7 @@
}, },
"notifications10ActionText": { "notifications10ActionText": {
"message": "Vaya a configuración", "message": "Vaya 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." "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."
}, },
"notifications10DescriptionOne": { "notifications10DescriptionOne": {
"message": "En este momento, la detección mejorada de token está disponible en las redes Ethereum Mainnet, Polygon, BSC y Avalanche. ¡Y habrá más!" "message": "En este momento, la detección mejorada de token está disponible en las redes Ethereum Mainnet, Polygon, BSC y Avalanche. ¡Y habrá más!"
@ -2275,7 +2275,7 @@
}, },
"notifications8ActionText": { "notifications8ActionText": {
"message": "Ir a Configuración Avanzada", "message": "Ir a Configuración Avanzada",
"description": "Description on an action button that appears in the What's New popup. Tells the user that if they click it, they will go to our Advanced Settings page." "description": "Description on an action button that appears in the What's New popup. Tells the user that if they click it, they will go to our Advanced settings page."
}, },
"notifications8DescriptionOne": { "notifications8DescriptionOne": {
"message": "A partir de MetaMask v10.4.0, ya no necesita Ledger Live para conectar su dispositivo Ledger a MetaMask.", "message": "A partir de MetaMask v10.4.0, ya no necesita Ledger Live para conectar su dispositivo Ledger a MetaMask.",
@ -2520,7 +2520,7 @@
}, },
"preferredLedgerConnectionType": { "preferredLedgerConnectionType": {
"message": "Tipo de conexión de Ledger preferida", "message": "Tipo de conexión de Ledger preferida",
"description": "A header for a dropdown in the advanced section of settings. Appears above the ledgerConnectionPreferenceDescription message" "description": "A header for a dropdown in Settings > Advanced. Appears above the ledgerConnectionPreferenceDescription message"
}, },
"preparingSwap": { "preparingSwap": {
"message": "Preparando swap..." "message": "Preparando swap..."
@ -3710,7 +3710,7 @@
}, },
"toggleTestNetworks": { "toggleTestNetworks": {
"message": "$1 redes de prueba", "message": "$1 redes de prueba",
"description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open to the advanced settings where users can enable the display of test networks in the network dropdown." "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": { "token": {
"message": "Token" "message": "Token"

@ -1533,7 +1533,7 @@
}, },
"lowGasSettingToolTipMessage": { "lowGasSettingToolTipMessage": {
"message": "Utilice $1 para esperar un precio más bajo. Las estimaciones de tiempo son mucho menos precisas ya que los precios son algo imprevisibles.", "message": "Utilice $1 para esperar un precio más bajo. Las estimaciones de tiempo son mucho menos precisas ya que los precios son algo imprevisibles.",
"description": "$1 is key 'low' separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'low' separated here so that it can be passed in with bold font-weight"
}, },
"lowLowercase": { "lowLowercase": {
"message": "baja" "message": "baja"
@ -1565,7 +1565,7 @@
}, },
"mediumGasSettingToolTipMessage": { "mediumGasSettingToolTipMessage": {
"message": "Utilice $1 para un procesamiento rápido al precio actual del mercado.", "message": "Utilice $1 para un procesamiento rápido al precio actual del mercado.",
"description": "$1 is key 'medium' (text: 'Market') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'medium' (text: 'Market') separated here so that it can be passed in with bold font-weight"
}, },
"memo": { "memo": {
"message": "nota" "message": "nota"
@ -1911,7 +1911,7 @@
}, },
"notifications8ActionText": { "notifications8ActionText": {
"message": "Ir a Configuración Avanzada", "message": "Ir a Configuración Avanzada",
"description": "Description on an action button that appears in the What's New popup. Tells the user that if they click it, they will go to our Advanced Settings page." "description": "Description on an action button that appears in the What's New popup. Tells the user that if they click it, they will go to our Advanced settings page."
}, },
"notifications8DescriptionOne": { "notifications8DescriptionOne": {
"message": "A partir de MetaMask v10.4.0, ya no necesita Ledger Live para conectar su dispositivo Ledger a MetaMask.", "message": "A partir de MetaMask v10.4.0, ya no necesita Ledger Live para conectar su dispositivo Ledger a MetaMask.",
@ -2085,7 +2085,7 @@
}, },
"preferredLedgerConnectionType": { "preferredLedgerConnectionType": {
"message": "Tipo de conexión de Ledger preferida", "message": "Tipo de conexión de Ledger preferida",
"description": "A header for a dropdown in the advanced section of settings. Appears above the ledgerConnectionPreferenceDescription message" "description": "A header for a dropdown in Settings > Advanced. Appears above the ledgerConnectionPreferenceDescription message"
}, },
"prev": { "prev": {
"message": "Ant." "message": "Ant."
@ -3007,7 +3007,7 @@
}, },
"toggleTestNetworks": { "toggleTestNetworks": {
"message": "$1 redes de prueba", "message": "$1 redes de prueba",
"description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open to the advanced settings where users can enable the display of test networks in the network dropdown." "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": { "token": {
"message": "Token" "message": "Token"

@ -746,8 +746,8 @@
"message": "Personnaliser le gaz" "message": "Personnaliser le gaz"
}, },
"customGasSettingToolTipMessage": { "customGasSettingToolTipMessage": {
"message": "Utilisez $1 pour personnaliser le prix du carburant. Cela peut porter à confusion si vous n’en avez pas l’habitude. Agissez avec prudence !", "message": "Utilisez $1 pour personnaliser le prix du carburant. Cela peut porter à confusion si vous n’en avez pas l’habitude. Agissez avec prudence!",
"description": "$1 is key 'advanced' (text: 'Advanced') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'advanced' (text: 'Advanced') separated here so that it can be passed in with bold font-weight"
}, },
"customGasSubTitle": { "customGasSubTitle": {
"message": "Augmenter le tarif peut faire baisser le temps de traitement, mais cela n’est pas garanti." "message": "Augmenter le tarif peut faire baisser le temps de traitement, mais cela n’est pas garanti."
@ -833,7 +833,7 @@
}, },
"depositCrypto": { "depositCrypto": {
"message": "Effectuer un dépôt de $1", "message": "Effectuer un dépôt de $1",
"description": "$1 represents the cypto symbol to be purchased" "description": "$1 represents the crypto symbol to be purchased"
}, },
"description": { "description": {
"message": "Description" "message": "Description"
@ -1481,7 +1481,7 @@
}, },
"highGasSettingToolTipMessage": { "highGasSettingToolTipMessage": {
"message": "Utilisez $1 pour couvrir les envolées du trafic réseau dues à des événements tels que les chutes de NFT populaires.", "message": "Utilisez $1 pour couvrir les envolées du trafic réseau dues à des événements tels que les chutes de NFT populaires.",
"description": "$1 is key 'high' (text: 'Aggressive') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'high' (text: 'Aggressive') separated here so that it can be passed in with bold font-weight"
}, },
"highLowercase": { "highLowercase": {
"message": "élevé" "message": "élevé"
@ -1787,7 +1787,7 @@
}, },
"lowGasSettingToolTipMessage": { "lowGasSettingToolTipMessage": {
"message": "Utilisez $1 pour attendre un prix inférieur. Les estimations de temps sont nettement moins précises, car les prix sont relativement imprévisibles.", "message": "Utilisez $1 pour attendre un prix inférieur. Les estimations de temps sont nettement moins précises, car les prix sont relativement imprévisibles.",
"description": "$1 is key 'low' separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'low' separated here so that it can be passed in with bold font-weight"
}, },
"lowLowercase": { "lowLowercase": {
"message": "bas" "message": "bas"
@ -1831,7 +1831,7 @@
}, },
"mediumGasSettingToolTipMessage": { "mediumGasSettingToolTipMessage": {
"message": "Utilisez $1 pour un traitement rapide au prix actuel du marché.", "message": "Utilisez $1 pour un traitement rapide au prix actuel du marché.",
"description": "$1 is key 'medium' (text: 'Market') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'medium' (text: 'Market') separated here so that it can be passed in with bold font-weight"
}, },
"memo": { "memo": {
"message": "note" "message": "note"
@ -2170,7 +2170,7 @@
}, },
"notifications10ActionText": { "notifications10ActionText": {
"message": "Ouvrir les paramètres", "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." "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."
}, },
"notifications10DescriptionOne": { "notifications10DescriptionOne": {
"message": "Une détection améliorée des tokens est actuellement disponible sur les réseaux Ethereum Mainnet, Polygon, BSC et Avalanche. Il y aura bientôt d’autres nouveautés !" "message": "Une détection améliorée des tokens est actuellement disponible sur les réseaux Ethereum Mainnet, Polygon, BSC et Avalanche. Il y aura bientôt d’autres nouveautés !"
@ -2275,7 +2275,7 @@
}, },
"notifications8ActionText": { "notifications8ActionText": {
"message": "Accédez aux Paramètres avancés", "message": "Accédez aux Paramètres avancés",
"description": "Description on an action button that appears in the What's New popup. Tells the user that if they click it, they will go to our Advanced Settings page." "description": "Description on an action button that appears in the What's New popup. Tells the user that if they click it, they will go to our Advanced settings page."
}, },
"notifications8DescriptionOne": { "notifications8DescriptionOne": {
"message": "Depuis MetaMask v10.4.0, vous n’avez plus besoin de Ledger Live pour connecter votre appareil Ledger à MetaMask.", "message": "Depuis MetaMask v10.4.0, vous n’avez plus besoin de Ledger Live pour connecter votre appareil Ledger à MetaMask.",
@ -2520,7 +2520,7 @@
}, },
"preferredLedgerConnectionType": { "preferredLedgerConnectionType": {
"message": "Type de connexion Ledger préféré", "message": "Type de connexion Ledger préféré",
"description": "A header for a dropdown in the advanced section of settings. Appears above the ledgerConnectionPreferenceDescription message" "description": "A header for a dropdown in Settings > Advanced. Appears above the ledgerConnectionPreferenceDescription message"
}, },
"preparingSwap": { "preparingSwap": {
"message": "Préparation du swap..." "message": "Préparation du swap..."
@ -3709,8 +3709,8 @@
"description": "$1 is the address to include in the To label. It is typically shortened first using shortenAddress" "description": "$1 is the address to include in the To label. It is typically shortened first using shortenAddress"
}, },
"toggleTestNetworks": { "toggleTestNetworks": {
"message": "$1 réseaux de test", "message": "$1 réseaux de test",
"description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open to the advanced settings where users can enable the display of test networks in the network dropdown." "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": { "token": {
"message": "Jeton" "message": "Jeton"

@ -747,7 +747,7 @@
}, },
"customGasSettingToolTipMessage": { "customGasSettingToolTipMessage": {
"message": "गस कमत क अनित करनिए $1 क उपयग कर। यदि आप परिित नहमक ह सकत। अपनि पर बतचत कर।", "message": "गस कमत क अनित करनिए $1 क उपयग कर। यदि आप परिित नहमक ह सकत। अपनि पर बतचत कर।",
"description": "$1 is key 'advanced' (text: 'Advanced') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'advanced' (text: 'Advanced') separated here so that it can be passed in with bold font-weight"
}, },
"customGasSubTitle": { "customGasSubTitle": {
"message": "शक बढरसकरण समय म कम सकत, लिन इसक नह।" "message": "शक बढरसकरण समय म कम सकत, लिन इसक नह।"
@ -833,7 +833,7 @@
}, },
"depositCrypto": { "depositCrypto": {
"message": "$1 जम कर", "message": "$1 जम कर",
"description": "$1 represents the cypto symbol to be purchased" "description": "$1 represents the crypto symbol to be purchased"
}, },
"description": { "description": {
"message": "विवरण" "message": "विवरण"
@ -1481,7 +1481,7 @@
}, },
"highGasSettingToolTipMessage": { "highGasSettingToolTipMessage": {
"message": "लकपिय NFT डप ज वजह सटवरक टिक मि कवर करनिए $1 क उपयग कर।", "message": "लकपिय NFT डप ज वजह सटवरक टिक मि कवर करनिए $1 क उपयग कर।",
"description": "$1 is key 'high' (text: 'Aggressive') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'high' (text: 'Aggressive') separated here so that it can be passed in with bold font-weight"
}, },
"highLowercase": { "highLowercase": {
"message": "उचच" "message": "उचच"
@ -1787,7 +1787,7 @@
}, },
"lowGasSettingToolTipMessage": { "lowGasSettingToolTipMessage": {
"message": "एक ससमत करतिए $1 क उपयग कर। समय क अनन बहत कम सहिमतछ हद तक अपरतित ह।", "message": "एक ससमत करतिए $1 क उपयग कर। समय क अनन बहत कम सहिमतछ हद तक अपरतित ह।",
"description": "$1 is key 'low' separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'low' separated here so that it can be passed in with bold font-weight"
}, },
"lowLowercase": { "lowLowercase": {
"message": "निन" "message": "निन"
@ -1831,7 +1831,7 @@
}, },
"mediumGasSettingToolTipMessage": { "mediumGasSettingToolTipMessage": {
"message": "मर मय पर तस करनिए $1क उपयग कर।", "message": "मर मय पर तस करनिए $1क उपयग कर।",
"description": "$1 is key 'medium' (text: 'Market') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'medium' (text: 'Market') separated here so that it can be passed in with bold font-weight"
}, },
"memo": { "memo": {
"message": "म" "message": "म"
@ -2170,7 +2170,7 @@
}, },
"notifications10ActionText": { "notifications10ActionText": {
"message": "सिस म", "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." "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."
}, },
"notifications10DescriptionOne": { "notifications10DescriptionOne": {
"message": "बहतर टकन डिशन वरतमन म Ethereum Mainnet, Polygon, BSC और Avalanche कटवर पर उपलबध ह। और भ आन!" "message": "बहतर टकन डिशन वरतमन म Ethereum Mainnet, Polygon, BSC और Avalanche कटवर पर उपलबध ह। और भ आन!"
@ -2275,7 +2275,7 @@
}, },
"notifications8ActionText": { "notifications8ActionText": {
"message": "एडवस सिस पर ज", "message": "एडवस सिस पर ज",
"description": "Description on an action button that appears in the What's New popup. Tells the user that if they click it, they will go to our Advanced Settings page." "description": "Description on an action button that appears in the What's New popup. Tells the user that if they click it, they will go to our Advanced settings page."
}, },
"notifications8DescriptionOne": { "notifications8DescriptionOne": {
"message": "MetaMask v10.4.0 क अनर, अब आपक अपनजर डिइस कक स कनट करनिए लजर लइव क आवशयकत नह।", "message": "MetaMask v10.4.0 क अनर, अब आपक अपनजर डिइस कक स कनट करनिए लजर लइव क आवशयकत नह।",
@ -2520,7 +2520,7 @@
}, },
"preferredLedgerConnectionType": { "preferredLedgerConnectionType": {
"message": "वरयतजर कनशन करकर", "message": "वरयतजर कनशन करकर",
"description": "A header for a dropdown in the advanced section of settings. Appears above the ledgerConnectionPreferenceDescription message" "description": "A header for a dropdown in Settings > Advanced. Appears above the ledgerConnectionPreferenceDescription message"
}, },
"preparingSwap": { "preparingSwap": {
"message": "सप क कर रह..." "message": "सप क कर रह..."
@ -3710,7 +3710,7 @@
}, },
"toggleTestNetworks": { "toggleTestNetworks": {
"message": "$1 परषण नटवरक", "message": "$1 परषण नटवरक",
"description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open to the advanced settings where users can enable the display of test networks in the network dropdown." "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": { "token": {
"message": "टकन" "message": "टकन"

@ -747,7 +747,7 @@
}, },
"customGasSettingToolTipMessage": { "customGasSettingToolTipMessage": {
"message": "Gunakan $1 untuk menyesuaikan harga gas. Anda akan bingung jika tidak terbiasa. Berinteraksi dengan risiko Anda sendiri.", "message": "Gunakan $1 untuk menyesuaikan harga gas. Anda akan bingung jika tidak terbiasa. Berinteraksi dengan risiko Anda sendiri.",
"description": "$1 is key 'advanced' (text: 'Advanced') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'advanced' (text: 'Advanced') separated here so that it can be passed in with bold font-weight"
}, },
"customGasSubTitle": { "customGasSubTitle": {
"message": "Menaikkan biaya dapat mengurangi waktu pemrosesan, namun tidak ada jaminan." "message": "Menaikkan biaya dapat mengurangi waktu pemrosesan, namun tidak ada jaminan."
@ -833,7 +833,7 @@
}, },
"depositCrypto": { "depositCrypto": {
"message": "Deposit $1", "message": "Deposit $1",
"description": "$1 represents the cypto symbol to be purchased" "description": "$1 represents the crypto symbol to be purchased"
}, },
"description": { "description": {
"message": "Deskripsi" "message": "Deskripsi"
@ -1481,7 +1481,7 @@
}, },
"highGasSettingToolTipMessage": { "highGasSettingToolTipMessage": {
"message": "Gunakan $1 untuk menutupi lonjakan lalu lintas jaringan karena hal-hal seperti penurunan NFT populer.", "message": "Gunakan $1 untuk menutupi lonjakan lalu lintas jaringan karena hal-hal seperti penurunan NFT populer.",
"description": "$1 is key 'high' (text: 'Aggressive') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'high' (text: 'Aggressive') separated here so that it can be passed in with bold font-weight"
}, },
"highLowercase": { "highLowercase": {
"message": "tinggi" "message": "tinggi"
@ -1787,7 +1787,7 @@
}, },
"lowGasSettingToolTipMessage": { "lowGasSettingToolTipMessage": {
"message": "Gunakan $1 untuk menunggu harga yang lebih murah. Estimasi waktu kurang akurat karena harga sedang tidak dapat diprediksi.", "message": "Gunakan $1 untuk menunggu harga yang lebih murah. Estimasi waktu kurang akurat karena harga sedang tidak dapat diprediksi.",
"description": "$1 is key 'low' separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'low' separated here so that it can be passed in with bold font-weight"
}, },
"lowLowercase": { "lowLowercase": {
"message": "rendah" "message": "rendah"
@ -1831,7 +1831,7 @@
}, },
"mediumGasSettingToolTipMessage": { "mediumGasSettingToolTipMessage": {
"message": "Gunakan $1 untuk pemrosesan cepat dengan harga pasar saat ini.", "message": "Gunakan $1 untuk pemrosesan cepat dengan harga pasar saat ini.",
"description": "$1 is key 'medium' (text: 'Market') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'medium' (text: 'Market') separated here so that it can be passed in with bold font-weight"
}, },
"memo": { "memo": {
"message": "memo" "message": "memo"
@ -2170,7 +2170,7 @@
}, },
"notifications10ActionText": { "notifications10ActionText": {
"message": "Lihat di pengaturan", "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." "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."
}, },
"notifications10DescriptionOne": { "notifications10DescriptionOne": {
"message": "Deteksi token yang ditingkatkan saat ini tersedia di jaringan Ethereum Mainnet, Polygon, BSC, dan Avalanche. Nantikan selengkapnya!" "message": "Deteksi token yang ditingkatkan saat ini tersedia di jaringan Ethereum Mainnet, Polygon, BSC, dan Avalanche. Nantikan selengkapnya!"
@ -2275,7 +2275,7 @@
}, },
"notifications8ActionText": { "notifications8ActionText": {
"message": "Buka Pengaturan Lanjutan", "message": "Buka Pengaturan Lanjutan",
"description": "Description on an action button that appears in the What's New popup. Tells the user that if they click it, they will go to our Advanced Settings page." "description": "Description on an action button that appears in the What's New popup. Tells the user that if they click it, they will go to our Advanced settings page."
}, },
"notifications8DescriptionOne": { "notifications8DescriptionOne": {
"message": "Pada MetaMask v10.4.0, Anda tidak lagi memerlukan Ledger Live untuk menghubungkan perangkat Ledger Anda ke MetaMask.", "message": "Pada MetaMask v10.4.0, Anda tidak lagi memerlukan Ledger Live untuk menghubungkan perangkat Ledger Anda ke MetaMask.",
@ -2520,7 +2520,7 @@
}, },
"preferredLedgerConnectionType": { "preferredLedgerConnectionType": {
"message": "Jenis Koneksi Ledger Pilihan", "message": "Jenis Koneksi Ledger Pilihan",
"description": "A header for a dropdown in the advanced section of settings. Appears above the ledgerConnectionPreferenceDescription message" "description": "A header for a dropdown in Settings > Advanced. Appears above the ledgerConnectionPreferenceDescription message"
}, },
"preparingSwap": { "preparingSwap": {
"message": "Mempersiapkan pertukaran..." "message": "Mempersiapkan pertukaran..."
@ -3710,7 +3710,7 @@
}, },
"toggleTestNetworks": { "toggleTestNetworks": {
"message": "$1 jaringan pengujian", "message": "$1 jaringan pengujian",
"description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open to the advanced settings where users can enable the display of test networks in the network dropdown." "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": { "token": {
"message": "Token" "message": "Token"

@ -747,7 +747,7 @@
}, },
"customGasSettingToolTipMessage": { "customGasSettingToolTipMessage": {
"message": "ガス代をカスタマイズするには$1を使用します。慣れていない場合はわかりにくい可能性があります。自己責任で操作してください。", "message": "ガス代をカスタマイズするには$1を使用します。慣れていない場合はわかりにくい可能性があります。自己責任で操作してください。",
"description": "$1 is key 'advanced' (text: 'Advanced') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'advanced' (text: 'Advanced') separated here so that it can be passed in with bold font-weight"
}, },
"customGasSubTitle": { "customGasSubTitle": {
"message": "手数料を増やすと処理時間は短くなる可能性がありますが、必ずそうなるとは限りません。" "message": "手数料を増やすと処理時間は短くなる可能性がありますが、必ずそうなるとは限りません。"
@ -833,7 +833,7 @@
}, },
"depositCrypto": { "depositCrypto": {
"message": "$1 を入金", "message": "$1 を入金",
"description": "$1 represents the cypto symbol to be purchased" "description": "$1 represents the crypto symbol to be purchased"
}, },
"description": { "description": {
"message": "説明" "message": "説明"
@ -1481,7 +1481,7 @@
}, },
"highGasSettingToolTipMessage": { "highGasSettingToolTipMessage": {
"message": "人気のNFTドロップなどによるネットワークトラフィックの急増に備えるため、$1を使用してください。", "message": "人気のNFTドロップなどによるネットワークトラフィックの急増に備えるため、$1を使用してください。",
"description": "$1 is key 'high' (text: 'Aggressive') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'high' (text: 'Aggressive') separated here so that it can be passed in with bold font-weight"
}, },
"highLowercase": { "highLowercase": {
"message": "高" "message": "高"
@ -1787,7 +1787,7 @@
}, },
"lowGasSettingToolTipMessage": { "lowGasSettingToolTipMessage": {
"message": "値下がりを待つには$1を使用してください。価格がやや予測不能なため、予想時間はあまり正確ではありません。", "message": "値下がりを待つには$1を使用してください。価格がやや予測不能なため、予想時間はあまり正確ではありません。",
"description": "$1 is key 'low' separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'low' separated here so that it can be passed in with bold font-weight"
}, },
"lowLowercase": { "lowLowercase": {
"message": "低" "message": "低"
@ -1831,7 +1831,7 @@
}, },
"mediumGasSettingToolTipMessage": { "mediumGasSettingToolTipMessage": {
"message": "現在の市場価格での迅速な処理には、$1を使用してください。", "message": "現在の市場価格での迅速な処理には、$1を使用してください。",
"description": "$1 is key 'medium' (text: 'Market') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'medium' (text: 'Market') separated here so that it can be passed in with bold font-weight"
}, },
"memo": { "memo": {
"message": "メモ" "message": "メモ"
@ -2170,7 +2170,7 @@
}, },
"notifications10ActionText": { "notifications10ActionText": {
"message": "設定に移動", "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." "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."
}, },
"notifications10DescriptionOne": { "notifications10DescriptionOne": {
"message": "改善されたトークン検出は、現在 Ethereum Mainnet、Polygon、BSC、Avalanche ネットワークで利用できます。他のネットワークも追加される予定です!" "message": "改善されたトークン検出は、現在 Ethereum Mainnet、Polygon、BSC、Avalanche ネットワークで利用できます。他のネットワークも追加される予定です!"
@ -2275,7 +2275,7 @@
}, },
"notifications8ActionText": { "notifications8ActionText": {
"message": "高度な設定に移動", "message": "高度な設定に移動",
"description": "Description on an action button that appears in the What's New popup. Tells the user that if they click it, they will go to our Advanced Settings page." "description": "Description on an action button that appears in the What's New popup. Tells the user that if they click it, they will go to our Advanced settings page."
}, },
"notifications8DescriptionOne": { "notifications8DescriptionOne": {
"message": "MetaMask v10.4.0以降では、LedgerデバイスのMetaMaskへの接続にLedger Liveが不要になりました。", "message": "MetaMask v10.4.0以降では、LedgerデバイスのMetaMaskへの接続にLedger Liveが不要になりました。",
@ -2520,7 +2520,7 @@
}, },
"preferredLedgerConnectionType": { "preferredLedgerConnectionType": {
"message": "優先Ledger接続タイプ", "message": "優先Ledger接続タイプ",
"description": "A header for a dropdown in the advanced section of settings. Appears above the ledgerConnectionPreferenceDescription message" "description": "A header for a dropdown in Settings > Advanced. Appears above the ledgerConnectionPreferenceDescription message"
}, },
"preparingSwap": { "preparingSwap": {
"message": "スワップを準備しています..." "message": "スワップを準備しています..."
@ -3710,7 +3710,7 @@
}, },
"toggleTestNetworks": { "toggleTestNetworks": {
"message": "$1テストネットワーク", "message": "$1テストネットワーク",
"description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open to the advanced settings where users can enable the display of test networks in the network dropdown." "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": { "token": {
"message": "トークン" "message": "トークン"

@ -747,7 +747,7 @@
}, },
"customGasSettingToolTipMessage": { "customGasSettingToolTipMessage": {
"message": "$1을(를) 사용하여 가스 가격을 맞춤설정하세요. 익숙하지 않은 경우 혼동될 수 있습니다. 자신의 책임하에 상호 작용하세요.", "message": "$1을(를) 사용하여 가스 가격을 맞춤설정하세요. 익숙하지 않은 경우 혼동될 수 있습니다. 자신의 책임하에 상호 작용하세요.",
"description": "$1 is key 'advanced' (text: 'Advanced') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'advanced' (text: 'Advanced') separated here so that it can be passed in with bold font-weight"
}, },
"customGasSubTitle": { "customGasSubTitle": {
"message": "수수료를 올리면 처리 시간이 단축되기도 하지만 항상 그렇지는 않습니다." "message": "수수료를 올리면 처리 시간이 단축되기도 하지만 항상 그렇지는 않습니다."
@ -833,7 +833,7 @@
}, },
"depositCrypto": { "depositCrypto": {
"message": "$1 입금", "message": "$1 입금",
"description": "$1 represents the cypto symbol to be purchased" "description": "$1 represents the crypto symbol to be purchased"
}, },
"description": { "description": {
"message": "설명" "message": "설명"
@ -1481,7 +1481,7 @@
}, },
"highGasSettingToolTipMessage": { "highGasSettingToolTipMessage": {
"message": "인기 있는 NFT의 하락 등으로 인한 네트워크 트래픽 급증을 커버하려면 $1을 사용하세요.", "message": "인기 있는 NFT의 하락 등으로 인한 네트워크 트래픽 급증을 커버하려면 $1을 사용하세요.",
"description": "$1 is key 'high' (text: 'Aggressive') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'high' (text: 'Aggressive') separated here so that it can be passed in with bold font-weight"
}, },
"highLowercase": { "highLowercase": {
"message": "높음" "message": "높음"
@ -1787,7 +1787,7 @@
}, },
"lowGasSettingToolTipMessage": { "lowGasSettingToolTipMessage": {
"message": "$1 사용을 통해 더 저렴한 가격을 기다리세요. 가격 예측이 힘들기 때문에 시간 추정은 더욱 부정확합니다.", "message": "$1 사용을 통해 더 저렴한 가격을 기다리세요. 가격 예측이 힘들기 때문에 시간 추정은 더욱 부정확합니다.",
"description": "$1 is key 'low' separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'low' separated here so that it can be passed in with bold font-weight"
}, },
"lowLowercase": { "lowLowercase": {
"message": "낮음" "message": "낮음"
@ -1831,7 +1831,7 @@
}, },
"mediumGasSettingToolTipMessage": { "mediumGasSettingToolTipMessage": {
"message": "현재 시장 가격으로 빠르게 처리할 수 있도록 $1을(를) 사용하세요.", "message": "현재 시장 가격으로 빠르게 처리할 수 있도록 $1을(를) 사용하세요.",
"description": "$1 is key 'medium' (text: 'Market') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'medium' (text: 'Market') separated here so that it can be passed in with bold font-weight"
}, },
"memo": { "memo": {
"message": "메모" "message": "메모"
@ -2170,7 +2170,7 @@
}, },
"notifications10ActionText": { "notifications10ActionText": {
"message": "설정으로 이동하기", "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." "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."
}, },
"notifications10DescriptionOne": { "notifications10DescriptionOne": {
"message": "향상된 토큰 감지 기능을 현재 이더리움 메인넷과 Polygon, BSC, Avalanche 네트워크에서 이용할 수 있습니다. 더 많은 기능이 준비 중입니다!" "message": "향상된 토큰 감지 기능을 현재 이더리움 메인넷과 Polygon, BSC, Avalanche 네트워크에서 이용할 수 있습니다. 더 많은 기능이 준비 중입니다!"
@ -2275,7 +2275,7 @@
}, },
"notifications8ActionText": { "notifications8ActionText": {
"message": "고급 설정으로 이동하기", "message": "고급 설정으로 이동하기",
"description": "Description on an action button that appears in the What's New popup. Tells the user that if they click it, they will go to our Advanced Settings page." "description": "Description on an action button that appears in the What's New popup. Tells the user that if they click it, they will go to our Advanced settings page."
}, },
"notifications8DescriptionOne": { "notifications8DescriptionOne": {
"message": "MetaMask v10.4.0부터는 Ledger 장치를 MetaMask에 연결할 때 더 이상 Ledger Live를 사용하지 않아도 됩니다.", "message": "MetaMask v10.4.0부터는 Ledger 장치를 MetaMask에 연결할 때 더 이상 Ledger Live를 사용하지 않아도 됩니다.",
@ -2520,7 +2520,7 @@
}, },
"preferredLedgerConnectionType": { "preferredLedgerConnectionType": {
"message": "선호하는 Ledger 연결 유형", "message": "선호하는 Ledger 연결 유형",
"description": "A header for a dropdown in the advanced section of settings. Appears above the ledgerConnectionPreferenceDescription message" "description": "A header for a dropdown in Settings > Advanced. Appears above the ledgerConnectionPreferenceDescription message"
}, },
"preparingSwap": { "preparingSwap": {
"message": "스왑 준비 중..." "message": "스왑 준비 중..."
@ -3710,7 +3710,7 @@
}, },
"toggleTestNetworks": { "toggleTestNetworks": {
"message": "$1 테스트 네트워크", "message": "$1 테스트 네트워크",
"description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open to the advanced settings where users can enable the display of test networks in the network dropdown." "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": { "token": {
"message": "토큰" "message": "토큰"

@ -2216,7 +2216,7 @@
"message": "Welcome sa MetaMask" "message": "Welcome sa MetaMask"
}, },
"welcomeBack": { "welcomeBack": {
"message": "Welcome Back!" "message": "Welcome back!"
}, },
"whatsNew": { "whatsNew": {
"message": "Ano'ng bago", "message": "Ano'ng bago",

@ -747,7 +747,7 @@
}, },
"customGasSettingToolTipMessage": { "customGasSettingToolTipMessage": {
"message": "Use $1 para personalizar o preço do gás. Isso pode parecer confuso se você não estiver familiarizado. Interaja por sua conta e risco.", "message": "Use $1 para personalizar o preço do gás. Isso pode parecer confuso se você não estiver familiarizado. Interaja por sua conta e risco.",
"description": "$1 is key 'advanced' (text: 'Advanced') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'advanced' (text: 'Advanced') separated here so that it can be passed in with bold font-weight"
}, },
"customGasSubTitle": { "customGasSubTitle": {
"message": "Aumentar a taxa pode diminuir o tempo de processamento, mas isso não é garantido." "message": "Aumentar a taxa pode diminuir o tempo de processamento, mas isso não é garantido."
@ -833,7 +833,7 @@
}, },
"depositCrypto": { "depositCrypto": {
"message": "Depositar $1", "message": "Depositar $1",
"description": "$1 represents the cypto symbol to be purchased" "description": "$1 represents the crypto symbol to be purchased"
}, },
"description": { "description": {
"message": "Descrição" "message": "Descrição"
@ -1481,7 +1481,7 @@
}, },
"highGasSettingToolTipMessage": { "highGasSettingToolTipMessage": {
"message": "Alta probabilidade, mesmo em mercados voláteis. Use $1 para cobrir picos no tráfego de rede em razão de coisas como quedas em NFTs populares.", "message": "Alta probabilidade, mesmo em mercados voláteis. Use $1 para cobrir picos no tráfego de rede em razão de coisas como quedas em NFTs populares.",
"description": "$1 is key 'high' (text: 'Aggressive') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'high' (text: 'Aggressive') separated here so that it can be passed in with bold font-weight"
}, },
"highLowercase": { "highLowercase": {
"message": "alta" "message": "alta"
@ -1787,7 +1787,7 @@
}, },
"lowGasSettingToolTipMessage": { "lowGasSettingToolTipMessage": {
"message": "Use $1 para aguardar um preço mais baixo. As estimativas de tempo são muito menos exatas, pois os preços são relativamente imprevisíveis.", "message": "Use $1 para aguardar um preço mais baixo. As estimativas de tempo são muito menos exatas, pois os preços são relativamente imprevisíveis.",
"description": "$1 is key 'low' separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'low' separated here so that it can be passed in with bold font-weight"
}, },
"lowLowercase": { "lowLowercase": {
"message": "baixa" "message": "baixa"
@ -1831,7 +1831,7 @@
}, },
"mediumGasSettingToolTipMessage": { "mediumGasSettingToolTipMessage": {
"message": "Use $1 para um processamento rápido pelo preço atual de mercado.", "message": "Use $1 para um processamento rápido pelo preço atual de mercado.",
"description": "$1 is key 'medium' (text: 'Market') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'medium' (text: 'Market') separated here so that it can be passed in with bold font-weight"
}, },
"memo": { "memo": {
"message": "memorando" "message": "memorando"
@ -2170,7 +2170,7 @@
}, },
"notifications10ActionText": { "notifications10ActionText": {
"message": "Veja em configurações", "message": "Veja em 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." "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."
}, },
"notifications10DescriptionOne": { "notifications10DescriptionOne": {
"message": "A detecção aperfeiçoada de tokens está atualmente disponível nas redes Ethereum Mainnet, Polygon, BSC e Avalanche. Há outras por vir!" "message": "A detecção aperfeiçoada de tokens está atualmente disponível nas redes Ethereum Mainnet, Polygon, BSC e Avalanche. Há outras por vir!"
@ -2275,7 +2275,7 @@
}, },
"notifications8ActionText": { "notifications8ActionText": {
"message": "Ir para Configurações Avançadas", "message": "Ir para Configurações Avançadas",
"description": "Description on an action button that appears in the What's New popup. Tells the user that if they click it, they will go to our Advanced Settings page." "description": "Description on an action button that appears in the What's New popup. Tells the user that if they click it, they will go to our Advanced settings page."
}, },
"notifications8DescriptionOne": { "notifications8DescriptionOne": {
"message": "A partir da MetaMask v10.4.0, não é mais necessário o Ledger Live para conectar o seu dispositivo Ledger à MetaMask.", "message": "A partir da MetaMask v10.4.0, não é mais necessário o Ledger Live para conectar o seu dispositivo Ledger à MetaMask.",
@ -2520,7 +2520,7 @@
}, },
"preferredLedgerConnectionType": { "preferredLedgerConnectionType": {
"message": "Tipo de conexão preferencial com o Ledger", "message": "Tipo de conexão preferencial com o Ledger",
"description": "A header for a dropdown in the advanced section of settings. Appears above the ledgerConnectionPreferenceDescription message" "description": "A header for a dropdown in Settings > Advanced. Appears above the ledgerConnectionPreferenceDescription message"
}, },
"preparingSwap": { "preparingSwap": {
"message": "Preparando swap..." "message": "Preparando swap..."
@ -3710,7 +3710,7 @@
}, },
"toggleTestNetworks": { "toggleTestNetworks": {
"message": "$1 redes de teste", "message": "$1 redes de teste",
"description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open to the advanced settings where users can enable the display of test networks in the network dropdown." "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": { "token": {
"message": "Token" "message": "Token"

@ -1517,7 +1517,7 @@
}, },
"lowGasSettingToolTipMessage": { "lowGasSettingToolTipMessage": {
"message": "Use $1 para aguardar um preço mais baixo. As estimativas de tempo são muito menos exatas, pois os preços são relativamente imprevisíveis.", "message": "Use $1 para aguardar um preço mais baixo. As estimativas de tempo são muito menos exatas, pois os preços são relativamente imprevisíveis.",
"description": "$1 is key 'low' separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'low' separated here so that it can be passed in with bold font-weight"
}, },
"lowLowercase": { "lowLowercase": {
"message": "baixa" "message": "baixa"
@ -1549,7 +1549,7 @@
}, },
"mediumGasSettingToolTipMessage": { "mediumGasSettingToolTipMessage": {
"message": "Use $1 para um processamento rápido pelo preço atual de mercado.", "message": "Use $1 para um processamento rápido pelo preço atual de mercado.",
"description": "$1 is key 'medium' (text: 'Market') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'medium' (text: 'Market') separated here so that it can be passed in with bold font-weight"
}, },
"memo": { "memo": {
"message": "nota" "message": "nota"
@ -1895,7 +1895,7 @@
}, },
"notifications8ActionText": { "notifications8ActionText": {
"message": "Ir para Configurações Avançadas", "message": "Ir para Configurações Avançadas",
"description": "Description on an action button that appears in the What's New popup. Tells the user that if they click it, they will go to our Advanced Settings page." "description": "Description on an action button that appears in the What's New popup. Tells the user that if they click it, they will go to our Advanced settings page."
}, },
"notifications8DescriptionOne": { "notifications8DescriptionOne": {
"message": "A partir da MetaMask v10.4.0, não é mais necessário o Ledger Live para conectar o seu dispositivo Ledger à MetaMask.", "message": "A partir da MetaMask v10.4.0, não é mais necessário o Ledger Live para conectar o seu dispositivo Ledger à MetaMask.",
@ -2069,7 +2069,7 @@
}, },
"preferredLedgerConnectionType": { "preferredLedgerConnectionType": {
"message": "Tipo de conexão preferencial com o Ledger", "message": "Tipo de conexão preferencial com o Ledger",
"description": "A header for a dropdown in the advanced section of settings. Appears above the ledgerConnectionPreferenceDescription message" "description": "A header for a dropdown in Settings > Advanced. Appears above the ledgerConnectionPreferenceDescription message"
}, },
"prev": { "prev": {
"message": "Anterior" "message": "Anterior"
@ -2991,7 +2991,7 @@
}, },
"toggleTestNetworks": { "toggleTestNetworks": {
"message": "$1 redes de teste", "message": "$1 redes de teste",
"description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open to the advanced settings where users can enable the display of test networks in the network dropdown." "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": { "token": {
"message": "Token" "message": "Token"

@ -747,7 +747,7 @@
}, },
"customGasSettingToolTipMessage": { "customGasSettingToolTipMessage": {
"message": "Использовать $1, чтобы настроить цену на газ. Это может сбивать с толку, если вы не знакомы с этим. Взаимодействуйте на свой страх и риск.", "message": "Использовать $1, чтобы настроить цену на газ. Это может сбивать с толку, если вы не знакомы с этим. Взаимодействуйте на свой страх и риск.",
"description": "$1 is key 'advanced' (text: 'Advanced') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'advanced' (text: 'Advanced') separated here so that it can be passed in with bold font-weight"
}, },
"customGasSubTitle": { "customGasSubTitle": {
"message": "Увеличение комиссии может сократить время обработки, но это не гарантируется." "message": "Увеличение комиссии может сократить время обработки, но это не гарантируется."
@ -833,7 +833,7 @@
}, },
"depositCrypto": { "depositCrypto": {
"message": "Внесите $1", "message": "Внесите $1",
"description": "$1 represents the cypto symbol to be purchased" "description": "$1 represents the crypto symbol to be purchased"
}, },
"description": { "description": {
"message": "Описание" "message": "Описание"
@ -1481,7 +1481,7 @@
}, },
"highGasSettingToolTipMessage": { "highGasSettingToolTipMessage": {
"message": "Используйте $1, чтобы компенсировать скачки сетевого трафика из-за таких событий, как дропы популярных NFT.", "message": "Используйте $1, чтобы компенсировать скачки сетевого трафика из-за таких событий, как дропы популярных NFT.",
"description": "$1 is key 'high' (text: 'Aggressive') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'high' (text: 'Aggressive') separated here so that it can be passed in with bold font-weight"
}, },
"highLowercase": { "highLowercase": {
"message": "высокая" "message": "высокая"
@ -1787,7 +1787,7 @@
}, },
"lowGasSettingToolTipMessage": { "lowGasSettingToolTipMessage": {
"message": "Используйте $1, чтобы дождаться более низкой цены. Оценки времени намного менее точны, поскольку цены в некоторой степени непредсказуемы.", "message": "Используйте $1, чтобы дождаться более низкой цены. Оценки времени намного менее точны, поскольку цены в некоторой степени непредсказуемы.",
"description": "$1 is key 'low' separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'low' separated here so that it can be passed in with bold font-weight"
}, },
"lowLowercase": { "lowLowercase": {
"message": "низкая" "message": "низкая"
@ -1831,7 +1831,7 @@
}, },
"mediumGasSettingToolTipMessage": { "mediumGasSettingToolTipMessage": {
"message": "Используйте $1 для быстрой обработки по текущей рыночной цене.", "message": "Используйте $1 для быстрой обработки по текущей рыночной цене.",
"description": "$1 is key 'medium' (text: 'Market') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'medium' (text: 'Market') separated here so that it can be passed in with bold font-weight"
}, },
"memo": { "memo": {
"message": "заметка" "message": "заметка"
@ -2170,7 +2170,7 @@
}, },
"notifications10ActionText": { "notifications10ActionText": {
"message": "Смотреть в настройках", "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." "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."
}, },
"notifications10DescriptionOne": { "notifications10DescriptionOne": {
"message": "Улучшенное обнаружение токенов в настоящее время доступно в сетях Ethereum Mainnet, Polygon, BSC и Avalanche. Это еще не все!" "message": "Улучшенное обнаружение токенов в настоящее время доступно в сетях Ethereum Mainnet, Polygon, BSC и Avalanche. Это еще не все!"
@ -2275,7 +2275,7 @@
}, },
"notifications8ActionText": { "notifications8ActionText": {
"message": "Перейти в Дополнительные настройки", "message": "Перейти в Дополнительные настройки",
"description": "Description on an action button that appears in the What's New popup. Tells the user that if they click it, they will go to our Advanced Settings page." "description": "Description on an action button that appears in the What's New popup. Tells the user that if they click it, they will go to our Advanced settings page."
}, },
"notifications8DescriptionOne": { "notifications8DescriptionOne": {
"message": "Начиная с версии MetaMask 10.4.0, вам больше не требуется Ledger Live для подключения леджера к MetaMask.", "message": "Начиная с версии MetaMask 10.4.0, вам больше не требуется Ledger Live для подключения леджера к MetaMask.",
@ -2520,7 +2520,7 @@
}, },
"preferredLedgerConnectionType": { "preferredLedgerConnectionType": {
"message": "Предпочтительный тип подключения к леджеру", "message": "Предпочтительный тип подключения к леджеру",
"description": "A header for a dropdown in the advanced section of settings. Appears above the ledgerConnectionPreferenceDescription message" "description": "A header for a dropdown in Settings > Advanced. Appears above the ledgerConnectionPreferenceDescription message"
}, },
"preparingSwap": { "preparingSwap": {
"message": "Подготовка обмена..." "message": "Подготовка обмена..."
@ -3710,7 +3710,7 @@
}, },
"toggleTestNetworks": { "toggleTestNetworks": {
"message": "$1 тестовые сети", "message": "$1 тестовые сети",
"description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open to the advanced settings where users can enable the display of test networks in the network dropdown." "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": { "token": {
"message": "Токен" "message": "Токен"

@ -747,7 +747,7 @@
}, },
"customGasSettingToolTipMessage": { "customGasSettingToolTipMessage": {
"message": "Gamitin ang $1 para i-customize ang presyo ng gas. Ito ay maaaring nakakalito kung hindi ka pamilyar. Harapin ang sarili mong panganib.", "message": "Gamitin ang $1 para i-customize ang presyo ng gas. Ito ay maaaring nakakalito kung hindi ka pamilyar. Harapin ang sarili mong panganib.",
"description": "$1 is key 'advanced' (text: 'Advanced') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'advanced' (text: 'Advanced') separated here so that it can be passed in with bold font-weight"
}, },
"customGasSubTitle": { "customGasSubTitle": {
"message": "Kapag dinagdagan ang bayarin, mababawasan ang mga oras ng pagproseso, pero hindi ito garantisado." "message": "Kapag dinagdagan ang bayarin, mababawasan ang mga oras ng pagproseso, pero hindi ito garantisado."
@ -833,7 +833,7 @@
}, },
"depositCrypto": { "depositCrypto": {
"message": "Magdeposito ng $1", "message": "Magdeposito ng $1",
"description": "$1 represents the cypto symbol to be purchased" "description": "$1 represents the crypto symbol to be purchased"
}, },
"description": { "description": {
"message": "Deskripsyon" "message": "Deskripsyon"
@ -1481,7 +1481,7 @@
}, },
"highGasSettingToolTipMessage": { "highGasSettingToolTipMessage": {
"message": "Gamitin ang $1 upang pagtakpan ang mga surge sa network traffic dahil sa mga bagay tulad ng popular na pagbagsak ng NFT.", "message": "Gamitin ang $1 upang pagtakpan ang mga surge sa network traffic dahil sa mga bagay tulad ng popular na pagbagsak ng NFT.",
"description": "$1 is key 'high' (text: 'Aggressive') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'high' (text: 'Aggressive') separated here so that it can be passed in with bold font-weight"
}, },
"highLowercase": { "highLowercase": {
"message": "mataas" "message": "mataas"
@ -1787,7 +1787,7 @@
}, },
"lowGasSettingToolTipMessage": { "lowGasSettingToolTipMessage": {
"message": "Gamitin ang $1 para maghintay ng mas murang presyo. Ang mga pagtatantya sa oras ay hindi gaanong tumpak dahil ang mga presyo ay medyo hindi mahuhulaan.", "message": "Gamitin ang $1 para maghintay ng mas murang presyo. Ang mga pagtatantya sa oras ay hindi gaanong tumpak dahil ang mga presyo ay medyo hindi mahuhulaan.",
"description": "$1 is key 'low' separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'low' separated here so that it can be passed in with bold font-weight"
}, },
"lowLowercase": { "lowLowercase": {
"message": "mababa" "message": "mababa"
@ -1831,7 +1831,7 @@
}, },
"mediumGasSettingToolTipMessage": { "mediumGasSettingToolTipMessage": {
"message": "Gamitin ang $1 para sa pagproseso sa kasalukuyang market price.", "message": "Gamitin ang $1 para sa pagproseso sa kasalukuyang market price.",
"description": "$1 is key 'medium' (text: 'Market') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'medium' (text: 'Market') separated here so that it can be passed in with bold font-weight"
}, },
"memo": { "memo": {
"message": "memo" "message": "memo"
@ -2170,7 +2170,7 @@
}, },
"notifications10ActionText": { "notifications10ActionText": {
"message": "Bisitahin sa mga setting", "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." "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."
}, },
"notifications10DescriptionOne": { "notifications10DescriptionOne": {
"message": "Ang pinahusay na pagtukoy ng token ay kasalukuyang magagamit sa Ethereum Mainnet, Polygon, BSC, at mga Avalanche network. Marami pang darating!" "message": "Ang pinahusay na pagtukoy ng token ay kasalukuyang magagamit sa Ethereum Mainnet, Polygon, BSC, at mga Avalanche network. Marami pang darating!"
@ -2275,7 +2275,7 @@
}, },
"notifications8ActionText": { "notifications8ActionText": {
"message": "Magpunta sa Advanced Settings", "message": "Magpunta sa Advanced Settings",
"description": "Description on an action button that appears in the What's New popup. Tells the user that if they click it, they will go to our Advanced Settings page." "description": "Description on an action button that appears in the What's New popup. Tells the user that if they click it, they will go to our Advanced settings page."
}, },
"notifications8DescriptionOne": { "notifications8DescriptionOne": {
"message": "Para sa MetaMask v10.4.0, hindi mo na kailangang ikonekta ang Ledger Live sa iyong Ledger device sa MetaMask.", "message": "Para sa MetaMask v10.4.0, hindi mo na kailangang ikonekta ang Ledger Live sa iyong Ledger device sa MetaMask.",
@ -2520,7 +2520,7 @@
}, },
"preferredLedgerConnectionType": { "preferredLedgerConnectionType": {
"message": "Napiling Uri ng Ledger Connection", "message": "Napiling Uri ng Ledger Connection",
"description": "A header for a dropdown in the advanced section of settings. Appears above the ledgerConnectionPreferenceDescription message" "description": "A header for a dropdown in Settings > Advanced. Appears above the ledgerConnectionPreferenceDescription message"
}, },
"preparingSwap": { "preparingSwap": {
"message": "Inihahanda ang pagpapalit..." "message": "Inihahanda ang pagpapalit..."
@ -3710,7 +3710,7 @@
}, },
"toggleTestNetworks": { "toggleTestNetworks": {
"message": "$1 na test network", "message": "$1 na test network",
"description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open to the advanced settings where users can enable the display of test networks in the network dropdown." "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": { "token": {
"message": "Token" "message": "Token"

@ -747,7 +747,7 @@
}, },
"customGasSettingToolTipMessage": { "customGasSettingToolTipMessage": {
"message": "Gaz fiyatını özelleştirmek için $1 kullanın. Bu, bilgi sahibi değilseniz kafa karıştırıcı olabilir. Riski size ait olmak üzere kullanın.", "message": "Gaz fiyatını özelleştirmek için $1 kullanın. Bu, bilgi sahibi değilseniz kafa karıştırıcı olabilir. Riski size ait olmak üzere kullanın.",
"description": "$1 is key 'advanced' (text: 'Advanced') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'advanced' (text: 'Advanced') separated here so that it can be passed in with bold font-weight"
}, },
"customGasSubTitle": { "customGasSubTitle": {
"message": "Ücretin artırılması işlem süresini kısaltabilir ancak bu garanti edilmez." "message": "Ücretin artırılması işlem süresini kısaltabilir ancak bu garanti edilmez."
@ -833,7 +833,7 @@
}, },
"depositCrypto": { "depositCrypto": {
"message": "$1 yatır", "message": "$1 yatır",
"description": "$1 represents the cypto symbol to be purchased" "description": "$1 represents the crypto symbol to be purchased"
}, },
"description": { "description": {
"message": "Açıklama" "message": "Açıklama"
@ -1481,7 +1481,7 @@
}, },
"highGasSettingToolTipMessage": { "highGasSettingToolTipMessage": {
"message": "Popüler NFT düşüşleri gibi şeyler nedeniyle ağ trafiğindeki dalgalanmaları kapsayacak şekilde $1 kullanın.", "message": "Popüler NFT düşüşleri gibi şeyler nedeniyle ağ trafiğindeki dalgalanmaları kapsayacak şekilde $1 kullanın.",
"description": "$1 is key 'high' (text: 'Aggressive') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'high' (text: 'Aggressive') separated here so that it can be passed in with bold font-weight"
}, },
"highLowercase": { "highLowercase": {
"message": "yüksek" "message": "yüksek"
@ -1787,7 +1787,7 @@
}, },
"lowGasSettingToolTipMessage": { "lowGasSettingToolTipMessage": {
"message": "Daha ucuz bir fiyat için beklemek için $1 kullanın. Fiyatlar bir şekilde öngörülemez oldukları için süre tahminleri çok daha az kesindir.", "message": "Daha ucuz bir fiyat için beklemek için $1 kullanın. Fiyatlar bir şekilde öngörülemez oldukları için süre tahminleri çok daha az kesindir.",
"description": "$1 is key 'low' separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'low' separated here so that it can be passed in with bold font-weight"
}, },
"lowLowercase": { "lowLowercase": {
"message": "düşük" "message": "düşük"
@ -1831,7 +1831,7 @@
}, },
"mediumGasSettingToolTipMessage": { "mediumGasSettingToolTipMessage": {
"message": "Mevcut piyasa fiyatında hızlı işleme almak için $1 kullanın.", "message": "Mevcut piyasa fiyatında hızlı işleme almak için $1 kullanın.",
"description": "$1 is key 'medium' (text: 'Market') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'medium' (text: 'Market') separated here so that it can be passed in with bold font-weight"
}, },
"memo": { "memo": {
"message": "not" "message": "not"
@ -2170,7 +2170,7 @@
}, },
"notifications10ActionText": { "notifications10ActionText": {
"message": "Ayarlarda ziyaret et", "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." "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."
}, },
"notifications10DescriptionOne": { "notifications10DescriptionOne": {
"message": "Geliştirilmiş token algılama şu anda Ethereum Mainnet, Polygon, BSC ve Avalanche ağlarında mevcut. Daha fazlası gelecek!" "message": "Geliştirilmiş token algılama şu anda Ethereum Mainnet, Polygon, BSC ve Avalanche ağlarında mevcut. Daha fazlası gelecek!"
@ -2275,7 +2275,7 @@
}, },
"notifications8ActionText": { "notifications8ActionText": {
"message": "Gelişmiş ayarlara git", "message": "Gelişmiş ayarlara git",
"description": "Description on an action button that appears in the What's New popup. Tells the user that if they click it, they will go to our Advanced Settings page." "description": "Description on an action button that appears in the What's New popup. Tells the user that if they click it, they will go to our Advanced settings page."
}, },
"notifications8DescriptionOne": { "notifications8DescriptionOne": {
"message": "MetaMask 10.4.0 sürümü itibariyle Kayıt Defteri cihazınızı Metamask'e bağlamak için artık Ledger Live'e ihtiyacınız yok.", "message": "MetaMask 10.4.0 sürümü itibariyle Kayıt Defteri cihazınızı Metamask'e bağlamak için artık Ledger Live'e ihtiyacınız yok.",
@ -2520,7 +2520,7 @@
}, },
"preferredLedgerConnectionType": { "preferredLedgerConnectionType": {
"message": "Tercih Edilen Kayıt Defteri Bağlantı Türü", "message": "Tercih Edilen Kayıt Defteri Bağlantı Türü",
"description": "A header for a dropdown in the advanced section of settings. Appears above the ledgerConnectionPreferenceDescription message" "description": "A header for a dropdown in Settings > Advanced. Appears above the ledgerConnectionPreferenceDescription message"
}, },
"preparingSwap": { "preparingSwap": {
"message": "Takas hazırlanıyor..." "message": "Takas hazırlanıyor..."
@ -3710,7 +3710,7 @@
}, },
"toggleTestNetworks": { "toggleTestNetworks": {
"message": "Test ağlarını $1", "message": "Test ağlarını $1",
"description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open to the advanced settings where users can enable the display of test networks in the network dropdown." "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": { "token": {
"message": "Token" "message": "Token"

@ -747,7 +747,7 @@
}, },
"customGasSettingToolTipMessage": { "customGasSettingToolTipMessage": {
"message": "Sử dụng $1 để tùy chỉnh giá gas. Việc này có thể gây nhầm lẫn nếu bạn không quen thuộc. Bạn phải tự chịu trách nhiệm nếu thực hiện.", "message": "Sử dụng $1 để tùy chỉnh giá gas. Việc này có thể gây nhầm lẫn nếu bạn không quen thuộc. Bạn phải tự chịu trách nhiệm nếu thực hiện.",
"description": "$1 is key 'advanced' (text: 'Advanced') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'advanced' (text: 'Advanced') separated here so that it can be passed in with bold font-weight"
}, },
"customGasSubTitle": { "customGasSubTitle": {
"message": "Việc tăng phí có thể giúp giảm thời gian xử lý, nhưng điều này không được đảm bảo." "message": "Việc tăng phí có thể giúp giảm thời gian xử lý, nhưng điều này không được đảm bảo."
@ -833,7 +833,7 @@
}, },
"depositCrypto": { "depositCrypto": {
"message": "Nạp $1", "message": "Nạp $1",
"description": "$1 represents the cypto symbol to be purchased" "description": "$1 represents the crypto symbol to be purchased"
}, },
"description": { "description": {
"message": "Mô tả" "message": "Mô tả"
@ -1481,7 +1481,7 @@
}, },
"highGasSettingToolTipMessage": { "highGasSettingToolTipMessage": {
"message": "Sử dụng $1 để bù đắp khi lưu lượng mạng lưới tăng vọt trong những trường hợp như phát hành NFT nổi tiếng.", "message": "Sử dụng $1 để bù đắp khi lưu lượng mạng lưới tăng vọt trong những trường hợp như phát hành NFT nổi tiếng.",
"description": "$1 is key 'high' (text: 'Aggressive') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'high' (text: 'Aggressive') separated here so that it can be passed in with bold font-weight"
}, },
"highLowercase": { "highLowercase": {
"message": "cao" "message": "cao"
@ -1787,7 +1787,7 @@
}, },
"lowGasSettingToolTipMessage": { "lowGasSettingToolTipMessage": {
"message": "Sử dụng $1 để chờ mức giá rẻ hơn. Thời gian dự kiến sẽ kém chính xác hơn nhiều do mức giá tương đối khó dự đoán.", "message": "Sử dụng $1 để chờ mức giá rẻ hơn. Thời gian dự kiến sẽ kém chính xác hơn nhiều do mức giá tương đối khó dự đoán.",
"description": "$1 is key 'low' separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'low' separated here so that it can be passed in with bold font-weight"
}, },
"lowLowercase": { "lowLowercase": {
"message": "thấp" "message": "thấp"
@ -1831,7 +1831,7 @@
}, },
"mediumGasSettingToolTipMessage": { "mediumGasSettingToolTipMessage": {
"message": "Sử dụng $1 để xử lý nhanh theo giá thị trường hiện tại.", "message": "Sử dụng $1 để xử lý nhanh theo giá thị trường hiện tại.",
"description": "$1 is key 'medium' (text: 'Market') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'medium' (text: 'Market') separated here so that it can be passed in with bold font-weight"
}, },
"memo": { "memo": {
"message": "bản ghi nhớ" "message": "bản ghi nhớ"
@ -2170,7 +2170,7 @@
}, },
"notifications10ActionText": { "notifications10ActionText": {
"message": "Xem trong cài đặt", "message": "Xem trong 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." "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."
}, },
"notifications10DescriptionOne": { "notifications10DescriptionOne": {
"message": "Tính năng phát hiện token cải tiến hiện đã có sẵn trên Mạng chính thức của Ethereum, mạng Polygon, BSC và Avalanche. Sẽ sớm có thêm nhiều mạng khác!" "message": "Tính năng phát hiện token cải tiến hiện đã có sẵn trên Mạng chính thức của Ethereum, mạng Polygon, BSC và Avalanche. Sẽ sớm có thêm nhiều mạng khác!"
@ -2275,7 +2275,7 @@
}, },
"notifications8ActionText": { "notifications8ActionText": {
"message": "Đến Cài Đặt Nâng Cao", "message": "Đến Cài Đặt Nâng Cao",
"description": "Description on an action button that appears in the What's New popup. Tells the user that if they click it, they will go to our Advanced Settings page." "description": "Description on an action button that appears in the What's New popup. Tells the user that if they click it, they will go to our Advanced settings page."
}, },
"notifications8DescriptionOne": { "notifications8DescriptionOne": {
"message": "Kể từ phiên bản MetaMask v10.4.0, bạn không cần phần mềm Ledger Live để kết nối thiết bị Ledger của mình với MetaMask nữa.", "message": "Kể từ phiên bản MetaMask v10.4.0, bạn không cần phần mềm Ledger Live để kết nối thiết bị Ledger của mình với MetaMask nữa.",
@ -2520,7 +2520,7 @@
}, },
"preferredLedgerConnectionType": { "preferredLedgerConnectionType": {
"message": "Dạng Kết Nối Ledger Ưu Tiên", "message": "Dạng Kết Nối Ledger Ưu Tiên",
"description": "A header for a dropdown in the advanced section of settings. Appears above the ledgerConnectionPreferenceDescription message" "description": "A header for a dropdown in Settings > Advanced. Appears above the ledgerConnectionPreferenceDescription message"
}, },
"preparingSwap": { "preparingSwap": {
"message": "Đang chuẩn bị hoán đổi..." "message": "Đang chuẩn bị hoán đổi..."
@ -3710,7 +3710,7 @@
}, },
"toggleTestNetworks": { "toggleTestNetworks": {
"message": "$1 mạng thử nghiệm", "message": "$1 mạng thử nghiệm",
"description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open to the advanced settings where users can enable the display of test networks in the network dropdown." "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": { "token": {
"message": "Token" "message": "Token"

@ -613,7 +613,7 @@
}, },
"customGasSettingToolTipMessage": { "customGasSettingToolTipMessage": {
"message": "使用$1来定制燃料价格。如果您不熟悉这可能会引起混淆。操作风险自付。", "message": "使用$1来定制燃料价格。如果您不熟悉这可能会引起混淆。操作风险自付。",
"description": "$1 is key 'advanced' (text: 'Advanced') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'advanced' (text: 'Advanced') separated here so that it can be passed in with bold font-weight"
}, },
"customGasSubTitle": { "customGasSubTitle": {
"message": "提升费用可能会缩短处理时间,但不保证绝对有效。" "message": "提升费用可能会缩短处理时间,但不保证绝对有效。"
@ -1233,7 +1233,7 @@
}, },
"highGasSettingToolTipMessage": { "highGasSettingToolTipMessage": {
"message": "使用$1来覆盖网络流量因像流行的 NFT 丢弃而出现的剧增。", "message": "使用$1来覆盖网络流量因像流行的 NFT 丢弃而出现的剧增。",
"description": "$1 is key 'high' (text: 'Aggressive') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'high' (text: 'Aggressive') separated here so that it can be passed in with bold font-weight"
}, },
"highLowercase": { "highLowercase": {
"message": "高" "message": "高"
@ -1484,7 +1484,7 @@
}, },
"lowGasSettingToolTipMessage": { "lowGasSettingToolTipMessage": {
"message": "使用$1等待较便宜的价格。时间估计远不准确,因为价格有些难以预测。", "message": "使用$1等待较便宜的价格。时间估计远不准确,因为价格有些难以预测。",
"description": "$1 is key 'low' separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'low' separated here so that it can be passed in with bold font-weight"
}, },
"lowLowercase": { "lowLowercase": {
"message": "低" "message": "低"
@ -1519,7 +1519,7 @@
}, },
"mediumGasSettingToolTipMessage": { "mediumGasSettingToolTipMessage": {
"message": "使用$1按当前市场价格快速处理。", "message": "使用$1按当前市场价格快速处理。",
"description": "$1 is key 'medium' (text: 'Market') separated here so that it can be passed in with bold fontweight" "description": "$1 is key 'medium' (text: 'Market') separated here so that it can be passed in with bold font-weight"
}, },
"memo": { "memo": {
"message": "备忘" "message": "备忘"
@ -1865,7 +1865,7 @@
}, },
"notifications8ActionText": { "notifications8ActionText": {
"message": "转到高级设置", "message": "转到高级设置",
"description": "Description on an action button that appears in the What's New popup. Tells the user that if they click it, they will go to our Advanced Settings page." "description": "Description on an action button that appears in the What's New popup. Tells the user that if they click it, they will go to our Advanced settings page."
}, },
"notifications8DescriptionOne": { "notifications8DescriptionOne": {
"message": "从MetaMaskv10.4.0开始,您不再需要Ledger Live连接您的Ledger设备到Metamask。", "message": "从MetaMaskv10.4.0开始,您不再需要Ledger Live连接您的Ledger设备到Metamask。",
@ -2039,7 +2039,7 @@
}, },
"preferredLedgerConnectionType": { "preferredLedgerConnectionType": {
"message": "首选Ledger连接类型", "message": "首选Ledger连接类型",
"description": "A header for a dropdown in the advanced section of settings. Appears above the ledgerConnectionPreferenceDescription message" "description": "A header for a dropdown in Settings > Advanced. Appears above the ledgerConnectionPreferenceDescription message"
}, },
"prev": { "prev": {
"message": "上一个" "message": "上一个"
@ -2952,7 +2952,7 @@
}, },
"toggleTestNetworks": { "toggleTestNetworks": {
"message": "$1 测试网络", "message": "$1 测试网络",
"description": "$1 is a clickable link with text defined by the 'showHide' key. The link will open to the advanced settings where users can enable the display of test networks in the network dropdown." "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": { "token": {
"message": "代币" "message": "代币"

@ -105,7 +105,7 @@ describe('MetaMask', function () {
}); });
it('clicks the "Create New Wallet" option', async function () { it('clicks the "Create New Wallet" option', async function () {
await driver.clickElement({ text: 'Create a Wallet', tag: 'button' }); await driver.clickElement({ text: 'Create a wallet', tag: 'button' });
await driver.delay(largeDelayMs); await driver.delay(largeDelayMs);
}); });
@ -307,7 +307,7 @@ describe('MetaMask', function () {
it('picks the newly created Test token', async function () { it('picks the newly created Test token', async function () {
await driver.clickElement({ await driver.clickElement({
text: 'Custom Token', text: 'Custom token',
tag: 'button', tag: 'button',
}); });
await driver.delay(regularDelayMs); await driver.delay(regularDelayMs);
@ -315,10 +315,10 @@ describe('MetaMask', function () {
await driver.fill('#custom-address', tokenAddress); await driver.fill('#custom-address', tokenAddress);
await driver.delay(regularDelayMs); await driver.delay(regularDelayMs);
await driver.clickElement({ text: 'Add Custom Token', tag: 'button' }); await driver.clickElement({ text: 'Add custom token', tag: 'button' });
await driver.delay(regularDelayMs); await driver.delay(regularDelayMs);
await driver.clickElement({ text: 'Import Tokens', tag: 'button' }); await driver.clickElement({ text: 'Import tokens', tag: 'button' });
await driver.delay(regularDelayMs); await driver.delay(regularDelayMs);
}); });

@ -34,7 +34,7 @@ describe('Add account', function () {
await driver.press('#password', driver.Key.ENTER); await driver.press('#password', driver.Key.ENTER);
await driver.clickElement('.account-menu__icon'); await driver.clickElement('.account-menu__icon');
await driver.clickElement({ text: 'Create Account', tag: 'div' }); await driver.clickElement({ text: 'Create account', tag: 'div' });
await driver.fill('.new-account-create-form input', '2nd account'); await driver.fill('.new-account-create-form input', '2nd account');
await driver.clickElement({ text: 'Create', tag: 'button' }); await driver.clickElement({ text: 'Create', tag: 'button' });
@ -65,7 +65,7 @@ describe('Add account', function () {
); );
await driver.clickElement('.account-menu__icon'); await driver.clickElement('.account-menu__icon');
await driver.clickElement({ text: 'Create Account', tag: 'div' }); await driver.clickElement({ text: 'Create account', tag: 'div' });
await driver.fill('.new-account-create-form input', '2nd account'); await driver.fill('.new-account-create-form input', '2nd account');
await driver.clickElement({ text: 'Create', tag: 'button' }); await driver.clickElement({ text: 'Create', tag: 'button' });
@ -89,7 +89,7 @@ describe('Add account', function () {
// generate a third accound // generate a third accound
await driver.clickElement('.account-menu__icon'); await driver.clickElement('.account-menu__icon');
await driver.clickElement({ text: 'Create Account', tag: 'div' }); await driver.clickElement({ text: 'Create account', tag: 'div' });
await driver.fill('.new-account-create-form input', '3rd account'); await driver.fill('.new-account-create-form input', '3rd account');
await driver.clickElement({ text: 'Create', tag: 'button' }); await driver.clickElement({ text: 'Create', tag: 'button' });
@ -146,7 +146,7 @@ describe('Add account', function () {
// recreate a "2nd account" // recreate a "2nd account"
await driver.clickElement('.account-menu__icon'); await driver.clickElement('.account-menu__icon');
await driver.clickElement({ text: 'Create Account', tag: 'div' }); await driver.clickElement({ text: 'Create account', tag: 'div' });
await driver.fill('.new-account-create-form input', '2nd account'); await driver.fill('.new-account-create-form input', '2nd account');
await driver.clickElement({ text: 'Create', tag: 'button' }); await driver.clickElement({ text: 'Create', tag: 'button' });
@ -175,7 +175,7 @@ describe('Add account', function () {
// re-generate a third accound // re-generate a third accound
await driver.clickElement('.account-menu__icon'); await driver.clickElement('.account-menu__icon');
await driver.clickElement({ text: 'Create Account', tag: 'div' }); await driver.clickElement({ text: 'Create account', tag: 'div' });
await driver.fill('.new-account-create-form input', '3rd account'); await driver.fill('.new-account-create-form input', '3rd account');
await driver.clickElement({ text: 'Create', tag: 'button' }); await driver.clickElement({ text: 'Create', tag: 'button' });
@ -217,7 +217,7 @@ describe('Add account', function () {
await driver.delay(regularDelayMs); await driver.delay(regularDelayMs);
await driver.clickElement('.account-menu__icon'); await driver.clickElement('.account-menu__icon');
await driver.clickElement({ text: 'Create Account', tag: 'div' }); await driver.clickElement({ text: 'Create account', tag: 'div' });
await driver.fill('.new-account-create-form input', '2nd account'); await driver.fill('.new-account-create-form input', '2nd account');
await driver.clickElement({ text: 'Create', tag: 'button' }); await driver.clickElement({ text: 'Create', tag: 'button' });
@ -233,7 +233,7 @@ describe('Add account', function () {
// import with private key // import with private key
await driver.clickElement('.account-menu__icon'); await driver.clickElement('.account-menu__icon');
await driver.clickElement({ text: 'Import Account', tag: 'div' }); await driver.clickElement({ text: 'Import account', tag: 'div' });
// enter private key', // enter private key',
await driver.fill('#private-key-box', testPrivateKey); await driver.fill('#private-key-box', testPrivateKey);

@ -88,7 +88,7 @@ describe('Add existing token using search', function () {
tag: 'span', tag: 'span',
}); });
await driver.clickElement({ text: 'Next', tag: 'button' }); await driver.clickElement({ text: 'Next', tag: 'button' });
await driver.clickElement({ text: 'Import Tokens', tag: 'button' }); await driver.clickElement({ text: 'Import tokens', tag: 'button' });
await driver.waitForSelector({ await driver.waitForSelector({
css: '.token-overview__primary-balance', css: '.token-overview__primary-balance',

@ -45,7 +45,7 @@ describe('Auto-Lock Timer', function () {
// Verify the wallet is loccked // Verify the wallet is loccked
const pageTitle = await driver.findElement('.unlock-page__title'); const pageTitle = await driver.findElement('.unlock-page__title');
const unlockButton = await driver.findElement('.unlock-page button'); const unlockButton = await driver.findElement('.unlock-page button');
assert.equal(await pageTitle.getText(), 'Welcome Back!'); assert.equal(await pageTitle.getText(), 'Welcome back!');
assert.equal(await unlockButton.isDisplayed(), true); assert.equal(await unlockButton.isDisplayed(), true);
}, },
); );

@ -62,7 +62,7 @@ describe('Deploy contract and call contract methods', function () {
); );
const completedTx = await driver.findElement('.list-item__title'); const completedTx = await driver.findElement('.list-item__title');
const completedTxText = await completedTx.getText(); const completedTxText = await completedTx.getText();
assert.equal(completedTxText, 'Contract Deployment'); assert.equal(completedTxText, 'Contract deployment');
// calls and confirms a contract method where ETH is sent // calls and confirms a contract method where ETH is sent
await driver.switchToWindow(dapp); await driver.switchToWindow(dapp);

@ -33,7 +33,7 @@ describe('Stores custom RPC history', function () {
await driver.clickElement('.network-display'); await driver.clickElement('.network-display');
await driver.clickElement({ text: 'Add Network', tag: 'button' }); await driver.clickElement({ text: 'Add network', tag: 'button' });
await driver.findElement('.networks-tab__sub-header-text'); await driver.findElement('.networks-tab__sub-header-text');
@ -83,7 +83,7 @@ describe('Stores custom RPC history', function () {
await driver.clickElement('.network-display'); await driver.clickElement('.network-display');
await driver.clickElement({ text: 'Add Network', tag: 'button' }); await driver.clickElement({ text: 'Add network', tag: 'button' });
await driver.findElement('.networks-tab__sub-header-text'); await driver.findElement('.networks-tab__sub-header-text');
@ -121,7 +121,7 @@ describe('Stores custom RPC history', function () {
await driver.clickElement('.network-display'); await driver.clickElement('.network-display');
await driver.clickElement({ text: 'Add Network', tag: 'button' }); await driver.clickElement({ text: 'Add network', tag: 'button' });
await driver.findElement('.networks-tab__sub-header-text'); await driver.findElement('.networks-tab__sub-header-text');
@ -213,7 +213,7 @@ describe('Stores custom RPC history', function () {
await driver.delay(largeDelayMs); await driver.delay(largeDelayMs);
await driver.clickElement('.network-display'); await driver.clickElement('.network-display');
await driver.clickElement({ text: 'Add Network', tag: 'button' }); await driver.clickElement({ text: 'Add network', tag: 'button' });
await driver.findVisibleElement('.settings-page__content'); await driver.findVisibleElement('.settings-page__content');
// // cancel new custom rpc // // cancel new custom rpc

@ -64,7 +64,7 @@ describe.skip('Create token, approve token and approve token without gas', funct
await driver.clickElement({ text: 'import tokens', tag: 'a' }); await driver.clickElement({ text: 'import tokens', tag: 'a' });
await driver.clickElement({ await driver.clickElement({
text: 'Custom Token', text: 'Custom token',
tag: 'button', tag: 'button',
}); });
await driver.waitForSelector('#custom-address'); await driver.waitForSelector('#custom-address');
@ -74,13 +74,13 @@ describe.skip('Create token, approve token and approve token without gas', funct
await driver.delay(2000); await driver.delay(2000);
await driver.clickElement({ await driver.clickElement({
text: 'Add Custom Token', text: 'Add custom token',
tag: 'button', tag: 'button',
}); });
await driver.delay(2000); await driver.delay(2000);
await driver.clickElement({ await driver.clickElement({
text: 'Import Tokens', text: 'Import tokens',
tag: 'button', tag: 'button',
}); });

@ -42,7 +42,7 @@ describe('Eth sign', function () {
'.request-signature__header__text', '.request-signature__header__text',
); );
const origin = await driver.findElement('.request-signature__origin'); const origin = await driver.findElement('.request-signature__origin');
assert.equal(await title.getText(), 'Signature Request'); assert.equal(await title.getText(), 'Signature request');
assert.equal(await origin.getText(), 'http://127.0.0.1:8080'); assert.equal(await origin.getText(), 'http://127.0.0.1:8080');
const personalMessageRow = await driver.findElement( const personalMessageRow = await driver.findElement(

@ -49,7 +49,7 @@ describe('Failing contract interaction ', function () {
); );
const completedTx = await driver.findElement('.list-item__title'); const completedTx = await driver.findElement('.list-item__title');
const completedTxText = await completedTx.getText(); const completedTxText = await completedTx.getText();
assert.equal(completedTxText, 'Contract Deployment'); assert.equal(completedTxText, 'Contract deployment');
// calls failing contract method // calls failing contract method
await driver.switchToWindow(dapp); await driver.switchToWindow(dapp);

@ -77,9 +77,9 @@ describe('MetaMask Import UI', function () {
await driver.clickElement('.network-display'); await driver.clickElement('.network-display');
await driver.clickElement({ text: 'Localhost', tag: 'span' }); await driver.clickElement({ text: 'Localhost', tag: 'span' });
// choose Create Account from the account menu // choose Create account from the account menu
await driver.clickElement('.account-menu__icon'); await driver.clickElement('.account-menu__icon');
await driver.clickElement({ text: 'Create Account', tag: 'div' }); await driver.clickElement({ text: 'Create account', tag: 'div' });
// set account name // set account name
await driver.fill('.new-account-create-form input', '2nd account'); await driver.fill('.new-account-create-form input', '2nd account');
@ -202,9 +202,9 @@ describe('MetaMask Import UI', function () {
await driver.press('#password', driver.Key.ENTER); await driver.press('#password', driver.Key.ENTER);
// Imports an account with private key // Imports an account with private key
// choose Create Account from the account menu // choose Create account from the account menu
await driver.clickElement('.account-menu__icon'); await driver.clickElement('.account-menu__icon');
await driver.clickElement({ text: 'Import Account', tag: 'div' }); await driver.clickElement({ text: 'Import account', tag: 'div' });
// enter private key', // enter private key',
await driver.fill('#private-key-box', testPrivateKey1); await driver.fill('#private-key-box', testPrivateKey1);
@ -231,8 +231,8 @@ describe('MetaMask Import UI', function () {
assert.equal(await importedLabel.getText(), 'IMPORTED'); assert.equal(await importedLabel.getText(), 'IMPORTED');
// Imports and removes an account // Imports and removes an account
// choose Create Account from the account menu // choose Create account from the account menu
await driver.clickElement({ text: 'Import Account', tag: 'div' }); await driver.clickElement({ text: 'Import account', tag: 'div' });
// enter private key // enter private key
await driver.fill('#private-key-box', testPrivateKey2); await driver.fill('#private-key-box', testPrivateKey2);
await driver.clickElement({ text: 'Import', tag: 'button' }); await driver.clickElement({ text: 'Import', tag: 'button' });
@ -306,7 +306,7 @@ describe('MetaMask Import UI', function () {
// Imports an account with JSON file // Imports an account with JSON file
await driver.clickElement('.account-menu__icon'); await driver.clickElement('.account-menu__icon');
await driver.clickElement({ text: 'Import Account', tag: 'div' }); await driver.clickElement({ text: 'Import account', tag: 'div' });
await driver.clickElement('.new-account-import-form__select'); await driver.clickElement('.new-account-import-form__select');
await driver.clickElement({ text: 'JSON File', tag: 'option' }); await driver.clickElement({ text: 'JSON File', tag: 'option' });
@ -379,7 +379,7 @@ describe('MetaMask Import UI', function () {
// choose Import Account from the account menu // choose Import Account from the account menu
await driver.clickElement('.account-menu__icon'); await driver.clickElement('.account-menu__icon');
await driver.clickElement({ text: 'Import Account', tag: 'div' }); await driver.clickElement({ text: 'Import account', tag: 'div' });
// enter private key', // enter private key',
await driver.fill('#private-key-box', testPrivateKey); await driver.fill('#private-key-box', testPrivateKey);
@ -416,10 +416,10 @@ describe('MetaMask Import UI', function () {
await driver.fill('#password', 'correct horse battery staple'); await driver.fill('#password', 'correct horse battery staple');
await driver.press('#password', driver.Key.ENTER); await driver.press('#password', driver.Key.ENTER);
// choose Connect Hardware Wallet from the account menu // choose Connect hardware wallet from the account menu
await driver.clickElement('.account-menu__icon'); await driver.clickElement('.account-menu__icon');
await driver.clickElement({ await driver.clickElement({
text: 'Connect Hardware Wallet', text: 'Connect hardware wallet',
tag: 'div', tag: 'div',
}); });
await driver.delay(regularDelayMs); await driver.delay(regularDelayMs);

@ -42,7 +42,7 @@ describe('Incremental Security', function () {
await driver.clickElement('.btn-secondary'); await driver.clickElement('.btn-secondary');
// clicks the "Create New Wallet" option // clicks the "Create New Wallet" option
await driver.clickElement({ text: 'Create a Wallet', tag: 'button' }); await driver.clickElement({ text: 'Create a wallet', tag: 'button' });
// accepts a secure password // accepts a secure password
await driver.fill( await driver.fill(
@ -156,7 +156,7 @@ describe('Incremental Security', function () {
await driver.clickElement({ text: 'Confirm', tag: 'button' }); await driver.clickElement({ text: 'Confirm', tag: 'button' });
// can click through the success screen // can click through the success screen
await driver.clickElement({ text: 'All Done', tag: 'button' }); await driver.clickElement({ text: 'All done', tag: 'button' });
// should have the correct amount of eth // should have the correct amount of eth
currencyDisplay = await driver.waitForSelector({ currencyDisplay = await driver.waitForSelector({

@ -87,11 +87,11 @@ describe('MetaMask Responsive UI', function () {
}); });
await driver.delay(tinyDelayMs); await driver.delay(tinyDelayMs);
// clicks the "I Agree" option on the metametrics opt-in screen // clicks the "I agree" option on the metametrics opt-in screen
await driver.clickElement('.btn-primary'); await driver.clickElement('.btn-primary');
// clicks the "Create New Wallet" option // clicks the "Create New Wallet" option
await driver.clickElement({ text: 'Create a Wallet', tag: 'button' }); await driver.clickElement({ text: 'Create a wallet', tag: 'button' });
// accepts a secure password // accepts a secure password
await driver.fill( await driver.fill(

@ -222,7 +222,7 @@ describe('Navigate transactions', function () {
// reject transactions // reject transactions
await driver.clickElement({ text: 'Reject 4', tag: 'a' }); await driver.clickElement({ text: 'Reject 4', tag: 'a' });
await driver.clickElement({ text: 'Reject All', tag: 'button' }); await driver.clickElement({ text: 'Reject all', tag: 'button' });
const balance = await driver.findElement( const balance = await driver.findElement(
'[data-testid="eth-overview__primary-currency"]', '[data-testid="eth-overview__primary-currency"]',
); );

@ -174,7 +174,7 @@ describe('Send ERC20 to a 40 character hexadecimal address', function () {
'MetaMask Notification', 'MetaMask Notification',
windowHandles, windowHandles,
); );
await driver.clickElement({ text: 'Add Token', tag: 'button' }); await driver.clickElement({ text: 'Add token', tag: 'button' });
await driver.waitUntilXWindowHandles(2); await driver.waitUntilXWindowHandles(2);
await driver.switchToWindow(extension); await driver.switchToWindow(extension);
@ -273,7 +273,7 @@ describe('Send ERC20 to a 40 character hexadecimal address', function () {
'MetaMask Notification', 'MetaMask Notification',
windowHandles, windowHandles,
); );
await driver.clickElement({ text: 'Add Token', tag: 'button' }); await driver.clickElement({ text: 'Add token', tag: 'button' });
await driver.waitUntilXWindowHandles(2); await driver.waitUntilXWindowHandles(2);
await driver.switchToWindow(extension); await driver.switchToWindow(extension);

@ -57,7 +57,7 @@ describe('Send ERC20 token to contract address', function () {
'MetaMask Notification', 'MetaMask Notification',
windowHandles, windowHandles,
); );
await driver.clickElement({ text: 'Add Token', tag: 'button' }); await driver.clickElement({ text: 'Add token', tag: 'button' });
await driver.waitUntilXWindowHandles(2); await driver.waitUntilXWindowHandles(2);
await driver.switchToWindow(extension); await driver.switchToWindow(extension);

@ -12,14 +12,14 @@ describe('Settings Search', function () {
], ],
}; };
const settingsSearch = { const settingsSearch = {
general: 'Primary Currency', general: 'Primary currency',
advanced: 'State Logs', advanced: 'State logs',
contacts: 'Contacts', contacts: 'Contacts',
security: 'Reveal Secret', security: 'Reveal Secret',
alerts: 'Browsing a website', alerts: 'Browsing a website',
networks: 'Ethereum Mainnet', networks: 'Ethereum Mainnet',
experimental: 'Token Detection', experimental: 'Token Detection',
about: 'Terms of Use', about: 'Terms of use',
}; };
it('should find element inside the General tab', async function () { it('should find element inside the General tab', async function () {

@ -55,7 +55,7 @@ describe('Sign Typed Data V4 Signature Request', function () {
const message = await driver.findElement( const message = await driver.findElement(
'.signature-request-message--node-value', '.signature-request-message--node-value',
); );
assert.equal(await title.getText(), 'Signature Request'); assert.equal(await title.getText(), 'Signature request');
assert.equal(await name.getText(), 'Ether Mail'); assert.equal(await name.getText(), 'Ether Mail');
assert.equal(await origin.getText(), 'http://127.0.0.1:8080'); assert.equal(await origin.getText(), 'http://127.0.0.1:8080');
assert.equal( assert.equal(
@ -137,7 +137,7 @@ describe('Sign Typed Data V3 Signature Request', function () {
const messages = await driver.findElements( const messages = await driver.findElements(
'.signature-request-message--node-value', '.signature-request-message--node-value',
); );
assert.equal(await title.getText(), 'Signature Request'); assert.equal(await title.getText(), 'Signature request');
assert.equal(await name.getText(), 'Ether Mail'); assert.equal(await name.getText(), 'Ether Mail');
assert.equal(await origin.getText(), 'http://127.0.0.1:8080'); assert.equal(await origin.getText(), 'http://127.0.0.1:8080');
assert.equal( assert.equal(
@ -208,7 +208,7 @@ describe('Sign Typed Data Signature Request', function () {
const message = await driver.findElements( const message = await driver.findElements(
'.request-signature__row-value', '.request-signature__row-value',
); );
assert.equal(await title.getText(), 'Signature Request'); assert.equal(await title.getText(), 'Signature request');
assert.equal(await origin.getText(), 'http://127.0.0.1:8080'); assert.equal(await origin.getText(), 'http://127.0.0.1:8080');
assert.equal(await message[0].getText(), 'Hi, Alice!'); assert.equal(await message[0].getText(), 'Hi, Alice!');
assert.equal(await message[1].getText(), '1337'); assert.equal(await message[1].getText(), '1337');

@ -11,7 +11,7 @@ const createDownloadFolder = async () => {
const stateLogsExist = async () => { const stateLogsExist = async () => {
try { try {
const stateLogs = `${downloadsFolder}/MetaMask State Logs.json`; const stateLogs = `${downloadsFolder}/MetaMask state logs.json`;
await fs.access(stateLogs); await fs.access(stateLogs);
return true; return true;
} catch (e) { } catch (e) {
@ -43,12 +43,12 @@ describe('State logs', function () {
await driver.fill('#password', 'correct horse battery staple'); await driver.fill('#password', 'correct horse battery staple');
await driver.press('#password', driver.Key.ENTER); await driver.press('#password', driver.Key.ENTER);
// Download State Logs // Download state logs
await driver.clickElement('.account-menu__icon'); await driver.clickElement('.account-menu__icon');
await driver.clickElement({ text: 'Settings', tag: 'div' }); await driver.clickElement({ text: 'Settings', tag: 'div' });
await driver.clickElement({ text: 'Advanced', tag: 'div' }); await driver.clickElement({ text: 'Advanced', tag: 'div' });
await driver.clickElement({ await driver.clickElement({
text: 'Download State Logs', text: 'Download state logs',
tag: 'button', tag: 'button',
}); });

@ -47,7 +47,7 @@ describe('Swap Eth for another Token', function () {
await driver.clickElement( await driver.clickElement(
'[class="searchable-item-list__primary-label"]', '[class="searchable-item-list__primary-label"]',
); );
await driver.clickElement({ text: 'Review Swap', tag: 'button' }); await driver.clickElement({ text: 'Review swap', tag: 'button' });
await driver.waitForSelector('[class*="box--align-items-center"]'); await driver.waitForSelector('[class*="box--align-items-center"]');
const estimatedEth = await driver.waitForSelector({ const estimatedEth = await driver.waitForSelector({
css: '[class*="box--align-items-center"]', css: '[class*="box--align-items-center"]',

@ -24,7 +24,7 @@ describe('Token Details', function () {
await driver.press('#password', driver.Key.ENTER); await driver.press('#password', driver.Key.ENTER);
await driver.clickElement({ text: 'import tokens', tag: 'a' }); await driver.clickElement({ text: 'import tokens', tag: 'a' });
await driver.clickElement({ text: 'Custom Token', tag: 'button' }); await driver.clickElement({ text: 'Custom token', tag: 'button' });
const tokenAddress = '0x2EFA2Cb29C2341d8E5Ba7D3262C9e9d6f1Bf3711'; const tokenAddress = '0x2EFA2Cb29C2341d8E5Ba7D3262C9e9d6f1Bf3711';
const tokenSymbol = 'AAVE'; const tokenSymbol = 'AAVE';
@ -32,8 +32,8 @@ describe('Token Details', function () {
await driver.fill('#custom-address', tokenAddress); await driver.fill('#custom-address', tokenAddress);
await driver.waitForSelector('#custom-symbol-helper-text'); await driver.waitForSelector('#custom-symbol-helper-text');
await driver.fill('#custom-symbol', tokenSymbol); await driver.fill('#custom-symbol', tokenSymbol);
await driver.clickElement({ text: 'Add Custom Token', tag: 'button' }); await driver.clickElement({ text: 'Add custom token', tag: 'button' });
await driver.clickElement({ text: 'Import Tokens', tag: 'button' }); await driver.clickElement({ text: 'Import tokens', tag: 'button' });
await driver.clickElement('[title="Asset options"]'); await driver.clickElement('[title="Asset options"]');
await driver.clickElement({ text: 'Token details', tag: 'span' }); await driver.clickElement({ text: 'Token details', tag: 'span' });

@ -358,7 +358,7 @@ export default class AccountMenu extends Component {
toggleAccountMenu(); toggleAccountMenu();
trackEvent({ trackEvent({
category: EVENT.CATEGORIES.NAVIGATION, category: EVENT.CATEGORIES.NAVIGATION,
event: 'Clicked Create Account', event: 'Clicked Create account',
properties: { properties: {
action: 'Main Menu', action: 'Main Menu',
legacy_event: true, legacy_event: true,

@ -105,12 +105,12 @@ describe('Account Menu', () => {
describe('Create Account', () => { describe('Create Account', () => {
it('renders create account item', () => { it('renders create account item', () => {
const createAccount = screen.getByText('Create Account'); const createAccount = screen.getByText('Create account');
expect(createAccount).toBeInTheDocument(); expect(createAccount).toBeInTheDocument();
}); });
it('calls toggle menu and push new-account route to history', () => { it('calls toggle menu and push new-account route to history', () => {
const createAccount = screen.getByText('Create Account'); const createAccount = screen.getByText('Create account');
fireEvent.click(createAccount); fireEvent.click(createAccount);
expect(props.toggleAccountMenu.calledOnce).toStrictEqual(true); expect(props.toggleAccountMenu.calledOnce).toStrictEqual(true);
expect(props.history.push.getCall(0).args[0]).toStrictEqual( expect(props.history.push.getCall(0).args[0]).toStrictEqual(
@ -121,12 +121,12 @@ describe('Account Menu', () => {
describe('Import Account', () => { describe('Import Account', () => {
it('renders import account item', () => { it('renders import account item', () => {
const importAccount = screen.getByText('Import Account'); const importAccount = screen.getByText('Import account');
expect(importAccount).toBeInTheDocument(); expect(importAccount).toBeInTheDocument();
}); });
it('calls toggle menu and push /new-account/import route to history', () => { it('calls toggle menu and push /new-account/import route to history', () => {
const importAccount = screen.getByText('Import Account'); const importAccount = screen.getByText('Import account');
fireEvent.click(importAccount); fireEvent.click(importAccount);
expect(props.toggleAccountMenu.calledOnce).toStrictEqual(true); expect(props.toggleAccountMenu.calledOnce).toStrictEqual(true);
expect(props.history.push.getCall(0).args[0]).toStrictEqual( expect(props.history.push.getCall(0).args[0]).toStrictEqual(
@ -135,14 +135,14 @@ describe('Account Menu', () => {
}); });
}); });
describe('Connect Hardware Wallet', () => { describe('Connect hardware wallet', () => {
it('renders import account item', () => { it('renders import account item', () => {
const connectHardwareWallet = screen.getByText('Connect Hardware Wallet'); const connectHardwareWallet = screen.getByText('Connect hardware wallet');
expect(connectHardwareWallet).toBeInTheDocument(); expect(connectHardwareWallet).toBeInTheDocument();
}); });
it('calls toggle menu and push /new-account/connect route to history', () => { it('calls toggle menu and push /new-account/connect route to history', () => {
const connectHardwareWallet = screen.getByText('Connect Hardware Wallet'); const connectHardwareWallet = screen.getByText('Connect hardware wallet');
fireEvent.click(connectHardwareWallet); fireEvent.click(connectHardwareWallet);
expect(props.toggleAccountMenu.calledOnce).toStrictEqual(true); expect(props.toggleAccountMenu.calledOnce).toStrictEqual(true);
expect(props.history.push.getCall(0).args[0]).toStrictEqual( expect(props.history.push.getCall(0).args[0]).toStrictEqual(
@ -155,12 +155,12 @@ describe('Account Menu', () => {
global.platform = { openTab: sinon.spy() }; global.platform = { openTab: sinon.spy() };
it('renders import account item', () => { it('renders import account item', () => {
const support = screen.getByText('Submit a Ticket'); const support = screen.getByText('Submit a ticket');
expect(support).toBeInTheDocument(); expect(support).toBeInTheDocument();
}); });
it('opens support link when clicked', () => { it('opens support link when clicked', () => {
const support = screen.getByText('Submit a Ticket'); const support = screen.getByText('Submit a ticket');
fireEvent.click(support); fireEvent.click(support);
expect(global.platform.openTab.calledOnce).toStrictEqual(true); expect(global.platform.openTab.calledOnce).toStrictEqual(true);
}); });

@ -22,7 +22,7 @@ describe('AdvancedGasControls Component', () => {
it('should not render maxFee and maxPriorityFee inputs if supportsEIP1559 is false', () => { it('should not render maxFee and maxPriorityFee inputs if supportsEIP1559 is false', () => {
const { queryByText } = renderComponent({ supportsEIP1559: false }); const { queryByText } = renderComponent({ supportsEIP1559: false });
expect(queryByText('Gas Limit')).toBeInTheDocument(); expect(queryByText('Gas limit')).toBeInTheDocument();
expect(queryByText('Gas price')).toBeInTheDocument(); expect(queryByText('Gas price')).toBeInTheDocument();
expect(queryByText('Max fee')).not.toBeInTheDocument(); expect(queryByText('Max fee')).not.toBeInTheDocument();
expect(queryByText('Max priority fee')).not.toBeInTheDocument(); expect(queryByText('Max priority fee')).not.toBeInTheDocument();
@ -34,7 +34,7 @@ describe('AdvancedGasControls Component', () => {
supportsEIP1559: true, supportsEIP1559: true,
}); });
expect(queryByText('Gas price')).not.toBeInTheDocument(); expect(queryByText('Gas price')).not.toBeInTheDocument();
expect(queryByText('Gas Limit')).toBeInTheDocument(); expect(queryByText('Gas limit')).toBeInTheDocument();
expect(queryByText('Max fee')).toBeInTheDocument(); expect(queryByText('Max fee')).toBeInTheDocument();
expect(queryByText('Max priority fee')).toBeInTheDocument(); expect(queryByText('Max priority fee')).toBeInTheDocument();
}); });

@ -118,9 +118,9 @@ describe('CancelSpeedupPopover', () => {
expect(screen.queryByText('❌Cancel')).toBeInTheDocument(); expect(screen.queryByText('❌Cancel')).toBeInTheDocument();
}); });
it('should have 🚀Speed Up in header if editGasMode is speedup', async () => { it('should have 🚀Speed up in header if editGasMode is speedup', async () => {
await act(async () => render({ editGasMode: EDIT_GAS_MODES.SPEED_UP })); await act(async () => render({ editGasMode: EDIT_GAS_MODES.SPEED_UP }));
expect(screen.queryByText('🚀Speed Up')).toBeInTheDocument(); expect(screen.queryByText('🚀Speed up')).toBeInTheDocument();
}); });
it('information tooltip should contain the correct text if editGasMode is cancel', async () => { it('information tooltip should contain the correct text if editGasMode is cancel', async () => {
@ -137,7 +137,7 @@ describe('CancelSpeedupPopover', () => {
expect( expect(
InfoTooltip.mock.calls[0][0].contentText.props.children[0], InfoTooltip.mock.calls[0][0].contentText.props.children[0],
).toStrictEqual( ).toStrictEqual(
'To Speed Up a transaction the gas fee must be increased by at least 10% for it to be recognized by the network.', 'To Speed up a transaction the gas fee must be increased by at least 10% for it to be recognized by the network.',
); );
}); });

@ -313,13 +313,13 @@ describe('Collectible Items', () => {
).toHaveBeenCalled(); ).toHaveBeenCalled();
}); });
it('should render a link "Enable Autodetect" when some collectibles are present and collectible auto-detection preference is set to false, which, when clicked sends user to the experimental tab of settings', () => { it('should render a link "Enable autodetect" when some collectibles are present and collectible auto-detection preference is set to false, which, when clicked sends user to the experimental tab of settings', () => {
render({ render({
selectedAddress: ACCOUNT_1, selectedAddress: ACCOUNT_1,
collectibles: COLLECTIBLES, collectibles: COLLECTIBLES,
}); });
expect(historyPushMock).toHaveBeenCalledTimes(0); expect(historyPushMock).toHaveBeenCalledTimes(0);
fireEvent.click(screen.queryByText('Enable Autodetect')); fireEvent.click(screen.queryByText('Enable autodetect'));
expect(historyPushMock).toHaveBeenCalledTimes(1); expect(historyPushMock).toHaveBeenCalledTimes(1);
expect(historyPushMock).toHaveBeenCalledWith(EXPERIMENTAL_ROUTE); expect(historyPushMock).toHaveBeenCalledWith(EXPERIMENTAL_ROUTE);
}); });

@ -70,7 +70,7 @@ describe('Confirm Page Container Content', () => {
expect(queryByText('I want to proceed anyway')).not.toBeInTheDocument(); expect(queryByText('I want to proceed anyway')).not.toBeInTheDocument();
expect(getByText('Confirm').closest('button')).toBeDisabled(); expect(getByText('Confirm').closest('button')).toBeDisabled();
expect( expect(
getByText('Transaction Error. Exception thrown in contract code.'), getByText('Transaction error. Exception thrown in contract code.'),
).toBeInTheDocument(); ).toBeInTheDocument();
const cancelButton = getByText('Reject'); const cancelButton = getByText('Reject');
@ -91,7 +91,7 @@ describe('Confirm Page Container Content', () => {
), ),
).not.toBeInTheDocument(); ).not.toBeInTheDocument();
expect( expect(
queryByText('Transaction Error. Exception thrown in contract code.'), queryByText('Transaction error. Exception thrown in contract code.'),
).not.toBeInTheDocument(); ).not.toBeInTheDocument();
expect(queryByText('I want to proceed anyway')).not.toBeInTheDocument(); expect(queryByText('I want to proceed anyway')).not.toBeInTheDocument();

@ -109,7 +109,7 @@ describe('Network Dropdown', () => {
}); });
it('checks that Add Network button is rendered', () => { it('checks that Add Network button is rendered', () => {
const addNetworkButton = screen.queryByText('Add Network'); const addNetworkButton = screen.queryByText('Add network');
expect(addNetworkButton).toBeInTheDocument(); expect(addNetworkButton).toBeInTheDocument();
}); });
@ -157,7 +157,7 @@ describe('Network Dropdown', () => {
}); });
it('checks that Add Network button is rendered', () => { it('checks that Add Network button is rendered', () => {
const addNetworkButton = screen.queryByText('Add Network'); const addNetworkButton = screen.queryByText('Add network');
expect(addNetworkButton).toBeInTheDocument(); expect(addNetworkButton).toBeInTheDocument();
}); });

@ -279,7 +279,7 @@ export default function EditGasDisplay({
onClick={() => { onClick={() => {
setShowAdvancedForm(!showAdvancedForm); setShowAdvancedForm(!showAdvancedForm);
trackEvent({ trackEvent({
event: 'Clicked "Advanced Options"', event: 'Clicked "Advanced options"',
category: EVENT.CATEGORIES.TRANSACTIONS, category: EVENT.CATEGORIES.TRANSACTIONS,
properties: { properties: {
action: 'Edit Screen', action: 'Edit Screen',

@ -105,7 +105,7 @@ describe('AdvancedGasInputs', () => {
store, store,
); );
expect(queryByText('Gas Price Extremely Low')).toBeInTheDocument(); expect(queryByText('Gas price extremely low')).toBeInTheDocument();
}); });
it('errors when custom gas price is too excessive', () => { it('errors when custom gas price is too excessive', () => {
@ -114,6 +114,6 @@ describe('AdvancedGasInputs', () => {
store, store,
); );
expect(queryByText('Gas Price Is Excessive')).toBeInTheDocument(); expect(queryByText('Gas price is excessive')).toBeInTheDocument();
}); });
}); });

@ -44,7 +44,7 @@ export default function ImportTokenLink() {
onClick={() => { onClick={() => {
history.push(IMPORT_TOKEN_ROUTE); history.push(IMPORT_TOKEN_ROUTE);
trackEvent({ trackEvent({
event: 'Clicked "Add Token"', event: 'Clicked "Add token"',
category: EVENT.CATEGORIES.NAVIGATION, category: EVENT.CATEGORIES.NAVIGATION,
properties: { properties: {
action: 'Token Menu', action: 'Token Menu',

@ -49,7 +49,7 @@ describe('TransactionBreakdown', () => {
).toStrictEqual([ ).toStrictEqual([
['Nonce', '29'], ['Nonce', '29'],
['Amount', '-0.01 ETH'], ['Amount', '-0.01 ETH'],
['Gas Limit (units)', '46890'], ['Gas limit (units)', '46890'],
['Gas price', '2.467043803'], ['Gas price', '2.467043803'],
['Total', '0.01011568ETH'], ['Total', '0.01011568ETH'],
]); ]);
@ -84,12 +84,12 @@ describe('TransactionBreakdown', () => {
).toStrictEqual([ ).toStrictEqual([
['Nonce', '29'], ['Nonce', '29'],
['Amount', '-0.01 ETH'], ['Amount', '-0.01 ETH'],
['Gas Limit (units)', '46890'], ['Gas limit (units)', '46890'],
['Gas Used (units)', '31260'], ['Gas used (units)', '31260'],
['Base Fee (GWEI)', '0.000000007'], ['Base fee (GWEI)', '0.000000007'],
['Priority Fee (GWEI)', '2.467043796'], ['Priority fee (GWEI)', '2.467043796'],
['Total Gas Fee', '0.000077ETH'], ['Total gas fee', '0.000077ETH'],
['Max Fee Per Gas', '0.000000003ETH'], ['Max fee per gas', '0.000000003ETH'],
['Total', '0.01007712ETH'], ['Total', '0.01007712ETH'],
]); ]);
}); });

@ -16,13 +16,13 @@ const basic = {
}; };
const advanced = { const advanced = {
'Network Name': 'Ethereum Mainnet', 'Network name': 'Ethereum Mainnet',
'Chain ID': '1', 'Chain ID': '1',
Ticker: 'ETH', Ticker: 'ETH',
}; };
const tooltips = { const tooltips = {
'Network Name': 'The name that is associated with this network', 'Network name': 'The name that is associated with this network',
'Chain ID': 'The numeric value representing the ID of this network', 'Chain ID': 'The numeric value representing the ID of this network',
Ticker: 'The currency symbol of the primary currency for this network', Ticker: 'The currency symbol of the primary currency for this network',
}; };

@ -79,7 +79,7 @@ export const SendComponent = (args) => (
SendComponent.argTypes = { SendComponent.argTypes = {
secondaryButtonText: { secondaryButtonText: {
control: 'text', control: 'text',
defaultValue: 'Speed Up', defaultValue: 'Speed up',
}, },
cancelButtonText: { cancelButtonText: {
control: 'text', control: 'text',

@ -19,13 +19,13 @@ const basic = {
}; };
const advanced = { const advanced = {
'Network Name': 'Ethereum Mainnet', 'Network name': 'Ethereum Mainnet',
'Chain ID': '1', 'Chain ID': '1',
Ticker: 'ETH', Ticker: 'ETH',
}; };
const tooltips = { const tooltips = {
'Network Name': 'The name that is associated with this network', 'Network name': 'The name that is associated with this network',
'Chain ID': 'The numeric value representing the ID of this network', 'Chain ID': 'The numeric value representing the ID of this network',
Ticker: 'The currency symbol of the primary currency for this network', Ticker: 'The currency symbol of the primary currency for this network',
}; };

@ -65,7 +65,7 @@ const slice = createSlice({
network === MAINNET_NETWORK_ID network === MAINNET_NETWORK_ID
? ENS_NO_ADDRESS_FOR_NAME ? ENS_NO_ADDRESS_FOR_NAME
: ENS_NOT_FOUND_ON_NETWORK; : ENS_NOT_FOUND_ON_NETWORK;
} else if (error.message === 'Illegal Character for ENS.') { } else if (error.message === 'Illegal character for ENS.') {
state.error = ENS_ILLEGAL_CHARACTER; state.error = ENS_ILLEGAL_CHARACTER;
} else { } else {
log.error(error); log.error(error);

@ -10,27 +10,27 @@ const t = (key) => {
case 'general': case 'general':
return 'General'; return 'General';
case 'currencyConversion': case 'currencyConversion':
return 'Currency Conversion'; return 'Currency conversion';
case 'primaryCurrencySetting': case 'primaryCurrencySetting':
return 'Primary Currency'; return 'Primary currency';
case 'primaryCurrencySettingDescription': case 'primaryCurrencySettingDescription':
return 'Select native to prioritize displaying values in the native currency of the chain (e.g. ETH). Select Fiat to prioritize displaying values in your selected fiat currency.'; return 'Select native to prioritize displaying values in the native currency of the chain (e.g. ETH). Select Fiat to prioritize displaying values in your selected fiat currency.';
case 'currentLanguage': case 'currentLanguage':
return 'Current Language'; return 'Current language';
case 'accountIdenticon': case 'accountIdenticon':
return 'Current Language"'; return 'Current language"';
case 'hideZeroBalanceTokens': case 'hideZeroBalanceTokens':
return 'Hide Tokens Without Balance'; return 'Hide tokens without balance';
case 'advanced': case 'advanced':
return 'Advanced'; return 'Advanced';
case 'stateLogs': case 'stateLogs':
return 'State Logs'; return 'State logs';
case 'stateLogsDescription': case 'stateLogsDescription':
return 'State logs contain your public account addresses and sent transactions.'; return 'State logs contain your public account addresses and sent transactions.';
case 'syncWithMobile': case 'syncWithMobile':
return 'Sync with mobile'; return 'Sync with mobile';
case 'resetAccount': case 'resetAccount':
return 'Reset Account'; return 'Reset account';
case 'resetAccountDescription': case 'resetAccountDescription':
return 'Resetting your account will clear your transaction history. This will not change the balances in your accounts or require you to re-enter your Secret Recovery Phrase.'; return 'Resetting your account will clear your transaction history. This will not change the balances in your accounts or require you to re-enter your Secret Recovery Phrase.';
case 'showAdvancedGasInline': case 'showAdvancedGasInline':
@ -38,11 +38,11 @@ const t = (key) => {
case 'showAdvancedGasInlineDescription': case 'showAdvancedGasInlineDescription':
return 'Select this to show gas price and limit controls directly on the send and confirm screens.'; return 'Select this to show gas price and limit controls directly on the send and confirm screens.';
case 'showHexData': case 'showHexData':
return 'Show Hex Data'; return 'Show hex data';
case 'showHexDataDescription': case 'showHexDataDescription':
return 'Select this to show the hex data field on the send screen'; return 'Select this to show the hex data field on the send screen';
case 'showFiatConversionInTestnets': case 'showFiatConversionInTestnets':
return 'Show Conversion on test networks'; return 'Show conversion on test networks';
case 'showFiatConversionInTestnetsDescription': case 'showFiatConversionInTestnetsDescription':
return 'Select this to show fiat conversion on test network'; return 'Select this to show fiat conversion on test network';
case 'showTestnetNetworks': case 'showTestnetNetworks':
@ -54,7 +54,7 @@ const t = (key) => {
case 'nonceFieldDescription': case 'nonceFieldDescription':
return 'Turn this on to change the nonce (transaction number) on confirmation screens. This is an advanced feature, use cautiously.'; return 'Turn this on to change the nonce (transaction number) on confirmation screens. This is an advanced feature, use cautiously.';
case 'autoLockTimeLimit': case 'autoLockTimeLimit':
return 'Auto-Lock Timer (minutes)'; return 'Auto-lock timer (minutes)';
case 'autoLockTimeLimitDescription': case 'autoLockTimeLimitDescription':
return 'Set the idle time in minutes before MetaMask will become locked.'; return 'Set the idle time in minutes before MetaMask will become locked.';
case 'syncWithThreeBox': case 'syncWithThreeBox':
@ -66,7 +66,7 @@ const t = (key) => {
case 'ipfsGatewayDescription': case 'ipfsGatewayDescription':
return 'Enter the URL of the IPFS CID gateway to use for ENS content resolution.'; return 'Enter the URL of the IPFS CID gateway to use for ENS content resolution.';
case 'preferredLedgerConnectionType': case 'preferredLedgerConnectionType':
return 'Preferred Ledger Connection Type'; return 'Preferred ledger connection type';
case 'dismissReminderField': case 'dismissReminderField':
return 'Dismiss Secret Recovery Phrase backup reminder'; return 'Dismiss Secret Recovery Phrase backup reminder';
case 'dismissReminderDescriptionField': case 'dismissReminderDescriptionField':
@ -74,15 +74,15 @@ const t = (key) => {
case 'Contacts': case 'Contacts':
return 'Contacts'; return 'Contacts';
case 'securityAndPrivacy': case 'securityAndPrivacy':
return 'Security & Privacy'; return 'Security & privacy';
case 'revealSeedWords': case 'revealSeedWords':
return 'Reveal Secret Recovery Phrase'; return 'Reveal Secret Recovery Phrase';
case 'showIncomingTransactions': case 'showIncomingTransactions':
return 'Show Incoming Transactions'; return 'Show incoming transactions';
case 'showIncomingTransactionsDescription': case 'showIncomingTransactionsDescription':
return 'Select this to use Etherscan to show incoming transactions in the transactions list'; return 'Select this to use Etherscan to show incoming transactions in the transactions list';
case 'usePhishingDetection': case 'usePhishingDetection':
return 'Use Phishing Detection'; return 'Use phishing detection';
case 'usePhishingDetectionDescription': case 'usePhishingDetectionDescription':
return 'Display a warning for phishing domains targeting Ethereum users'; return 'Display a warning for phishing domains targeting Ethereum users';
case 'participateInMetaMetrics': case 'participateInMetaMetrics':
@ -102,18 +102,18 @@ const t = (key) => {
case 'ropsten': case 'ropsten':
return 'Ropsten Test Network'; return 'Ropsten Test Network';
case 'rinkeby': case 'rinkeby':
return 'Rinkeby Test Network'; return 'Rinkeby test network';
case 'goerli': case 'goerli':
return 'Goerli Test Network'; return 'Goerli test network';
case 'kovan': case 'kovan':
return 'Kovan Test Network'; return 'Kovan test network';
case 'localhost': case 'localhost':
return 'Localhost 8545'; return 'Localhost 8545';
case 'experimental': case 'experimental':
return 'Experimental'; return 'Experimental';
/** TODO: Remove during TOKEN_DETECTION_V2 feature flag clean up */ /** TODO: Remove during TOKEN_DETECTION_V2 feature flag clean up */
case 'useTokenDetection': case 'useTokenDetection':
return 'Use Token Detection'; return 'Use token detection';
case 'useTokenDetectionDescription': case 'useTokenDetectionDescription':
return 'We use third-party APIs to detect and display new tokens sent to your wallet. Turn off if you don’t want MetaMask to pull data from those services.'; return 'We use third-party APIs to detect and display new tokens sent to your wallet. Turn off if you don’t want MetaMask to pull data from those services.';
case 'tokenDetection': case 'tokenDetection':
@ -121,7 +121,7 @@ const t = (key) => {
case 'tokenDetectionToggleDescription': case 'tokenDetectionToggleDescription':
return 'ConsenSys’ token API aggregates a list of tokens from various third party token lists. Turning it off will stop detecting new tokens added to your wallet, but will keep the option to search for tokens to import.'; return 'ConsenSys’ token API aggregates a list of tokens from various third party token lists. Turning it off will stop detecting new tokens added to your wallet, but will keep the option to search for tokens to import.';
case 'enableEIP1559V2': case 'enableEIP1559V2':
return 'Enable Enhanced Gas Fee UI'; return 'Enable enhanced gas fee UI';
case 'enableEIP1559V2Description': case 'enableEIP1559V2Description':
return "We've updated how gas estimation and customization works. Turn on if you'd like to use the new gas experience. Learn more"; return "We've updated how gas estimation and customization works. Turn on if you'd like to use the new gas experience. Learn more";
case 'enableOpenSeaAPI': case 'enableOpenSeaAPI':
@ -141,13 +141,13 @@ const t = (key) => {
case 'links': case 'links':
return 'Links'; return 'Links';
case 'privacyMsg': case 'privacyMsg':
return 'Privacy Policy'; return 'Privacy policy';
case 'terms': case 'terms':
return 'Terms of Use'; return 'Terms of use';
case 'attributions': case 'attributions':
return 'Attributions'; return 'Attributions';
case 'supportCenter': case 'supportCenter':
return 'Visit our Support Center'; return 'Visit our support center';
case 'visitWebSite': case 'visitWebSite':
return 'Visit our web site'; return 'Visit our web site';
case 'contactUs': case 'contactUs':

@ -118,7 +118,7 @@ const expectedResults = [
displayedStatusKey: TRANSACTION_STATUSES.CONFIRMED, displayedStatusKey: TRANSACTION_STATUSES.CONFIRMED,
}, },
{ {
title: 'Contract Deployment', title: 'Contract deployment',
category: TRANSACTION_GROUP_CATEGORIES.INTERACTION, category: TRANSACTION_GROUP_CATEGORIES.INTERACTION,
subtitle: 'metamask.github.io', subtitle: 'metamask.github.io',
subtitleContainsOrigin: true, subtitleContainsOrigin: true,
@ -131,7 +131,7 @@ const expectedResults = [
displayedStatusKey: TRANSACTION_STATUSES.CONFIRMED, displayedStatusKey: TRANSACTION_STATUSES.CONFIRMED,
}, },
{ {
title: 'Safe Transfer From', title: 'Safe transfer from',
category: TRANSACTION_GROUP_CATEGORIES.SEND, category: TRANSACTION_GROUP_CATEGORIES.SEND,
subtitle: 'To: 0xe7d...dd98', subtitle: 'To: 0xe7d...dd98',
subtitleContainsOrigin: true, subtitleContainsOrigin: true,

@ -57,7 +57,7 @@ describe('ConfirmAddSuggestedToken Component', () => {
it('should render', () => { it('should render', () => {
renderComponent(); renderComponent();
expect(screen.getByText('Add Suggested Tokens')).toBeInTheDocument(); expect(screen.getByText('Add suggested tokens')).toBeInTheDocument();
expect( expect(
screen.getByText('Would you like to import these tokens?'), screen.getByText('Would you like to import these tokens?'),
).toBeInTheDocument(); ).toBeInTheDocument();
@ -65,7 +65,7 @@ describe('ConfirmAddSuggestedToken Component', () => {
expect(screen.getByText('Balance')).toBeInTheDocument(); expect(screen.getByText('Balance')).toBeInTheDocument();
expect(screen.getByRole('button', { name: 'Cancel' })).toBeInTheDocument(); expect(screen.getByRole('button', { name: 'Cancel' })).toBeInTheDocument();
expect( expect(
screen.getByRole('button', { name: 'Add Token' }), screen.getByRole('button', { name: 'Add token' }),
).toBeInTheDocument(); ).toBeInTheDocument();
}); });
@ -80,9 +80,9 @@ describe('ConfirmAddSuggestedToken Component', () => {
); );
}); });
it('should dispatch acceptWatchAsset when clicking the "Add Token" button', () => { it('should dispatch acceptWatchAsset when clicking the "Add token" button', () => {
renderComponent(); renderComponent();
const addTokenBtn = screen.getByRole('button', { name: 'Add Token' }); const addTokenBtn = screen.getByRole('button', { name: 'Add token' });
fireEvent.click(addTokenBtn); fireEvent.click(addTokenBtn);
expect(acceptWatchAsset).toHaveBeenCalled(); expect(acceptWatchAsset).toHaveBeenCalled();

@ -53,8 +53,8 @@ describe('ConfirmApproveContent Component', () => {
expect(queryByText('0x9bc5...fef4')).toBeInTheDocument(); expect(queryByText('0x9bc5...fef4')).toBeInTheDocument();
expect(queryByText('Hide full transaction details')).toBeInTheDocument(); expect(queryByText('Hide full transaction details')).toBeInTheDocument();
expect(queryByText('Edit Permission')).toBeInTheDocument(); expect(queryByText('Edit permission')).toBeInTheDocument();
const editPermission = getByText('Edit Permission'); const editPermission = getByText('Edit permission');
fireEvent.click(editPermission); fireEvent.click(editPermission);
expect(props.showEditApprovalPermissionModal).toHaveBeenCalledTimes(1); expect(props.showEditApprovalPermissionModal).toHaveBeenCalledTimes(1);

@ -63,7 +63,7 @@ describe('ConfirmImportToken Component', () => {
it('should render', () => { it('should render', () => {
renderComponent(); renderComponent();
const [title, importTokensBtn] = screen.queryAllByText('Import Tokens'); const [title, importTokensBtn] = screen.queryAllByText('Import tokens');
expect(title).toBeInTheDocument(title); expect(title).toBeInTheDocument(title);
expect( expect(
@ -93,7 +93,7 @@ describe('ConfirmImportToken Component', () => {
expect(mockHistoryPush).toHaveBeenCalledWith(IMPORT_TOKEN_ROUTE); expect(mockHistoryPush).toHaveBeenCalledWith(IMPORT_TOKEN_ROUTE);
}); });
it('should dispatch clearPendingTokens and redirect to the first token page when clicking the "Import Tokens" button', async () => { it('should dispatch clearPendingTokens and redirect to the first token page when clicking the "Import tokens" button', async () => {
const mockFirstPendingTokenAddress = const mockFirstPendingTokenAddress =
'0xe83cccfabd4ed148903bf36d4283ee7c8b3494d1'; '0xe83cccfabd4ed148903bf36d4283ee7c8b3494d1';
const mockPendingTokens = { const mockPendingTokens = {
@ -113,7 +113,7 @@ describe('ConfirmImportToken Component', () => {
renderComponent(mockPendingTokens); renderComponent(mockPendingTokens);
const importTokensBtn = screen.getByRole('button', { const importTokensBtn = screen.getByRole('button', {
name: 'Import Tokens', name: 'Import tokens',
}); });
await fireEvent.click(importTokensBtn); await fireEvent.click(importTokensBtn);

@ -121,7 +121,7 @@ class JsonImportSubview extends Component {
category: EVENT.CATEGORIES.ACCOUNTS, category: EVENT.CATEGORIES.ACCOUNTS,
event: 'Imported Account with JSON', event: 'Imported Account with JSON',
properties: { properties: {
action: 'Import Account', action: 'Import account',
legacy_event: true, legacy_event: true,
}, },
}); });
@ -132,7 +132,7 @@ class JsonImportSubview extends Component {
category: EVENT.CATEGORIES.ACCOUNTS, category: EVENT.CATEGORIES.ACCOUNTS,
event: 'Error importing JSON', event: 'Error importing JSON',
properties: { properties: {
action: 'Import Account', action: 'Import account',
legacy_event: true, legacy_event: true,
}, },
}); });

@ -48,7 +48,7 @@ class PrivateKeyImportView extends Component {
category: EVENT.CATEGORIES.ACCOUNTS, category: EVENT.CATEGORIES.ACCOUNTS,
event: 'Imported Account with Private Key', event: 'Imported Account with Private Key',
properties: { properties: {
action: 'Import Account', action: 'Import account',
legacy_event: true, legacy_event: true,
}, },
}); });
@ -60,7 +60,7 @@ class PrivateKeyImportView extends Component {
category: EVENT.CATEGORIES.ACCOUNTS, category: EVENT.CATEGORIES.ACCOUNTS,
event: 'Error importing with Private Key', event: 'Error importing with Private Key',
properties: { properties: {
action: 'Import Account', action: 'Import account',
legacy_event: true, legacy_event: true,
}, },
}); });

@ -101,7 +101,7 @@ export default class NewAccount extends PureComponent {
category: EVENT.CATEGORIES.ONBOARDING, category: EVENT.CATEGORIES.ONBOARDING,
event: 'Submit Password', event: 'Submit Password',
properties: { properties: {
action: 'Create Password', action: 'Create password',
legacy_event: true, legacy_event: true,
}, },
}); });
@ -117,7 +117,7 @@ export default class NewAccount extends PureComponent {
category: EVENT.CATEGORIES.ONBOARDING, category: EVENT.CATEGORIES.ONBOARDING,
event: 'Check ToS', event: 'Check ToS',
properties: { properties: {
action: 'Create Password', action: 'Create password',
legacy_event: true, legacy_event: true,
}, },
}); });
@ -153,7 +153,7 @@ export default class NewAccount extends PureComponent {
category: EVENT.CATEGORIES.ONBOARDING, category: EVENT.CATEGORIES.ONBOARDING,
event: 'Go Back from Onboarding Create', event: 'Go Back from Onboarding Create',
properties: { properties: {
action: 'Create Password', action: 'Create password',
legacy_event: true, legacy_event: true,
}, },
}); });

@ -7,11 +7,12 @@ import configureStore from '../../store/store';
const store = configureStore(testData); const store = configureStore(testData);
const { metamask } = store.getState(); const { metamask } = store.getState();
export const PersonalAddress = () => <code>{metamask.selectedAddress}</code> export const PersonalAddress = () => <code>{metamask.selectedAddress}</code>;
# ImportToken # ImportToken
The `ImportToken` component allows a user to import custom tokens in one of two ways: The `ImportToken` component allows a user to import custom tokens in one of two ways:
1. By searching for one 1. By searching for one
2. By importing one by `Token Contract Address` 2. By importing one by `Token Contract Address`
@ -21,9 +22,10 @@ The `ImportToken` component allows a user to import custom tokens in one of two
## Example inputs ## Example inputs
An example input that works, to enable the `Add Custom Token` button is `0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA`. An example input that works, to enable the `Add custom token` button is `0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA`.
### Personal address error ### Personal address error
To show the personal address detected error, input the address <PersonalAddress/> in the `Token Contract Address` field. To show the personal address detected error, input the address <PersonalAddress/> in the `Token Contract Address` field.
## Props ## Props

@ -51,18 +51,18 @@ describe('Import Token', () => {
}; };
describe('Import Token', () => { describe('Import Token', () => {
it('add Custom Token button is disabled when no fields are populated', () => { it('add custom token button is disabled when no fields are populated', () => {
const { getByText } = render(); const { getByText } = render();
const customTokenButton = getByText('Custom Token'); const customTokenButton = getByText('Custom token');
fireEvent.click(customTokenButton); fireEvent.click(customTokenButton);
const submit = getByText('Add Custom Token'); const submit = getByText('Add custom token');
expect(submit).toBeDisabled(); expect(submit).toBeDisabled();
}); });
it('edits token address', () => { it('edits token address', () => {
const { getByText } = render(); const { getByText } = render();
const customTokenButton = getByText('Custom Token'); const customTokenButton = getByText('Custom token');
fireEvent.click(customTokenButton); fireEvent.click(customTokenButton);
const tokenAddress = '0x617b3f8050a0BD94b6b1da02B4384eE5B4DF13F4'; const tokenAddress = '0x617b3f8050a0BD94b6b1da02B4384eE5B4DF13F4';
@ -76,7 +76,7 @@ describe('Import Token', () => {
it('edits token symbol', () => { it('edits token symbol', () => {
const { getByText } = render(); const { getByText } = render();
const customTokenButton = getByText('Custom Token'); const customTokenButton = getByText('Custom token');
fireEvent.click(customTokenButton); fireEvent.click(customTokenButton);
const tokenSymbol = 'META'; const tokenSymbol = 'META';
@ -90,7 +90,7 @@ describe('Import Token', () => {
it('edits token decimal precision', () => { it('edits token decimal precision', () => {
const { getByText } = render(); const { getByText } = render();
const customTokenButton = getByText('Custom Token'); const customTokenButton = getByText('Custom token');
fireEvent.click(customTokenButton); fireEvent.click(customTokenButton);
const tokenPrecision = '2'; const tokenPrecision = '2';
@ -104,10 +104,10 @@ describe('Import Token', () => {
it('adds custom tokens successfully', async () => { it('adds custom tokens successfully', async () => {
const { getByText } = render(); const { getByText } = render();
const customTokenButton = getByText('Custom Token'); const customTokenButton = getByText('Custom token');
fireEvent.click(customTokenButton); fireEvent.click(customTokenButton);
const submit = getByText('Add Custom Token'); const submit = getByText('Add custom token');
expect(submit).toBeDisabled(); expect(submit).toBeDisabled();
const tokenAddress = '0x617b3f8050a0BD94b6b1da02B4384eE5B4DF13F4'; const tokenAddress = '0x617b3f8050a0BD94b6b1da02B4384eE5B4DF13F4';
@ -157,10 +157,10 @@ describe('Import Token', () => {
); );
const { getByText } = render(); const { getByText } = render();
const customTokenButton = getByText('Custom Token'); const customTokenButton = getByText('Custom token');
fireEvent.click(customTokenButton); fireEvent.click(customTokenButton);
const submit = getByText('Add Custom Token'); const submit = getByText('Add custom token');
expect(submit).toBeDisabled(); expect(submit).toBeDisabled();
const tokenAddress = '0x617b3f8050a0BD94b6b1da02B4384eE5B4DF13F4'; const tokenAddress = '0x617b3f8050a0BD94b6b1da02B4384eE5B4DF13F4';

@ -20,7 +20,7 @@ describe('Restore vault Component', () => {
}), }),
); );
expect(getByText('Reset Wallet')).toBeInTheDocument(); expect(getByText('Reset wallet')).toBeInTheDocument();
expect( expect(
getByText( getByText(
'MetaMask does not keep a copy of your password. If you’re having trouble unlocking your account, you will need to reset your wallet. You can do this by providing the Secret Recovery Phrase you used when you set up your wallet.', 'MetaMask does not keep a copy of your password. If you’re having trouble unlocking your account, you will need to reset your wallet. You can do this by providing the Secret Recovery Phrase you used when you set up your wallet.',

@ -35,9 +35,9 @@ describe('Secure Your Wallet Onboarding View', () => {
store, store,
); );
const remindMeLaterButton = getByText('Remind me later (not recommended)'); const remindMeLaterButton = getByText('Remind me later (not recommended)');
expect(queryAllByText('Skip Account Security?')).toHaveLength(0); expect(queryAllByText('Skip account security?')).toHaveLength(0);
fireEvent.click(remindMeLaterButton); fireEvent.click(remindMeLaterButton);
expect(queryAllByText('Skip Account Security?')).toHaveLength(1); expect(queryAllByText('Skip account security?')).toHaveLength(1);
}); });
it('should not be able to click "skip" until "Skip Account Security" terms are agreed to', () => { it('should not be able to click "skip" until "Skip Account Security" terms are agreed to', () => {

@ -85,7 +85,7 @@ describe('SendHeader Component', () => {
history: { mostRecentOverviewPage: 'activity' }, history: { mostRecentOverviewPage: 'activity' },
}), }),
); );
expect(getByText('Send Tokens')).toBeTruthy(); expect(getByText('Send tokens')).toBeTruthy();
}); });
it('should render "Edit" for EDIT stage', () => { it('should render "Edit" for EDIT stage', () => {
@ -117,7 +117,7 @@ describe('SendHeader Component', () => {
expect(getByText('Cancel')).toBeTruthy(); expect(getByText('Cancel')).toBeTruthy();
}); });
it('has button label changed to Cancel Edit in editing stage', () => { it('has button label changed to Cancel edit in editing stage', () => {
const { getByText } = renderWithProvider( const { getByText } = renderWithProvider(
<SendHeader />, <SendHeader />,
configureMockStore(middleware)({ configureMockStore(middleware)({
@ -129,7 +129,7 @@ describe('SendHeader Component', () => {
history: { mostRecentOverviewPage: 'activity' }, history: { mostRecentOverviewPage: 'activity' },
}), }),
); );
expect(getByText('Cancel Edit')).toBeTruthy(); expect(getByText('Cancel edit')).toBeTruthy();
}); });
it('resets send state when clicked', () => { it('resets send state when clicked', () => {

@ -11,7 +11,7 @@ describe('Experimental Tab', () => {
setUseTokenDetection: sinon.spy(), setUseTokenDetection: sinon.spy(),
}; };
it('toggles Use Token detection', () => { it('toggles Use token detection', () => {
wrapper = mount(<ExperimentalTab.WrappedComponent {...props} />, { wrapper = mount(<ExperimentalTab.WrappedComponent {...props} />, {
context: { context: {
t: (str) => str, t: (str) => str,
@ -32,7 +32,7 @@ describe('Experimental Tab', () => {
trackEvent: () => undefined, trackEvent: () => undefined,
}, },
}); });
const useTokenDetectionText = wrapper.find({ text: 'Use Token Detection' }); const useTokenDetectionText = wrapper.find({ text: 'Use token detection' });
expect(useTokenDetectionText).toHaveLength(0); expect(useTokenDetectionText).toHaveLength(0);
}); });
}); });

@ -89,11 +89,11 @@ describe('NetworkForm Component', () => {
'A malicious network provider can lie about the state of the blockchain and record your network activity. Only add custom networks you trust.', 'A malicious network provider can lie about the state of the blockchain and record your network activity. Only add custom networks you trust.',
), ),
).toBeInTheDocument(); ).toBeInTheDocument();
expect(queryByText('Network Name')).toBeInTheDocument(); expect(queryByText('Network name')).toBeInTheDocument();
expect(queryByText('New RPC URL')).toBeInTheDocument(); expect(queryByText('New RPC URL')).toBeInTheDocument();
expect(queryByText('Chain ID')).toBeInTheDocument(); expect(queryByText('Chain ID')).toBeInTheDocument();
expect(queryByText('Currency Symbol')).toBeInTheDocument(); expect(queryByText('Currency symbol')).toBeInTheDocument();
expect(queryByText('Block Explorer URL')).toBeInTheDocument(); expect(queryByText('Block explorer URL')).toBeInTheDocument();
expect(queryAllByText('(Optional)')).toHaveLength(1); expect(queryAllByText('(Optional)')).toHaveLength(1);
expect(queryByText('Cancel')).toBeInTheDocument(); expect(queryByText('Cancel')).toBeInTheDocument();
expect(queryByText('Save')).toBeInTheDocument(); expect(queryByText('Save')).toBeInTheDocument();
@ -123,11 +123,11 @@ describe('NetworkForm Component', () => {
it('should render network form correctly', () => { it('should render network form correctly', () => {
const { queryByText, getByDisplayValue } = const { queryByText, getByDisplayValue } =
renderComponent(propNetworkDisplay); renderComponent(propNetworkDisplay);
expect(queryByText('Network Name')).toBeInTheDocument(); expect(queryByText('Network name')).toBeInTheDocument();
expect(queryByText('New RPC URL')).toBeInTheDocument(); expect(queryByText('New RPC URL')).toBeInTheDocument();
expect(queryByText('Chain ID')).toBeInTheDocument(); expect(queryByText('Chain ID')).toBeInTheDocument();
expect(queryByText('Currency Symbol')).toBeInTheDocument(); expect(queryByText('Currency symbol')).toBeInTheDocument();
expect(queryByText('Block Explorer URL')).toBeInTheDocument(); expect(queryByText('Block explorer URL')).toBeInTheDocument();
expect(queryByText('Delete')).toBeInTheDocument(); expect(queryByText('Delete')).toBeInTheDocument();
expect(queryByText('Cancel')).toBeInTheDocument(); expect(queryByText('Cancel')).toBeInTheDocument();
expect(queryByText('Save')).toBeInTheDocument(); expect(queryByText('Save')).toBeInTheDocument();
@ -229,7 +229,7 @@ describe('NetworkForm Component', () => {
renderComponent(propNewNetwork); renderComponent(propNewNetwork);
const chainIdField = screen.getByRole('textbox', { name: 'Chain ID' }); const chainIdField = screen.getByRole('textbox', { name: 'Chain ID' });
const currencySymbolField = screen.getByRole('textbox', { const currencySymbolField = screen.getByRole('textbox', {
name: 'Currency Symbol', name: 'Currency symbol',
}); });
fireEvent.change(chainIdField, { fireEvent.change(chainIdField, {
@ -252,10 +252,10 @@ describe('NetworkForm Component', () => {
expect(await screen.findByText(secondExpectedWarning)).toBeInTheDocument(); expect(await screen.findByText(secondExpectedWarning)).toBeInTheDocument();
}); });
it('should validate block explorer url field correctly', async () => { it('should validate block explorer URL field correctly', async () => {
renderComponent(propNewNetwork); renderComponent(propNewNetwork);
const blockExplorerUrlField = screen.getByRole('textbox', { const blockExplorerUrlField = screen.getByRole('textbox', {
name: 'Block Explorer URL (Optional)', name: 'Block explorer URL (Optional)',
}); });
fireEvent.change(blockExplorerUrlField, { fireEvent.change(blockExplorerUrlField, {
target: { value: '1234' }, target: { value: '1234' },

@ -46,6 +46,6 @@ describe('NetworksListItem Component', () => {
it('should render a test network item correctly', () => { it('should render a test network item correctly', () => {
const { queryByText } = renderComponent(testNetProps); const { queryByText } = renderComponent(testNetProps);
expect(queryByText('Ropsten Test Network')).toBeInTheDocument(); expect(queryByText('Ropsten test network')).toBeInTheDocument();
}); });
}); });

@ -41,9 +41,9 @@ describe('NetworksList Component', () => {
const { queryByText } = renderComponent(props); const { queryByText } = renderComponent(props);
expect(queryByText('Ethereum Mainnet')).toBeInTheDocument(); expect(queryByText('Ethereum Mainnet')).toBeInTheDocument();
expect(queryByText('Ropsten Test Network')).toBeInTheDocument(); expect(queryByText('Ropsten test network')).toBeInTheDocument();
expect(queryByText('Rinkeby Test Network')).toBeInTheDocument(); expect(queryByText('Rinkeby test network')).toBeInTheDocument();
expect(queryByText('Goerli Test Network')).toBeInTheDocument(); expect(queryByText('Goerli test network')).toBeInTheDocument();
expect(queryByText('Kovan Test Network')).toBeInTheDocument(); expect(queryByText('Kovan test network')).toBeInTheDocument();
}); });
}); });

@ -52,16 +52,16 @@ describe('NetworksTabContent Component', () => {
renderComponent(props); renderComponent(props);
expect(queryByText('Ethereum Mainnet')).toBeInTheDocument(); expect(queryByText('Ethereum Mainnet')).toBeInTheDocument();
expect(queryByText('Ropsten Test Network')).toBeInTheDocument(); expect(queryByText('Ropsten test network')).toBeInTheDocument();
expect(queryByText('Rinkeby Test Network')).toBeInTheDocument(); expect(queryByText('Rinkeby test network')).toBeInTheDocument();
expect(queryByText('Goerli Test Network')).toBeInTheDocument(); expect(queryByText('Goerli test network')).toBeInTheDocument();
expect(queryByText('Kovan Test Network')).toBeInTheDocument(); expect(queryByText('Kovan test network')).toBeInTheDocument();
expect(queryByText('Network Name')).toBeInTheDocument(); expect(queryByText('Network name')).toBeInTheDocument();
expect(queryByText('New RPC URL')).toBeInTheDocument(); expect(queryByText('New RPC URL')).toBeInTheDocument();
expect(queryByText('Chain ID')).toBeInTheDocument(); expect(queryByText('Chain ID')).toBeInTheDocument();
expect(queryByText('Currency Symbol')).toBeInTheDocument(); expect(queryByText('Currency symbol')).toBeInTheDocument();
expect(queryByText('Block Explorer URL')).toBeInTheDocument(); expect(queryByText('Block explorer URL')).toBeInTheDocument();
expect(queryByText('Cancel')).toBeInTheDocument(); expect(queryByText('Cancel')).toBeInTheDocument();
expect(queryByText('Save')).toBeInTheDocument(); expect(queryByText('Save')).toBeInTheDocument();

@ -32,21 +32,21 @@ describe('NetworksTab Component', () => {
}); });
expect(queryByText('Ethereum Mainnet')).toBeInTheDocument(); expect(queryByText('Ethereum Mainnet')).toBeInTheDocument();
expect(queryByText('Ropsten Test Network')).toBeInTheDocument(); expect(queryByText('Ropsten test network')).toBeInTheDocument();
expect(queryByText('Rinkeby Test Network')).toBeInTheDocument(); expect(queryByText('Rinkeby test network')).toBeInTheDocument();
expect(queryByText('Goerli Test Network')).toBeInTheDocument(); expect(queryByText('Goerli test network')).toBeInTheDocument();
expect(queryByText('Kovan Test Network')).toBeInTheDocument(); expect(queryByText('Kovan test network')).toBeInTheDocument();
expect(queryByText('Add Network')).toBeInTheDocument(); expect(queryByText('Add network')).toBeInTheDocument();
}); });
it('should render add network form correctly', () => { it('should render add network form correctly', () => {
const { queryByText } = renderComponent({ const { queryByText } = renderComponent({
addNewNetwork: true, addNewNetwork: true,
}); });
expect(queryByText('Network Name')).toBeInTheDocument(); expect(queryByText('Network name')).toBeInTheDocument();
expect(queryByText('New RPC URL')).toBeInTheDocument(); expect(queryByText('New RPC URL')).toBeInTheDocument();
expect(queryByText('Chain ID')).toBeInTheDocument(); expect(queryByText('Chain ID')).toBeInTheDocument();
expect(queryByText('Currency Symbol')).toBeInTheDocument(); expect(queryByText('Currency symbol')).toBeInTheDocument();
expect(queryByText('Block Explorer URL')).toBeInTheDocument(); expect(queryByText('Block explorer URL')).toBeInTheDocument();
expect(queryByText('Cancel')).toBeInTheDocument(); expect(queryByText('Cancel')).toBeInTheDocument();
expect(queryByText('Save')).toBeInTheDocument(); expect(queryByText('Save')).toBeInTheDocument();
}); });

@ -276,7 +276,7 @@ export default function BuildQuote({
const newBalanceError = new BigNumber(newInputValue || 0).gt( const newBalanceError = new BigNumber(newInputValue || 0).gt(
balance || 0, balance || 0,
); );
// "setBalanceError" is just a warning, a user can still click on the "Review Swap" button. // "setBalanceError" is just a warning, a user can still click on the "Review swap" button.
if (balanceError !== newBalanceError) { if (balanceError !== newBalanceError) {
dispatch(setBalanceError(newBalanceError)); dispatch(setBalanceError(newBalanceError));
} }
@ -551,7 +551,7 @@ export default function BuildQuote({
timeoutIdForQuotesPrefetching = setTimeout(() => { timeoutIdForQuotesPrefetching = setTimeout(() => {
timeoutIdForQuotesPrefetching = null; timeoutIdForQuotesPrefetching = null;
if (!isReviewSwapButtonDisabled) { if (!isReviewSwapButtonDisabled) {
// Only do quotes prefetching if the Review Swap button is enabled. // Only do quotes prefetching if the Review swap button is enabled.
prefetchQuotesWithoutRedirecting(); prefetchQuotesWithoutRedirecting();
} }
}, 1000); }, 1000);
@ -858,7 +858,7 @@ export default function BuildQuote({
</div> </div>
<SwapsFooter <SwapsFooter
onSubmit={async () => { onSubmit={async () => {
// We need this to know how long it took to go from clicking on the Review Swap button to rendered View Quote page. // We need this to know how long it took to go from clicking on the Review swap button to rendered View Quote page.
dispatch(setReviewSwapClickedTimestamp(Date.now())); dispatch(setReviewSwapClickedTimestamp(Date.now()));
// In case that quotes prefetching is waiting to be executed, but hasn't started yet, // In case that quotes prefetching is waiting to be executed, but hasn't started yet,
// we want to cancel it and fetch quotes from here. // we want to cancel it and fetch quotes from here.
@ -876,7 +876,7 @@ export default function BuildQuote({
// If there are prefetched quotes already, go directly to the View Quote page. // If there are prefetched quotes already, go directly to the View Quote page.
history.push(VIEW_QUOTE_ROUTE); history.push(VIEW_QUOTE_ROUTE);
} else { } else {
// If the "Review Swap" button was clicked while quotes are being fetched, go to the Loading Quotes page. // If the "Review swap" button was clicked while quotes are being fetched, go to the Loading Quotes page.
await dispatch(setBackgroundSwapRouteState('loading')); await dispatch(setBackgroundSwapRouteState('loading'));
history.push(LOADING_QUOTES_ROUTE); history.push(LOADING_QUOTES_ROUTE);
} }

@ -36,10 +36,10 @@ describe('BuildQuote', () => {
expect(getByText('Swap from')).toBeInTheDocument(); expect(getByText('Swap from')).toBeInTheDocument();
expect(getByText('Swap to')).toBeInTheDocument(); expect(getByText('Swap to')).toBeInTheDocument();
expect(getByText('ETH')).toBeInTheDocument(); expect(getByText('ETH')).toBeInTheDocument();
expect(getByText('Slippage Tolerance')).toBeInTheDocument(); expect(getByText('Slippage tolerance')).toBeInTheDocument();
expect(getByText('2%')).toBeInTheDocument(); expect(getByText('2%')).toBeInTheDocument();
expect(getByText('3%')).toBeInTheDocument(); expect(getByText('3%')).toBeInTheDocument();
expect(getByText('Review Swap')).toBeInTheDocument(); expect(getByText('Review swap')).toBeInTheDocument();
expect( expect(
document.querySelector('.slippage-buttons__button-group'), document.querySelector('.slippage-buttons__button-group'),
).toMatchSnapshot(); ).toMatchSnapshot();

@ -126,7 +126,7 @@ describe('FeeCard', () => {
).toMatchSnapshot(); ).toMatchSnapshot();
}); });
it('renders the component with Smart Transactions enabled and user opted in', () => { it('renders the component with smart transactions enabled and user opted in', () => {
const store = configureMockStore(middleware)(createSwapsMockStore()); const store = configureMockStore(middleware)(createSwapsMockStore());
const props = createProps({ const props = createProps({
smartTransactionsOptInStatus: true, smartTransactionsOptInStatus: true,

@ -7,7 +7,7 @@ exports[`SlippageButtons renders the component with initial props 1`] = `
<div <div
class="slippage-buttons__header-text" class="slippage-buttons__header-text"
> >
Advanced Options Advanced options
</div> </div>
<i <i
class="fa fa-angle-up" class="fa fa-angle-up"
@ -47,14 +47,14 @@ exports[`SlippageButtons renders the component with initial props 2`] = `
</div> </div>
`; `;
exports[`SlippageButtons renders the component with the Smart Transaction opt-in button available 1`] = ` exports[`SlippageButtons renders the component with the smart transaction opt-in button available 1`] = `
<button <button
class="slippage-buttons__header slippage-buttons__header--open" class="slippage-buttons__header slippage-buttons__header--open"
> >
<div <div
class="slippage-buttons__header-text" class="slippage-buttons__header-text"
> >
Advanced Options Advanced options
</div> </div>
<i <i
class="fa fa-angle-up" class="fa fa-angle-up"
@ -62,7 +62,7 @@ exports[`SlippageButtons renders the component with the Smart Transaction opt-in
</button> </button>
`; `;
exports[`SlippageButtons renders the component with the Smart Transaction opt-in button available 2`] = ` exports[`SlippageButtons renders the component with the smart transaction opt-in button available 2`] = `
<div <div
class="button-group slippage-buttons__button-group radio-button-group" class="button-group slippage-buttons__button-group radio-button-group"
role="radiogroup" role="radiogroup"

@ -49,7 +49,7 @@ export default function SlippageButtons({
return 0; return 0;
}); });
const [open, setOpen] = useState(() => { const [open, setOpen] = useState(() => {
return currentSlippage !== SLIPPAGE.DEFAULT; // Only open Advanced Options by default if it's not default slippage. return currentSlippage !== SLIPPAGE.DEFAULT; // Only open Advanced options by default if it's not default slippage.
}); });
const [inputRef, setInputRef] = useState(null); const [inputRef, setInputRef] = useState(null);

@ -21,7 +21,7 @@ describe('SlippageButtons', () => {
expect(getByText('2%')).toBeInTheDocument(); expect(getByText('2%')).toBeInTheDocument();
expect(getByText('3%')).toBeInTheDocument(); expect(getByText('3%')).toBeInTheDocument();
expect(getByText('custom')).toBeInTheDocument(); expect(getByText('custom')).toBeInTheDocument();
expect(getByText('Advanced Options')).toBeInTheDocument(); expect(getByText('Advanced options')).toBeInTheDocument();
expect( expect(
document.querySelector('.slippage-buttons__header'), document.querySelector('.slippage-buttons__header'),
).toMatchSnapshot(); ).toMatchSnapshot();
@ -31,20 +31,20 @@ describe('SlippageButtons', () => {
expect(queryByText('Smart transaction')).not.toBeInTheDocument(); expect(queryByText('Smart transaction')).not.toBeInTheDocument();
}); });
it('renders the component with the Smart Transaction opt-in button available', () => { it('renders the component with the smart transaction opt-in button available', () => {
const { getByText } = renderWithProvider( const { getByText } = renderWithProvider(
<SlippageButtons {...createProps({ smartTransactionsEnabled: true })} />, <SlippageButtons {...createProps({ smartTransactionsEnabled: true })} />,
); );
expect(getByText('2%')).toBeInTheDocument(); expect(getByText('2%')).toBeInTheDocument();
expect(getByText('3%')).toBeInTheDocument(); expect(getByText('3%')).toBeInTheDocument();
expect(getByText('custom')).toBeInTheDocument(); expect(getByText('custom')).toBeInTheDocument();
expect(getByText('Advanced Options')).toBeInTheDocument(); expect(getByText('Advanced options')).toBeInTheDocument();
expect( expect(
document.querySelector('.slippage-buttons__header'), document.querySelector('.slippage-buttons__header'),
).toMatchSnapshot(); ).toMatchSnapshot();
expect( expect(
document.querySelector('.slippage-buttons__button-group'), document.querySelector('.slippage-buttons__button-group'),
).toMatchSnapshot(); ).toMatchSnapshot();
expect(getByText('Smart Transaction')).toBeInTheDocument(); expect(getByText('Smart transaction')).toBeInTheDocument();
}); });
}); });

@ -34,7 +34,7 @@ exports[`SwapsFooter renders the component with initial props 1`] = `
<div <div
class="swaps-footer__bottom-text" class="swaps-footer__bottom-text"
> >
Terms of Service Terms of service
</div> </div>
</div> </div>
</div> </div>

@ -22,7 +22,7 @@ describe('SwapsFooter', () => {
); );
expect(getByText(props.submitText)).toBeInTheDocument(); expect(getByText(props.submitText)).toBeInTheDocument();
expect(getByText('Back')).toBeInTheDocument(); expect(getByText('Back')).toBeInTheDocument();
expect(getByText('Terms of Service')).toBeInTheDocument(); expect(getByText('Terms of service')).toBeInTheDocument();
expect(container).toMatchSnapshot(); expect(container).toMatchSnapshot();
}); });
}); });

@ -276,7 +276,7 @@ describe('TokenDetailsPage', () => {
it('should render token contract address title in token details page', () => { it('should render token contract address title in token details page', () => {
const store = configureMockStore()(state); const store = configureMockStore()(state);
const { getByText } = renderWithProvider(<TokenDetailsPage />, store); const { getByText } = renderWithProvider(<TokenDetailsPage />, store);
expect(getByText('Token Contract Address')).toBeInTheDocument(); expect(getByText('Token contract address')).toBeInTheDocument();
}); });
it('should render token contract address in token details page', () => { it('should render token contract address in token details page', () => {
@ -296,7 +296,7 @@ describe('TokenDetailsPage', () => {
it('should render token decimal title in token details page', () => { it('should render token decimal title in token details page', () => {
const store = configureMockStore()(state); const store = configureMockStore()(state);
const { getByText } = renderWithProvider(<TokenDetailsPage />, store); const { getByText } = renderWithProvider(<TokenDetailsPage />, store);
expect(getByText('Token Decimal:')).toBeInTheDocument(); expect(getByText('Token decimal:')).toBeInTheDocument();
}); });
it('should render number of token decimals in token details page', () => { it('should render number of token decimals in token details page', () => {

Loading…
Cancel
Save