From 06ec8a1981412e9b76dcccab24b1e11d7b4178e3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Grand?= <francois.grand@inrae.fr>
Date: Mon, 10 Oct 2022 08:18:00 +0200
Subject: [PATCH] fix: uniform flow: crash when computing flow with a varying a
 parameter

see https://gitlab.irstea.fr/cassiopee/nghyd/-/merge_requests/172#note_68298

refs #569
---
 src/locale/messages.en.json | 3 +++
 src/locale/messages.fr.json | 5 ++++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/locale/messages.en.json b/src/locale/messages.en.json
index 56a2f105b..47688d87d 100755
--- a/src/locale/messages.en.json
+++ b/src/locale/messages.en.json
@@ -230,6 +230,9 @@
     "INFO_CHILD_TYPE_PUISSANCE": "power",
     "INFO_CHILD_TYPE_PUISSANCE_PLUR": "powers",
     "INFO_CHILD_TYPE_PUISSANCE_SHORT": "P",
+    "INFO_CHILD_TYPE_SECTION": "section",
+    "INFO_CHILD_TYPE_SECTION_PLUR": "sections",
+    "INFO_CHILD_TYPE_SECTION_SHORT": "S",
     "INFO_DIALOG_PARSIM_DESC": "Choose a combination of values to generate the simulation",
     "INFO_FIELDSET_ADD": "Add",
     "INFO_FIELDSET_COPY": "Copy",
diff --git a/src/locale/messages.fr.json b/src/locale/messages.fr.json
index 225b0751e..edbbcf847 100755
--- a/src/locale/messages.fr.json
+++ b/src/locale/messages.fr.json
@@ -230,6 +230,9 @@
     "INFO_CHILD_TYPE_PUISSANCE": "puissance",
     "INFO_CHILD_TYPE_PUISSANCE_PLUR": "puissances",
     "INFO_CHILD_TYPE_PUISSANCE_SHORT": "P",
+    "INFO_CHILD_TYPE_SECTION": "section",
+    "INFO_CHILD_TYPE_SECTION_PLUR": "sections",
+    "INFO_CHILD_TYPE_SECTION_SHORT": "S",
     "INFO_DIALOG_PARSIM_DESC": "Choisir une combinaison de valeurs pour générer la simulation",
     "INFO_FIELDSET_ADD": "Ajouter",
     "INFO_FIELDSET_COPY": "Copier",
@@ -760,4 +763,4 @@
     "ERROR_VERIF_PAB_WALL_NOT_CROSSABLE": "La cloison n°%N% n'est pas franchissable",
     "ERROR_VERIF_PAB_DW_NOT_CROSSABLE": "La cloison aval n'est pas franchissable",
     "WARNING_VERIF_PAR_SPECIES_GROUP": "Les groupes d'espèces 3a, 3b et 7b sont déconseillés pour ce type de passe"
-}
+}
\ No newline at end of file
-- 
GitLab