Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/translations/en/networkModificationsEn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export const networkModificationsEn = {
'network_modifications.TABULAR_CREATION': 'Tabular creation - {computedLabel}',
'network_modifications.tabular.GENERATOR_CREATION': 'generator creations',
'network_modifications.LCC_CREATION': 'Creating HVDC (LCC) {computedLabel}',
'network_modifications.LCC_MODIFICATION': 'Modifying HVDC (LCC) {computedLabel}',
'network_modifications.STATIC_VAR_COMPENSATOR_CREATION': 'Creating static var compensator {computedLabel}',
'network_modifications.VOLTAGE_LEVEL_CREATION_SUBSTATION_CREATION':
'Creating voltage level {voltageLevelEquipmentId} and substation {substationEquipmentId}',
Expand Down
1 change: 1 addition & 0 deletions src/translations/fr/networkModificationsFr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export const networkModificationsFr = {
'network_modifications.TABULAR_CREATION': 'Création tabulaire - {computedLabel}',
'network_modifications.tabular.GENERATOR_CREATION': 'créations de générateurs',
'network_modifications.LCC_CREATION': 'Création de la HVDC (LCC) {computedLabel}',
'network_modifications.LCC_MODIFICATION': 'Modification de la HVDC (LCC) {computedLabel}',
'network_modifications.STATIC_VAR_COMPENSATOR_CREATION': 'Création de CSPR {computedLabel}',
'network_modifications.VOLTAGE_LEVEL_CREATION_SUBSTATION_CREATION':
'Création du poste {voltageLevelEquipmentId} et du site {substationEquipmentId}',
Expand Down
8 changes: 8 additions & 0 deletions src/utils/types/modificationType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ export enum ModificationType {
CONVERTER_STATION_MODIFICATION = 'CONVERTER_STATION_MODIFICATION',
COMPOSITE_MODIFICATION = 'COMPOSITE_MODIFICATION',
LCC_CONVERTER_STATION_CREATION = 'LCC_CONVERTER_STATION_CREATION',
LCC_CONVERTER_STATION_MODIFICATION = 'LCC_CONVERTER_STATION_MODIFICATION',
LCC_CREATION = 'LCC_CREATION',
LCC_MODIFICATION = 'LCC_MODIFICATION',
VOLTAGE_LEVEL_TOPOLOGY_MODIFICATION = 'VOLTAGE_LEVEL_TOPOLOGY_MODIFICATION',
}

Expand Down Expand Up @@ -175,9 +177,15 @@ export const MODIFICATION_TYPES = {
LCC_CONVERTER_STATION_CREATION: {
type: ModificationType.LCC_CONVERTER_STATION_CREATION,
},
LCC_CONVERTER_STATION_MODIFICATION: {
type: ModificationType.LCC_CONVERTER_STATION_MODIFICATION,
},
LCC_CREATION: {
type: ModificationType.LCC_CREATION,
},
LCC_MODIFICATION: {
type: ModificationType.LCC_MODIFICATION,
},
VOLTAGE_LEVEL_CREATION_SUBSTATION_CREATION: {
type: 'VOLTAGE_LEVEL_CREATION_SUBSTATION_CREATION',
},
Expand Down
Loading