diff options
author | Nick Doiron <ndoiron@mapmeld.com> | 2018-01-24 16:14:47 +0800 |
---|---|---|
committer | Nick Doiron <ndoiron@mapmeld.com> | 2018-01-24 16:14:47 +0800 |
commit | 99898ac77594d8fe6d4d2aa5bc3e3ba6492f4a10 (patch) | |
tree | a95190772699c57c2a49aae512ba738968c89784 /ui/app/accounts/new-account | |
parent | bad70eb1b328aa911a2523ccab642d7607161b4b (diff) | |
download | tangerine-wallet-browser-99898ac77594d8fe6d4d2aa5bc3e3ba6492f4a10.tar tangerine-wallet-browser-99898ac77594d8fe6d4d2aa5bc3e3ba6492f4a10.tar.gz tangerine-wallet-browser-99898ac77594d8fe6d4d2aa5bc3e3ba6492f4a10.tar.bz2 tangerine-wallet-browser-99898ac77594d8fe6d4d2aa5bc3e3ba6492f4a10.tar.lz tangerine-wallet-browser-99898ac77594d8fe6d4d2aa5bc3e3ba6492f4a10.tar.xz tangerine-wallet-browser-99898ac77594d8fe6d4d2aa5bc3e3ba6492f4a10.tar.zst tangerine-wallet-browser-99898ac77594d8fe6d4d2aa5bc3e3ba6492f4a10.zip |
better organization of locale file; i18n in more view files
Diffstat (limited to 'ui/app/accounts/new-account')
-rw-r--r-- | ui/app/accounts/new-account/create-form.js | 8 | ||||
-rw-r--r-- | ui/app/accounts/new-account/index.js | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/ui/app/accounts/new-account/create-form.js b/ui/app/accounts/new-account/create-form.js index 494726ae4..f9faa928c 100644 --- a/ui/app/accounts/new-account/create-form.js +++ b/ui/app/accounts/new-account/create-form.js @@ -21,13 +21,13 @@ class NewAccountCreateForm extends Component { return h('div.new-account-create-form', [ h('div.new-account-create-form__input-label', {}, [ - 'Account Name', + t('accountName'), ]), h('div.new-account-create-form__input-wrapper', {}, [ h('input.new-account-create-form__input', { value: this.state.newAccountName, - placeholder: 'E.g. My new account', + placeholder: t('sampleAccountName'), onChange: event => this.setState({ newAccountName: event.target.value }), }, []), ]), @@ -37,13 +37,13 @@ class NewAccountCreateForm extends Component { h('button.new-account-create-form__button-cancel', { onClick: () => this.props.goHome(), }, [ - 'CANCEL', + t('cancelCaps'), ]), h('button.new-account-create-form__button-create', { onClick: () => this.props.createAccount(newAccountName), }, [ - 'CREATE', + t('createCaps'), ]), ]), diff --git a/ui/app/accounts/new-account/index.js b/ui/app/accounts/new-account/index.js index acf0dc6e4..1ed43ae08 100644 --- a/ui/app/accounts/new-account/index.js +++ b/ui/app/accounts/new-account/index.js @@ -42,10 +42,10 @@ AccountDetailsModal.prototype.render = function () { const { displayedForm, displayForm } = this.props return h('div.new-account', {}, [ - + h('div.new-account__header', [ - h('div.new-account__title', 'New Account'), + h('div.new-account__title', t('newAccount')), h('div.new-account__tabs', [ @@ -55,7 +55,7 @@ AccountDetailsModal.prototype.render = function () { 'new-account__tabs__unselected cursor-pointer': displayedForm !== 'CREATE', }), onClick: () => displayForm('CREATE'), - }, 'Create'), + }, t('createDen')), h('div.new-account__tabs__tab', { className: classnames('new-account__tabs__tab', { @@ -63,7 +63,7 @@ AccountDetailsModal.prototype.render = function () { 'new-account__tabs__unselected cursor-pointer': displayedForm !== 'IMPORT', }), onClick: () => displayForm('IMPORT'), - }, 'Import'), + }, t('import')), ]), |