Add import/export feature
This commit is contained in:
@@ -164,6 +164,34 @@ export const en = {
|
||||
// Reset confirmation
|
||||
resetConfirmation: "Are you sure you want to reset all settings to default values? This cannot be undone.",
|
||||
|
||||
// Export/Import
|
||||
dataManagement: "Data Management",
|
||||
exportSettings: "Export Settings",
|
||||
importSettings: "Import Settings",
|
||||
exportSelectWhat: "Select what to export:",
|
||||
importSelectWhat: "Select what to import:",
|
||||
exportOptionSchedules: "Schedules (Day plans with doses)",
|
||||
exportOptionDiagram: "Diagram Settings (View options, chart display)",
|
||||
exportOptionSimulation: "Simulation Settings (Duration, range, chart view)",
|
||||
exportOptionPharmaco: "Pharmacokinetic Settings (Half-lives, therapeutic range)",
|
||||
exportOptionAdvanced: "Advanced Settings (Weight, food, pH, bioavailability)",
|
||||
exportButton: "Download Backup File",
|
||||
importButton: "Choose File to Import",
|
||||
importApplyButton: "Apply Import",
|
||||
importCancelButton: "Cancel",
|
||||
importValidationTitle: "Import Validation",
|
||||
importValidationWarnings: "Warnings:",
|
||||
importValidationErrors: "Errors:",
|
||||
importValidationContinue: "Do you want to continue with the import?",
|
||||
importSuccess: "Settings imported successfully!",
|
||||
importError: "Import failed. Please check the file format.",
|
||||
importParseError: "Failed to read file. Please ensure it's a valid JSON backup file.",
|
||||
importNoOptionsSelected: "Please select at least one category to import.",
|
||||
exportNoOptionsSelected: "Please select at least one category to export.",
|
||||
importFileSelected: "File selected:",
|
||||
importFileNotSelected: "No file selected",
|
||||
exportImportTooltip: "Export your settings as backup or share with others. Import previously exported settings. Choose which parts to export/import individually.",
|
||||
|
||||
// Footer disclaimer
|
||||
importantNote: "Important Notice",
|
||||
disclaimer: "This tool is for illustration and information purposes only. It is not a medical device and does not replace consultation with a doctor or pharmacist. All calculations are simulations based on general pharmacokinetic models and may differ significantly from individual factors. Please consult your treating physician before making adjustments to your medication.",
|
||||
|
||||
Reference in New Issue
Block a user