From ed527d7252aa45290f1d40acabf9deb1c40ffa8b Mon Sep 17 00:00:00 2001
From: Mathias Chouet <mathias.chouet@irstea.fr>
Date: Mon, 27 Apr 2020 11:10:17 +0200
Subject: [PATCH] Update translation for Verificateur

---
 src/locale/messages.en.json | 6 ++++--
 src/locale/messages.fr.json | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/locale/messages.en.json b/src/locale/messages.en.json
index 7087d4297..f42c1c58a 100644
--- a/src/locale/messages.en.json
+++ b/src/locale/messages.en.json
@@ -613,8 +613,8 @@
     "ERROR_VERIF_PAB_DHMAX_DW": "Downwall: fall %DH% too high (maximum: %maxDH%)",
     "ERROR_VERIF_PAB_BMIN": "Wall #%NC%, structure %NS%: slot/weir width %L% too low (minimum: %minB%)",
     "ERROR_VERIF_PAB_BMIN_DW": "Downwall, structure %NS%: slot/weir width %L% too low (minimum: %minB%)",
-    "ERROR_VERIF_PAB_JETS": "Wall #%N%: at least one jet of type %required% is required, jets of type %forbidden% are forbidden",
-    "ERROR_VERIF_PAB_JETS_DW": "Downwall: at least one jet of type %required% is required, jets of type %forbidden% are forbidden",
+    "ERROR_VERIF_PAB_JETS": "Wall #%N%: at least one jet of type %required% is required",
+    "ERROR_VERIF_PAB_JETS_DW": "Downwall: at least one jet of type %required% is required",
     "ERROR_VERIF_PAB_LMIN": "Wall #%N%: basin length %LB% too low (minimum: %minLB%)",
     "ERROR_VERIF_PAB_HMIN": "Wall #%NC%, structure %NS%: head on weir %h1% too low (minimum: %minH%)",
     "ERROR_VERIF_PAB_HMIN_DW": "Downwall, structure %NS%: head on weir %h1% too low (minimum: %minH%)",
@@ -622,5 +622,7 @@
     "ERROR_VERIF_PAB_YMOY_2_DH": "Wall #%N%: basin depth %PB% lower than 2x fall %DH%",
     "ERROR_VERIF_PAR_DH": "Downstream pass fall prevents crossability",
     "ERROR_VERIF_PAR_YMIN": "Water level %h% too low (minimum: %minY%)",
+    "ERROR_VERIF_KO": "Crossability criteria are not met for at least one species group",
+    "ERROR_VERIF_SPECIES_KO": "Crossability criteria are not met for species group %speciesGroup%",
     "WARNING_VERIF_PAR_SPECIES_GROUP": "Species groups 3a, 3b et 7b are discouraged for this pass type"
 }
diff --git a/src/locale/messages.fr.json b/src/locale/messages.fr.json
index 1d5f56c7f..00ff6492e 100644
--- a/src/locale/messages.fr.json
+++ b/src/locale/messages.fr.json
@@ -614,8 +614,8 @@
     "ERROR_VERIF_PAB_DHMAX_DW": "Cloison aval : chute %DH% trop importante (maximum: %maxDH%)",
     "ERROR_VERIF_PAB_BMIN": "Cloison n°%NC%, ouvrage %NS% : largeur de l'échancrure ou de la fente %L% insuffisante (minimum: %minB%)",
     "ERROR_VERIF_PAB_BMIN_DW": "Cloison aval, ouvrage %NS% : largeur de l'échancrure ou de la fente %L% insuffisante (minimum: %minB%)",
-    "ERROR_VERIF_PAB_JETS": "Cloison n°%N% : au moins un jet de type %required% requis, jets de type %forbidden% interdits",
-    "ERROR_VERIF_PAB_JETS_DW": "Cloison aval : au moins un jet de type %required% requis, jets de type %forbidden% interdits",
+    "ERROR_VERIF_PAB_JETS": "Cloison n°%N% : au moins un jet de type %required% requis",
+    "ERROR_VERIF_PAB_JETS_DW": "Cloison aval : au moins un jet de type %required% requis",
     "ERROR_VERIF_PAB_LMIN": "Cloison n°%N% : longueur de bassin %LB% insuffisante (minimum: %minLB%)",
     "ERROR_VERIF_PAB_HMIN": "Cloison n°%NC%, ouvrage %NS% : charge sur l'échancrure %h1% insuffisante (minimum: %minH%)",
     "ERROR_VERIF_PAB_HMIN_DW": "Cloison aval, ouvrage %NS% : charge sur l'échancrure %h1% insuffisante (minimum: %minH%)",
@@ -623,5 +623,7 @@
     "ERROR_VERIF_PAB_YMOY_2_DH": "Cloison n°%N% : profondeur de bassin %PB% inférieure à 2x la chute %DH%",
     "ERROR_VERIF_PAR_DH": "La chute en pied de passe empêche le franchissement",
     "ERROR_VERIF_PAR_YMIN": "Tirant d'eau %h% insuffisant (minimum: %minY%)",
+    "ERROR_VERIF_KO": "Le franchissement est impossible pour au moins un groupe d'espèces",
+    "ERROR_VERIF_SPECIES_KO": "Le franchissement est impossible pour le groupe d'espèces %speciesGroup%",
     "WARNING_VERIF_PAR_SPECIES_GROUP": "Les groupes d'espèces 3a, 3b et 7b sont déconseillés pour ce type de passe"
 }
-- 
GitLab