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:
parent
d1cea85f33
commit
57e90196cc
3
app/_locales/en/messages.json
generated
3
app/_locales/en/messages.json
generated
@ -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"
|
||||||
},
|
},
|
||||||
|
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user