Introduces SettingsMenu component redesign

This commit is contained in:
mashazyu
2020-03-23 21:39:57 +01:00
committed by Sofiya Tepikin
parent e609d51528
commit e101ecb8d1
8 changed files with 140 additions and 60 deletions
+7 -7
View File
@@ -1,5 +1,5 @@
import labels from './settings'
const settingsTitles = labels.menuTitles
const settingsTitles = labels.menuItems
export const shared = {
cancel: 'Cancel',
@@ -27,12 +27,12 @@ export const headerTitles = {
Chart: 'Chart',
Stats: 'Statistics',
SettingsMenu: 'Settings',
Reminders: settingsTitles.reminders,
NfpSettings: settingsTitles.nfpSettings,
DataManagement: settingsTitles.dataManagement,
Password: settingsTitles.password,
About: settingsTitles.about,
License: settingsTitles.license,
Reminders: settingsTitles.reminders.name,
NfpSettings: settingsTitles.nfpSettings.name,
DataManagement: settingsTitles.dataManagement.name,
Password: settingsTitles.password.name,
About: 'About',
License: 'License',
bleeding: 'Bleeding',
temperature: 'Temperature',
mucus: 'Cervical Mucus',
+18 -7
View File
@@ -3,13 +3,24 @@ import links from './links'
const currentYear = new Date().getFullYear()
export default {
menuTitles: {
reminders: 'Reminders',
dataManagement: 'Manage your data',
nfpSettings: 'NFP settings',
password: 'Password',
about: 'About',
license: 'License'
title: 'Settings',
menuItems: {
reminders: {
name: 'Reminders',
text: 'turn on/off reminders'
},
nfpSettings: {
name:'NFP settings',
text: 'define how you want to use NFP',
},
dataManagement: {
name: 'Data',
text: 'import, export or delete your data'
},
password: {
name:'Password',
text: ''
}
},
export: {
errors: {