From 6a526b06dfc002de1ac2309a455b8a032d91b036 Mon Sep 17 00:00:00 2001
From: Dorchies David <david.dorchies@irstea.fr>
Date: Wed, 17 Feb 2021 15:24:18 +0100
Subject: [PATCH] fix(verificateur): defective message for submerged blocks on
 MacroRugo

Fix cassiopee/jalhyd#292
---
 src/locale/messages.en.json | 2 ++
 src/locale/messages.fr.json | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/src/locale/messages.en.json b/src/locale/messages.en.json
index a60421372..b21bd2204 100755
--- a/src/locale/messages.en.json
+++ b/src/locale/messages.en.json
@@ -707,11 +707,13 @@
     "ERROR_VERIF_VARYING_ERRORS_IN_PASS": "Pass to verify contains error at iteration %i%",
     "ERROR_VERIF_MISSING_CRITERION": "Criterion %var_criterion% must be defined",
     "ERROR_VERIF_MR_VMAX": "Maximum velocity %V% too high (maximum: %maxV%)",
+    "ERROR_VERIF_MR_SUBMERGED": "Submerged blocks",
     "ERROR_VERIF_MR_PVMAX": "Dissipated power %PV% too high (maximum: %maxPV%)",
     "ERROR_VERIF_MR_YMIN": "Water level %Y% too low (minimum: %minY%)",
     "ERROR_VERIF_MRC_AT_LEAST_ONE_APRON": "None of the aprons is crossable",
     "ERROR_VERIF_MRC_CROSSABLE_WIDTH": "Crossable width %width% m is lower than the width of a block pattern %patternWidth% m",
     "WARNING_VERIF_MRC_VMAX_APRON_N": "Maximum velocity %V% too high (maximum: %maxV%)",
+    "WARNING_VERIF_MRC_SUBMERGED_APRON_N": "Submerged blocks",
     "WARNING_VERIF_MRC_YMIN_APRON_N": "Water level %Y% too low (minimum: %minY%)",
     "INFO_VERIF_MRC_CROSSABLE_WIDTH": "Maximum crossable width is %width% m",
     "ERROR_VERIF_NO_PRESET": "This species group is not compatible with this pass type",
diff --git a/src/locale/messages.fr.json b/src/locale/messages.fr.json
index a65448522..5169ac6ae 100755
--- a/src/locale/messages.fr.json
+++ b/src/locale/messages.fr.json
@@ -708,11 +708,13 @@
     "ERROR_VERIF_VARYING_ERRORS_IN_PASS": "La passe à vérifier contient des erreurs à l'itération %i%",
     "ERROR_VERIF_MISSING_CRITERION": "Le critère %var_criterion% doit être défini",
     "ERROR_VERIF_MR_VMAX": "Vitesse maximale %V% trop élevée (maximum&nbsp;: %maxV%)",
+    "ERROR_VERIF_MR_SUBMERGED": "Blocs submergés",
     "ERROR_VERIF_MR_PVMAX": "Puissance dissipée %PV% trop élevée (maximum&nbsp;: %maxPV%)",
     "ERROR_VERIF_MR_YMIN": "Tirant d'eau %Y% insuffisant (minimum&nbsp;: %minY%)",
     "ERROR_VERIF_MRC_AT_LEAST_ONE_APRON": "Aucun des radiers n'est franchissable",
     "ERROR_VERIF_MRC_CROSSABLE_WIDTH": "La largeur franchissable %width% m est inférieure à la largeur d'un motif de blocs %patternWidth% m",
     "WARNING_VERIF_MRC_VMAX_APRON_N": "Vitesse maximale %V% trop élevée (maximum&nbsp;: %maxV%)",
+    "WARNING_VERIF_MRC_SUBMERGED_APRON_N": "Blocs submergés",
     "WARNING_VERIF_MRC_YMIN_APRON_N": "Tirant d'eau %Y% insuffisant (minimum&nbsp;: %minY%)",
     "INFO_VERIF_MRC_CROSSABLE_WIDTH": "La largeur franchissable maximale est %width% m",
     "ERROR_VERIF_NO_PRESET": "Ce groupe d'espèces n'est pas compatible avec ce type de passe",
-- 
GitLab