aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/wallet-view.js
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-03-14 05:49:26 +0800
committerkumavis <aaron@kumavis.me>2018-03-14 05:49:26 +0800
commite48934dc04f94ef66ebb69a26105ce9bbf5f3842 (patch)
treeffc35395cfbb2b3dbbe254ec87dc6d1eff708ef7 /ui/app/components/wallet-view.js
parenta88e436b7d45d9a7f9f4d4a4be58aff5e58e9074 (diff)
parent239d7106abe39b3a16871442b30edeac54b1bef4 (diff)
downloadtangerine-wallet-browser-e48934dc04f94ef66ebb69a26105ce9bbf5f3842.tar.gz
tangerine-wallet-browser-e48934dc04f94ef66ebb69a26105ce9bbf5f3842.tar.zst
tangerine-wallet-browser-e48934dc04f94ef66ebb69a26105ce9bbf5f3842.zip
Merge branch 'master' of github.com:MetaMask/metamask-extension into i3076-UseStorageLocalInstead
Diffstat (limited to 'ui/app/components/wallet-view.js')
-rw-r--r--ui/app/components/wallet-view.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/ui/app/components/wallet-view.js b/ui/app/components/wallet-view.js
index 34f27ca2a..18452205c 100644
--- a/ui/app/components/wallet-view.js
+++ b/ui/app/components/wallet-view.js
@@ -11,6 +11,7 @@ const actions = require('../actions')
const BalanceComponent = require('./balance-component')
const TokenList = require('./token-list')
const selectors = require('../selectors')
+const t = require('../../i18n')
module.exports = connect(mapStateToProps, mapDispatchToProps)(WalletView)
@@ -116,7 +117,7 @@ WalletView.prototype.render = function () {
onClick: hideSidebar,
}),
- h('div.wallet-view__keyring-label', isLoose ? 'IMPORTED' : ''),
+ h('div.wallet-view__keyring-label.allcaps', isLoose ? t('imported') : ''),
h('div.flex-column.flex-center.wallet-view__name-container', {
style: { margin: '0 auto' },
@@ -133,13 +134,13 @@ WalletView.prototype.render = function () {
selectedIdentity.name,
]),
- h('button.btn-clear.wallet-view__details-button', 'DETAILS'),
+ h('button.btn-clear.wallet-view__details-button.allcaps', t('details')),
]),
]),
h(Tooltip, {
position: 'bottom',
- title: this.state.hasCopied ? 'Copied!' : 'Copy to clipboard',
+ title: this.state.hasCopied ? t('copiedExclamation') : t('copyToClipboard'),
wrapperClassName: 'wallet-view__tooltip',
}, [
h('button.wallet-view__address', {
@@ -172,7 +173,7 @@ WalletView.prototype.render = function () {
showAddTokenPage()
hideSidebar()
},
- }, 'Add Token'),
+ }, t('addToken')),
])
}