aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/accounts/new-account
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-03-15 07:31:45 +0800
committerkumavis <aaron@kumavis.me>2018-03-15 07:32:35 +0800
commit34aeef50a0519576da64f23d65afdfbfa278273d (patch)
treea2cdfc8e11630a2077fe2c1903894e433f977c7e /ui/app/accounts/new-account
parente2efc91aee64072c408ab509219dcbfb389c7609 (diff)
downloadtangerine-wallet-browser-34aeef50a0519576da64f23d65afdfbfa278273d.tar.gz
tangerine-wallet-browser-34aeef50a0519576da64f23d65afdfbfa278273d.tar.zst
tangerine-wallet-browser-34aeef50a0519576da64f23d65afdfbfa278273d.zip
i18n - load locales manually
Diffstat (limited to 'ui/app/accounts/new-account')
-rw-r--r--ui/app/accounts/new-account/create-form.js4
-rw-r--r--ui/app/accounts/new-account/index.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/accounts/new-account/create-form.js b/ui/app/accounts/new-account/create-form.js
index 8ef842a2a..78802d35a 100644
--- a/ui/app/accounts/new-account/create-form.js
+++ b/ui/app/accounts/new-account/create-form.js
@@ -3,7 +3,7 @@ const PropTypes = require('prop-types')
const h = require('react-hyperscript')
const { connect } = require('react-redux')
const actions = require('../../actions')
-const t = require('../../../i18n')
+const t = global.getMessage
class NewAccountCreateForm extends Component {
constructor (props) {
@@ -20,7 +20,7 @@ class NewAccountCreateForm extends Component {
render () {
const { newAccountName, defaultAccountName } = this.state
-
+
return h('div.new-account-create-form', [
diff --git a/ui/app/accounts/new-account/index.js b/ui/app/accounts/new-account/index.js
index 854568c77..a4535ec83 100644
--- a/ui/app/accounts/new-account/index.js
+++ b/ui/app/accounts/new-account/index.js
@@ -3,7 +3,7 @@ const h = require('react-hyperscript')
const inherits = require('util').inherits
const connect = require('react-redux').connect
const actions = require('../../actions')
-const t = require('../../../i18n')
+const t = global.getMessage
const { getCurrentViewContext } = require('../../selectors')
const classnames = require('classnames')