feat: 新增健康档案模块,支持家庭邀请与个人健康数据管理
This commit is contained in:
@@ -176,6 +176,11 @@ export const statistics = {
|
||||
days: 'days',
|
||||
range: 'Range',
|
||||
unit: 'kg',
|
||||
progress: {
|
||||
lost: 'Lost',
|
||||
toGo: 'To go',
|
||||
},
|
||||
demo: 'Demo',
|
||||
bmiModal: {
|
||||
title: 'BMI Index Explanation',
|
||||
description: 'BMI (Body Mass Index) is an internationally recognized health indicator for assessing weight relative to height',
|
||||
@@ -205,13 +210,6 @@ export const statistics = {
|
||||
},
|
||||
},
|
||||
},
|
||||
tabs: {
|
||||
health: 'Health',
|
||||
medications: 'Meds',
|
||||
fasting: 'Fasting',
|
||||
challenges: 'Challenges',
|
||||
personal: 'Me',
|
||||
},
|
||||
activityHeatMap: {
|
||||
subtitle: 'Active {{days}} days in the last 6 months',
|
||||
activeRate: '{{rate}}%',
|
||||
@@ -726,3 +724,92 @@ export const workoutHistory = {
|
||||
},
|
||||
monthOccurrence: 'This is your {{index}} {{activity}} in {{month}}.',
|
||||
};
|
||||
|
||||
export const health = {
|
||||
tabs: {
|
||||
health: 'Health',
|
||||
medications: 'Meds',
|
||||
fasting: 'Fasting',
|
||||
challenges: 'Challenges',
|
||||
personal: 'Me',
|
||||
healthProfile: {
|
||||
title: 'Health Profile',
|
||||
subtitle: 'Invite family to join health management for timely anomaly alerts',
|
||||
privacyNotice: 'Profile content is visible only to you. We strictly protect your privacy.',
|
||||
basicInfo: 'Basic Info',
|
||||
healthHistory: 'History',
|
||||
medicalRecords: 'Records',
|
||||
checkupRecords: 'Checkups',
|
||||
medicineBox: 'Medications',
|
||||
basicInfoCard: {
|
||||
title: 'Basic Information',
|
||||
noData: 'No data',
|
||||
bmi: 'BMI',
|
||||
height: 'Height',
|
||||
heightUnit: 'CM',
|
||||
weight: 'Weight',
|
||||
weightUnit: 'KG',
|
||||
waist: 'Waist',
|
||||
waistUnit: 'CM',
|
||||
},
|
||||
history: {
|
||||
allergy: 'Allergies',
|
||||
disease: 'Conditions',
|
||||
surgery: 'Surgeries',
|
||||
familyDisease: 'Family History',
|
||||
pending: 'To be added',
|
||||
edit: 'Edit',
|
||||
modal: {
|
||||
question: 'Do you have {{type}}?',
|
||||
yes: 'Yes',
|
||||
no: 'No',
|
||||
addDetails: 'Add Details',
|
||||
enterSpecific: 'Enter specific condition...',
|
||||
recommendations: 'Recommendations',
|
||||
save: 'Save',
|
||||
none: 'None',
|
||||
yesNoDetails: 'Yes (No details)',
|
||||
diagnosisDate: 'Diagnosis Date',
|
||||
namePlaceholder: 'Condition Name',
|
||||
addItem: 'Add Record',
|
||||
selectDate: 'Select Date'
|
||||
},
|
||||
recommendationItems: {
|
||||
allergy: {
|
||||
penicillin: 'Penicillin',
|
||||
sulfonamides: 'Sulfonamides',
|
||||
peanuts: 'Peanuts',
|
||||
seafood: 'Seafood',
|
||||
pollen: 'Pollen',
|
||||
dustMites: 'Dust Mites',
|
||||
alcohol: 'Alcohol',
|
||||
mango: 'Mango'
|
||||
},
|
||||
disease: {
|
||||
hypertension: 'Hypertension',
|
||||
diabetes: 'Diabetes',
|
||||
asthma: 'Asthma',
|
||||
heartDisease: 'Heart Disease',
|
||||
gastritis: 'Gastritis',
|
||||
migraine: 'Migraine'
|
||||
},
|
||||
surgery: {
|
||||
appendectomy: 'Appendectomy',
|
||||
cesareanSection: 'Cesarean Section',
|
||||
tonsillectomy: 'Tonsillectomy',
|
||||
fractureRepair: 'Fracture Repair',
|
||||
none: 'None'
|
||||
},
|
||||
familyDisease: {
|
||||
hypertension: 'Hypertension',
|
||||
diabetes: 'Diabetes',
|
||||
cancer: 'Cancer',
|
||||
heartDisease: 'Heart Disease',
|
||||
stroke: 'Stroke',
|
||||
alzheimers: 'Alzheimer\'s'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -238,7 +238,7 @@ export const medications = {
|
||||
periodRange: 'From {{startDate}} to {{endDate}}',
|
||||
periodLongTerm: 'From {{startDate}} until indefinitely',
|
||||
expiryStatus: {
|
||||
notSet: 'Not set',
|
||||
notSet: 'Set Expiry',
|
||||
expired: 'Expired',
|
||||
expiresToday: 'Expires today',
|
||||
expiresInDays: 'Expires in {{days}} days',
|
||||
|
||||
@@ -37,6 +37,10 @@ export const personal = {
|
||||
medicalSources: 'Medical Advice Sources',
|
||||
customization: 'Customization',
|
||||
},
|
||||
healthProfile: {
|
||||
title: 'Health Profile',
|
||||
subtitle: 'Manage your personal health data and family profile',
|
||||
},
|
||||
versionCheck: {
|
||||
sectionTitle: 'Updates',
|
||||
menuTitle: 'Check for updates',
|
||||
|
||||
@@ -177,6 +177,11 @@ export const statistics = {
|
||||
days: '天',
|
||||
range: '范围',
|
||||
unit: 'kg',
|
||||
progress: {
|
||||
lost: '已减',
|
||||
toGo: '距目标',
|
||||
},
|
||||
demo: '示例数据',
|
||||
bmiModal: {
|
||||
title: 'BMI 指数说明',
|
||||
description: 'BMI(身体质量指数)是评估体重与身高关系的国际通用健康指标',
|
||||
@@ -206,13 +211,6 @@ export const statistics = {
|
||||
},
|
||||
},
|
||||
},
|
||||
tabs: {
|
||||
health: '健康',
|
||||
medications: '用药',
|
||||
fasting: '断食',
|
||||
challenges: '挑战',
|
||||
personal: '个人',
|
||||
},
|
||||
activityHeatMap: {
|
||||
subtitle: '最近6个月活跃 {{days}} 天',
|
||||
activeRate: '{{rate}}%',
|
||||
@@ -727,3 +725,92 @@ export const workoutHistory = {
|
||||
},
|
||||
monthOccurrence: '这是你{{month}}的第 {{index}} 次{{activity}}。',
|
||||
};
|
||||
|
||||
export const health = {
|
||||
tabs: {
|
||||
health: '健康',
|
||||
medications: '用药',
|
||||
fasting: '断食',
|
||||
challenges: '挑战',
|
||||
personal: '个人',
|
||||
healthProfile: {
|
||||
title: '健康档案',
|
||||
subtitle: '邀请家人加入家庭健康管理,异常及时提醒',
|
||||
privacyNotice: '档案内容仅供本人查看,我们将严格保护您的隐私',
|
||||
basicInfo: '基础信息',
|
||||
healthHistory: '健康史',
|
||||
medicalRecords: '就医资料',
|
||||
checkupRecords: '体检记录',
|
||||
medicineBox: '药品管理',
|
||||
basicInfoCard: {
|
||||
title: '基础信息',
|
||||
noData: '暂无数据',
|
||||
bmi: 'BMI',
|
||||
height: '身高',
|
||||
heightUnit: 'CM',
|
||||
weight: '体重',
|
||||
weightUnit: 'KG',
|
||||
waist: '腰围',
|
||||
waistUnit: 'CM',
|
||||
},
|
||||
history: {
|
||||
allergy: '过敏史',
|
||||
disease: '疾病史',
|
||||
surgery: '手术史',
|
||||
familyDisease: '家族疾病史',
|
||||
pending: '待补充',
|
||||
edit: '编辑',
|
||||
modal: {
|
||||
question: '您是否有{{type}}?',
|
||||
yes: '有',
|
||||
no: '没有',
|
||||
addDetails: '添加详情',
|
||||
enterSpecific: '请输入具体情况...',
|
||||
recommendations: '推荐选项',
|
||||
save: '保存',
|
||||
none: '无',
|
||||
yesNoDetails: '有 (未填写详情)',
|
||||
diagnosisDate: '确诊时间',
|
||||
namePlaceholder: '疾病/手术名称',
|
||||
addItem: '添加记录',
|
||||
selectDate: '选择日期'
|
||||
},
|
||||
recommendationItems: {
|
||||
allergy: {
|
||||
penicillin: '青霉素',
|
||||
sulfonamides: '磺胺类',
|
||||
peanuts: '花生',
|
||||
seafood: '海鲜',
|
||||
pollen: '花粉',
|
||||
dustMites: '尘螨',
|
||||
alcohol: '酒精',
|
||||
mango: '芒果'
|
||||
},
|
||||
disease: {
|
||||
hypertension: '高血压',
|
||||
diabetes: '糖尿病',
|
||||
asthma: '哮喘',
|
||||
heartDisease: '心脏病',
|
||||
gastritis: '胃炎',
|
||||
migraine: '偏头痛'
|
||||
},
|
||||
surgery: {
|
||||
appendectomy: '阑尾切除术',
|
||||
cesareanSection: '剖腹产',
|
||||
tonsillectomy: '扁桃体切除术',
|
||||
fractureRepair: '骨折复位术',
|
||||
none: '无'
|
||||
},
|
||||
familyDisease: {
|
||||
hypertension: '高血压',
|
||||
diabetes: '糖尿病',
|
||||
cancer: '癌症',
|
||||
heartDisease: '心脏病',
|
||||
stroke: '中风',
|
||||
alzheimers: '阿尔茨海默病'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -238,7 +238,7 @@ export const medications = {
|
||||
periodRange: '从 {{startDate}} 至 {{endDate}}',
|
||||
periodLongTerm: '从 {{startDate}} 至长期',
|
||||
expiryStatus: {
|
||||
notSet: '未设置',
|
||||
notSet: '未设置(过期预警)',
|
||||
expired: '已过期',
|
||||
expiresToday: '今天到期',
|
||||
expiresInDays: '{{days}}天后到期',
|
||||
|
||||
@@ -37,6 +37,10 @@ export const personal = {
|
||||
medicalSources: '医学建议来源',
|
||||
customization: '个性化',
|
||||
},
|
||||
healthProfile: {
|
||||
title: '健康档案',
|
||||
subtitle: '管理您的个人健康数据与家庭档案',
|
||||
},
|
||||
versionCheck: {
|
||||
sectionTitle: '版本与更新',
|
||||
menuTitle: '检查更新',
|
||||
|
||||
Reference in New Issue
Block a user