diff options
author | kumavis <kumavis@users.noreply.github.com> | 2018-03-14 02:25:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-14 02:25:31 +0800 |
commit | 15722b4e6c5610e2eb4a59683e5cd3cb3fe8b3f7 (patch) | |
tree | a3c2ca7b25e709aa4e1330e8c498b6bd335bffdf /ui/app/components/tx-view.js | |
parent | 3cbf66a6de0c5348e90992c378d54c6e60f28dd7 (diff) | |
parent | 5a1b2093f8a3307b9d56d903d8a1b75e86f36b29 (diff) | |
download | tangerine-wallet-browser-15722b4e6c5610e2eb4a59683e5cd3cb3fe8b3f7.tar.gz tangerine-wallet-browser-15722b4e6c5610e2eb4a59683e5cd3cb3fe8b3f7.tar.zst tangerine-wallet-browser-15722b4e6c5610e2eb4a59683e5cd3cb3fe8b3f7.zip |
Merge pull request #3456 from MetaMask/i18n
Add i18n
Diffstat (limited to 'ui/app/components/tx-view.js')
-rw-r--r-- | ui/app/components/tx-view.js | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/ui/app/components/tx-view.js b/ui/app/components/tx-view.js index ad9f9c5c0..96d776270 100644 --- a/ui/app/components/tx-view.js +++ b/ui/app/components/tx-view.js @@ -5,6 +5,7 @@ const ethUtil = require('ethereumjs-util') const inherits = require('util').inherits const actions = require('../actions') const selectors = require('../selectors') +const t = require('../../i18n') const BalanceComponent = require('./balance-component') const TxList = require('./tx-list') @@ -68,25 +69,25 @@ TxView.prototype.renderButtons = function () { return !selectedToken ? ( h('div.flex-row.flex-center.hero-balance-buttons', [ - h('button.btn-clear.hero-balance-button', { + h('button.btn-clear.hero-balance-button.allcaps', { onClick: () => showModal({ name: 'DEPOSIT_ETHER', }), - }, 'DEPOSIT'), + }, t('deposit')), - h('button.btn-clear.hero-balance-button', { + h('button.btn-clear.hero-balance-button.allcaps', { style: { marginLeft: '0.8em', }, onClick: showSendPage, - }, 'SEND'), + }, t('send')), ]) ) : ( h('div.flex-row.flex-center.hero-balance-buttons', [ h('button.btn-clear.hero-balance-button', { onClick: showSendTokenPage, - }, 'SEND'), + }, t('send')), ]) ) } |