diff --git a/.circleci/config.yml b/.circleci/config.yml
index de5455c9e..f018b76bd 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -309,9 +309,11 @@ jobs:
path: test-artifacts
destination: test-artifacts
# important: generate sesify viz AFTER uploading builds as artifacts
- - run:
- name: build:sesify-viz
- command: ./.circleci/scripts/create-sesify-viz
+ # Temporarily disabled until we can update to a version of `sesify` with
+ # this fix included: https://github.com/LavaMoat/LavaMoat/pull/121
+ # - run:
+ # name: build:sesify-viz
+ # command: ./.circleci/scripts/create-sesify-viz
- store_artifacts:
path: build-artifacts
destination: build-artifacts
diff --git a/.eslintrc.js b/.eslintrc.js
index 68392f022..35541a9ba 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -2,19 +2,19 @@ module.exports = {
root: true,
parser: '@babel/eslint-parser',
parserOptions: {
- 'sourceType': 'module',
- 'ecmaVersion': 2017,
- 'ecmaFeatures': {
- 'experimentalObjectRestSpread': true,
- 'impliedStrict': true,
- 'modules': true,
- 'blockBindings': true,
- 'arrowFunctions': true,
- 'objectLiteralShorthandMethods': true,
- 'objectLiteralShorthandProperties': true,
- 'templateStrings': true,
- 'classes': true,
- 'jsx': true,
+ sourceType: 'module',
+ ecmaVersion: 2017,
+ ecmaFeatures: {
+ experimentalObjectRestSpread: true,
+ impliedStrict: true,
+ modules: true,
+ blockBindings: true,
+ arrowFunctions: true,
+ objectLiteralShorthandMethods: true,
+ objectLiteralShorthandProperties: true,
+ templateStrings: true,
+ classes: true,
+ jsx: true,
},
},
@@ -28,6 +28,9 @@ module.exports = {
'coverage/',
'app/scripts/chromereload.js',
'app/vendor/**',
+ 'test/e2e/send-eth-with-private-key-test/**',
+ 'nyc_output/**',
+ '.vscode/**',
],
extends: [
@@ -38,11 +41,7 @@ module.exports = {
'plugin:react-hooks/recommended',
],
- plugins: [
- '@babel',
- 'react',
- 'import',
- ],
+ plugins: ['@babel', 'react', 'import', 'prettier'],
globals: {
document: 'readonly',
@@ -50,6 +49,67 @@ module.exports = {
},
rules: {
+ // Prettier changes and reasoning
+
+ 'prettier/prettier': 'error',
+
+ // Our usage of spaces before *named* function parens is unusual, and
+ // doesn't match the prettier spec. prettier does not offer an option
+ // to configure this
+ 'space-before-function-paren': [
+ 'error',
+ { anonymous: 'always', named: 'never' },
+ ],
+ // Our eslint config has the default setting for this as error. This
+ // include beforeBlockComment: true, but in order to match the prettier
+ // spec you have to enable before and after blocks, objects and arrays
+ // https://github.com/prettier/eslint-config-prettier#lines-around-comment
+ 'lines-around-comment': [
+ 'error',
+ {
+ beforeBlockComment: true,
+ afterLineComment: false,
+ allowBlockStart: true,
+ allowBlockEnd: true,
+ allowObjectStart: true,
+ allowObjectEnd: true,
+ allowArrayStart: true,
+ allowArrayEnd: true,
+ },
+ ],
+ // Prettier has some opinions on mixed-operators, and there is ongoing work
+ // to make the output code clear. It is better today then it was when the first
+ // PR to add prettier. That being said, the workaround for keeping this rule enabled
+ // requires breaking parts of operations into different variables -- which I believe
+ // to be worse. https://github.com/prettier/eslint-config-prettier#no-mixed-operators
+ 'no-mixed-operators': 'off',
+ // Prettier wraps single line functions with ternaries, etc in parens by default, but
+ // if the line is long enough it breaks it into a separate line and removes the parens.
+ // The second behavior conflicts with this rule. There is some guides on the repo about
+ // how you can keep it enabled:
+ // https://github.com/prettier/eslint-config-prettier#no-confusing-arrow
+ // However, in practice this conflicts with prettier adding parens around short lines,
+ // when autofixing in vscode and others.
+ 'no-confusing-arrow': 'off',
+ // There is no configuration in prettier for how it stylizes regexes, which conflicts
+ // with wrap-regex.
+ 'wrap-regex': 'off',
+ // Prettier handles all indentation automagically. it can be configured here
+ // https://prettier.io/docs/en/options.html#tab-width but the default matches our
+ // style.
+ indent: 'off',
+ // This rule conflicts with the way that prettier breaks code across multiple lines when
+ // it exceeds the maximum length. Prettier optimizes for readability while simultaneously
+ // maximizing the amount of code per line.
+ 'function-paren-newline': 'off',
+ // This rule throws an error when there is a line break in an arrow function declaration
+ // but prettier breaks arrow function declarations to be as readable as possible while
+ // still conforming to the width rules.
+ 'implicit-arrow-linebreak': 'off',
+ // This rule would result in an increase in white space in lines with generator functions,
+ // which impacts prettier's goal of maximizing code per line and readability. There is no
+ // current workaround.
+ 'generator-star-spacing': 'off',
'default-param-last': 'off',
'require-atomic-updates': 'off',
'import/no-unassigned-import': 'off',
@@ -57,29 +117,32 @@ module.exports = {
'react/no-unused-prop-types': 'error',
'react/no-unused-state': 'error',
'react/jsx-boolean-value': 'error',
- 'react/jsx-curly-brace-presence': ['error', { 'props': 'never', 'children': 'never' }],
+ 'react/jsx-curly-brace-presence': [
+ 'error',
+ { props: 'never', children: 'never' },
+ ],
'react/jsx-equals-spacing': 'error',
'react/no-deprecated': 'error',
'react/default-props-match-prop-types': 'error',
- 'react/jsx-closing-tag-location': 'error',
+ 'react/jsx-closing-tag-location': [
+ 'error',
+ { selfClosing: 'tag-aligned', nonEmpty: 'tag-aligned' },
+ ],
'react/jsx-no-duplicate-props': 'error',
'react/jsx-closing-bracket-location': 'error',
'react/jsx-first-prop-new-line': ['error', 'multiline'],
- 'react/jsx-max-props-per-line': ['error', { 'maximum': 1, 'when': 'multiline' }],
- 'react/jsx-tag-spacing': ['error', {
- 'closingSlash': 'never',
- 'beforeSelfClosing': 'always',
- 'afterOpening': 'never',
- }],
- 'react/jsx-wrap-multilines': ['error', {
- 'declaration': 'parens-new-line',
- 'assignment': 'parens-new-line',
- 'return': 'parens-new-line',
- 'arrow': 'parens-new-line',
- 'condition': 'parens-new-line',
- 'logical': 'parens-new-line',
- 'prop': 'parens-new-line',
- }],
+ 'react/jsx-max-props-per-line': [
+ 'error',
+ { maximum: 1, when: 'multiline' },
+ ],
+ 'react/jsx-tag-spacing': [
+ 'error',
+ {
+ closingSlash: 'never',
+ beforeSelfClosing: 'always',
+ afterOpening: 'never',
+ },
+ ],
'no-invalid-this': 'off',
'@babel/no-invalid-this': 'error',
@@ -93,67 +156,59 @@ module.exports = {
'node/no-unpublished-import': 'off',
'node/no-unpublished-require': 'off',
},
-
- overrides: [{
- files: [
- 'test/e2e/**/*.js',
- ],
- rules: {
- 'mocha/no-hooks-for-single-case': 'off',
+ overrides: [
+ {
+ files: ['test/e2e/**/*.js'],
+ rules: {
+ 'mocha/no-hooks-for-single-case': 'off',
+ },
},
- }, {
- files: [
- 'app/scripts/migrations/*.js',
- '*.stories.js',
- ],
- rules: {
- 'import/no-anonymous-default-export': ['error', { 'allowObject': true }],
+ {
+ files: ['app/scripts/migrations/*.js', '*.stories.js'],
+ rules: {
+ 'import/no-anonymous-default-export': ['error', { allowObject: true }],
+ },
},
- }, {
- files: [
- 'app/scripts/migrations/*.js',
- ],
- rules: {
- 'node/global-require': 'off',
+ {
+ files: ['app/scripts/migrations/*.js'],
+ rules: {
+ 'node/global-require': 'off',
+ },
},
- }, {
- files: [
- 'test/**/*-test.js',
- 'test/**/*.spec.js',
- ],
- rules: {
- // Mocha will re-assign `this` in a test context
- '@babel/no-invalid-this': 'off',
+ {
+ files: ['test/**/*-test.js', 'test/**/*.spec.js'],
+ rules: {
+ // Mocha will re-assign `this` in a test context
+ '@babel/no-invalid-this': 'off',
+ },
},
- }, {
- files: [
- 'development/**/*.js',
- 'test/e2e/benchmark.js',
- 'test/helper.js',
- ],
- rules: {
- 'node/no-process-exit': 'off',
- 'node/shebang': 'off',
+ {
+ files: ['development/**/*.js', 'test/e2e/benchmark.js', 'test/helper.js'],
+ rules: {
+ 'node/no-process-exit': 'off',
+ 'node/shebang': 'off',
+ },
},
- }, {
- files: [
- '.eslintrc.js',
- 'babel.config.js',
- 'nyc.config.js',
- 'stylelint.config.js',
- 'development/**/*.js',
- 'test/e2e/**/*.js',
- 'test/env.js',
- 'test/setup.js',
- ],
- parserOptions: {
- sourceType: 'script',
+ {
+ files: [
+ '.eslintrc.js',
+ 'babel.config.js',
+ 'nyc.config.js',
+ 'stylelint.config.js',
+ 'development/**/*.js',
+ 'test/e2e/**/*.js',
+ 'test/env.js',
+ 'test/setup.js',
+ ],
+ parserOptions: {
+ sourceType: 'script',
+ },
},
- }],
+ ],
settings: {
- 'react': {
- 'version': 'detect',
+ react: {
+ version: 'detect',
},
},
}
diff --git a/.prettierignore b/.prettierignore
index c2dd4a632..5428362b5 100644
--- a/.prettierignore
+++ b/.prettierignore
@@ -6,3 +6,4 @@ coverage/
app/vendor/**
.nyc_output/**
.vscode/**
+test/e2e/send-eth-with-private-key-test/**
diff --git a/.prettierrc.yml b/.prettierrc.yml
new file mode 100644
index 000000000..0d65e758a
--- /dev/null
+++ b/.prettierrc.yml
@@ -0,0 +1,3 @@
+singleQuote: true
+semi: false
+trailingComma: all
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a8f60149e..4b718461b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,40 @@
## Current Develop Branch
- [#9612](https://github.com/MetaMask/metamask-extension/pull/9612): Update main-quote-summary designs/styles
+## 8.1.4 Tue Nov 10 2020
+- [#9687](https://github.com/MetaMask/metamask-extension/pull/9687): Allow speeding up of underpriced transactions
+- [#9694](https://github.com/MetaMask/metamask-extension/pull/9694): normalize UI component font styles
+- [#9695](https://github.com/MetaMask/metamask-extension/pull/9695): normalize app component font styles
+- [#9696](https://github.com/MetaMask/metamask-extension/pull/9696): normalize deprecated itcss font styles
+- [#9697](https://github.com/MetaMask/metamask-extension/pull/9697): normalize page font styles
+- [#9740](https://github.com/MetaMask/metamask-extension/pull/9740): Standardize network settings page
+- [#9750](https://github.com/MetaMask/metamask-extension/pull/9750): Make swap arrows accessible, make swaps advanced options accessible
+- [#9766](https://github.com/MetaMask/metamask-extension/pull/9766): Use 1px borders on inputs and buttons
+- [#9767](https://github.com/MetaMask/metamask-extension/pull/9767): Remove border radius from transfer button
+- [#9764](https://github.com/MetaMask/metamask-extension/pull/9764): Update custom RPC network dropdown icons
+- [#9763](https://github.com/MetaMask/metamask-extension/pull/9763): Add confirmation for network dropdown delete action
+- [#9583](https://github.com/MetaMask/metamask-extension/pull/9583): Use `chainId` for incoming transactions controller
+- [#9748](https://github.com/MetaMask/metamask-extension/pull/9748): Autofocus input, improve accessibility of restore page
+- [#9778](https://github.com/MetaMask/metamask-extension/pull/9778): Shorten unit input width and use ellipses for overflow
+- [#9746](https://github.com/MetaMask/metamask-extension/pull/9746): Make the login screen's Restore and Import links accessible
+- [#9780](https://github.com/MetaMask/metamask-extension/pull/9780): Display decimal chain ID in network form
+- [#9599](https://github.com/MetaMask/metamask-extension/pull/9599): Use MetaSwap API for gas price estimation in swaps
+- [#9518](https://github.com/MetaMask/metamask-extension/pull/9518): Make all UI tabs accessible via keyboard
+- [#9808](https://github.com/MetaMask/metamask-extension/pull/9808): Always allow overwriting invalid custom RPC chain ID
+- [#9812](https://github.com/MetaMask/metamask-extension/pull/9812): Fix send header cancel button alignment
+- [#9271](https://github.com/MetaMask/metamask-extension/pull/9271): Do not check popupIsOpen on Vivaldi
+- [#9306](https://github.com/MetaMask/metamask-extension/pull/9306): Fix UI crash when dapp submits negative gas price
+- [#9257](https://github.com/MetaMask/metamask-extension/pull/9257): Add sort and search to AddRecipient accounts list
+- [#9824](https://github.com/MetaMask/metamask-extension/pull/9824): Move `externally_connectable` from base to Chrome manifest
+- [#9815](https://github.com/MetaMask/metamask-extension/pull/9815): Add support for custom network RPC URL with basic auth
+- [#9822](https://github.com/MetaMask/metamask-extension/pull/9822): Make QR code button focusable
+- [#9832](https://github.com/MetaMask/metamask-extension/pull/9832): Warn instead of throw on duplicate web3
+- [#9838](https://github.com/MetaMask/metamask-extension/pull/9838): @metamask/controllers@4.0.0
+- [#9856](https://github.com/MetaMask/metamask-extension/pull/9856): Prevent user from getting stuck on opt in page
+- [#9845](https://github.com/MetaMask/metamask-extension/pull/9845): Show a 'send eth' button on home screen in full screen mode
+- [#9871](https://github.com/MetaMask/metamask-extension/pull/9871): Show send text upon hover in main asset list
+- [#9880](https://github.com/MetaMask/metamask-extension/pull/9880): Properly detect U2F errors in hardware wallet
+
## 8.1.3 Mon Oct 26 2020
- [#9642](https://github.com/MetaMask/metamask-extension/pull/9642) Prevent excessive overflow from swap dropdowns
- [#9658](https://github.com/MetaMask/metamask-extension/pull/9658): Fix sorting Quote Source column of quote sort list
diff --git a/app/_locales/am/messages.json b/app/_locales/am/messages.json
index 12af3e796..a62e23ddc 100644
--- a/app/_locales/am/messages.json
+++ b/app/_locales/am/messages.json
@@ -164,9 +164,6 @@
"cancel": {
"message": "ሰርዝ"
},
- "cancelAttempt": {
- "message": "ሙከራን ሰርዝ"
- },
"cancellationGasFee": {
"message": "የስረዛ ነዳጅ ወጪ"
},
@@ -308,9 +305,6 @@
"deleteNetworkDescription": {
"message": "ይህን አውታረ መረብ ለመሰረዝ እንደሚፈልጉ እርግጠኛ ነዎት?"
},
- "deposit": {
- "message": "ማጠራቀም"
- },
"depositEther": {
"message": "Ether አስቀምጥ"
},
@@ -737,7 +731,7 @@
"optionalBlockExplorerUrl": {
"message": "ኤክስፕሎረር URL አግድ (አማራጭ)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "ምልክት (አማራጭ)"
},
"orderOneHere": {
@@ -985,9 +979,6 @@
"sentEther": {
"message": "የተላከ ether"
},
- "sentTokens": {
- "message": "የተላኩ ተለዋጭ ስሞች"
- },
"separateEachWord": {
"message": "እያንዳንዱን ቃል በነጠላ ክፍት ቦታ ይለያዩ"
},
diff --git a/app/_locales/ar/messages.json b/app/_locales/ar/messages.json
index 8d5806599..b868e8dd5 100644
--- a/app/_locales/ar/messages.json
+++ b/app/_locales/ar/messages.json
@@ -164,9 +164,6 @@
"cancel": {
"message": "إلغاء"
},
- "cancelAttempt": {
- "message": "إلغاء المحاولة"
- },
"cancellationGasFee": {
"message": "رسوم الإلغاء بعملة جاس"
},
@@ -308,9 +305,6 @@
"deleteNetworkDescription": {
"message": "هل أنت متأكد أنك تريد حذف هذه الشبكة؟"
},
- "deposit": {
- "message": "إيداع"
- },
"depositEther": {
"message": "إيداع عملة إيثير"
},
@@ -733,7 +727,7 @@
"optionalBlockExplorerUrl": {
"message": "العنوان الإلكتروني لمستكشف البلوكات (اختياري)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "الرمز (اختياري)"
},
"orderOneHere": {
@@ -981,9 +975,6 @@
"sentEther": {
"message": "أرسل عملة إيثير"
},
- "sentTokens": {
- "message": "العملات الرمزية المرسلة"
- },
"separateEachWord": {
"message": "افصل كل كلمة بمسافة واحدة"
},
diff --git a/app/_locales/bg/messages.json b/app/_locales/bg/messages.json
index 70dcf4e41..cc42761e2 100644
--- a/app/_locales/bg/messages.json
+++ b/app/_locales/bg/messages.json
@@ -164,9 +164,6 @@
"cancel": {
"message": "Отказ"
},
- "cancelAttempt": {
- "message": "Отмяна на опита"
- },
"cancellationGasFee": {
"message": "Такса в газ за анулиране "
},
@@ -308,9 +305,6 @@
"deleteNetworkDescription": {
"message": "Наистина ли искате да изтриете тази мрежа?"
},
- "deposit": {
- "message": "Депозит"
- },
"depositEther": {
"message": "Депозирайте етер"
},
@@ -736,7 +730,7 @@
"optionalBlockExplorerUrl": {
"message": "Блокиране на Explorer URL (по избор)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "Символ (по избор)"
},
"orderOneHere": {
@@ -984,9 +978,6 @@
"sentEther": {
"message": "изпратен етер"
},
- "sentTokens": {
- "message": "изпратени жетони"
- },
"separateEachWord": {
"message": "Отделете всяка дума с интервал"
},
diff --git a/app/_locales/bn/messages.json b/app/_locales/bn/messages.json
index 63ce2ed82..cfc2d49bd 100644
--- a/app/_locales/bn/messages.json
+++ b/app/_locales/bn/messages.json
@@ -164,9 +164,6 @@
"cancel": {
"message": "বাতিল করুন"
},
- "cancelAttempt": {
- "message": "প্রচেষ্টা বাতিল করুন"
- },
"cancellationGasFee": {
"message": "বাতিল করার গ্যাস ফী"
},
@@ -308,9 +305,6 @@
"deleteNetworkDescription": {
"message": "আপনি কি এই নেটওয়ার্কটি মোছার বিষয়ে নিশ্চিত?"
},
- "deposit": {
- "message": "জমা "
- },
"depositEther": {
"message": "ইথার জমা করুন"
},
@@ -740,7 +734,7 @@
"optionalBlockExplorerUrl": {
"message": "এক্সপ্লোরার URL ব্লক করুন (ঐচ্ছিক)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "প্রতীক (ঐচ্ছিক)"
},
"orderOneHere": {
@@ -988,9 +982,6 @@
"sentEther": {
"message": "পাঠানো ইথার "
},
- "sentTokens": {
- "message": "টোকেনগুলি পাঠান"
- },
"separateEachWord": {
"message": "প্রতিটি শব্দকে একটি স্পেস দিয়ে আলাদা করুন"
},
diff --git a/app/_locales/ca/messages.json b/app/_locales/ca/messages.json
index 759264ec0..d1060d8bd 100644
--- a/app/_locales/ca/messages.json
+++ b/app/_locales/ca/messages.json
@@ -161,9 +161,6 @@
"cancel": {
"message": "Cancel·la"
},
- "cancelAttempt": {
- "message": "Cancel·la l'intent"
- },
"cancellationGasFee": {
"message": "Preu de cancel·lació del gas"
},
@@ -305,9 +302,6 @@
"deleteNetworkDescription": {
"message": "Estàs segur que vols eliminar aquesta xarxa?"
},
- "deposit": {
- "message": "Depòsit"
- },
"depositEther": {
"message": "Diposita Ether"
},
@@ -724,7 +718,7 @@
"optionalBlockExplorerUrl": {
"message": "Bloqueja l'URL d'Explorer (opcional)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "Símbol (opcional)"
},
"orderOneHere": {
@@ -966,9 +960,6 @@
"sentEther": {
"message": "envia ether"
},
- "sentTokens": {
- "message": "fitxes enviades"
- },
"separateEachWord": {
"message": "Separa cada paraula amb un sol espai"
},
diff --git a/app/_locales/cs/messages.json b/app/_locales/cs/messages.json
index 3239f00ab..41757f932 100644
--- a/app/_locales/cs/messages.json
+++ b/app/_locales/cs/messages.json
@@ -118,9 +118,6 @@
"defaultNetwork": {
"message": "Výchozí síť pro Etherové transakce je Main Net."
},
- "deposit": {
- "message": "Vklad"
- },
"depositEther": {
"message": "Vložit Ether"
},
diff --git a/app/_locales/da/messages.json b/app/_locales/da/messages.json
index 449946a69..5e19e8d01 100644
--- a/app/_locales/da/messages.json
+++ b/app/_locales/da/messages.json
@@ -164,9 +164,6 @@
"cancel": {
"message": "Afbryd"
},
- "cancelAttempt": {
- "message": "Annullér forsøg"
- },
"cancellationGasFee": {
"message": "Gebyr for brændstofannullering"
},
@@ -308,9 +305,6 @@
"deleteNetworkDescription": {
"message": "Er du sikker på, at du vil slette dette netværk?"
},
- "deposit": {
- "message": "Indbetal"
- },
"depositEther": {
"message": "Indbetal Ether"
},
@@ -724,7 +718,7 @@
"optionalBlockExplorerUrl": {
"message": "Blok-stifinder-URL (valgfrit)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "Symbol (valgfrit)"
},
"orderOneHere": {
@@ -966,9 +960,6 @@
"sentEther": {
"message": "sendte ether"
},
- "sentTokens": {
- "message": "afsendte tokens"
- },
"separateEachWord": {
"message": "Separer hvert ord med et enkelt mellemrum"
},
diff --git a/app/_locales/de/messages.json b/app/_locales/de/messages.json
index 7b7da3c43..f42343322 100644
--- a/app/_locales/de/messages.json
+++ b/app/_locales/de/messages.json
@@ -158,9 +158,6 @@
"cancel": {
"message": "Abbrechen"
},
- "cancelAttempt": {
- "message": "Versuch abbrechen"
- },
"cancellationGasFee": {
"message": "Stornierungs-Gasgebühr"
},
@@ -299,9 +296,6 @@
"deleteNetworkDescription": {
"message": "Sind Sie sicher, dass Sie dieses Netzwerk löschen möchten?"
},
- "deposit": {
- "message": "Einzahlen"
- },
"depositEther": {
"message": "Ether einzahlen"
},
@@ -957,9 +951,6 @@
"sentEther": {
"message": "Ether senden"
},
- "sentTokens": {
- "message": "gesendete Token"
- },
"separateEachWord": {
"message": "Trennen Sie die Wörter mit einem einzelnen Leerzeichen voneinander"
},
diff --git a/app/_locales/el/messages.json b/app/_locales/el/messages.json
index 4ba30a80e..00d493f80 100644
--- a/app/_locales/el/messages.json
+++ b/app/_locales/el/messages.json
@@ -161,9 +161,6 @@
"cancel": {
"message": "Ακύρωση"
},
- "cancelAttempt": {
- "message": "Ακύρωση Προσπάθειας"
- },
"cancellationGasFee": {
"message": "Ακύρωση Χρέωσης Αερίου"
},
@@ -305,9 +302,6 @@
"deleteNetworkDescription": {
"message": "Θέλετε σίγουρα να διαγράψετε αυτό το δίκτυο;"
},
- "deposit": {
- "message": "Κατάθεση"
- },
"depositEther": {
"message": "Κατάθεση Ether"
},
@@ -737,7 +731,7 @@
"optionalBlockExplorerUrl": {
"message": "Διεύθυνση URL Εξερευνητή Μπλοκ (προαιρετικό)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "Σύμβολο (προαιρετικό)"
},
"orderOneHere": {
@@ -985,9 +979,6 @@
"sentEther": {
"message": "απεσταλμένα ether"
},
- "sentTokens": {
- "message": "αποστολή token"
- },
"separateEachWord": {
"message": "Διαχωρίστε κάθε λέξη με ένα μόνο κενό"
},
diff --git a/app/_locales/en/messages.json b/app/_locales/en/messages.json
index 427f29078..647552710 100644
--- a/app/_locales/en/messages.json
+++ b/app/_locales/en/messages.json
@@ -239,9 +239,6 @@
"cancel": {
"message": "Cancel"
},
- "cancelAttempt": {
- "message": "Cancel Attempt"
- },
"cancellationGasFee": {
"message": "Cancellation Gas Fee"
},
@@ -477,9 +474,6 @@
"deleteNetworkDescription": {
"message": "Are you sure you want to delete this network?"
},
- "deposit": {
- "message": "Deposit"
- },
"depositEther": {
"message": "Deposit Ether"
},
@@ -875,7 +869,7 @@
"message": "Invalid IPFS Gateway: The value must be a valid URL"
},
"invalidNumber": {
- "message": "Invalid number. Enter a decimal or hexadecimal number."
+ "message": "Invalid number. Enter a decimal or '0x'-prefixed hexadecimal number."
},
"invalidNumberLeadingZeros": {
"message": "Invalid number. Remove any leading zeros."
@@ -1037,7 +1031,7 @@
"message": "Network Name"
},
"networkSettingsChainIdDescription": {
- "message": "The chain ID is used for signing transactions. It must match the chain ID returned by the network. Enter a decimal or hexadecimal number starting with '0x'."
+ "message": "The chain ID is used for signing transactions. It must match the chain ID returned by the network. You can enter a decimal or '0x'-prefixed hexadecimal number, but we will display the number in decimal."
},
"networkSettingsDescription": {
"message": "Add and edit custom RPC networks"
@@ -1156,8 +1150,8 @@
"optionalBlockExplorerUrl": {
"message": "Block Explorer URL (optional)"
},
- "optionalSymbol": {
- "message": "Symbol (optional)"
+ "optionalCurrencySymbol": {
+ "message": "Currency Symbol (optional)"
},
"orderOneHere": {
"message": "Order a Trezor or Ledger and keep your funds in cold storage"
@@ -1458,9 +1452,6 @@
"sentEther": {
"message": "sent ether"
},
- "sentTokens": {
- "message": "sent tokens"
- },
"separateEachWord": {
"message": "Separate each word with a single space"
},
@@ -1827,6 +1818,9 @@
"swapSwapFrom": {
"message": "Swap from"
},
+ "swapSwapSwitch": {
+ "message": "Switch from and to tokens"
+ },
"swapSwapTo": {
"message": "Swap to"
},
diff --git a/app/_locales/es/messages.json b/app/_locales/es/messages.json
index ea36e9b50..8dd8cdd6f 100644
--- a/app/_locales/es/messages.json
+++ b/app/_locales/es/messages.json
@@ -136,9 +136,6 @@
"cancel": {
"message": "Cancelar"
},
- "cancelAttempt": {
- "message": "Intentar cancelar"
- },
"cancellationGasFee": {
"message": "Comisión de Gas por cancelación"
},
@@ -271,9 +268,6 @@
"deleteAccount": {
"message": "Eliminar Cuenta"
},
- "deposit": {
- "message": "Depositar"
- },
"depositEther": {
"message": "Depositar Ether"
},
@@ -580,7 +574,7 @@
"ofTextNofM": {
"message": "de"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "Símbolo (opcional)"
},
"orderOneHere": {
@@ -783,9 +777,6 @@
"sentEther": {
"message": "se mandó ether"
},
- "sentTokens": {
- "message": "se mandaron tokens"
- },
"separateEachWord": {
"message": "Separar a cada palabra con un sólo espacio"
},
diff --git a/app/_locales/es_419/messages.json b/app/_locales/es_419/messages.json
index 1efcd3d5c..f5cfccba2 100644
--- a/app/_locales/es_419/messages.json
+++ b/app/_locales/es_419/messages.json
@@ -161,9 +161,6 @@
"cancel": {
"message": "Cancelar"
},
- "cancelAttempt": {
- "message": "Cancelar intento"
- },
"cancellationGasFee": {
"message": "Tasa de cancelación de gas"
},
@@ -305,9 +302,6 @@
"deleteNetworkDescription": {
"message": "¿Estás seguro de que deseas borrar esta red?"
},
- "deposit": {
- "message": "Depósito"
- },
"depositEther": {
"message": "Depositar Ethers"
},
@@ -725,7 +719,7 @@
"optionalBlockExplorerUrl": {
"message": "Bloquear la URL de Explorer (opcional)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "Símbolo (opcional)"
},
"orderOneHere": {
@@ -973,9 +967,6 @@
"sentEther": {
"message": "Ethers enviados"
},
- "sentTokens": {
- "message": "tokens enviados"
- },
"separateEachWord": {
"message": "Separa cada palabra con un solo espacio"
},
diff --git a/app/_locales/et/messages.json b/app/_locales/et/messages.json
index 79b42b84c..8a1c3ee52 100644
--- a/app/_locales/et/messages.json
+++ b/app/_locales/et/messages.json
@@ -164,9 +164,6 @@
"cancel": {
"message": "Tühista"
},
- "cancelAttempt": {
- "message": "Tühista katse"
- },
"cancellationGasFee": {
"message": "Tühistamise gaasitasu"
},
@@ -308,9 +305,6 @@
"deleteNetworkDescription": {
"message": "Olete kindel, et soovite selle võrgu kustutada?"
},
- "deposit": {
- "message": "Sissemakse"
- },
"depositEther": {
"message": "Eetri sissemakse"
},
@@ -730,7 +724,7 @@
"optionalBlockExplorerUrl": {
"message": "Blokeeri Exploreri URL (valikuline)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "Sümbol (valikuline)"
},
"orderOneHere": {
@@ -978,9 +972,6 @@
"sentEther": {
"message": "saadetud eeter"
},
- "sentTokens": {
- "message": "saadetud load"
- },
"separateEachWord": {
"message": "Eraldage iga sõna ühe tühikuga"
},
diff --git a/app/_locales/fa/messages.json b/app/_locales/fa/messages.json
index b6ca24ad5..f13059643 100644
--- a/app/_locales/fa/messages.json
+++ b/app/_locales/fa/messages.json
@@ -164,9 +164,6 @@
"cancel": {
"message": "لغو"
},
- "cancelAttempt": {
- "message": "لغو تلاش"
- },
"cancellationGasFee": {
"message": "لغو فیس گاز"
},
@@ -308,9 +305,6 @@
"deleteNetworkDescription": {
"message": "آیا مطمئن هستید که این شبکه حذف شود؟"
},
- "deposit": {
- "message": "سپرده"
- },
"depositEther": {
"message": "پرداخت ایتر"
},
@@ -740,7 +734,7 @@
"optionalBlockExplorerUrl": {
"message": "بلاک کردن مرورگر URL (انتخابی)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "سمبول (انتخابی)"
},
"orderOneHere": {
@@ -988,9 +982,6 @@
"sentEther": {
"message": "ایتر ارسال شد"
},
- "sentTokens": {
- "message": "رمزیاب های فرستاده شده"
- },
"separateEachWord": {
"message": "هر کلمه را با یک فاصله واحد جدا سازید"
},
diff --git a/app/_locales/fi/messages.json b/app/_locales/fi/messages.json
index 0e17618db..53dd7496f 100644
--- a/app/_locales/fi/messages.json
+++ b/app/_locales/fi/messages.json
@@ -164,9 +164,6 @@
"cancel": {
"message": "Peruuta"
},
- "cancelAttempt": {
- "message": "Peruuta yritys"
- },
"cancellationGasFee": {
"message": "Peruutuksen gas-maksu"
},
@@ -308,9 +305,6 @@
"deleteNetworkDescription": {
"message": "Haluatko varmasti poistaa tämän verkon?"
},
- "deposit": {
- "message": "Talleta"
- },
"depositEther": {
"message": "Talleta Etheriä"
},
@@ -737,7 +731,7 @@
"optionalBlockExplorerUrl": {
"message": "Estä Explorerin URL-osoite (valinnainen)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "Symboli (valinnainen)"
},
"orderOneHere": {
@@ -985,9 +979,6 @@
"sentEther": {
"message": "lähetä etheriä"
},
- "sentTokens": {
- "message": "lähetetyt poletit"
- },
"separateEachWord": {
"message": "Erottele sanat toisistaan yhdellä välilyönnillä"
},
diff --git a/app/_locales/fil/messages.json b/app/_locales/fil/messages.json
index 445083185..6285949c6 100644
--- a/app/_locales/fil/messages.json
+++ b/app/_locales/fil/messages.json
@@ -146,9 +146,6 @@
"cancel": {
"message": "Kanselahin"
},
- "cancelAttempt": {
- "message": "Kanselahin ang Pagtangka"
- },
"cancellationGasFee": {
"message": "Gas Fee sa Pagkansela"
},
@@ -284,9 +281,6 @@
"deleteNetworkDescription": {
"message": "Sigurado ka bang gusto mong i-delete ang network na ito?"
},
- "deposit": {
- "message": "Deposito"
- },
"depositEther": {
"message": "Magdeposito ng Ether"
},
@@ -671,7 +665,7 @@
"optionalBlockExplorerUrl": {
"message": "Block Explorer URL (opsyonal)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "Simbolo (opsyonal)"
},
"orderOneHere": {
@@ -900,9 +894,6 @@
"sentEther": {
"message": "nagpadala ng ether"
},
- "sentTokens": {
- "message": "mga ipinadalang token"
- },
"separateEachWord": {
"message": "Paghiwa-hiwalayin ang bawat salita gamit ang isang space"
},
diff --git a/app/_locales/fr/messages.json b/app/_locales/fr/messages.json
index 78cdb5e2f..750591cfc 100644
--- a/app/_locales/fr/messages.json
+++ b/app/_locales/fr/messages.json
@@ -155,9 +155,6 @@
"cancel": {
"message": "Annuler"
},
- "cancelAttempt": {
- "message": "Annuler la tentative."
- },
"cancellationGasFee": {
"message": "Frais en gas de l'annulation"
},
@@ -299,9 +296,6 @@
"deleteNetworkDescription": {
"message": "Êtes-vous sûr de vouloir supprimer ce réseau ?"
},
- "deposit": {
- "message": "Déposer"
- },
"depositEther": {
"message": "Déposer de l'Ether"
},
@@ -722,7 +716,7 @@
"optionalBlockExplorerUrl": {
"message": "Bloquer l'URL de l'explorateur (facultatif)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "Symbole (facultatif)"
},
"orderOneHere": {
@@ -970,9 +964,6 @@
"sentEther": {
"message": "Ether envoyé"
},
- "sentTokens": {
- "message": "Jetons envoyés"
- },
"separateEachWord": {
"message": "Separez chaque mot avec un espace simple"
},
diff --git a/app/_locales/he/messages.json b/app/_locales/he/messages.json
index 8c10e4dad..6a0bc2cbd 100644
--- a/app/_locales/he/messages.json
+++ b/app/_locales/he/messages.json
@@ -164,9 +164,6 @@
"cancel": {
"message": "ביטול"
},
- "cancelAttempt": {
- "message": "בטל ניסיון"
- },
"cancellationGasFee": {
"message": "עמלת דלק עבור ביטול"
},
@@ -308,9 +305,6 @@
"deleteNetworkDescription": {
"message": "הנך בטוח/ה שברצונך למחוק רשת זו?"
},
- "deposit": {
- "message": "הפקדה"
- },
"depositEther": {
"message": "הפקדת את'ר"
},
@@ -737,7 +731,7 @@
"optionalBlockExplorerUrl": {
"message": "חסום כתובת URL של אקספלורר (אופציונלי)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "סמל (אופציונלי)"
},
"orderOneHere": {
@@ -982,9 +976,6 @@
"sentEther": {
"message": "את'ר שנשלח"
},
- "sentTokens": {
- "message": "טוקנים שנשלחו"
- },
"separateEachWord": {
"message": "יש להפריד כל מילה עם רווח יחיד"
},
diff --git a/app/_locales/hi/messages.json b/app/_locales/hi/messages.json
index d189f6110..da83a04b7 100644
--- a/app/_locales/hi/messages.json
+++ b/app/_locales/hi/messages.json
@@ -164,9 +164,6 @@
"cancel": {
"message": "रद्द करें"
},
- "cancelAttempt": {
- "message": "प्रयास रद्द करें"
- },
"cancellationGasFee": {
"message": "रद्दीकरण गैस शुल्क"
},
@@ -308,9 +305,6 @@
"deleteNetworkDescription": {
"message": "क्या आप वाकई इस नेटवर्क को हटाना चाहते हैं?"
},
- "deposit": {
- "message": "जमा "
- },
"depositEther": {
"message": "Ether जमा करें"
},
@@ -737,7 +731,7 @@
"optionalBlockExplorerUrl": {
"message": "एक्सप्लोरर यूआरएल ब्लॉक (वैकल्पिक)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "सिम्बल (वैकल्पिक)"
},
"orderOneHere": {
@@ -985,9 +979,6 @@
"sentEther": {
"message": "भेजे गए ether"
},
- "sentTokens": {
- "message": "भेजे गए टोकन"
- },
"separateEachWord": {
"message": "प्रत्येक शब्द को एक स्पेस से अलग करें"
},
diff --git a/app/_locales/hn/messages.json b/app/_locales/hn/messages.json
index b0e199100..4bdac8559 100644
--- a/app/_locales/hn/messages.json
+++ b/app/_locales/hn/messages.json
@@ -97,9 +97,6 @@
"defaultNetwork": {
"message": "ईथर लेनदेन के लिए डिफ़ॉल्ट नेटवर्क मुख्य नेट है।"
},
- "deposit": {
- "message": "जमा"
- },
"depositEther": {
"message": "जमा - Ether"
},
diff --git a/app/_locales/hr/messages.json b/app/_locales/hr/messages.json
index 227c154d7..1564bd012 100644
--- a/app/_locales/hr/messages.json
+++ b/app/_locales/hr/messages.json
@@ -164,9 +164,6 @@
"cancel": {
"message": "Odustani"
},
- "cancelAttempt": {
- "message": "Otkaži pokušaj"
- },
"cancellationGasFee": {
"message": "Otkazivanje naknade za gorivo"
},
@@ -308,9 +305,6 @@
"deleteNetworkDescription": {
"message": "Sigurno želite izbrisati ovu mrežu?"
},
- "deposit": {
- "message": "Polog"
- },
"depositEther": {
"message": "Položi Ether"
},
@@ -733,7 +727,7 @@
"optionalBlockExplorerUrl": {
"message": "Blokiraj Explorerov URL (neobavezno)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "Simbol (neobavezno)"
},
"orderOneHere": {
@@ -981,9 +975,6 @@
"sentEther": {
"message": "pošalji ether"
},
- "sentTokens": {
- "message": "pošalji tokene"
- },
"separateEachWord": {
"message": "Odvojite pojedinačne riječi jednim razmakom"
},
diff --git a/app/_locales/ht/messages.json b/app/_locales/ht/messages.json
index eefec6bc7..18901dcc8 100644
--- a/app/_locales/ht/messages.json
+++ b/app/_locales/ht/messages.json
@@ -85,9 +85,6 @@
"cancel": {
"message": "Anile"
},
- "cancelAttempt": {
- "message": "Teste Anile"
- },
"cancellationGasFee": {
"message": "Anilasyon Gaz Chaj"
},
@@ -169,9 +166,6 @@
"defaultNetwork": {
"message": "Dfo rezo a pou tranzaksyon Ether se Mainnet."
},
- "deposit": {
- "message": "Depo"
- },
"depositEther": {
"message": "Depo Ether"
},
@@ -615,9 +609,6 @@
"sentEther": {
"message": "Voye ether"
},
- "sentTokens": {
- "message": "tokens deja voye"
- },
"separateEachWord": {
"message": "Separe chak mo ak yon sèl espas"
},
diff --git a/app/_locales/hu/messages.json b/app/_locales/hu/messages.json
index 97f63d74e..9188af756 100644
--- a/app/_locales/hu/messages.json
+++ b/app/_locales/hu/messages.json
@@ -164,9 +164,6 @@
"cancel": {
"message": "Mégse"
},
- "cancelAttempt": {
- "message": "Kísérlet megszakítása"
- },
"cancellationGasFee": {
"message": "A törlés gázára"
},
@@ -308,9 +305,6 @@
"deleteNetworkDescription": {
"message": "Biztosan törli ezt a hálózatot?"
},
- "deposit": {
- "message": "Befizetés"
- },
"depositEther": {
"message": "Ether befizetése"
},
@@ -733,7 +727,7 @@
"optionalBlockExplorerUrl": {
"message": "Explorer URL letiltása (nem kötelező)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "Szimbólum (opcionális)"
},
"orderOneHere": {
@@ -981,9 +975,6 @@
"sentEther": {
"message": "elküldött ether"
},
- "sentTokens": {
- "message": "elküldött érmék"
- },
"separateEachWord": {
"message": "Minden egyes szavat szóközzel válasszon el"
},
diff --git a/app/_locales/id/messages.json b/app/_locales/id/messages.json
index 1fcd8f960..9eff50642 100644
--- a/app/_locales/id/messages.json
+++ b/app/_locales/id/messages.json
@@ -164,9 +164,6 @@
"cancel": {
"message": "Batal"
},
- "cancelAttempt": {
- "message": "Batalkan Percobaan"
- },
"cancellationGasFee": {
"message": "Pembatalan Biaya Gas"
},
@@ -721,7 +718,7 @@
"optionalBlockExplorerUrl": {
"message": "Blokir URL Penjelajah (opsional)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "Simbol (opsional)"
},
"orderOneHere": {
@@ -969,9 +966,6 @@
"sentEther": {
"message": "kirim ether"
},
- "sentTokens": {
- "message": "token terkirim"
- },
"separateEachWord": {
"message": "Pisahkan setiap kata dengan spasi tunggal"
},
diff --git a/app/_locales/it/messages.json b/app/_locales/it/messages.json
index f9400429c..98bd7c936 100644
--- a/app/_locales/it/messages.json
+++ b/app/_locales/it/messages.json
@@ -226,9 +226,6 @@
"cancel": {
"message": "Annulla"
},
- "cancelAttempt": {
- "message": "Tentativo di Annullamento"
- },
"cancellationGasFee": {
"message": "Costo di Annullamento in Gas"
},
@@ -464,9 +461,6 @@
"deleteNetworkDescription": {
"message": "Sei sicuro di voler eliminare questa rete?"
},
- "deposit": {
- "message": "Deposita"
- },
"depositEther": {
"message": "Deposita Ether"
},
@@ -1056,7 +1050,7 @@
"optionalBlockExplorerUrl": {
"message": "URL del Block Explorer (opzionale)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "Simbolo (opzionale)"
},
"orderOneHere": {
@@ -1358,9 +1352,6 @@
"sentEther": {
"message": "ether inviati"
},
- "sentTokens": {
- "message": "tokens inviati"
- },
"separateEachWord": {
"message": "Separa ogni parola con un solo spazio"
},
diff --git a/app/_locales/ja/messages.json b/app/_locales/ja/messages.json
index 23e4bd9a6..737845b3b 100644
--- a/app/_locales/ja/messages.json
+++ b/app/_locales/ja/messages.json
@@ -169,9 +169,6 @@
"defaultNetwork": {
"message": "デフォルトのEther送受信ネットワークはメインネットです。"
},
- "deposit": {
- "message": "振込"
- },
"depositEther": {
"message": "Etherを振込"
},
diff --git a/app/_locales/kn/messages.json b/app/_locales/kn/messages.json
index 1d92260b9..d482f073e 100644
--- a/app/_locales/kn/messages.json
+++ b/app/_locales/kn/messages.json
@@ -164,9 +164,6 @@
"cancel": {
"message": "ರದ್ದುಮಾಡಿ"
},
- "cancelAttempt": {
- "message": "ಪ್ರಯತ್ನವನ್ನು ರದ್ದುಪಡಿಸಿ"
- },
"cancellationGasFee": {
"message": "ರದ್ದುಗೊಳಿಸುವ ಗ್ಯಾಸ್ ಶುಲ್ಕ"
},
@@ -308,9 +305,6 @@
"deleteNetworkDescription": {
"message": "ನೀವು ಈ ನೆಟ್ವರ್ಕ್ ಅನ್ನು ಖಚಿತವಾಗಿ ಅಳಿಸಲು ಬಯಸುತ್ತೀರಾ?"
},
- "deposit": {
- "message": "ಠೇವಣಿ"
- },
"depositEther": {
"message": "ಎಥರ್ ಠೇವಣಿ ಮಾಡಿ"
},
@@ -740,7 +734,7 @@
"optionalBlockExplorerUrl": {
"message": "ಅನ್ವೇಷಕ URL ಅನ್ನು ನಿರ್ಬಂಧಿಸಿ (ಐಚ್ಛಿಕ)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "ಚಿಹ್ನೆ (ಐಚ್ಛಿಕ)"
},
"orderOneHere": {
@@ -988,9 +982,6 @@
"sentEther": {
"message": "ಕಳುಹಿಸಲಾದ ಎಥರ್"
},
- "sentTokens": {
- "message": "ಕಳುಹಿಸಲಾದ ಟೋಕನ್ಗಳು"
- },
"separateEachWord": {
"message": "ಒಂದು ಸ್ಪೇಸ್ ಮೂಲಕ ಪ್ರತಿ ಪದವನ್ನು ಬೇರ್ಪಡಿಸಿ"
},
diff --git a/app/_locales/ko/messages.json b/app/_locales/ko/messages.json
index decd5fecd..ec4b28b2f 100644
--- a/app/_locales/ko/messages.json
+++ b/app/_locales/ko/messages.json
@@ -161,9 +161,6 @@
"cancel": {
"message": "취소"
},
- "cancelAttempt": {
- "message": "취소 시도"
- },
"cancellationGasFee": {
"message": "취소 가스 수수료"
},
@@ -305,9 +302,6 @@
"deleteNetworkDescription": {
"message": "정말로 이 네트워크를 삭제하시겠습니까?"
},
- "deposit": {
- "message": "입금"
- },
"depositEther": {
"message": "이더리움 입금하기"
},
@@ -734,7 +728,7 @@
"optionalBlockExplorerUrl": {
"message": "익스플로러 URL 차단 (선택 사항)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "Symbol (선택)"
},
"orderOneHere": {
@@ -979,9 +973,6 @@
"sentEther": {
"message": "전송된 이더"
},
- "sentTokens": {
- "message": "전송된 토큰"
- },
"separateEachWord": {
"message": "각 단어는 공백 한칸으로 분리합니다"
},
diff --git a/app/_locales/lt/messages.json b/app/_locales/lt/messages.json
index b88fc2c67..b8596bc82 100644
--- a/app/_locales/lt/messages.json
+++ b/app/_locales/lt/messages.json
@@ -164,9 +164,6 @@
"cancel": {
"message": "Atšaukti"
},
- "cancelAttempt": {
- "message": "Atšaukti mėginimą"
- },
"cancellationGasFee": {
"message": "Dujų mokesčio atšaukimas"
},
@@ -308,9 +305,6 @@
"deleteNetworkDescription": {
"message": "Ar tikrai norite panaikinti šį tinklą?"
},
- "deposit": {
- "message": "Indėlis"
- },
"depositEther": {
"message": "Įnešti eterių"
},
@@ -740,7 +734,7 @@
"optionalBlockExplorerUrl": {
"message": "Blokuoti naršyklės URL (pasirinktinai)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "Simbolis (nebūtinas)"
},
"orderOneHere": {
@@ -988,9 +982,6 @@
"sentEther": {
"message": "siųsti eterių"
},
- "sentTokens": {
- "message": "išsiųsti žetonai"
- },
"separateEachWord": {
"message": "Kiekvieną žodį atskirkite viengubu tarpu"
},
diff --git a/app/_locales/lv/messages.json b/app/_locales/lv/messages.json
index 40fb55edf..f3362994c 100644
--- a/app/_locales/lv/messages.json
+++ b/app/_locales/lv/messages.json
@@ -164,9 +164,6 @@
"cancel": {
"message": "Atcelt"
},
- "cancelAttempt": {
- "message": "Atcelt mēģinājumu"
- },
"cancellationGasFee": {
"message": "Atcelšanas maksājums par Gas"
},
@@ -308,9 +305,6 @@
"deleteNetworkDescription": {
"message": "Vai tiešām vēlaties dzēst šo tīklu?"
},
- "deposit": {
- "message": "Iemaksa"
- },
"depositEther": {
"message": "Noguldīt Ether"
},
@@ -736,7 +730,7 @@
"optionalBlockExplorerUrl": {
"message": "Bloķēt Explorer URL (pēc izvēles)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "Simbols (neobligāti)"
},
"orderOneHere": {
@@ -984,9 +978,6 @@
"sentEther": {
"message": "nosūtītie ether"
},
- "sentTokens": {
- "message": "nosūtītie marķieri"
- },
"separateEachWord": {
"message": "Atdaliet katru vārdu ar vienu atstarpi"
},
diff --git a/app/_locales/ms/messages.json b/app/_locales/ms/messages.json
index 425e9eb20..04eeb3342 100644
--- a/app/_locales/ms/messages.json
+++ b/app/_locales/ms/messages.json
@@ -164,9 +164,6 @@
"cancel": {
"message": "Batal"
},
- "cancelAttempt": {
- "message": "Batalkan Percubaan"
- },
"cancellationGasFee": {
"message": "Fi Gas Pembatalan"
},
@@ -714,7 +711,7 @@
"optionalBlockExplorerUrl": {
"message": "Sekat URL Explorer (pilihan)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "Simbol (pilihan)"
},
"orderOneHere": {
@@ -962,9 +959,6 @@
"sentEther": {
"message": "menghantar ether"
},
- "sentTokens": {
- "message": "token dihantar"
- },
"separateEachWord": {
"message": "Pisahkan setiap perkataan dengan ruang tunggal"
},
diff --git a/app/_locales/nl/messages.json b/app/_locales/nl/messages.json
index fa9e168ff..f6ef6b7dc 100644
--- a/app/_locales/nl/messages.json
+++ b/app/_locales/nl/messages.json
@@ -94,9 +94,6 @@
"defaultNetwork": {
"message": "Het standaardnetwerk voor Ether-transacties is Main Net."
},
- "deposit": {
- "message": "Storting"
- },
"depositEther": {
"message": "Stort Ether"
},
diff --git a/app/_locales/no/messages.json b/app/_locales/no/messages.json
index ab94ce321..18ef48537 100644
--- a/app/_locales/no/messages.json
+++ b/app/_locales/no/messages.json
@@ -161,9 +161,6 @@
"cancel": {
"message": "Avbryt"
},
- "cancelAttempt": {
- "message": "Avbryt forsøk"
- },
"cancellationGasFee": {
"message": "Kansellering gassavgift"
},
@@ -305,9 +302,6 @@
"deleteNetworkDescription": {
"message": "Er du sikker på at du vil slette dette nettverket?"
},
- "deposit": {
- "message": "Innskudd"
- },
"depositEther": {
"message": "Sett inn Ether "
},
@@ -727,7 +721,7 @@
"optionalBlockExplorerUrl": {
"message": "Blokker Explorer URL (valgfritt)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "Symbol (valgfritt)"
},
"orderOneHere": {
@@ -966,9 +960,6 @@
"sentEther": {
"message": "sendt ether"
},
- "sentTokens": {
- "message": "sendte tokener "
- },
"separateEachWord": {
"message": "Del hvert ord med et enkelt mellomrom "
},
diff --git a/app/_locales/ph/messages.json b/app/_locales/ph/messages.json
index b2635da57..6cb59f6a0 100644
--- a/app/_locales/ph/messages.json
+++ b/app/_locales/ph/messages.json
@@ -73,9 +73,6 @@
"defaultNetwork": {
"message": "Ang default network para sa Ether transactions ay ang Main Net."
},
- "deposit": {
- "message": "Deposito"
- },
"depositEther": {
"message": "I-deposito ang Ether"
},
diff --git a/app/_locales/pl/messages.json b/app/_locales/pl/messages.json
index 157bfb7d0..4ad06b5df 100644
--- a/app/_locales/pl/messages.json
+++ b/app/_locales/pl/messages.json
@@ -164,9 +164,6 @@
"cancel": {
"message": "Anuluj"
},
- "cancelAttempt": {
- "message": "Anuluj próbę"
- },
"cancellationGasFee": {
"message": "Opłata za gaz za anulowanie"
},
@@ -308,9 +305,6 @@
"deleteNetworkDescription": {
"message": "Czy na pewno chcesz usunąć tę sieć?"
},
- "deposit": {
- "message": "Zdeponuj"
- },
"depositEther": {
"message": "Zdeponuj Eter"
},
@@ -734,7 +728,7 @@
"optionalBlockExplorerUrl": {
"message": "Adres URL przeglądarki łańcucha bloków (opcjonalnie)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "Symbol (opcjonalnie)"
},
"orderOneHere": {
@@ -982,9 +976,6 @@
"sentEther": {
"message": "wyślij eter"
},
- "sentTokens": {
- "message": "wysłane tokeny"
- },
"separateEachWord": {
"message": "Oddziel słowa pojedynczą spacją"
},
diff --git a/app/_locales/pt/messages.json b/app/_locales/pt/messages.json
index 067fd8d34..da8314cad 100644
--- a/app/_locales/pt/messages.json
+++ b/app/_locales/pt/messages.json
@@ -97,9 +97,6 @@
"defaultNetwork": {
"message": "A rede pré definida para transações em Ether é a Main Net."
},
- "deposit": {
- "message": "Depósito"
- },
"depositEther": {
"message": "Depositar Ether"
},
diff --git a/app/_locales/pt_BR/messages.json b/app/_locales/pt_BR/messages.json
index 68eda6f73..04debdecf 100644
--- a/app/_locales/pt_BR/messages.json
+++ b/app/_locales/pt_BR/messages.json
@@ -158,9 +158,6 @@
"cancel": {
"message": "Cancelar"
},
- "cancelAttempt": {
- "message": "Tentativa de cancelamento"
- },
"cancellationGasFee": {
"message": "Tarifa de Gas de cancelamento"
},
@@ -302,9 +299,6 @@
"deleteNetworkDescription": {
"message": "Tem certeza de que deseja excluir esta rede?"
},
- "deposit": {
- "message": "Depósito"
- },
"depositEther": {
"message": "Depositar Ether"
},
@@ -728,7 +722,7 @@
"optionalBlockExplorerUrl": {
"message": "URL exploradora de blocos (opcional)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "Símbolo (opcional)"
},
"orderOneHere": {
@@ -976,9 +970,6 @@
"sentEther": {
"message": "ether enviado"
},
- "sentTokens": {
- "message": "tokens enviados"
- },
"separateEachWord": {
"message": "Separe cada palavra com um único espaço"
},
diff --git a/app/_locales/pt_PT/messages.json b/app/_locales/pt_PT/messages.json
index ed3c0a8d5..96ed89f8e 100644
--- a/app/_locales/pt_PT/messages.json
+++ b/app/_locales/pt_PT/messages.json
@@ -45,9 +45,6 @@
"delete": {
"message": "Eliminar"
},
- "deposit": {
- "message": "Depósito"
- },
"details": {
"message": "Detalhes"
},
diff --git a/app/_locales/ro/messages.json b/app/_locales/ro/messages.json
index bdcfc126f..8f0997e65 100644
--- a/app/_locales/ro/messages.json
+++ b/app/_locales/ro/messages.json
@@ -164,9 +164,6 @@
"cancel": {
"message": "Anulare"
},
- "cancelAttempt": {
- "message": "Anulare încercare"
- },
"cancellationGasFee": {
"message": "Taxă de anulare în gaz"
},
@@ -308,9 +305,6 @@
"deleteNetworkDescription": {
"message": "Sigur vreți să ștergeți această rețea?"
},
- "deposit": {
- "message": "Depunere"
- },
"depositEther": {
"message": "Depuneți Ether"
},
@@ -727,7 +721,7 @@
"optionalBlockExplorerUrl": {
"message": "URL explorator bloc (opțional)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "Simbol (opțional)"
},
"orderOneHere": {
@@ -975,9 +969,6 @@
"sentEther": {
"message": "trimiteți ether"
},
- "sentTokens": {
- "message": "tokenuri trimise"
- },
"separateEachWord": {
"message": "Despărțiți fiecare cuvânt cu un spațiu"
},
diff --git a/app/_locales/ru/messages.json b/app/_locales/ru/messages.json
index 1ef3ac602..e2927be2a 100644
--- a/app/_locales/ru/messages.json
+++ b/app/_locales/ru/messages.json
@@ -163,9 +163,6 @@
"cancel": {
"message": "Отмена"
},
- "cancelAttempt": {
- "message": "Попытка отмены транзакции"
- },
"cancellationGasFee": {
"message": "Комиссия за газ на отмену"
},
@@ -330,9 +327,6 @@
"deleteNetworkDescription": {
"message": "Вы уверены, что хотите удалить эту сеть?"
},
- "deposit": {
- "message": "Пополнить"
- },
"depositEther": {
"message": "Пополнить Ether"
},
@@ -769,7 +763,7 @@
"optionalBlockExplorerUrl": {
"message": "URL блок-эксплорера (необязательно)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "Символ (необязательно)"
},
"orderOneHere": {
@@ -1024,9 +1018,6 @@
"sentEther": {
"message": "Отправить Ether"
},
- "sentTokens": {
- "message": "Отправленные токены"
- },
"separateEachWord": {
"message": "Разделяйте каждое слово одним пробелом"
},
diff --git a/app/_locales/sk/messages.json b/app/_locales/sk/messages.json
index 1b0ba15c9..718e32616 100644
--- a/app/_locales/sk/messages.json
+++ b/app/_locales/sk/messages.json
@@ -158,9 +158,6 @@
"cancel": {
"message": "Zrušit"
},
- "cancelAttempt": {
- "message": "Zrušiť pokus"
- },
"cancellationGasFee": {
"message": "Storno poplatok za GAS"
},
@@ -302,9 +299,6 @@
"deleteNetworkDescription": {
"message": "Naozaj chcete túto sieť odstrániť?"
},
- "deposit": {
- "message": "Vklad"
- },
"depositEther": {
"message": "Vložit Ether"
},
@@ -709,7 +703,7 @@
"optionalBlockExplorerUrl": {
"message": "Blokovať URL Explorera (voliteľné)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "Symbol (voliteľné)"
},
"orderOneHere": {
@@ -951,9 +945,6 @@
"sentEther": {
"message": "poslaný ether"
},
- "sentTokens": {
- "message": "poslané tokeny"
- },
"separateEachWord": {
"message": "Každé slovo oddeľte jednou medzerou"
},
diff --git a/app/_locales/sl/messages.json b/app/_locales/sl/messages.json
index b49ab7fec..cf1b3ad00 100644
--- a/app/_locales/sl/messages.json
+++ b/app/_locales/sl/messages.json
@@ -164,9 +164,6 @@
"cancel": {
"message": "Prekliči"
},
- "cancelAttempt": {
- "message": "Prekliči poskus"
- },
"cancellationGasFee": {
"message": "Preklicani znesek gas"
},
@@ -308,9 +305,6 @@
"deleteNetworkDescription": {
"message": "Ali ste prepričani, da želite izbrisati to omrežje?"
},
- "deposit": {
- "message": "Vplačaj"
- },
"depositEther": {
"message": "Vplačilo ethra"
},
@@ -725,7 +719,7 @@
"optionalBlockExplorerUrl": {
"message": "Blokiraj URL Explorerja (poljubno)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "Simbol (nezahtevano)"
},
"orderOneHere": {
@@ -970,9 +964,6 @@
"sentEther": {
"message": "poslani ether"
},
- "sentTokens": {
- "message": "poslani žetoni"
- },
"separateEachWord": {
"message": "Vsako besedo ločite z enim presledkom"
},
diff --git a/app/_locales/sr/messages.json b/app/_locales/sr/messages.json
index d72f4007e..730f4b5e4 100644
--- a/app/_locales/sr/messages.json
+++ b/app/_locales/sr/messages.json
@@ -164,9 +164,6 @@
"cancel": {
"message": "Otkaži"
},
- "cancelAttempt": {
- "message": "Otkaži pokušaj"
- },
"cancellationGasFee": {
"message": "Otkazivanje gas naknade"
},
@@ -305,9 +302,6 @@
"deleteNetworkDescription": {
"message": "Da li ste sigurni da želite da izbrišete ovu mrežu?"
},
- "deposit": {
- "message": "Depozit"
- },
"depositEther": {
"message": "Dajte depozit Ether-u"
},
@@ -731,7 +725,7 @@
"optionalBlockExplorerUrl": {
"message": "Blokirajte URL Explorer-a (opciono)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "Simbol (opciono)"
},
"orderOneHere": {
@@ -979,9 +973,6 @@
"sentEther": {
"message": "ether je poslat"
},
- "sentTokens": {
- "message": "poslati tokeni"
- },
"separateEachWord": {
"message": "Razdvojite svaku reč jednim mestom razmaka"
},
diff --git a/app/_locales/sv/messages.json b/app/_locales/sv/messages.json
index 6c6b68622..bb5e8e5a5 100644
--- a/app/_locales/sv/messages.json
+++ b/app/_locales/sv/messages.json
@@ -161,9 +161,6 @@
"cancel": {
"message": "Avbryt"
},
- "cancelAttempt": {
- "message": "Avbryt försök"
- },
"cancellationGasFee": {
"message": "Gasavgift för avbrytning"
},
@@ -302,9 +299,6 @@
"deleteNetworkDescription": {
"message": "Är du säker på att du vill ta bort detta nätverk?"
},
- "deposit": {
- "message": "Deposition"
- },
"depositEther": {
"message": "Sätt in Ether"
},
@@ -724,7 +718,7 @@
"optionalBlockExplorerUrl": {
"message": "Block Explorer URL (valfritt)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "Symbol (frivillig)"
},
"orderOneHere": {
@@ -972,9 +966,6 @@
"sentEther": {
"message": "skickat ether"
},
- "sentTokens": {
- "message": "skickade tokens"
- },
"separateEachWord": {
"message": "Lägg in ett mellanslag mellan varje ord"
},
diff --git a/app/_locales/sw/messages.json b/app/_locales/sw/messages.json
index 5662950c6..4244565b8 100644
--- a/app/_locales/sw/messages.json
+++ b/app/_locales/sw/messages.json
@@ -158,9 +158,6 @@
"cancel": {
"message": "Ghairi"
},
- "cancelAttempt": {
- "message": "Jaribio la Kubatilisha"
- },
"cancellationGasFee": {
"message": "Ada ya Kubatilisha Gesi"
},
@@ -302,9 +299,6 @@
"deleteNetworkDescription": {
"message": "Una uhakika unataka kufuta mtandao huu?"
},
- "deposit": {
- "message": "Fedha zilizopo kwenye akaunti"
- },
"depositEther": {
"message": "Weka Ether"
},
@@ -718,7 +712,7 @@
"optionalBlockExplorerUrl": {
"message": "URL ya Block Explorer URL (hiari)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "Ishara (hiari)"
},
"orderOneHere": {
@@ -966,9 +960,6 @@
"sentEther": {
"message": "ether iliyotumwa"
},
- "sentTokens": {
- "message": "vianzio vilivyotumwa"
- },
"separateEachWord": {
"message": "Tenganisha kila neno kwa nafasi moja"
},
diff --git a/app/_locales/ta/messages.json b/app/_locales/ta/messages.json
index 507893d9a..f0ca60e9c 100644
--- a/app/_locales/ta/messages.json
+++ b/app/_locales/ta/messages.json
@@ -136,9 +136,6 @@
"delete": {
"message": "நீக்கு"
},
- "deposit": {
- "message": "வைப்புத்தொகை"
- },
"depositEther": {
"message": "வைப்புத்தொகை எதிர் "
},
diff --git a/app/_locales/th/messages.json b/app/_locales/th/messages.json
index 28a662868..f54947489 100644
--- a/app/_locales/th/messages.json
+++ b/app/_locales/th/messages.json
@@ -142,9 +142,6 @@
"deleteNetwork": {
"message": "ลบเครือข่าย?"
},
- "deposit": {
- "message": "ฝาก"
- },
"depositEther": {
"message": "การฝากอีเธอร์"
},
diff --git a/app/_locales/tr/messages.json b/app/_locales/tr/messages.json
index 7448ad53f..5868000c8 100644
--- a/app/_locales/tr/messages.json
+++ b/app/_locales/tr/messages.json
@@ -118,9 +118,6 @@
"defaultNetwork": {
"message": "Ether işlemleri için varsayılan ağ Main Net."
},
- "deposit": {
- "message": "Yatır"
- },
"depositEther": {
"message": "Ether yatır"
},
diff --git a/app/_locales/uk/messages.json b/app/_locales/uk/messages.json
index c314c5c31..958376615 100644
--- a/app/_locales/uk/messages.json
+++ b/app/_locales/uk/messages.json
@@ -164,9 +164,6 @@
"cancel": {
"message": "Скасувати"
},
- "cancelAttempt": {
- "message": "Відмінити спробу"
- },
"cancellationGasFee": {
"message": "Вартість пального за скасування"
},
@@ -308,9 +305,6 @@
"deleteNetworkDescription": {
"message": "Ви впевнені, що хочете видалити цю мережу?"
},
- "deposit": {
- "message": "Депозит"
- },
"depositEther": {
"message": "Депонувати Ether"
},
@@ -740,7 +734,7 @@
"optionalBlockExplorerUrl": {
"message": "Блокувати Explorer URL (не обов'язково)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "Символ (не обов'язково)"
},
"orderOneHere": {
@@ -988,9 +982,6 @@
"sentEther": {
"message": "надісланий ефір"
},
- "sentTokens": {
- "message": "надіслані токени"
- },
"separateEachWord": {
"message": "Відділіть кожне слово одним пробілом"
},
diff --git a/app/_locales/vi/messages.json b/app/_locales/vi/messages.json
index 1e8f4b5d1..cfdcf467e 100644
--- a/app/_locales/vi/messages.json
+++ b/app/_locales/vi/messages.json
@@ -79,9 +79,6 @@
"defaultNetwork": {
"message": "Mạng lưới mặc định dùng cho các giao dịch Ether là Main Net (tiền ETH thật)."
},
- "deposit": {
- "message": "Ký gửi/nạp tiền"
- },
"depositEther": {
"message": "Ký gửi Ether"
},
diff --git a/app/_locales/zh_CN/messages.json b/app/_locales/zh_CN/messages.json
index 454e1d7cf..493c98310 100644
--- a/app/_locales/zh_CN/messages.json
+++ b/app/_locales/zh_CN/messages.json
@@ -164,9 +164,6 @@
"cancel": {
"message": "取消"
},
- "cancelAttempt": {
- "message": "取消操作"
- },
"cancellationGasFee": {
"message": "取消天然气费"
},
@@ -308,9 +305,6 @@
"deleteNetworkDescription": {
"message": "您是否确认要删除该网络?"
},
- "deposit": {
- "message": "存入"
- },
"depositEther": {
"message": "存入 Ether"
},
@@ -722,7 +716,7 @@
"optionalBlockExplorerUrl": {
"message": "屏蔽管理器 URL(选填)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "符号(选填)"
},
"orderOneHere": {
@@ -970,9 +964,6 @@
"sentEther": {
"message": "以太币已发送"
},
- "sentTokens": {
- "message": "代币已发送"
- },
"separateEachWord": {
"message": "用空格分隔每个单词"
},
diff --git a/app/_locales/zh_TW/messages.json b/app/_locales/zh_TW/messages.json
index dcbd8aab0..c2cad7c58 100644
--- a/app/_locales/zh_TW/messages.json
+++ b/app/_locales/zh_TW/messages.json
@@ -164,9 +164,6 @@
"cancel": {
"message": "取消"
},
- "cancelAttempt": {
- "message": "嘗試取消"
- },
"cancellationGasFee": {
"message": "需要的手續費"
},
@@ -308,9 +305,6 @@
"deleteNetworkDescription": {
"message": "你確定要刪除網路嗎?"
},
- "deposit": {
- "message": "存入"
- },
"depositEther": {
"message": "存入乙太幣"
},
@@ -731,7 +725,7 @@
"optionalBlockExplorerUrl": {
"message": "區塊鏈瀏覽器 URL(非必要)"
},
- "optionalSymbol": {
+ "optionalCurrencySymbol": {
"message": "Symbol (可選)"
},
"orderOneHere": {
@@ -967,9 +961,6 @@
"sentEther": {
"message": "發送乙太幣"
},
- "sentTokens": {
- "message": "發送代幣"
- },
"separateEachWord": {
"message": "單詞之間請以空白間隔"
},
diff --git a/app/manifest/_base.json b/app/manifest/_base.json
index 499b2893b..a83ba5dff 100644
--- a/app/manifest/_base.json
+++ b/app/manifest/_base.json
@@ -41,10 +41,6 @@
],
"default_locale": "en",
"description": "__MSG_appDescription__",
- "externally_connectable": {
- "matches": ["https://metamask.io/*"],
- "ids": ["*"]
- },
"icons": {
"16": "images/icon-16.png",
"19": "images/icon-19.png",
@@ -68,6 +64,6 @@
"notifications"
],
"short_name": "__MSG_appName__",
- "version": "8.1.3",
+ "version": "8.1.4",
"web_accessible_resources": ["inpage.js", "phishing.html"]
}
diff --git a/app/manifest/chrome.json b/app/manifest/chrome.json
index 2763a1120..908d430c9 100644
--- a/app/manifest/chrome.json
+++ b/app/manifest/chrome.json
@@ -1,3 +1,7 @@
{
+ "externally_connectable": {
+ "matches": ["https://metamask.io/*"],
+ "ids": ["*"]
+ },
"minimum_chrome_version": "58"
}
diff --git a/app/scripts/account-import-strategies/index.js b/app/scripts/account-import-strategies/index.js
index 9a7bc2f8e..49444c7ad 100644
--- a/app/scripts/account-import-strategies/index.js
+++ b/app/scripts/account-import-strategies/index.js
@@ -2,10 +2,10 @@ import log from 'loglevel'
import Wallet from 'ethereumjs-wallet'
import importers from 'ethereumjs-wallet/thirdparty'
import ethUtil from 'ethereumjs-util'
+import { addHexPrefix } from '../lib/util'
const accountImporter = {
-
- importAccount (strategy, args) {
+ importAccount(strategy, args) {
try {
const importer = this.strategies[strategy]
const privateKeyHex = importer(...args)
@@ -21,7 +21,7 @@ const accountImporter = {
throw new Error('Cannot import an empty key.')
}
- const prefixed = ethUtil.addHexPrefix(privateKey)
+ const prefixed = addHexPrefix(privateKey)
const buffer = ethUtil.toBuffer(prefixed)
if (!ethUtil.isValidPrivate(buffer)) {
@@ -43,10 +43,9 @@ const accountImporter = {
return walletToPrivateKey(wallet)
},
},
-
}
-function walletToPrivateKey (wallet) {
+function walletToPrivateKey(wallet) {
const privateKeyBuffer = wallet.getPrivateKey()
return ethUtil.bufferToHex(privateKeyBuffer)
}
diff --git a/app/scripts/background.js b/app/scripts/background.js
index 32aaec4af..99242f871 100644
--- a/app/scripts/background.js
+++ b/app/scripts/background.js
@@ -60,9 +60,7 @@ const requestAccountTabIds = {}
// state persistence
const inTest = process.env.IN_TEST === 'true'
-const localStore = inTest
- ? new ReadOnlyNetworkStore()
- : new LocalStore()
+const localStore = inTest ? new ReadOnlyNetworkStore() : new LocalStore()
let versionedData
if (inTest || process.env.METAMASK_DEBUG) {
@@ -141,9 +139,9 @@ initialize().catch(log.error)
/**
* Initializes the MetaMask controller, and sets up all platform configuration.
- * @returns {Promise} - Setup complete.
+ * @returns {Promise} Setup complete.
*/
-async function initialize () {
+async function initialize() {
const initState = await loadStateFromPersistence()
const initLangCode = await getFirstPreferredLangCode()
await setupController(initState, initLangCode)
@@ -157,17 +155,17 @@ async function initialize () {
/**
* Loads any stored data, prioritizing the latest storage strategy.
* Migrates that data schema in case it was last loaded on an older version.
- * @returns {Promise
+ {this.context.t('noAccountsFound')} +
+ ) } return filteredIdentities.map((identity) => { @@ -172,7 +170,10 @@ export default class AccountMenu extends Component { const simpleAddress = identity.address.substring(2).toLowerCase() const keyring = keyrings.find((kr) => { - return kr.accounts.includes(simpleAddress) || kr.accounts.includes(identity.address) + return ( + kr.accounts.includes(simpleAddress) || + kr.accounts.includes(identity.address) + ) }) const addressDomains = addressConnectedDomainMap[identity.address] || {} const iconAndNameForOpenDomain = addressDomains[originOfCurrentTab] @@ -193,37 +194,33 @@ export default class AccountMenu extends Component { key={identity.address} >{t('invalidCustomNetworkAlertContent1', [networkName])}
{t('invalidCustomNetworkAlertContent2')}
- { - t('invalidCustomNetworkAlertContent3', [( - global.platform.openTab({ url: 'https://chainid.network' }) - } - > - chainId.network - - )]) - } + {t('invalidCustomNetworkAlertContent3', [ + + global.platform.openTab({ url: 'https://chainid.network' }) + } + > + chainId.network + , + ])}
) diff --git a/ui/app/components/app/alerts/unconnected-account-alert/tests/unconnected-account-alert.test.js b/ui/app/components/app/alerts/unconnected-account-alert/tests/unconnected-account-alert.test.js index ff85ed553..fff6504bb 100644 --- a/ui/app/components/app/alerts/unconnected-account-alert/tests/unconnected-account-alert.test.js +++ b/ui/app/components/app/alerts/unconnected-account-alert/tests/unconnected-account-alert.test.js @@ -13,7 +13,6 @@ import * as actions from '../../../../../store/actions' import UnconnectedAccountAlert from '..' describe('Unconnected Account Alert', function () { - const network = '123' const selectedAddress = '0xec1adf982415d2ef5ec55899b9bfb8bc0f29251b' @@ -41,7 +40,7 @@ describe('Unconnected Account Alert', function () { } const cachedBalances = { - '123': { + 123: { '0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc': '0x0', '0xec1adf982415d2ef5ec55899b9bfb8bc0f29251b': '0x0', }, @@ -87,9 +86,7 @@ describe('Unconnected Account Alert', function () { { name: 'exposedAccounts', type: 'filterResponse', - value: [ - '0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc', - ], + value: ['0x0dcd5d886577d5081b0c52e242ef29e70be3e7bc'], }, ], invoker: 'https://test.dapp', @@ -112,7 +109,6 @@ describe('Unconnected Account Alert', function () { }) it('checks that checkbox is checked', function () { - const store = configureMockStore()(mockState) const { getByRole } = renderWithProvider({name}
- { - status - ? ( -- - {status} -
- ) - : null - } + {status ? ( ++ + {status} +
+ ) : null} {action}+
{t('permissions')}
{t('authorizedPermissions')}: