diff --git a/src/components/dialogs/limits/limitsChart.tsx b/src/components/dialogs/limits/limitsChart.tsx index 54fb018dc9..c3b2620fc9 100644 --- a/src/components/dialogs/limits/limitsChart.tsx +++ b/src/components/dialogs/limits/limitsChart.tsx @@ -54,7 +54,7 @@ export default function LimitsChart({ limitsGroupFormName, previousPermanentLimi // threshold with biggest tempo and biggest value than the previous threshold // more than one threshold without value const isPermanentLimit = - (item.name === intl.formatMessage({ id: 'IST' }) && permanentLimit) || + (item.name === intl.formatMessage({ id: 'permanentLimit' }) && permanentLimit) || (!permanentLimit && !item.acceptableDuration); const permanentLimitValue = permanentLimit || maxValuePermanentLimit; @@ -86,7 +86,7 @@ export default function LimitsChart({ limitsGroupFormName, previousPermanentLimi if (permanentLimit) { thresholds.push({ - name: intl.formatMessage({ id: 'IST' }), + name: intl.formatMessage({ id: 'permanentLimit' }), value: permanentLimit ? +permanentLimit : permanentLimit, acceptableDuration: null, }); @@ -135,7 +135,7 @@ export default function LimitsChart({ limitsGroupFormName, previousPermanentLimi return thresholds.reduce<{ series: BarSeriesType[]; ticks: Ticks[] }>( (acc, item, index) => { const isPermanentLimit = - (item.name === intl.formatMessage({ id: 'IST' }) && permanentLimit) || + (item.name === intl.formatMessage({ id: 'permanentLimit' }) && permanentLimit) || (!permanentLimit && !item.acceptableDuration && item.value === maxValuePermanentLimit); const difference = item.value ? item.value - previousSum : undefined; diff --git a/src/translations/en.json b/src/translations/en.json index 93216aba51..6af3db65b6 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -397,7 +397,7 @@ "OverloadedEquipment": "Equipment", "OverloadedEquipmentBus": "Bus", "OverloadedEquipmentVoltageLevel": "Voltage level", - "PermanentLimitName": "IST", + "PermanentLimitName": "PATL", "LimitAcceptableDuration": "Duration", "Overload": "Overload", "ErrFetchViolationsMsg": "An error occurred while getting constraint violations", @@ -640,7 +640,7 @@ "TabularLimitSets": "Limit sets", "amountTemporaryLimits": "Number of temporary limits", "amountTemporaryLimitsError": "Limits number between 1 and 50", - "permanentLimit": "Permanent current limit", + "permanentLimit": "PATL", "acceptableDuration": "Duration (s)", "value": "Value (A)", "side": "Side", @@ -901,7 +901,7 @@ "DeleteVoltageLevelOnLineError": "Error while deleting a voltage level on a line", "DeleteAttachingLineError": "Error while deleting an attaching line", "GenerationDispatchError": "Error while creating a generation dispatch", - "PermanentCurrentLimitText": "Permanent current limit", + "PermanentCurrentLimitText": "PATL", "permanentCurrentLimitMustBeGreaterThanZero": "The permanent current limit value must be greater than 0", "permanentCurrentLimitMandatory": "A permanent limit has to be set if the limit set contains temporary current limits", "qMaxAtNominalVMustBeGreaterThanZero": "The Qmax available at nominal voltage value must be greater than 0", @@ -913,8 +913,8 @@ "maxPMustBeGreaterOrEqualToZero": "The maximum active power value must be greater than 0", "activePowerSetpointMinValueError": "The active power value must be greater than 0", "activePowerSetpointMaxValueError": "The active power value must be less than the maximum active power value", - "PermanentCurrentLimitText1": "Permanent current limit 1", - "PermanentCurrentLimitText2": "Permanent current limit 2", + "PermanentCurrentLimitText1": "PATL 1", + "PermanentCurrentLimitText2": "PATL 2", "SelectedOperationalLimitGroup": "Active limit set", "SelectedOperationalLimitGroups": "Active limit sets", "Applicability": "Applicability", @@ -1182,7 +1182,7 @@ "lineTypes.screen": "Screen", "lineTypes.currentLimits.limitSets": "Limit sets", "lineTypes.currentLimits.limitSet": "Limit set", - "lineTypes.currentLimits.Permanent": "Permanent current limit [A]", + "lineTypes.currentLimits.Permanent": "PATL [A]", "lineTypes.currentLimits.Temporary": "Temporary current limit [A] ", "aerialAreas": "Area", "aerialTemperatures": "Temperature", @@ -1345,10 +1345,10 @@ "sensitivityThreshold": "Threshold", "generatorsCappingSensitivityValue": "Generators capping sensitivity threshold value", "MonitoredBranchesFilter": "Filter", - "istN": "N IST", + "istN": "N PATL", "limitNameN": "N limit", "coeffN": "N coeff (%)", - "istNm1": "N-1 IST", + "istNm1": "N-1 PATL", "limitNameNm1": "N-1 limit", "coeffNm1": "N-1 coeff (%)", "generateStagesSelection": "Generated stages to simulate",