diff options
author | Alexander Tseung <alextsg@gmail.com> | 2018-03-30 00:37:29 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@gmail.com> | 2018-03-30 00:37:29 +0800 |
commit | ef61ef2ce885635862bb242612dd821cb3a65b6b (patch) | |
tree | 0f128f8b56b57a1bbe96dcf5743d34b5f95dc4cc /ui/app/app.js | |
parent | 58f52b2b8de9efd43896e23ab0ac9972f45bb278 (diff) | |
parent | 8766420f19251b95211dd99ff9a45e60cf0177ad (diff) | |
download | tangerine-wallet-browser-ef61ef2ce885635862bb242612dd821cb3a65b6b.tar tangerine-wallet-browser-ef61ef2ce885635862bb242612dd821cb3a65b6b.tar.gz tangerine-wallet-browser-ef61ef2ce885635862bb242612dd821cb3a65b6b.tar.bz2 tangerine-wallet-browser-ef61ef2ce885635862bb242612dd821cb3a65b6b.tar.lz tangerine-wallet-browser-ef61ef2ce885635862bb242612dd821cb3a65b6b.tar.xz tangerine-wallet-browser-ef61ef2ce885635862bb242612dd821cb3a65b6b.tar.zst tangerine-wallet-browser-ef61ef2ce885635862bb242612dd821cb3a65b6b.zip |
Fix i18n merge conflicts
Diffstat (limited to 'ui/app/app.js')
-rw-r--r-- | ui/app/app.js | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/ui/app/app.js b/ui/app/app.js index 2b6d5fc62..719830fda 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -1,12 +1,11 @@ const { Component } = require('react') const PropTypes = require('prop-types') -const { connect } = require('react-redux') +const connect = require('./metamask-connect') const { Route, Switch, Redirect, withRouter } = require('react-router-dom') const { compose } = require('recompose') const h = require('react-hyperscript') const actions = require('./actions') const classnames = require('classnames') -const t = require('../i18n') // init const InitializeScreen = require('../../mascara/src/app/first-time').default @@ -297,7 +296,10 @@ class App extends Component { }), // metamask name - h('h1', 'MetaMask'), + h('.flex-row', [ + h('h1', this.props.t('appName')), + h('div.beta-label', this.props.t('beta')), + ]), ]), @@ -602,15 +604,15 @@ class App extends Component { let name if (providerName === 'mainnet') { - name = t('connectingToMainnet') + name = this.props.t('connectingToMainnet') } else if (providerName === 'ropsten') { - name = t('connectingToRopsten') + name = this.props.t('connectingToRopsten') } else if (providerName === 'kovan') { - name = t('connectingToRopsten') + name = this.props.t('connectingToRopsten') } else if (providerName === 'rinkeby') { - name = t('connectingToRinkeby') + name = this.props.t('connectingToRinkeby') } else { - name = t('connectingToUnknown') + name = this.props.t('connectingToUnknown') } return name @@ -623,15 +625,15 @@ class App extends Component { let name if (providerName === 'mainnet') { - name = 'Main Ethereum Network' + name = this.props.t('mainnet') } else if (providerName === 'ropsten') { - name = 'Ropsten Test Network' + name = this.props.t('ropsten') } else if (providerName === 'kovan') { - name = 'Kovan Test Network' + name = this.props.t('kovan') } else if (providerName === 'rinkeby') { - name = 'Rinkeby Test Network' + name = this.props.t('rinkeby') } else { - name = 'Unknown Private Network' + name = this.props.t('unknownNetwork') } return name |