// English translations export const en = { // App header and navigation appTitle: "Medication Plan Assistant", appSubtitle: "Simulation for Lisdexamfetamine (LDX) and d-Amphetamine (d-amph)", // Chart view buttons dAmphetamine: "d-Amphetamine", dAmphetamineShort: "d-Amph", lisdexamfetamine: "Lisdexamfetamine", lisdexamfetamineShort: "LDX", both: "Both", regularPlanOverlayShort: "Reg.", // Language selector languageSelectorLabel: "Language", languageSelectorEN: "English", languageSelectorDE: "Deutsch", // Theme selector themeSelectorLight: "☀️ Light", themeSelectorDark: "🌙 Dark", themeSelectorSystem: "💻 System", // Dose Schedule myPlan: "My Plan", morning: "Morning", midday: "Midday", afternoon: "Afternoon", evening: "Evening", night: "Night", doseWithFood: "Taken with food (delays absorption ~1h)", doseFasted: "Taken fasted (normal absorption)", // Deviations deviationsFromPlan: "Deviations from Plan", addDeviation: "Add Deviation", day: "Day", additional: "Additional", additionalTooltip: "Mark this if it was an extra dose instead of a replacement for a planned one.", // Suggestions whatIf: "What if?", suggestion: "Suggestion", instead: "instead", at: "at", applySuggestion: "Apply suggestion as deviation", noSignificantCorrection: "No significant correction necessary.", noSuitableNextDose: "No suitable next dose found for correction.", // Chart axisLabelConcentration: "Concentration (ng/ml)", axisLabelHours: "Hours (h)", axisLabelTimeOfDay: "Time of Day (h)", tickNoon: "Noon", refLineRegularPlan: "Regular", refLineNoDeviation: "Regular", refLineRecovering: "Recovering", refLineIrregularIntake: "Irregular", refLineDayX: "D{{x}}", refLineRegularPlanShort: "(Reg.)", refLineNoDeviationShort: "(Reg.)", // currently the same as above (day# > 1 with curve identical to day1 / regular plan) refLineRecoveringShort: "(Rec.)", refLineIrregularIntakeShort: "(Ireg.)", refLineDayShort: "D{{x}}", refLineMin: "Min", refLineMax: "Max", pinChart: "Pin chart to top", unpinChart: "Unpin chart", stickyChartTooltip: "Keep chart visible while scrolling through settings for real-time feedback. Default: off.", chartViewDamphTooltip: "Show only the active metabolite (d-Amphetamine) concentration profile", chartViewLdxTooltip: "Show only the prodrug (Lisdexamfetamine) concentration profile", chartViewBothTooltip: "Show both d-Amphetamine and Lisdexamfetamine profiles together", // Settings diagramSettings: "Diagram Settings", pharmacokineticsSettings: "Pharmacokinetics Settings", advancedSettings: "Advanced Settings", advancedSettingsWarning: "⚠️ These parameters affect simulation accuracy and may deviate from population averages. Adjust only if you have specific clinical data or research references.", standardVolumeOfDistribution: "Volume of Distribution (Vd)", standardVdTooltip: "Defines how drug disperses in body. Adult: 377L (Roberts 2015), Child: ~150-200L. Weight-based scaling: ~5.4 L/kg (intended for adults >18 years based on [population PK analysis](https://pmc.ncbi.nlm.nih.gov/articles/PMC5572767/)). Affects all concentration calculations. Change only for pediatric or specialized simulations. Default: {{standardVdValue}}L ({{standardVdPreset}}).", standardVdPresetAdult: "Adult (377L)", standardVdPresetChild: "Child (175L)", standardVdPresetCustom: "Custom", standardVdPresetWeightBased: "Weight-Based (~5.4 L/kg)", customVdValue: "Custom Vd (L)", weightBasedVdInfo: "Weight-based Vd adjusts plasma concentrations based on body weight (~5.4 L/kg). Lighter persons → higher peaks, heavier → lower peaks. This option is intended for adults (>18 years) based on the population PK study. For pediatric patients, use the 'Child' preset.", xAxisTimeFormat: "Time Format", xAxisFormatContinuous: "Continuous", xAxisFormatContinuousDesc: "Endless sequence (0h, 6h, 12h...)", xAxisFormat24h: "Time of Day (24h)", xAxisFormat24hDesc: "Repeating 0-24h cycle", xAxisFormat12h: "Time of Day (12h AM/PM)", xAxisFormat12hDesc: "Repeating 12h cycle in AM/PM format", showTemplateDayInChart: "Continuously Show Regular Plan", showTemplateDayTooltip: "Display the regular medication plan as reference overlay at all times (default: enabled).", simulationSettings: "Simulation Settings", showDayReferenceLines: "Show Day Separators", showDayReferenceLinesTooltip: "Display vertical lines and status indicators separating days (default: enabled).", showTherapeuticRangeLines: "Show Therapeutic Range", showTherapeuticRangeLinesTooltip: "Display horizontal reference lines for therapeutic min/max concentrations (default: enabled).", simulationDuration: "Simulation Duration", simulationDurationTooltip: "Number of days to simulate. Longer periods allow steady-state observation. Default: {{simulationDays}} days.", displayedDays: "Visible Days (in Focus)", displayedDaysTooltip: "How many days to display on screen at once. Smaller values zoom in on details. Default: {{displayedDays}} day(s).", yAxisRange: "Y-Axis Range (Concentration Zoom)", yAxisRangeTooltip: "Manually set vertical axis limits (concentration scale). Leave empty for automatic scaling based on data. Default: auto.", yAxisRangeAutoButton: "A", yAxisRangeAutoButtonTitle: "Determine range automatically based on data range", auto: "Auto", therapeuticRange: "Therapeutic Range (d-Amphetamine)", therapeuticRangeTooltip: "Personalized concentration targets based on YOUR individual response. Set these after observing which levels provide symptom control vs. side effects. Reference ranges (highly variable): Adults ~10-80 ng/mL, Children ~20-120 ng/mL (due to lower body weight/Vd). Leave empty if unsure. Consult your physician.", dAmphetamineParameters: "d-Amphetamine Parameters", halfLife: "Elimination Half-life", halfLifeTooltip: "Time for body to clear half the d-amphetamine from blood. Affected by urine pH: acidic (<6) → 7-9h, neutral (6-7.5) → 10-12h, alkaline (>7.5) → 13-15h. See [therapeutic reference ranges](https://www.thieme-connect.com/products/ejournals/pdf/10.1055/a-2689-4911.pdf). Default: {{damphHalfLife}}h.", lisdexamfetamineParameters: "Lisdexamfetamine (LDX) Parameters", conversionHalfLife: "LDX→d-Amph Conversion Half-life", conversionHalfLifeTooltip: "Time for red blood cells to convert half the inactive LDX prodrug into active d-amphetamine. Typical: 0.7-1.2h. Default: {{ldxHalfLife}}h.", absorptionHalfLife: "Absorption Half-life", absorptionHalfLifeTooltip: "Time for intestines to absorb half the LDX from stomach to blood. Delayed by food (~1h shift). Typical: 0.7-1.2h. Default: {{ldxAbsorptionHalfLife}}h.", faster: "(faster >)", // Advanced Settings weightBasedVdScaling: "Weight-Based Volume of Distribution", weightBasedVdTooltip: "Adjusts plasma concentrations based on body weight (proportional to ~5.4 L/kg). Lighter persons → higher peaks, heavier → lower peaks. When disabled, assumes 70 kg adult.", bodyWeight: "Body Weight", bodyWeightTooltip: "Your body weight for concentration scaling. Used to calculate volume of distribution (Vd = weight × 5.4). See [population PK analysis](https://pmc.ncbi.nlm.nih.gov/articles/PMC5572767/). Default: {{bodyWeight}} kg.", bodyWeightUnit: "kg", foodEffectEnabled: "Taken With Meal", foodEffectDelay: "Food Effect Delay", foodEffectTooltip: "High-fat meals delay absorption without changing total exposure. Slows onset of effects (~1h delay). When disabled, assumes fasted state.", tmaxDelay: "Absorption Delay", tmaxDelayTooltip: "Time delay when dose is taken with high-fat meal. Applied using per-dose food toggles (🍴 icon) in schedule. Research shows ~1h delay without peak reduction. See [study](https://pmc.ncbi.nlm.nih.gov/articles/PMC4823324/). Default: {{tmaxDelay}}h.", tmaxDelayUnit: "h", urinePHTendency: "Urine pH Effects", urinePHTooltip: "Urine pH affects kidney reabsorption of amphetamine. Acidic urine (<6) increases elimination (faster clearance, t½ ~7-9h). Normal pH (6-7.5) maintains baseline elimination (~11h). Alkaline urine (>7.5) reduces elimination (slower clearance, t½ ~13-15h). Typical range: 5.5-8.0. Default: Normal pH (6-7.5).", urinePHMode: "pH Effect", urinePHModeNormal: "Normal (pH 6-7.5, t½ 11h)", urinePHModeAcidic: "Acidic (pH <6, faster elimination)", urinePHModeAlkaline: "Alkaline (pH >7.5, slower elimination)", urinePHValue: "pH Value", urinePHValueTooltip: "Your typical urine pH (acidic=faster clearance, alkaline=slower). Default: {{phTendency}}. Range: 5.5-8.0.", phValue: "pH Value", phUnit: "(5.5-8.0)", oralBioavailability: "Oral Bioavailability", oralBioavailabilityTooltip: "Fraction of LDX dose that reaches bloodstream. See [bioavailability study](https://www.frontiersin.org/journals/pharmacology/articles/10.3389/fphar.2022.881198/full) (FDA label: 96.4%). Rarely needs adjustment unless you have documented absorption issues. Default: {{fOral}} ({{fOralPercent}}%).", steadyStateDays: "Medication History", steadyStateDaysTooltip: "Number of prior days on stable medication dose to simulate accumulation/steady-state. Set 0 for \"first day from scratch.\" Default: {{steadyStateDays}} days. Max: 7.", // Age-specific pharmacokinetics ageGroup: "Age Group", ageGroupTooltip: "Pediatric subjects (6-12y) exhibit faster d-amphetamine elimination (t½ ~9h) compared to adults (~11h) due to higher weight-normalized metabolic rate. See [research document](https://git.11001001.org/cbaoth/med-plan-assistant/src/branch/main/docs/2026-01-17_AI-Reseach_SimulatingLDXandD-AmphetaminePlasmaLevels.md#52-pediatric-vs-adult-modeling) Section 5.2. Select 'custom' to use your manually configured half-life. Default: adult.", ageGroupAdult: "Adult (t½ 11h)", ageGroupChild: "Child 6-12y (t½ 9h)", ageGroupCustom: "Custom (use manual t½)", // Renal function effects renalFunction: "Renal Impairment", renalFunctionTooltip: "Severe renal impairment extends d-amphetamine half-life by ~50% (from 11h to 16.5h). FDA label recommends dose caps: 50mg for severe impairment, 30mg for ESRD. See [FDA Label Section 8.6](https://www.accessdata.fda.gov/drugsatfda_docs/label/2017/021977s049lbl.pdf) and [research document](https://git.11001001.org/cbaoth/med-plan-assistant/src/branch/main/docs/2026-01-17_AI-Reseach_SimulatingLDXandD-AmphetaminePlasmaLevels.md#82-renal-function) Section 8.2. Default: disabled.", renalFunctionSeverity: "Impairment Severity", renalFunctionNormal: "Normal (no adjustment)", renalFunctionMild: "Mild (no adjustment)", renalFunctionSevere: "Severe (t½ +50%)", resetAllSettings: "Reset All Settings", resetDiagramSettings: "Reset Diagram Settings", resetPharmacokineticSettings: "Reset Pharmacokinetic Settings", resetPlan: "Reset Plan", // Disclaimer Modal disclaimerModalTitle: "Important Medical Disclaimer", disclaimerModalSubtitle: "Please read carefully before using this simulation tool", disclaimerModalPurpose: "Purpose & Limitations", disclaimerModalPurposeText: "This application provides theoretical pharmacokinetic simulations based on population average parameters. It is NOT a medical device and is for educational and informational purposes only.", disclaimerModalVariability: "Individual Variability", disclaimerModalVariabilityText: "Drug metabolism varies significantly due to body weight, kidney function, urine pH, genetics, and other factors. Real-world plasma concentrations may differ by 30-40% or more from these estimates.", disclaimerModalMedicalAdvice: "Medical Consultation Required", disclaimerModalMedicalAdviceText: "Do NOT use this data to adjust your medication dosage. Always consult your prescribing physician for medical decisions. Improper dose adjustments can cause serious harm.", disclaimerModalDataSources: "Data Sources", disclaimerModalDataSourcesText: "Simulations utilize established pharmacokinetic models incorporating parameters from: Ermer et al. (2016), Boellner et al. (2010), Roberts et al. (2015), and FDA Prescribing Information for Vyvanse®/Elvanse®.", disclaimerModalScheduleII: "Controlled Substance Warning", disclaimerModalScheduleIIText: "Lisdexamfetamine is a controlled substance (Schedule II) with moderate abuse and dependence potential compared to active dexamphetamine. Improper or abusive use can lead to serious health consequences as well as legal repercussions.", disclaimerModalLiability: "No Warranties or Guarantees", disclaimerModalLiabilityText: "This is a hobbyist/educational project with no commercial intent. The developer provides no warranties, guarantees, or liability. Use entirely at your own risk.", disclaimerModalSourcesFooter: "All sources accessed January 8–9, 2026. For complete citation details, see the project documentation at", disclaimerModalAccept: "I Understand - Continue to App", disclaimerModalFooterLink: "Medical Disclaimer & Data Sources", footerProjectRepo: "Project Repository", // Units unitMg: "mg", unitNgml: "ng/ml", unitHour: "h", unitDays: "Days", // 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)", 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", 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.", // Data Management Modal dataManagementTitle: "Data Management", dataManagementSubtitle: "Export, import, and manage your application data", openDataManagement: "Manage Data...", copyToClipboard: "Copy to Clipboard", pasteFromClipboard: "Paste from Clipboard", exportActions: "Export Actions", importActions: "Import Actions", showJsonEditor: "Show JSON Editor", hideJsonEditor: "Hide JSON Editor", jsonEditorLabel: "JSON Editor", jsonEditorPlaceholder: "Paste your JSON backup here or edit the exported data...", jsonEditorTooltip: "Edit exported data directly or paste backup JSON. Manual editing requires JSON knowledge.", copiedToClipboard: "Copied to clipboard!", copyFailed: "Failed to copy to clipboard", pasteSuccess: "JSON pasted successfully", pasteFailed: "Failed to paste from clipboard", pasteNoClipboardApi: "Clipboard access not available. Please paste manually.", pasteInvalidJson: "Invalid JSON format. Please check your data.", jsonEditWarning: "⚠️ Manual editing requires JSON knowledge. Invalid data may cause errors.", validateJson: "Validate JSON", clearJson: "Clear", jsonValidationSuccess: "JSON is valid", jsonValidationError: "✗ Invalid JSON", 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.", errorTimeRequired: "⛔ Please enter a valid time.", errorHalfLifeRequired: "⛔ Half-life is required.", errorConversionHalfLifeRequired: "⛔ Conversion half-life is required.", errorAbsorptionRateRequired: "⛔ Absorption rate is required.", errorTherapeuticRangeMinRequired: "⛔ Minimum therapeutic range is required.", errorTherapeuticRangeMaxRequired: "⛔ Maximum therapeutic range is required.", errorTherapeuticRangeInvalid: "⛔ Maximum must be greater than minimum.", errorYAxisRangeInvalid: "⚠️ Maximum must be greater than minimum.", errorEliminationHalfLifeRequired: "⛔ Elimination half-life is required.", // Field validation - Warnings warningDuplicateTime: "⚠️ Multiple doses at same time.", warningZeroDose: "⚠️ Zero dose has no effect on simulation.", warningAbsorptionOutOfRange: "⚠️ Typical range: 0.7-1.2h. Current value may be outside clinical norms.", warningConversionOutOfRange: "⚠️ Typical range: 0.7-1.2h. Current value may be outside clinical norms.", warningEliminationOutOfRange: "⚠️ Typical range: 9-12h (normal pH). Extended range 7-15h (pH effects). Current value is unusual.", warningDoseAbove70mg: "⚠️ FDA-approved maximum: 70 mg. Higher doses lack safety data and increase cardiovascular risk.", // Time picker timePickerHour: "Hour", timePickerMinute: "Minute", timePickerApply: "Apply", timePickerCancel: "Cancel", // Input field placeholders min: "Min", max: "Max", // Sorting sortByTime: "Sort by time", sortByTimeNeeded: "Doses are not in chronological order. Click to sort.", sortByTimeSorted: "Doses are sorted chronologically.", // Day-based schedule regularPlan: "Regular Plan", deviatingPlan: "Deviation from Plan", alternativePlan: "Alternative Plan", regularPlanOverlay: "Regular", dayNumber: "Day {{number}}", cloneDay: "Clone day", addDay: "Add day", addDose: "Add dose", removeDose: "Remove dose", removeDay: "Remove day", collapseDay: "Collapse day", expandDay: "Expand day", dose: "dose", doses: "doses", comparedToRegularPlan: "compared to regular plan", time: "Time", ldx: "LDX", damph: "d-amph", // URL sharing sharePlan: "Share Plan", viewingSharedPlan: "Viewing shared plan", saveAsMyPlan: "Save as My Plan", discardSharedPlan: "Discard", planCopiedToClipboard: "Plan link copied to clipboard!" }; export default en;