From 7803e84795a3e956266efe6889a4554834c3f0e8 Mon Sep 17 00:00:00 2001 From: "mathias.chouet" <mathias.chouet@irstea.fr> Date: Thu, 30 Jul 2020 11:19:09 +0200 Subject: [PATCH] PAR: typo; shorten "generate simulation" button --- src/app/calculators/par/fr.json | 4 ---- src/app/calculators/parsimulation/fr.json | 4 ---- src/app/components/generic-calculator/calculator.component.ts | 2 +- src/locale/messages.en.json | 2 +- src/locale/messages.fr.json | 2 +- 5 files changed, 3 insertions(+), 11 deletions(-) diff --git a/src/app/calculators/par/fr.json b/src/app/calculators/par/fr.json index 51e30503b..992593b5c 100644 --- a/src/app/calculators/par/fr.json +++ b/src/app/calculators/par/fr.json @@ -1,10 +1,6 @@ { "fs_param_hydro": "Paramètres hydrauliques", - "Q": "Débit", - "Z1": "Cote de l'eau amont", - "Z2": "Cote de leau aval", - "fs_geometry": "Géométrie de la passe", "ha": "Charge amont", diff --git a/src/app/calculators/parsimulation/fr.json b/src/app/calculators/parsimulation/fr.json index ac6b40bc9..50a84eff9 100644 --- a/src/app/calculators/parsimulation/fr.json +++ b/src/app/calculators/parsimulation/fr.json @@ -1,10 +1,6 @@ { "fs_param_hydro": "Paramètres hydrauliques", - "Q": "Débit", - "Z1": "Cote de l'eau amont", - "Z2": "Cote de leau aval", - "fs_geometry": "Géométrie de la passe", "ZD1": "Cote de déversement à l'amont", diff --git a/src/app/components/generic-calculator/calculator.component.ts b/src/app/components/generic-calculator/calculator.component.ts index 5c48cda8a..2850e8ce3 100644 --- a/src/app/components/generic-calculator/calculator.component.ts +++ b/src/app/components/generic-calculator/calculator.component.ts @@ -746,7 +746,7 @@ export class GenericCalculatorComponent implements OnInit, DoCheck, AfterViewChe /** * Génère une liste de valeurs de tirant d'eau pour un couple Z1/ZF1 ou Z2/ZF2 donné - * @param Z cote de leau (Z1 ou Z2) + * @param Z cote de l'eau (Z1 ou Z2) * @param ZF cote de fond (ZF1 ou ZF2) */ private generateBiefYValuesForSP(Z: ParamDefinition, ZF: ParamDefinition): number | number[] { diff --git a/src/locale/messages.en.json b/src/locale/messages.en.json index f31aef038..ca693f149 100644 --- a/src/locale/messages.en.json +++ b/src/locale/messages.en.json @@ -74,7 +74,7 @@ "INFO_CALCULATOR_PARAMFIXES": "Fixed parameters", "INFO_CALCULATOR_RESULTS_GENERATE_PAB": "Generate a fish ladder", "INFO_CALCULATOR_RESULTS_GENERATE_RU_SP": "Hydraulic details of section", - "INFO_CALCULATOR_RESULTS_GENERATE_PAR_SIMULATION": "Generation a humpback fishway simulation", + "INFO_CALCULATOR_RESULTS_GENERATE_PAR_SIMULATION": "Generate a simulation", "INFO_CALCULATOR_RESULTS_GENERATE_SP_AMONT": "Hydraulic details of upstream section", "INFO_CALCULATOR_RESULTS_GENERATE_SP_AVAL": "Hydraulic details of downstream section", "INFO_CALCULATOR_RESULTS_TITLE": "Results", diff --git a/src/locale/messages.fr.json b/src/locale/messages.fr.json index 926498431..590e66d88 100644 --- a/src/locale/messages.fr.json +++ b/src/locale/messages.fr.json @@ -74,7 +74,7 @@ "INFO_CALCULATOR_PARAMFIXES": "Paramètres fixés", "INFO_CALCULATOR_RESULTS_GENERATE_PAB": "Générer une passe à bassins", "INFO_CALCULATOR_RESULTS_GENERATE_RU_SP": "Détails hydrauliques de la section", - "INFO_CALCULATOR_RESULTS_GENERATE_PAR_SIMULATION": "Générer une simulation de passe à ralentisseurs", + "INFO_CALCULATOR_RESULTS_GENERATE_PAR_SIMULATION": "Générer une simulation", "INFO_CALCULATOR_RESULTS_GENERATE_SP_AMONT": "Détails hydrauliques de la section amont", "INFO_CALCULATOR_RESULTS_GENERATE_SP_AVAL": "Détails hydrauliques de la section aval", "INFO_CALCULATOR_RESULTS_TITLE": "Résultats", -- GitLab