From 83f986f59aeec723e2f7151a7d9cc0f505ddca2b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Grand?= <francois.grand@inrae.fr>
Date: Tue, 28 Mar 2023 13:25:52 +0200
Subject: [PATCH] fix: MacroRugoRemous: form translation of values,units

refs #609
---
 src/app/calculators/macrorugoremous/en.json | 18 ++++++++++++++++++
 src/app/calculators/macrorugoremous/fr.json | 18 ++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/src/app/calculators/macrorugoremous/en.json b/src/app/calculators/macrorugoremous/en.json
index 231a37c21..42a5282cc 100644
--- a/src/app/calculators/macrorugoremous/en.json
+++ b/src/app/calculators/macrorugoremous/en.json
@@ -5,6 +5,24 @@
     "Dx": "Discretisation step",
     "Y": "Water depth",
     "ZW": "Water line",
+    "Hs": "Head",
+    "S": "Wet surface",
+
+    "UNIT_ZW": "m",
+    "UNIT_FLU": "m",
+    "UNIT_HS": "m",
+    "UNIT_HSC": "m",
+    "UNIT_B": "m",
+    "UNIT_P": "m",
+    "UNIT_S": "m²",
+    "UNIT_R": "m",
+    "UNIT_V": "m/s",
+    "UNIT_YCOR": "m",
+    "UNIT_YCON": "m",
+    "UNIT_J": "m",
+    "UNIT_I-J": "m/m",
+    "UNIT_IMP": "N",
+    "UNIT_TAU0": "Pa",
 
     "select_resolution": "Resolution method",
     "RESOLUTION_0": "Integration by trapezoid",
diff --git a/src/app/calculators/macrorugoremous/fr.json b/src/app/calculators/macrorugoremous/fr.json
index 081a929d4..ae1bb8ba4 100644
--- a/src/app/calculators/macrorugoremous/fr.json
+++ b/src/app/calculators/macrorugoremous/fr.json
@@ -5,6 +5,24 @@
     "Dx": "Pas de discrétisation",
     "Y": "Tirant d'eau",
     "ZW": "Ligne d'eau",
+    "Hs": "Charge",
+    "S": "Surface mouillée",
+
+    "UNIT_ZW": "m",
+    "UNIT_FLU": "m",
+    "UNIT_HS": "m",
+    "UNIT_HSC": "m",
+    "UNIT_B": "m",
+    "UNIT_P": "m",
+    "UNIT_S": "m²",
+    "UNIT_R": "m",
+    "UNIT_V": "m/s",
+    "UNIT_YCOR": "m",
+    "UNIT_YCON": "m",
+    "UNIT_J": "m",
+    "UNIT_I-J": "m/m",
+    "UNIT_IMP": "N",
+    "UNIT_TAU0": "Pa",
 
     "select_resolution": "Méthode de résolution",
     "RESOLUTION_0": "Intégration par trapèzes",
-- 
GitLab