From f5c7bbc905c0c959edb3fd5c18e7ed7a7e724a75 Mon Sep 17 00:00:00 2001
From: Mathias Chouet <mathias.chouet@irstea.fr>
Date: Tue, 19 May 2020 17:06:14 +0200
Subject: [PATCH] Par: replace ZD1 with ha (see jalhyd#223)

---
 src/app/calculators/par/config.json | 2 +-
 src/app/calculators/par/en.json     | 4 ++--
 src/app/calculators/par/fr.json     | 4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/app/calculators/par/config.json b/src/app/calculators/par/config.json
index 21944de32..7834b616e 100644
--- a/src/app/calculators/par/config.json
+++ b/src/app/calculators/par/config.json
@@ -21,7 +21,7 @@
                 "property": "parType",
                 "default": "PLANE"
             },
-            "ZD1",
+            "ha",
             "S",
             {
                 "id": "P",
diff --git a/src/app/calculators/par/en.json b/src/app/calculators/par/en.json
index 6274ab345..dea01abe1 100644
--- a/src/app/calculators/par/en.json
+++ b/src/app/calculators/par/en.json
@@ -7,7 +7,7 @@
 
     "fs_geometry": "Pass geometry",
 
-    "ZD1": "Upstream spilling elevation",
+    "ha": "Upstream head",
     "S": "Slope",
     "P": "Space between baffles",
     "L": "Total width of baffle / pattern (superactive)",
@@ -16,7 +16,7 @@
     "M": "Number of longitudinal strips",
 
     "h": "Water level in the pass",
-    "ha": "Upstream head",
+    "ZD1": "Upstream spilling elevation",
     "qStar": "Dimensionless flow",
     "V": "Flow velocity",
     "Nb": "Number of baffles",
diff --git a/src/app/calculators/par/fr.json b/src/app/calculators/par/fr.json
index 027b8097a..120e429b1 100644
--- a/src/app/calculators/par/fr.json
+++ b/src/app/calculators/par/fr.json
@@ -7,7 +7,7 @@
 
     "fs_geometry": "Géométrie de la passe",
 
-    "ZD1": "Cote de déversement à l'amont",
+    "ha": "Charge amont",
     "S": "Pente",
     "P": "Espacement entre les ralentisseurs",
     "L": "Largeur totale du ralentisseur  / du motif (suractifs)",
@@ -16,7 +16,7 @@
     "M": "Nombre de bandes longitudinales",
 
     "h": "Hauteur d'eau dans la passe",
-    "ha": "Charge amont",
+    "ZD1": "Cote de déversement à l'amont",
     "qStar": "Débit adimensionnel",
     "V": "Vitesse débitante",
     "Nb": "Nombre de ralentisseurs",
-- 
GitLab