From d318d6727e8f2a1e5c5650a45d9cd11fbea8eb57 Mon Sep 17 00:00:00 2001 From: David BRAQUART Date: Mon, 9 Feb 2026 14:23:54 +0100 Subject: [PATCH] use a dedicated new error msg Signed-off-by: David BRAQUART --- .../balances-adjustment/balances-adjustment-dialog.tsx | 2 +- src/translations/en.json | 1 + src/translations/fr.json | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/dialogs/network-modifications/balances-adjustment/balances-adjustment-dialog.tsx b/src/components/dialogs/network-modifications/balances-adjustment/balances-adjustment-dialog.tsx index 8947bae02c..79f984ca7e 100644 --- a/src/components/dialogs/network-modifications/balances-adjustment/balances-adjustment-dialog.tsx +++ b/src/components/dialogs/network-modifications/balances-adjustment/balances-adjustment-dialog.tsx @@ -250,7 +250,7 @@ export function BalancesAdjustmentDialog({ }); } catch (error) { snackWithFallback(snackError, error, { - headerId: 'GenerationDispatchError', + headerId: 'BalancesAdjustmentError', }); } }, diff --git a/src/translations/en.json b/src/translations/en.json index 979bacb615..d87d4eabee 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -1597,6 +1597,7 @@ "CouplingDeviceText": "Bus bar sections", "CouplingDeviceBusBarSectionToolTipText": "If both bus bar sections have a different section number it creates an omnibus otherwise a coupling device", "BalancesAdjustment": "Balances adjustment", + "BalancesAdjustmentError": "Error while creating a balances adjustment", "BalancesAdjustmentZone": "Zone name", "BalancesAdjustmentCountry": "Countries", "BalancesAdjustmentShiftEquipmentType": "Equipment type", diff --git a/src/translations/fr.json b/src/translations/fr.json index 1b998ad5bc..9d4b553410 100644 --- a/src/translations/fr.json +++ b/src/translations/fr.json @@ -1595,6 +1595,7 @@ "CouplingDeviceText": "Sections de jeu de barre", "CouplingDeviceBusBarSectionToolTipText": "Si les deux sections de barre sélectionnées ont des numéros de tronçon/section différents la modification crée un omnibus, autrement elle crée un couplage", "BalancesAdjustment": "Équilibrage bilan", + "BalancesAdjustmentError": "Erreur lors de la création de l'équilibrage bilan", "BalancesAdjustmentZone": "Nom de la zone", "BalancesAdjustmentCountry": "Pays", "BalancesAdjustmentShiftEquipmentType": "Type d'équipements",