From 2737c7bf9650a7a4dc4aeb00751e7a763e845842 Mon Sep 17 00:00:00 2001 From: Samir Kamal <1954121+skamril@users.noreply.github.com> Date: Tue, 2 Apr 2024 13:02:54 +0200 Subject: [PATCH] fix(storages-ui): change matrix titles --- webapp/public/locales/en/main.json | 6 +++--- webapp/public/locales/fr/main.json | 6 +++--- .../explore/Modelization/Areas/Storages/Matrix.tsx | 8 +++++--- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/webapp/public/locales/en/main.json b/webapp/public/locales/en/main.json index cb3e31ddd8..4ce793b79d 100644 --- a/webapp/public/locales/en/main.json +++ b/webapp/public/locales/en/main.json @@ -418,11 +418,11 @@ "study.modelization.hydro.allocation.viewMatrix": "View all allocations", "study.modelization.hydro.allocation.error.field.delete": "Error when deleting the allocation", "study.modelization.storages": "Storages", - "study.modelization.storages.capacities": "Injection / withdrawal capacities", + "study.modelization.storages.modulation": "Injection / Withdrawal Modulation", "study.modelization.storages.ruleCurves": "Rule Curves", "study.modelization.storages.inflows": "Inflows", - "study.modelization.storages.injectionCapacity": "Injection capacity", - "study.modelization.storages.withdrawalCapacity": "Withdrawal capacity", + "study.modelization.storages.injectionModulation": "Injection Modulation", + "study.modelization.storages.withdrawalModulation": "Withdrawal Modulation", "study.modelization.storages.lowerRuleCurve": "Lower rule curve", "study.modelization.storages.upperRuleCurve": "Upper rule curve", "study.modelization.storages.injectionNominalCapacity": "Injection (MW)", diff --git a/webapp/public/locales/fr/main.json b/webapp/public/locales/fr/main.json index 71c4286169..89afd931dc 100644 --- a/webapp/public/locales/fr/main.json +++ b/webapp/public/locales/fr/main.json @@ -418,11 +418,11 @@ "study.modelization.hydro.allocation.viewMatrix": "Voir les allocations", "study.modelization.hydro.allocation.error.field.delete": "Erreur lors de la suppression de l'allocation", "study.modelization.storages": "Stockages", - "study.modelization.storages.capacities": "Capacités d’injection / soutirage", + "study.modelization.storages.modulation": "Modulation de l’injection / soutirage", "study.modelization.storages.ruleCurves": "Courbe guides", "study.modelization.storages.inflows": "Apports", - "study.modelization.storages.injectionCapacity": "Capacité d’injection", - "study.modelization.storages.withdrawalCapacity": "Capacité de soutirage", + "study.modelization.storages.injectionModulation": "Modulation de l’injection", + "study.modelization.storages.withdrawalModulation": "Modulation du soutirage", "study.modelization.storages.lowerRuleCurve": "Courbe guide inférieure", "study.modelization.storages.upperRuleCurve": "Courbe guide supérieure", "study.modelization.storages.injectionNominalCapacity": "Injection (MW)", diff --git a/webapp/src/components/App/Singlestudy/explore/Modelization/Areas/Storages/Matrix.tsx b/webapp/src/components/App/Singlestudy/explore/Modelization/Areas/Storages/Matrix.tsx index 7bc86cd47a..63ff535498 100644 --- a/webapp/src/components/App/Singlestudy/explore/Modelization/Areas/Storages/Matrix.tsx +++ b/webapp/src/components/App/Singlestudy/explore/Modelization/Areas/Storages/Matrix.tsx @@ -35,7 +35,7 @@ function Matrix({ study, areaId, storageId }: Props) { }} > setValue(v)}> - + @@ -56,7 +56,7 @@ function Matrix({ study, areaId, storageId }: Props) { study={study} url={`input/st-storage/series/${areaId}/${storageId}/pmax_injection`} computStats={MatrixStats.NOCOL} - title={t("study.modelization.storages.injectionCapacity")} + title={t("study.modelization.storages.injectionModulation")} /> } right={ @@ -64,7 +64,9 @@ function Matrix({ study, areaId, storageId }: Props) { study={study} url={`input/st-storage/series/${areaId}/${storageId}/pmax_withdrawal`} computStats={MatrixStats.NOCOL} - title={t("study.modelization.storages.withdrawalCapacity")} + title={t( + "study.modelization.storages.withdrawalModulation", + )} /> } sx={{