Update data deletion now in data manager with customization, minor UI improvements, increased chart y-axis tick count (regression)

This commit is contained in:
2026-02-04 12:24:03 +00:00
parent 11dacb5441
commit efa45ab288
10 changed files with 469 additions and 48 deletions

View File

@@ -208,6 +208,8 @@ export const en = {
exportOptionSimulation: "Simulation Settings (Duration, range, chart view)",
exportOptionPharmaco: "Pharmacokinetic Settings (Half-lives, therapeutic range)",
exportOptionAdvanced: "Advanced Settings (Weight, food, pH, bioavailability)",
exportOptionOtherData: "Other Data (Theme, collapsed cards, language, disclaimer)",
exportOptionOtherDataTooltip: "UI preferences like theme, collapsed card states, language preference, and disclaimer acceptance. Typically not needed when sharing plans with others.",
exportButton: "Download Backup File",
importButton: "Choose File to Import",
importApplyButton: "Apply Import",
@@ -252,12 +254,24 @@ export const en = {
closeDataManagement: "Close",
pasteContentTooLarge: "Content too large (max. 5000 characters)",
// Delete Data
deleteSpecificData: "Delete Specific Data",
deleteSpecificDataTooltip: "Permanently delete selected data categories from your device. This operation cannot be undone.",
deleteSelectWhat: "Select what to delete:",
deleteDataWarning: "⚠️ Warning: Deletion is permanent and cannot be undone. Deleted data will be reset to default values.",
deleteDataButton: "Delete Selected Data",
deleteNoOptionsSelected: "Please select at least one category to delete.",
deleteDataConfirmTitle: "Are you sure you want to permanently delete the following data?",
deleteDataConfirmWarning: "This action cannot be undone. Deleted data will be reset to factory defaults.",
deleteDataSuccess: "Selected data has been deleted successfully.",
// 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.",
// Number input field
buttonClear: "Clear field",
buttonResetToDefault: "Reset to default",
// Field validation - Errors
errorNumberRequired: "⛔ Please enter a valid number.",