From 06dc0e9d4bd5309b1102707bcb64e7cc4b011614 Mon Sep 17 00:00:00 2001
From: "mathias.chouet" <mathias.chouet@irstea.fr>
Date: Mon, 2 Dec 2019 14:43:43 +0100
Subject: [PATCH] Translations

---
 src/locale/messages.en.json | 4 +++-
 src/locale/messages.fr.json | 2 ++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/locale/messages.en.json b/src/locale/messages.en.json
index b816aec2d..c6710f405 100644
--- a/src/locale/messages.en.json
+++ b/src/locale/messages.en.json
@@ -5,7 +5,7 @@
     "WARNING_ORIFICE_FREE_DOWNSTREAM_ELEVATION_POSSIBLE_SUBMERSION": "Downstream elevation is higher than orifice center elevation (possible submersion)",
     "WARNING_NOTCH_SUBMERSION_GREATER_THAN_07": "Notch formula is discouraged when submersion is greater than 0.7",
     "WARNING_SLOT_SUBMERSION_NOT_BETWEEN_07_AND_09": "Slot formula is discouraged when submersion is lower than 0.7 or greater than 0.9",
-    "WARNING_WEIR_SUBMERSION_LOWER_THAN_08": "Sumberged weir formula is discouraged when submersion is lower than 08",
+    "WARNING_WEIR_SUBMERSION_LOWER_THAN_08": "Submerged weir formula is discouraged when submersion is lower than 08",
     "WARNING_ERRORS_ABSTRACT": "%nb% errors occurred during calculation",
     "ERROR_BIEF_Z1_CALC_FAILED": "Unable to calculate upstream elevation (calculation interrupted before upstream)",
     "ERROR_BIEF_Z2_CALC_FAILED": "Unable to calculate downstream elevation (calculation interrupted before downstream)",
@@ -493,6 +493,8 @@
     "WARNING_NEGATIVE_SILL": "Sill should be positive",
     "WARNING_YN_SECTION_PENTE_NEG_NULLE_HNORMALE_INF": "Normal depth: slope is negative or zero, normal depth is infinite",
     "WARNING_YN_SECTION_NON_CONVERGENCE_NEWTON_HNORMALE": "Normal depth: non convergence of the calculation (Newton's method)",
+    "WARNING_SECTION_OVERFLOW": "Overflow: water elevation exceeds embankment elevation",
+    "WARNING_SECTION_OVERFLOW_ABSC": "Overflow: water elevation exceeds embankment elevation between abscissae %xa% et %xb%",
     "WARNING_SESSION_LOAD_NOTES_MERGED": "Notes have been merged",
     "WARNING_VALUE_ROUNDED_TO_INTEGER": "Value of %symbol% was rounded to %rounded%"
 }
diff --git a/src/locale/messages.fr.json b/src/locale/messages.fr.json
index a59228390..f44a67228 100644
--- a/src/locale/messages.fr.json
+++ b/src/locale/messages.fr.json
@@ -492,6 +492,8 @@
     "WARNING_NEGATIVE_SILL": "La pelle du seuil devrait être positive",
     "WARNING_YN_SECTION_PENTE_NEG_NULLE_HNORMALE_INF": "Hauteur normale: pente négative ou nulle, hauteur normale infinie",
     "WARNING_YN_SECTION_NON_CONVERGENCE_NEWTON_HNORMALE": "Hauteur normale: non convergence du calcul (méthode de Newton)",
+    "WARNING_SECTION_OVERFLOW": "Débordement: la cote de l'eau dépasse la cote de berge",
+    "WARNING_SECTION_OVERFLOW_ABSC": "Débordement: la cote de l'eau dépasse la cote de berge entre les abscisses %xa% et %xb%",
     "WARNING_SESSION_LOAD_NOTES_MERGED": "Les notes ont été fusionnées",
     "WARNING_VALUE_ROUNDED_TO_INTEGER": "La valeur de %symbol% a été arrondie à %rounded%"
 }
-- 
GitLab