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/en/weight.ts Normal file
View File

@@ -0,0 +1,31 @@
export const weightRecords = {
title: 'Weight Records',
pageSubtitle: 'Track your weight progress and trends',
loadingHistory: 'Failed to load weight history',
history: 'Records',
historyMonthFormat: '{{year}}.{{month}}',
stats: {
currentWeight: 'Current Weight',
initialWeight: 'Starting Weight',
targetWeight: 'Target Weight',
},
empty: {
title: 'No weight records',
subtitle: 'Tap the + button to add your first record.',
},
modal: {
recordWeight: 'Record Weight',
editInitialWeight: 'Edit Starting Weight',
editTargetWeight: 'Edit Target Weight',
editRecord: 'Edit Record',
inputPlaceholder: 'Enter weight',
unit: 'kg',
quickSelection: 'Quick pick',
confirm: 'Save',
},
alerts: {
deleteFailed: 'Failed to delete record',
invalidWeight: 'Please enter a valid weight between 0 and 500 kg',
saveFailed: 'Failed to save weight, please try again',
},
};