feat: Comments translation to EN

This commit is contained in:
gauvainboiche
2026-08-29 22:22:41 +02:00
parent 5b2960b601
commit 473668aacb
9 changed files with 48 additions and 48 deletions
+2 -2
View File
@@ -69,7 +69,7 @@ function refreshChartTheme() {
pkChart.options.scales.x.grid.color = gridColor;
pkChart.options.plugins.legend.labels.color = legendColor;
// Les couleurs de texte des zones cliniques dépendent aussi du thème (cf. chartManager.js)
// The clinical zone text colors also depend on the theme (see chartManager.js)
updateChartAnnotations(pkChart, currentMode, pkChart.options.scales.y.max);
pkChart.update();
}
@@ -189,7 +189,7 @@ function updateSimulation() {
const weight = parseFloat(weightInput?.value) || 70;
const unit = document.getElementById('infusionUnitSelect')?.value || 'mg_kg_h';
// Avertissement de poids (30-120 kg)
// Weight warning (30-120 kg)
const weightWarning = document.getElementById('weightWarning');
if (weightWarning) {
if (weight < 30 || weight > 120) {