You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
front, editoast: invalid effort curve if speed has duplicates or if effort/speed have less than 2 coordinates.
front: prevent user to send duplicates coordinates from effortCurve spreadsheet
editoast: ensure speed values are unique and strictly increasing
front: speed and effort values must be strictly positive, and speed values must be unique
editoast: use json as input in all tests of rollin_stock
editoast: refacto. + throw an error if curves has less than 2 values
front: refacto. test and correct invalidity curve condition
front: filter curve before check validity
front: display invalid curve
front: improve curve identifier
front: fix translate
front: improve error message style
Copy file name to clipboardexpand all lines: front/public/locales/en/rollingstock.json
+2-1
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,8 @@
69
69
"rollingStockDuplicateName": "Rolling stock of the same name already exists.",
70
70
"rollingStockNotAdded": "Rolling stock not added",
71
71
"rollingStockNotUpdated": "Rolling stock not updated",
72
-
"rollingStockNotDeleted": "Rolling stock not deleted"
72
+
"rollingStockNotDeleted": "Rolling stock not deleted",
73
+
"invalidEffortCurves": "Invalid curves: {{invalidEffortCurves}}. Each curve must have at least 2 combinations of speed / effort values (with no duplication of speed values). Combinations with at least one empty field are ignored."
Copy file name to clipboardexpand all lines: front/public/locales/fr/rollingstock.json
+2-1
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,8 @@
71
71
"rollingStockDuplicateName": "Un matériel roulant du même nom existe déjà.",
72
72
"rollingStockNotAdded": "Le matériel roulant n'a pas été ajouté.",
73
73
"rollingStockNotUpdated": "Le matériel roulant n'a pas été mis à jour.",
74
-
"rollingStockNotDeleted": "Le matériel roulant n'a pas été supprimé."
74
+
"rollingStockNotDeleted": "Le matériel roulant n'a pas été supprimé.",
75
+
"invalidEffortCurves": "Courbes invalides : {{invalidEffortCurves}}. Chaque courbe doit posséder au moins 2 combinaisons de valeurs vitesse / effort (sans doublon sur les valeurs de vitesse). Les combinaisons ayant au moins un champs vide sont ignorées."
0 commit comments