Files
med-plan-assistant/src/locales/en.ts

261 lines
14 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// 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",
// Dose Schedule
myPlan: "My Plan",
morning: "Morning",
midday: "Midday",
afternoon: "Afternoon",
evening: "Evening",
night: "Night",
// 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.",
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",
therapeuticRangeTooltip: "Reference concentrations for medication efficacy. Typical adult range: 5-25 ng/mL. Individual therapeutic windows vary significantly. Default: {{therapeuticRangeMin}}-{{therapeuticRangeMax}} ng/mL. 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",
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: "How much the meal delays absorption (Tmax shift). See [food effect study](https://pmc.ncbi.nlm.nih.gov/articles/PMC4823324/) by Ermer et al. Typical: 1.0h for high-fat meal. Default: {{tmaxDelay}}h.",
tmaxDelayUnit: "h",
urinePHTendency: "Urine pH Effects",
urinePHTooltip: "Urine pH affects kidney reabsorption of amphetamine. Enables pH-dependent half-life variation (7-15h range). When disabled, assumes neutral pH (~11h HL).",
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.",
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 89, 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)",
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.",
// Number input field
buttonClear: "Clear field",
// 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.",
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",
// 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;