1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 01:47:00 +01:00

UX: Multichain: Provide localization for the network menu (#18880)

This commit is contained in:
David Walsh 2023-05-02 12:14:48 -05:00 committed by GitHub
parent d1cea85f33
commit 57e90196cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -2281,6 +2281,9 @@
"networkIsBusy": {
"message": "Network is busy. Gas prices are high and estimates are less accurate."
},
"networkMenu": {
"message": "Network Menu"
},
"networkMenuHeading": {
"message": "Select a network"
},

View File

@ -150,7 +150,7 @@ export const AppHeader = ({ onClick }) => {
className="multichain-app-header__contents--avatar-network"
ref={menuRef}
as="button"
aria-label="Network Menu" // TODO: needs locale
aria-label={t('networkMenu')}
padding={0}
name={currentNetwork?.nickname}
src={currentNetwork?.rpcPrefs?.imageUrl}