diff options
author | Dan <danjm.com@gmail.com> | 2018-03-14 10:32:27 +0800 |
---|---|---|
committer | Dan <danjm.com@gmail.com> | 2018-03-14 10:32:27 +0800 |
commit | 798988597bd17aa73d7a20502905a453f1d51ba4 (patch) | |
tree | 69f083adbe19ce4e5b8094f1004cb1fd3a3f75c9 /ui/app/components/shift-list-item.js | |
parent | cc267d6c818c83b0384b569733d05efef384ac3e (diff) | |
parent | 5fbfb0b67c9eb50b6cc503e78154ab237d2d9731 (diff) | |
download | tangerine-wallet-browser-798988597bd17aa73d7a20502905a453f1d51ba4.tar.gz tangerine-wallet-browser-798988597bd17aa73d7a20502905a453f1d51ba4.tar.zst tangerine-wallet-browser-798988597bd17aa73d7a20502905a453f1d51ba4.zip |
Merge branch 'master' into retry-tx-refractor
Diffstat (limited to 'ui/app/components/shift-list-item.js')
-rw-r--r-- | ui/app/components/shift-list-item.js | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/ui/app/components/shift-list-item.js b/ui/app/components/shift-list-item.js index 017bf9f0c..fddbc6821 100644 --- a/ui/app/components/shift-list-item.js +++ b/ui/app/components/shift-list-item.js @@ -6,6 +6,7 @@ const vreme = new (require('vreme'))() const explorerLink = require('etherscan-link').createExplorerLink const actions = require('../actions') const addressSummary = require('../util').addressSummary +const t = require('../../i18n') const CopyButton = require('./copyButton') const EthBalance = require('./eth-balance') @@ -75,7 +76,7 @@ ShiftListItem.prototype.renderUtilComponents = function () { value: this.props.depositAddress, }), h(Tooltip, { - title: 'QR Code', + title: t('qrCode'), }, [ h('i.fa.fa-qrcode.pointer.pop-hover', { onClick: () => props.dispatch(actions.reshowQrCode(props.depositAddress, props.depositType)), @@ -135,8 +136,8 @@ ShiftListItem.prototype.renderInfo = function () { color: '#ABA9AA', width: '100%', }, - }, `${props.depositType} to ETH via ShapeShift`), - h('div', 'No deposits received'), + }, t('toETHviaShapeShift', [props.depositType])), + h('div', t('noDeposits')), h('div', { style: { fontSize: 'x-small', @@ -158,8 +159,8 @@ ShiftListItem.prototype.renderInfo = function () { color: '#ABA9AA', width: '100%', }, - }, `${props.depositType} to ETH via ShapeShift`), - h('div', 'Conversion in progress'), + }, t('toETHviaShapeShift', [props.depositType])), + h('div', t('conversionProgress')), h('div', { style: { fontSize: 'x-small', @@ -184,7 +185,7 @@ ShiftListItem.prototype.renderInfo = function () { color: '#ABA9AA', width: '100%', }, - }, 'From ShapeShift'), + }, t('fromShapeShift')), h('div', formatDate(props.time)), h('div', { style: { @@ -196,7 +197,7 @@ ShiftListItem.prototype.renderInfo = function () { ]) case 'failed': - return h('span.error', '(Failed)') + return h('span.error', '(' + t('failed') + ')') default: return '' } |