Skip to content

Commit 7d976b9

Browse files
committed
front: rename headers in timestop tables
Signed-off-by: Alice Khoudli <[email protected]>
1 parent 02ea460 commit 7d976b9

File tree

4 files changed

+26
-24
lines changed

4 files changed

+26
-24
lines changed
+12-11
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
{
2-
"arrivalTime": "Requested arrival Time",
3-
"calculatedArrivalTime": "Calculated arrival time",
4-
"calculatedDepartureTime": "Calculated departure time",
2+
"arrivalTime": "requested arrival time",
3+
"calculatedArrivalTime": "calculated arrival time",
4+
"calculatedDepartureTime": "calculated departure time",
55
"dayCounter": "D+{{count}}",
6-
"departureTime": "Requested departure Time",
7-
"diffMargins": "Margins diff.",
8-
"name": "Name",
6+
"departureTime": "requested departure time",
7+
"diffMargins": "margins diff. (s)",
8+
"name": "CI",
9+
"ch": "ch",
910
"noPathLoaded": "No path loaded",
10-
"realMargin": "Real margin",
11-
"receptionOnClosedSignal": "Reception on Closed Signal",
11+
"realMargin": "real margin (s)",
12+
"receptionOnClosedSignal": "reception on closed signal",
1213
"shortSlipDistance": "Short Slip Distance",
13-
"stopTime": "Stopping Time (s)",
14-
"theoreticalMargin": "Theoretical Margin",
14+
"stopTime": "stopping time (s)",
15+
"theoreticalMargin": "theoretical margin",
1516
"theoreticalMarginPlaceholder": "% or min/100km",
16-
"theoreticalMarginSeconds": "Theoretical Margin (s)",
17+
"theoreticalMarginSeconds": "linear theoretical margin (s)",
1718
"waypoint": "Waypoint {{id}}"
1819
}
+12-11
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
{
2-
"arrivalTime": "Arrivée demandée",
3-
"calculatedArrivalTime": "Arrivée calculée",
4-
"calculatedDepartureTime": "Départ calculé",
2+
"arrivalTime": "arrivée demandée",
3+
"calculatedArrivalTime": "arrivée calculée",
4+
"calculatedDepartureTime": "départ calculé",
55
"dayCounter": "J+{{count}}",
6-
"departureTime": "Départ demandé",
7-
"diffMargins": "Diff. marges",
8-
"name": "Nom",
6+
"departureTime": "départ demandé",
7+
"diffMargins": "diff. marges (s)",
8+
"name": "CI",
9+
"ch": "ch",
910
"noPathLoaded": "Aucun chemin chargé",
10-
"realMargin": "Marge réelle",
11-
"receptionOnClosedSignal": "Réception sur signal fermé",
1211
"shortSlipDistance": "Faible glissement",
13-
"stopTime": "Temps d'arrêt (s)",
14-
"theoreticalMargin": "Marge théorique",
12+
"realMargin": "marge réelle (s)",
13+
"receptionOnClosedSignal": "réception sur signal fermé",
14+
"stopTime": "temps d'arrêt (s)",
15+
"theoreticalMargin": "marge théorique",
1516
"theoreticalMarginPlaceholder": "% ou min/100km",
16-
"theoreticalMarginSeconds": "Marge théorique (s)",
17+
"theoreticalMarginSeconds": "marge théorique linéaire (s)",
1718
"waypoint": "Via {{id}}"
1819
}

front/src/modules/timesStops/hooks/useTimeStopsColumns.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export const useTimeStopsColumns = <T extends TimeStopsRow>(
7474
},
7575
{
7676
...keyColumn('ch', createTextColumn()),
77-
title: 'Ch',
77+
title: t('ch'),
7878
disabled: true,
7979
maxWidth: 45,
8080
},

front/tests/011-op-times-and-stops-tab.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ test.describe('Times and Stops Tab Verification', () => {
108108
const translations = selectedLanguage === 'English' ? enTranslations : frTranslations;
109109
const expectedColumnNames = cleanWhitespaceInArray([
110110
translations.name,
111-
'Ch',
111+
translations.ch,
112112
translations.arrivalTime,
113113
translations.departureTime,
114114
translations.stopTime,

0 commit comments

Comments
 (0)