mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
About tab copy changes; Update route for Info & Help in account menu (#6356)
This commit is contained in:
parent
1d14646a4c
commit
adcf03eacc
@ -44,6 +44,12 @@
|
||||
"providerRequestInfo": {
|
||||
"message": "This site is requesting access to view your current account address. Always make sure you trust the sites you interact with."
|
||||
},
|
||||
"about": {
|
||||
"message": "About"
|
||||
},
|
||||
"aboutSettingsDescription": {
|
||||
"message": "Version, support center, and contact info."
|
||||
},
|
||||
"aboutUs": {
|
||||
"message": "About Us"
|
||||
},
|
||||
|
@ -10,7 +10,7 @@ import UserPreferencedCurrencyDisplay from '../user-preferenced-currency-display
|
||||
import { PRIMARY } from '../../../helpers/constants/common'
|
||||
import {
|
||||
SETTINGS_ROUTE,
|
||||
INFO_ROUTE,
|
||||
ABOUT_US_ROUTE,
|
||||
NEW_ACCOUNT_ROUTE,
|
||||
IMPORT_ACCOUNT_ROUTE,
|
||||
CONNECT_HARDWARE_ROUTE,
|
||||
@ -307,7 +307,7 @@ export default class AccountMenu extends PureComponent {
|
||||
<Item
|
||||
onClick={() => {
|
||||
toggleAccountMenu()
|
||||
history.push(INFO_ROUTE)
|
||||
history.push(ABOUT_US_ROUTE)
|
||||
}}
|
||||
icon={
|
||||
<img src="images/mm-info-icon.svg" />
|
||||
|
@ -22,7 +22,7 @@ const ROUTES_TO_I18N_KEYS = {
|
||||
[GENERAL_ROUTE]: 'general',
|
||||
[ADVANCED_ROUTE]: 'advanced',
|
||||
[SECURITY_ROUTE]: 'securityAndPrivacy',
|
||||
[ABOUT_US_ROUTE]: 'aboutUs',
|
||||
[ABOUT_US_ROUTE]: 'about',
|
||||
}
|
||||
|
||||
export default class SettingsPage extends PureComponent {
|
||||
@ -92,7 +92,7 @@ export default class SettingsPage extends PureComponent {
|
||||
{ content: t('general'), description: t('generalSettingsDescription'), key: GENERAL_ROUTE },
|
||||
{ content: t('advanced'), description: t('advancedSettingsDescription'), key: ADVANCED_ROUTE },
|
||||
{ content: t('securityAndPrivacy'), description: t('securitySettingsDescription'), key: SECURITY_ROUTE },
|
||||
{ content: t('aboutUs'), key: ABOUT_US_ROUTE },
|
||||
{ content: t('about'), description: t('aboutSettingsDescription'), key: ABOUT_US_ROUTE },
|
||||
]}
|
||||
isActive={key => {
|
||||
if (key === GENERAL_ROUTE && this.isCurrentPath(SETTINGS_ROUTE)) {
|
||||
|
Loading…
Reference in New Issue
Block a user