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/components/modals/edit-account-name-modal.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/components/modals/edit-account-name-modal.js')
-rw-r--r-- | ui/app/components/modals/edit-account-name-modal.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ui/app/components/modals/edit-account-name-modal.js b/ui/app/components/modals/edit-account-name-modal.js index e2361140d..6efa8d476 100644 --- a/ui/app/components/modals/edit-account-name-modal.js +++ b/ui/app/components/modals/edit-account-name-modal.js @@ -4,6 +4,7 @@ const inherits = require('util').inherits const connect = require('react-redux').connect const actions = require('../../actions') const { getSelectedAccount } = require('../../selectors') +const t = require('../../../i18n') function mapStateToProps (state) { return { @@ -50,7 +51,7 @@ EditAccountNameModal.prototype.render = function () { ]), h('div.edit-account-name-modal-title', { - }, ['Edit Account Name']), + }, [t('editAccountName')]), h('input.edit-account-name-modal-input', { placeholder: identity.name, @@ -60,7 +61,7 @@ EditAccountNameModal.prototype.render = function () { value: this.state.inputText, }, []), - h('button.btn-clear.edit-account-name-modal-save-button', { + h('button.btn-clear.edit-account-name-modal-save-button.allcaps', { onClick: () => { if (this.state.inputText.length !== 0) { saveAccountLabel(identity.address, this.state.inputText) @@ -69,7 +70,7 @@ EditAccountNameModal.prototype.render = function () { }, disabled: this.state.inputText.length === 0, }, [ - 'SAVE', + t('save'), ]), ]), |