Fix untranslated header text in AccountImportSubview (#12640)

* Fix untranslated header text in AccountImportSubview

* use styling for link spacing
feature/default_network_editable
ryanml 3 years ago committed by GitHub
parent dc19e1d5f6
commit 9ab6293129
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/_locales/en/messages.json
  2. 2
      ui/pages/create-account/import-account/index.js
  3. 1
      ui/pages/create-account/import-account/index.scss

@ -1130,7 +1130,7 @@
"message": "import using Secret Recovery Phrase" "message": "import using Secret Recovery Phrase"
}, },
"importAccountMsg": { "importAccountMsg": {
"message": " Imported accounts will not be associated with your originally created MetaMask account Secret Recovery Phrase. Learn more about imported accounts " "message": "Imported accounts will not be associated with your originally created MetaMask account Secret Recovery Phrase. Learn more about imported accounts"
}, },
"importAccountSeedPhrase": { "importAccountSeedPhrase": {
"message": "Import a wallet with Secret Recovery Phrase" "message": "Import a wallet with Secret Recovery Phrase"

@ -41,7 +41,7 @@ export default class AccountImportSubview extends Component {
return ( return (
<> <>
<div className="page-container__header"> <div className="page-container__header">
<div className="page-container__title">Import Account</div> <div className="page-container__title">{t('importAccount')}</div>
<div className="page-container__subtitle"> <div className="page-container__subtitle">
{t('importAccountMsg')} {t('importAccountMsg')}
<span <span

@ -2,6 +2,7 @@
cursor: pointer; cursor: pointer;
text-decoration: underline; text-decoration: underline;
color: $primary-blue; color: $primary-blue;
margin-inline-start: 4px;
} }
.new-account-import-form { .new-account-import-form {

Loading…
Cancel
Save