move strings to localization file
This commit is contained in:
parent
313090efcc
commit
ba5cde0995
|
@ -80,6 +80,9 @@
|
||||||
"borrowDharma": {
|
"borrowDharma": {
|
||||||
"message": "Borrow With Dharma (Beta)"
|
"message": "Borrow With Dharma (Beta)"
|
||||||
},
|
},
|
||||||
|
"browserNotSupported": {
|
||||||
|
"message": "Bummer! Your Browser is not supported..."
|
||||||
|
},
|
||||||
"builtInCalifornia": {
|
"builtInCalifornia": {
|
||||||
"message": "MetaMask is designed and built in California."
|
"message": "MetaMask is designed and built in California."
|
||||||
},
|
},
|
||||||
|
@ -107,6 +110,9 @@
|
||||||
"close": {
|
"close": {
|
||||||
"message": "Close"
|
"message": "Close"
|
||||||
},
|
},
|
||||||
|
"chromeRequiredForTrezor":{
|
||||||
|
"message": "You need to use Metamask on Google Chrome in order to connect to your TREZOR device."
|
||||||
|
},
|
||||||
"confirm": {
|
"confirm": {
|
||||||
"message": "Confirm"
|
"message": "Confirm"
|
||||||
},
|
},
|
||||||
|
@ -259,6 +265,9 @@
|
||||||
"done": {
|
"done": {
|
||||||
"message": "Done"
|
"message": "Done"
|
||||||
},
|
},
|
||||||
|
"downloadGoogleChrome": {
|
||||||
|
"message": "Download Google Chrome"
|
||||||
|
},
|
||||||
"downloadStateLogs": {
|
"downloadStateLogs": {
|
||||||
"message": "Download State Logs"
|
"message": "Download State Logs"
|
||||||
},
|
},
|
||||||
|
|
|
@ -179,16 +179,17 @@ class ConnectHardwareForm extends Component {
|
||||||
|
|
||||||
renderUnsupportedBrowser () {
|
renderUnsupportedBrowser () {
|
||||||
return (
|
return (
|
||||||
[h('div.hw-unsupported-browser', [
|
[
|
||||||
h('h3.hw-unsupported-browser__title', {}, 'Bummer! Your Browser is not supported...'),
|
h('div.hw-unsupported-browser', [
|
||||||
h('p.hw-unsupported-browser__msg', {}, 'You need to use Metamask on Google Chrome in order to connect to your TREZOR device.'),
|
h('h3.hw-unsupported-browser__title', {}, this.context.t('browserNotSupported')),
|
||||||
|
h('p.hw-unsupported-browser__msg', {}, this.context.t('chromeRequiredForTrezor')),
|
||||||
]),
|
]),
|
||||||
h(
|
h(
|
||||||
'button.btn-primary.btn--large',
|
'button.btn-primary.btn--large',
|
||||||
{ onClick: () => global.platform.openWindow({
|
{ onClick: () => global.platform.openWindow({
|
||||||
url: 'https://google.com/chrome',
|
url: 'https://google.com/chrome',
|
||||||
}), style: { margin: 12 } },
|
}), style: { margin: 12 } },
|
||||||
'Download Google Chrome'
|
this.context.t('downloadGoogleChrome')
|
||||||
)]
|
)]
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue