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/accounts/import/private-key.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/accounts/import/private-key.js')
-rw-r--r-- | ui/app/accounts/import/private-key.js | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/ui/app/accounts/import/private-key.js b/ui/app/accounts/import/private-key.js index 12f3a6430..bc9e9384e 100644 --- a/ui/app/accounts/import/private-key.js +++ b/ui/app/accounts/import/private-key.js @@ -3,6 +3,7 @@ const Component = require('react').Component const h = require('react-hyperscript') const connect = require('react-redux').connect const actions = require('../../actions') +const t = require('../../../i18n') module.exports = connect(mapStateToProps, mapDispatchToProps)(PrivateKeyImportView) @@ -33,9 +34,9 @@ PrivateKeyImportView.prototype.render = function () { return ( h('div.new-account-import-form__private-key', [ - h('div.new-account-import-form__private-key-password-container', [ + h('span.new-account-create-form__instruction', t('pastePrivateKey')), - h('span.new-account-import-form__instruction', 'Paste your private key string here:'), + h('div.new-account-import-form__private-key-password-container', [ h('input.new-account-import-form__input-password', { type: 'password', @@ -47,16 +48,16 @@ PrivateKeyImportView.prototype.render = function () { h('div.new-account-import-form__buttons', {}, [ - h('button.new-account-create-form__button-cancel', { + h('button.new-account-create-form__button-cancel.allcaps', { onClick: () => goHome(), }, [ - 'CANCEL', + t('cancel'), ]), - h('button.new-account-create-form__button-create', { + h('button.new-account-create-form__button-create.allcaps', { onClick: () => this.createNewKeychain(), }, [ - 'IMPORT', + t('import'), ]), ]), |