1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +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": { "networkIsBusy": {
"message": "Network is busy. Gas prices are high and estimates are less accurate." "message": "Network is busy. Gas prices are high and estimates are less accurate."
}, },
"networkMenu": {
"message": "Network Menu"
},
"networkMenuHeading": { "networkMenuHeading": {
"message": "Select a network" "message": "Select a network"
}, },

View File

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