Skip to content

Commit

Permalink
fix(storages-ui): change matrix titles
Browse files Browse the repository at this point in the history
  • Loading branch information
skamril committed Apr 2, 2024
1 parent 3009896 commit 2737c7b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
6 changes: 3 additions & 3 deletions webapp/public/locales/en/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -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)",
Expand Down
6 changes: 3 additions & 3 deletions webapp/public/locales/fr/main.json
Original file line number Diff line number Diff line change
Expand Up @@ -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)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function Matrix({ study, areaId, storageId }: Props) {
}}
>
<Tabs sx={{ width: 1 }} value={value} onChange={(_, v) => setValue(v)}>
<Tab label={t("study.modelization.storages.capacities")} />
<Tab label={t("study.modelization.storages.modulation")} />
<Tab label={t("study.modelization.storages.ruleCurves")} />
<Tab label={t("study.modelization.storages.inflows")} />
</Tabs>
Expand All @@ -56,15 +56,17 @@ 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={
<MatrixInput
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={{
Expand Down

0 comments on commit 2737c7b

Please sign in to comment.