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/en/weight.ts
Normal file
31
i18n/en/weight.ts
Normal 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',
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user