Skip to content

Commit

Permalink
fixup! front: add new stdcm error when origin and destination are the…
Browse files Browse the repository at this point in the history
… same
  • Loading branch information
Sh099078 committed Jan 14, 2025
1 parent 2efc0dc commit 858887c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions front/public/locales/en/errors.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@
"WrongRailjsonVersionProvided": "Wrong railjson version provided"
}
},
"core": {
"pathfinding": {
"ZeroLengthPath": "Path length cannot be null."
}
},
"infra_state": {
"FetchError": "Error while fetching the infrastructure loading status"
},
Expand Down
4 changes: 4 additions & 0 deletions front/public/locales/fr/errors.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@
"WrongRailjsonVersionProvided": "Mauvaise version de railjson fournie"
}
},
"core": {
"pathfinding": {
"ZeroLengthPath": "La longueur d'un chemin ne peut pas être nulle."
}
"infra_state": {
"FetchError": "Erreur de récupération de l'état de chargement de l'infrastructure"
},
Expand Down

0 comments on commit 858887c

Please sign in to comment.