aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChi Kei Chan <chikeichan@gmail.com>2019-03-30 00:24:03 +0800
committerWhymarrh Whitby <whymarrh.whitby@gmail.com>2019-03-30 00:24:03 +0800
commitadcf03eacc4ec5b6dc0e753ce81b2df6071e1f75 (patch)
tree24c8f8d666b2b9ab9572862d18effc23c1e3b8d1
parent1d14646a4cb5d35753943b9c8cc8dfe2fb3e7769 (diff)
downloadtangerine-wallet-browser-adcf03eacc4ec5b6dc0e753ce81b2df6071e1f75.tar
tangerine-wallet-browser-adcf03eacc4ec5b6dc0e753ce81b2df6071e1f75.tar.gz
tangerine-wallet-browser-adcf03eacc4ec5b6dc0e753ce81b2df6071e1f75.tar.bz2
tangerine-wallet-browser-adcf03eacc4ec5b6dc0e753ce81b2df6071e1f75.tar.lz
tangerine-wallet-browser-adcf03eacc4ec5b6dc0e753ce81b2df6071e1f75.tar.xz
tangerine-wallet-browser-adcf03eacc4ec5b6dc0e753ce81b2df6071e1f75.tar.zst
tangerine-wallet-browser-adcf03eacc4ec5b6dc0e753ce81b2df6071e1f75.zip
About tab copy changes; Update route for Info & Help in account menu (#6356)
-rw-r--r--app/_locales/en/messages.json6
-rw-r--r--ui/app/components/app/account-menu/account-menu.component.js4
-rw-r--r--ui/app/pages/settings/settings.component.js4
3 files changed, 10 insertions, 4 deletions
diff --git a/app/_locales/en/messages.json b/app/_locales/en/messages.json
index 72695c120..154925d1a 100644
--- a/app/_locales/en/messages.json
+++ b/app/_locales/en/messages.json
@@ -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"
},
diff --git a/ui/app/components/app/account-menu/account-menu.component.js b/ui/app/components/app/account-menu/account-menu.component.js
index 972ea492e..1b81e33a2 100644
--- a/ui/app/components/app/account-menu/account-menu.component.js
+++ b/ui/app/components/app/account-menu/account-menu.component.js
@@ -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" />
diff --git a/ui/app/pages/settings/settings.component.js b/ui/app/pages/settings/settings.component.js
index 3d415c6b8..061e65060 100644
--- a/ui/app/pages/settings/settings.component.js
+++ b/ui/app/pages/settings/settings.component.js
@@ -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)) {