Remove "Copy Contract Address" from token options

feature/default_network_editable
Whymarrh Whitby 6 years ago
parent 8dc8fd0903
commit 2c5fb11b37
  1. 3
      app/_locales/en/messages.json
  2. 3
      app/_locales/ht/messages.json
  3. 7
      app/_locales/ja/messages.json
  4. 3
      app/_locales/ko/messages.json
  5. 9
      ui/app/components/dropdowns/token-menu-dropdown.js

@ -200,9 +200,6 @@
"copy": { "copy": {
"message": "Copy" "message": "Copy"
}, },
"copyContractAddress": {
"message": "Copy Contract Address"
},
"copyAddress": { "copyAddress": {
"message": "Copy address to clipboard" "message": "Copy address to clipboard"
}, },

@ -185,9 +185,6 @@
"copy": { "copy": {
"message": "Kopye" "message": "Kopye"
}, },
"copyContractAddress": {
"message": "Kopi Kontra Adrès"
},
"copyAddress": { "copyAddress": {
"message": "Kopi adrès clipboard" "message": "Kopi adrès clipboard"
}, },

@ -16,7 +16,7 @@
}, },
"addCustomToken": { "addCustomToken": {
"message": "カスタムトークンを追加" "message": "カスタムトークンを追加"
}, },
"addToken": { "addToken": {
"message": "トークンを追加" "message": "トークンを追加"
}, },
@ -122,9 +122,6 @@
"copy": { "copy": {
"message": "コピー" "message": "コピー"
}, },
"copyContractAddress": {
"message": "コントラクトアドレスをコピー"
},
"copyToClipboard": { "copyToClipboard": {
"message": "クリップボードへコピー" "message": "クリップボードへコピー"
}, },
@ -164,7 +161,7 @@
}, },
"decimal": { "decimal": {
"message": "小数点桁数" "message": "小数点桁数"
}, },
"defaultNetwork": { "defaultNetwork": {
"message": "デフォルトのEther送受信ネットワークはメインネットです。" "message": "デフォルトのEther送受信ネットワークはメインネットです。"
}, },

@ -146,9 +146,6 @@
"copy": { "copy": {
"message": "복사" "message": "복사"
}, },
"copyContractAddress": {
"message": "컨트랙트 주소 복사"
},
"copyToClipboard": { "copyToClipboard": {
"message": "클립보드로 복사" "message": "클립보드로 복사"
}, },

@ -5,7 +5,6 @@ const inherits = require('util').inherits
const connect = require('react-redux').connect const connect = require('react-redux').connect
const actions = require('../../actions') const actions = require('../../actions')
const genAccountLink = require('etherscan-link').createAccountLink const genAccountLink = require('etherscan-link').createAccountLink
const copyToClipboard = require('copy-to-clipboard')
const { Menu, Item, CloseArea } = require('./components/menu') const { Menu, Item, CloseArea } = require('./components/menu')
TokenMenuDropdown.contextTypes = { TokenMenuDropdown.contextTypes = {
@ -56,14 +55,6 @@ TokenMenuDropdown.prototype.render = function () {
}, },
text: this.context.t('hideToken'), text: this.context.t('hideToken'),
}), }),
h(Item, {
onClick: (e) => {
e.stopPropagation()
copyToClipboard(this.props.token.address)
this.props.onClose()
},
text: this.context.t('copyContractAddress'),
}),
h(Item, { h(Item, {
onClick: (e) => { onClick: (e) => {
e.stopPropagation() e.stopPropagation()

Loading…
Cancel
Save