Skip to content

Commit 3913537

Browse files
committed
front: remove i18next-checker exception for upsertMapWaypointsInOperationalPoints()
Signed-off-by: Simon Ser <[email protected]>
1 parent 659c373 commit 3913537

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

front/scripts/i18n-checker.ts

-3
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ const IGNORE_MISSING: RegExp[] = [
1414
/translation:errorMessages\..*/,
1515
/translation:error/,
1616
/translation:unspecified/,
17-
// key used by upsertMapWaypointsInOperationalPoints
18-
/translation:requestedPoint/,
1917
// key used by checkStdcmConfigErrors
2018
/stdcm-help-section:asu/,
2119
/stdcm-help-section:sections/,
@@ -98,7 +96,6 @@ const IGNORE_UNUSED: RegExp[] = [
9896
/simulation:departureTime/,
9997
/simulation:electricalProfiles\..*/,
10098
/simulation:powerRestriction\..*/,
101-
/simulation:requestedPoint/,
10299

103100
// Stdcm help section
104101
/stdcm-help-section:*/,

front/src/applications/operationalStudies/helpers/upsertMapWaypointsInOperationalPoints.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const upsertMapWaypointsInOperationalPoints = (
1414
path: TrainSchedule['path'],
1515
pathItemsPositions: PathfindingResultSuccess['path_item_positions'],
1616
operationalPoints: OperationalPoint[],
17-
t: TFunction
17+
t: TFunction<'simulation'>
1818
): OperationalPoint[] => {
1919
let waypointCounter = 1;
2020

0 commit comments

Comments
 (0)