aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/welcome-screen.js
diff options
context:
space:
mode:
author03-26 <37808790+03-26@users.noreply.github.com>2018-06-07 02:38:57 +0800
committerkumavis <kumavis@users.noreply.github.com>2018-06-07 02:38:57 +0800
commitccd4884db112a5440e7f482f644e6729e638dc49 (patch)
tree682f8b5398451dc680c5414f09ed5e28948113ec /ui/app/welcome-screen.js
parent00f24339524850f7aa3a587914a9d33a10ccc539 (diff)
downloadtangerine-wallet-browser-ccd4884db112a5440e7f482f644e6729e638dc49.tar
tangerine-wallet-browser-ccd4884db112a5440e7f482f644e6729e638dc49.tar.gz
tangerine-wallet-browser-ccd4884db112a5440e7f482f644e6729e638dc49.tar.bz2
tangerine-wallet-browser-ccd4884db112a5440e7f482f644e6729e638dc49.tar.lz
tangerine-wallet-browser-ccd4884db112a5440e7f482f644e6729e638dc49.tar.xz
tangerine-wallet-browser-ccd4884db112a5440e7f482f644e6729e638dc49.tar.zst
tangerine-wallet-browser-ccd4884db112a5440e7f482f644e6729e638dc49.zip
i18n - ja improvements
Diffstat (limited to 'ui/app/welcome-screen.js')
-rw-r--r--ui/app/welcome-screen.js14
1 files changed, 9 insertions, 5 deletions
diff --git a/ui/app/welcome-screen.js b/ui/app/welcome-screen.js
index 2fa244d9f..63512cd50 100644
--- a/ui/app/welcome-screen.js
+++ b/ui/app/welcome-screen.js
@@ -14,6 +14,11 @@ class WelcomeScreen extends Component {
closeWelcomeScreen: PropTypes.func.isRequired,
welcomeScreenSeen: PropTypes.bool,
history: PropTypes.object,
+ t: PropTypes.func,
+ }
+
+ static contextTypes = {
+ t: PropTypes.func,
}
constructor (props) {
@@ -45,16 +50,15 @@ class WelcomeScreen extends Component {
height: '225',
}),
- h('div.welcome-screen__info__header', 'Welcome to MetaMask Beta'),
+ h('div.welcome-screen__info__header', this.context.t('welcomeBeta')),
- h('div.welcome-screen__info__copy', 'MetaMask is a secure identity vault for Ethereum.'),
+ h('div.welcome-screen__info__copy', this.context.t('metamaskDescription')),
- h('div.welcome-screen__info__copy', `It allows you to hold ether & tokens,
- and serves as your bridge to decentralized applications.`),
+ h('div.welcome-screen__info__copy', this.context.t('holdEther')),
h('button.welcome-screen__button', {
onClick: this.initiateAccountCreation,
- }, 'Continue'),
+ }, this.context.t('continue')),
]),