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:
31
i18n/zh/weight.ts
Normal file
31
i18n/zh/weight.ts
Normal 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: '保存体重失败,请稍后再试',
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user