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/tx-list.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/tx-list.js')
-rw-r--r-- | ui/app/components/tx-list.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/app/components/tx-list.js b/ui/app/components/tx-list.js index 782de0266..08e37ebc8 100644 --- a/ui/app/components/tx-list.js +++ b/ui/app/components/tx-list.js @@ -10,6 +10,7 @@ const { formatDate } = require('../util') const { showConfTxPage } = require('../actions') const classnames = require('classnames') const { tokenInfoGetter } = require('../token-util') +const t = require('../../i18n') module.exports = connect(mapStateToProps, mapDispatchToProps)(TxList) @@ -56,7 +57,7 @@ TxList.prototype.renderTransaction = function () { : [h( 'div.tx-list-item.tx-list-item--empty', { key: 'tx-list-none' }, - [ 'No Transactions' ], + [ t('noTransactions') ], )] } @@ -110,7 +111,7 @@ TxList.prototype.renderTransactionListItem = function (transaction, conversionRa if (isUnapproved) { opts.onClick = () => showConfTxPage({id: transactionId}) - opts.transactionStatus = 'Not Started' + opts.transactionStatus = t('Not Started') } else if (transactionHash) { opts.onClick = () => this.view(transactionHash, transactionNetworkId) } |