diff options
author | kumavis <kumavis@users.noreply.github.com> | 2018-03-28 09:41:45 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-28 09:41:45 +0800 |
commit | 0582fdb617a23cc56e9e08460f09d86769599fc1 (patch) | |
tree | 5daf844ac1fd0c9d1f683b479184509ebb96c850 /ui/app/components/pending-msg-details.js | |
parent | b6b18339e2de92afd2fb5364ec5bc4c29b4d10a3 (diff) | |
parent | b4ec68b2d4b6713e0a203df88eb4a8982c2cf2c6 (diff) | |
download | tangerine-wallet-browser-0582fdb617a23cc56e9e08460f09d86769599fc1.tar tangerine-wallet-browser-0582fdb617a23cc56e9e08460f09d86769599fc1.tar.gz tangerine-wallet-browser-0582fdb617a23cc56e9e08460f09d86769599fc1.tar.bz2 tangerine-wallet-browser-0582fdb617a23cc56e9e08460f09d86769599fc1.tar.lz tangerine-wallet-browser-0582fdb617a23cc56e9e08460f09d86769599fc1.tar.xz tangerine-wallet-browser-0582fdb617a23cc56e9e08460f09d86769599fc1.tar.zst tangerine-wallet-browser-0582fdb617a23cc56e9e08460f09d86769599fc1.zip |
Merge pull request #3609 from MetaMask/i18n-translator-redux
Handle i18n with redux.
Diffstat (limited to 'ui/app/components/pending-msg-details.js')
-rw-r--r-- | ui/app/components/pending-msg-details.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/components/pending-msg-details.js b/ui/app/components/pending-msg-details.js index 87e66855d..ddec8470d 100644 --- a/ui/app/components/pending-msg-details.js +++ b/ui/app/components/pending-msg-details.js @@ -1,11 +1,11 @@ const Component = require('react').Component const h = require('react-hyperscript') const inherits = require('util').inherits -const t = require('../../i18n') +const connect = require('../metamask-connect') const AccountPanel = require('./account-panel') -module.exports = PendingMsgDetails +module.exports = connect()(PendingMsgDetails) inherits(PendingMsgDetails, Component) function PendingMsgDetails () { @@ -40,7 +40,7 @@ PendingMsgDetails.prototype.render = function () { // message data h('.tx-data.flex-column.flex-justify-center.flex-grow.select-none', [ h('.flex-column.flex-space-between', [ - h('label.font-small.allcaps', t('message')), + h('label.font-small.allcaps', this.props.t('message')), h('span.font-small', msgParams.data), ]), ]), |