Skip to content

Commit

Permalink
Merge branch 'main' into websocket-watcher
Browse files Browse the repository at this point in the history
  • Loading branch information
sBouzols authored Dec 2, 2024
2 parents 36d150c + b4a236c commit 63fd17f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/translations/en/networkModificationsEn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,5 @@ export const networkModificationsEn = {
'network_modifications.tabular.SUBSTATION_MODIFICATION': 'substation modifications',
'network_modifications.TABULAR_CREATION': 'Tabular creation - {computedLabel}',
'network_modifications.tabular.GENERATOR_CREATION': 'generator creations',
'network_modifications.LCC_CREATION': 'Creating HVDC (LCC) {computedLabel}',
};
1 change: 1 addition & 0 deletions src/translations/fr/networkModificationsFr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,5 @@ export const networkModificationsFr = {
'network_modifications.tabular.SUBSTATION_MODIFICATION': 'modifications de sites',
'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}',
};
8 changes: 8 additions & 0 deletions src/utils/types/modificationType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ export enum ModificationType {
VSC_MODIFICATION = 'VSC_MODIFICATION',
CONVERTER_STATION_MODIFICATION = 'CONVERTER_STATION_MODIFICATION',
COMPOSITE_MODIFICATION = 'COMPOSITE_MODIFICATION',
LCC_CONVERTER_STATION_CREATION = 'LCC_CONVERTER_STATION_CREATION',
LCC_CREATION = 'LCC_CREATION',
}

export const MODIFICATION_TYPES = {
Expand Down Expand Up @@ -169,4 +171,10 @@ export const MODIFICATION_TYPES = {
COMPOSITE_MODIFICATION: {
type: ModificationType.COMPOSITE_MODIFICATION,
},
LCC_CONVERTER_STATION_CREATION: {
type: ModificationType.LCC_CONVERTER_STATION_CREATION,
},
LCC_CREATION: {
type: ModificationType.LCC_CREATION,
},
};

0 comments on commit 63fd17f

Please sign in to comment.