diff options
author | Thomas <tmashuang@gmail.com> | 2018-03-15 04:29:47 +0800 |
---|---|---|
committer | Thomas <tmashuang@gmail.com> | 2018-03-15 04:29:47 +0800 |
commit | 6306c7b1901fa831e25ddd29607618122f805749 (patch) | |
tree | 1188badf33b0481f6b18c8894f32284c4c5efbcb /ui/app/components/pending-typed-msg.js | |
parent | a3af225e499a5989d86937ad022cffe03334cd2a (diff) | |
parent | e2efc91aee64072c408ab509219dcbfb389c7609 (diff) | |
download | tangerine-wallet-browser-6306c7b1901fa831e25ddd29607618122f805749.tar.gz tangerine-wallet-browser-6306c7b1901fa831e25ddd29607618122f805749.tar.zst tangerine-wallet-browser-6306c7b1901fa831e25ddd29607618122f805749.zip |
Merge branch 'master' into selenium-e2e
Diffstat (limited to 'ui/app/components/pending-typed-msg.js')
-rw-r--r-- | ui/app/components/pending-typed-msg.js | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/ui/app/components/pending-typed-msg.js b/ui/app/components/pending-typed-msg.js index f8926d0a3..ccde5e8af 100644 --- a/ui/app/components/pending-typed-msg.js +++ b/ui/app/components/pending-typed-msg.js @@ -2,6 +2,7 @@ const Component = require('react').Component const h = require('react-hyperscript') const inherits = require('util').inherits const PendingTxDetails = require('./pending-typed-msg-details') +const t = require('../../i18n') module.exports = PendingMsg @@ -26,19 +27,19 @@ PendingMsg.prototype.render = function () { fontWeight: 'bold', textAlign: 'center', }, - }, 'Sign Message'), + }, t('signMessage')), // message details h(PendingTxDetails, state), // sign + cancel h('.flex-row.flex-space-around', [ - h('button', { + h('button.allcaps', { onClick: state.cancelTypedMessage, - }, 'Cancel'), - h('button', { + }, t('cancel')), + h('button.allcaps', { onClick: state.signTypedMessage, - }, 'Sign'), + }, t('sign')), ]), ]) |