diff options
author | brunobar79 <brunobar79@gmail.com> | 2018-07-06 05:04:36 +0800 |
---|---|---|
committer | brunobar79 <brunobar79@gmail.com> | 2018-07-06 05:04:36 +0800 |
commit | ba5cde0995f956fb22825d604fe7d664677abaaa (patch) | |
tree | dc4879dbe28578df3b84ccacafdf6f1fef32fbc8 /ui | |
parent | 313090efcc5200c56373cf312052217f1a1340ef (diff) | |
download | tangerine-wallet-browser-ba5cde0995f956fb22825d604fe7d664677abaaa.tar tangerine-wallet-browser-ba5cde0995f956fb22825d604fe7d664677abaaa.tar.gz tangerine-wallet-browser-ba5cde0995f956fb22825d604fe7d664677abaaa.tar.bz2 tangerine-wallet-browser-ba5cde0995f956fb22825d604fe7d664677abaaa.tar.lz tangerine-wallet-browser-ba5cde0995f956fb22825d604fe7d664677abaaa.tar.xz tangerine-wallet-browser-ba5cde0995f956fb22825d604fe7d664677abaaa.tar.zst tangerine-wallet-browser-ba5cde0995f956fb22825d604fe7d664677abaaa.zip |
move strings to localization file
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/components/pages/create-account/connect-hardware.js | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/ui/app/components/pages/create-account/connect-hardware.js b/ui/app/components/pages/create-account/connect-hardware.js index c51b4c773..1e4ee38e3 100644 --- a/ui/app/components/pages/create-account/connect-hardware.js +++ b/ui/app/components/pages/create-account/connect-hardware.js @@ -179,17 +179,18 @@ class ConnectHardwareForm extends Component { renderUnsupportedBrowser () { return ( - [h('div.hw-unsupported-browser', [ - h('h3.hw-unsupported-browser__title', {}, 'Bummer! Your Browser is not supported...'), - h('p.hw-unsupported-browser__msg', {}, 'You need to use Metamask on Google Chrome in order to connect to your TREZOR device.'), - ]), - h( - 'button.btn-primary.btn--large', - { onClick: () => global.platform.openWindow({ - url: 'https://google.com/chrome', - }), style: { margin: 12 } }, - 'Download Google Chrome' - )] + [ + h('div.hw-unsupported-browser', [ + h('h3.hw-unsupported-browser__title', {}, this.context.t('browserNotSupported')), + h('p.hw-unsupported-browser__msg', {}, this.context.t('chromeRequiredForTrezor')), + ]), + h( + 'button.btn-primary.btn--large', + { onClick: () => global.platform.openWindow({ + url: 'https://google.com/chrome', + }), style: { margin: 12 } }, + this.context.t('downloadGoogleChrome') + )] ) } |