1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Rename Contacts List settings tab to Contacts (#7018)

This commit is contained in:
Whymarrh Whitby 2019-08-15 10:33:36 -02:30 committed by GitHub
parent d3eafc3703
commit 0ae5c09092
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -399,10 +399,10 @@
"connectToTrezor": { "connectToTrezor": {
"message": "Connect to Trezor" "message": "Connect to Trezor"
}, },
"contactList": { "contacts": {
"message": "Contact List" "message": "Contacts"
}, },
"contactListDescription": { "contactsSettingsDescription": {
"message": "Add, edit, remove, and manage your contacts" "message": "Add, edit, remove, and manage your contacts"
}, },
"continue": { "continue": {

View File

@ -149,7 +149,7 @@ class SettingsPage extends PureComponent {
tabs={[ tabs={[
{ content: t('general'), description: t('generalSettingsDescription'), key: GENERAL_ROUTE }, { content: t('general'), description: t('generalSettingsDescription'), key: GENERAL_ROUTE },
{ content: t('advanced'), description: t('advancedSettingsDescription'), key: ADVANCED_ROUTE }, { content: t('advanced'), description: t('advancedSettingsDescription'), key: ADVANCED_ROUTE },
{ content: t('contactList'), description: t('contactListDescription'), key: CONTACT_LIST_ROUTE }, { content: t('contacts'), description: t('contactsSettingsDescription'), key: CONTACT_LIST_ROUTE },
{ content: t('securityAndPrivacy'), description: t('securitySettingsDescription'), key: SECURITY_ROUTE }, { content: t('securityAndPrivacy'), description: t('securitySettingsDescription'), key: SECURITY_ROUTE },
{ content: t('networks'), description: t('networkSettingsDescription'), key: NETWORKS_ROUTE }, { content: t('networks'), description: t('networkSettingsDescription'), key: NETWORKS_ROUTE },
{ content: t('about'), description: t('aboutSettingsDescription'), key: ABOUT_US_ROUTE }, { content: t('about'), description: t('aboutSettingsDescription'), key: ABOUT_US_ROUTE },

View File

@ -27,7 +27,7 @@ const ROUTES_TO_I18N_KEYS = {
[ADVANCED_ROUTE]: 'advanced', [ADVANCED_ROUTE]: 'advanced',
[SECURITY_ROUTE]: 'securityAndPrivacy', [SECURITY_ROUTE]: 'securityAndPrivacy',
[ABOUT_US_ROUTE]: 'about', [ABOUT_US_ROUTE]: 'about',
[CONTACT_LIST_ROUTE]: 'contactList', [CONTACT_LIST_ROUTE]: 'contacts',
[CONTACT_ADD_ROUTE]: 'newContact', [CONTACT_ADD_ROUTE]: 'newContact',
[CONTACT_EDIT_ROUTE]: 'editContact', [CONTACT_EDIT_ROUTE]: 'editContact',
[CONTACT_VIEW_ROUTE]: 'viewContact', [CONTACT_VIEW_ROUTE]: 'viewContact',