Add Chinese translations for medication management and personal settings

- Introduced new translation files for medication, personal, and weight management in Chinese.
- Updated the main index file to include the new translation modules.
- Enhanced the medication type definitions to include 'ointment'.
- Refactored workout type labels to utilize i18n for better localization support.
- Improved sleep quality descriptions and recommendations with i18n integration.
This commit is contained in:
richarjiang
2025-11-28 17:29:51 +08:00
parent fbe0c92f0f
commit bca6670390
42 changed files with 7972 additions and 6632 deletions

31
i18n/zh/weight.ts Normal file
View File

@@ -0,0 +1,31 @@
export const weightRecords = {
title: '体重记录',
pageSubtitle: '追踪体重变化与趋势',
loadingHistory: '体重记录加载失败',
history: '体重记录',
historyMonthFormat: '{{year}}年{{month}}月',
stats: {
currentWeight: '当前体重',
initialWeight: '初始体重',
targetWeight: '目标体重',
},
empty: {
title: '暂无体重记录',
subtitle: '点击右上角 + 按钮添加第一条记录',
},
modal: {
recordWeight: '记录体重',
editInitialWeight: '编辑初始体重',
editTargetWeight: '编辑目标体重',
editRecord: '编辑记录',
inputPlaceholder: '输入体重',
unit: 'kg',
quickSelection: '快速选择',
confirm: '保存',
},
alerts: {
deleteFailed: '删除记录失败',
invalidWeight: '请输入 0-500kg 之间的有效体重',
saveFailed: '保存体重失败,请稍后再试',
},
};