aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/modals/hide-token-confirmation-modal.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/modals/hide-token-confirmation-modal.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/modals/hide-token-confirmation-modal.js')
-rw-r--r--ui/app/components/modals/hide-token-confirmation-modal.js13
1 files changed, 7 insertions, 6 deletions
diff --git a/ui/app/components/modals/hide-token-confirmation-modal.js b/ui/app/components/modals/hide-token-confirmation-modal.js
index 56c7ba299..33d8062c6 100644
--- a/ui/app/components/modals/hide-token-confirmation-modal.js
+++ b/ui/app/components/modals/hide-token-confirmation-modal.js
@@ -4,6 +4,7 @@ const inherits = require('util').inherits
const connect = require('react-redux').connect
const actions = require('../../actions')
const Identicon = require('../identicon')
+const t = require('../../../i18n')
function mapStateToProps (state) {
return {
@@ -41,7 +42,7 @@ HideTokenConfirmationModal.prototype.render = function () {
h('div.hide-token-confirmation__container', {
}, [
h('div.hide-token-confirmation__title', {}, [
- 'Hide Token?',
+ t('hideTokenPrompt'),
]),
h(Identicon, {
@@ -54,19 +55,19 @@ HideTokenConfirmationModal.prototype.render = function () {
h('div.hide-token-confirmation__symbol', {}, symbol),
h('div.hide-token-confirmation__copy', {}, [
- 'You can add this token back in the future by going go to “Add token” in your accounts options menu.',
+ t('readdToken'),
]),
h('div.hide-token-confirmation__buttons', {}, [
- h('button.btn-cancel.hide-token-confirmation__button', {
+ h('button.btn-cancel.hide-token-confirmation__button.allcaps', {
onClick: () => hideModal(),
}, [
- 'CANCEL',
+ t('cancel'),
]),
- h('button.btn-clear.hide-token-confirmation__button', {
+ h('button.btn-clear.hide-token-confirmation__button.allcaps', {
onClick: () => hideToken(address),
}, [
- 'HIDE',
+ t('hide'),
]),
]),
]),