Use translated string for state log (#7255)

feature/default_network_editable
ryanml 5 years ago committed by Mark Stacey
parent 8b5ac9340b
commit 3383eabc9d
  1. 3
      app/_locales/en/messages.json
  2. 2
      ui/app/pages/settings/advanced-tab/advanced-tab.component.js

@ -1209,6 +1209,9 @@
"switchNetworks": {
"message": "Switch Networks"
},
"stateLogFileName": {
"message": "MetaMask State Logs"
},
"stateLogs": {
"message": "State Logs"
},

@ -85,7 +85,7 @@ export default class AdvancedTab extends PureComponent {
if (err) {
displayWarning(t('stateLogError'))
} else {
exportAsFile('MetaMask State Logs.json', result)
exportAsFile(`${t('stateLogFileName')}.json`, result)
}
})
}}

Loading…
Cancel
Save