Update settings add min<=max validation to ranges, minor text changes

This commit is contained in:
2026-02-02 13:17:35 +00:00
parent 90b0806cec
commit 02b1209c2d
4 changed files with 42 additions and 7 deletions

View File

@@ -106,7 +106,7 @@ export const en = {
yAxisRangeAutoButton: "A",
yAxisRangeAutoButtonTitle: "Determine range automatically based on data range",
auto: "Auto",
therapeuticRange: "Therapeutic Range",
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",
@@ -268,6 +268,8 @@ export const en = {
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.",