Skip to content

Commit

Permalink
front: fix waypoint tooltip selection in infra editor
Browse files Browse the repository at this point in the history
Signed-off-by: SharglutDev <[email protected]>
  • Loading branch information
SharglutDev committed Jan 31, 2025
1 parent 3ea6f1d commit 586b13c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions front/public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -318,11 +318,11 @@
"delete-route": "Delete the route",
"new-route": "Create a new route",
"pick-entry_point": "Starting point selection tool",
"pick-entry_point-cancel-delete": "Cancel the selection of the starting point",
"pick-entry_point-delete": "Modify the selected starting point",
"pick-entry_point-cancel": "Cancel the selection of the starting point",
"pick-entry_point-update": "Modify the selected starting point",
"pick-exit_point": "Ending point selection tool",
"pick-exit_point-cancel-delete": "Undo exit point selection.",
"pick-exit_point-delete": "Modify the selected exit point"
"pick-exit_point-cancel": "Undo exit point selection.",
"pick-exit_point-update": "Modify the selected exit point"
},
"alternative-routes": "Create a similar route",
"confirm-delete-route": "Are you sure to delete this route?",
Expand Down
8 changes: 4 additions & 4 deletions front/public/locales/fr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -303,11 +303,11 @@
"delete-route": "Supprimer l'itinéraire",
"new-route": "Créer un nouvel itinéraire",
"pick-entry_point": "Outil de sélection du point de départ",
"pick-entry_point-cancel-delete": "Annuler la sélection du point de départ",
"pick-entry_point-delete": "Modifier le point de départ sélectionné",
"pick-entry_point-cancel": "Annuler la sélection du point de départ",
"pick-entry_point-update": "Modifier le point de départ sélectionné",
"pick-exit_point": "Outil de sélection du point d'arrivée",
"pick-exit_point-cancel-delete": "Annuler la sélection du point d'arrivée",
"pick-exit_point-delete": "Modifier le point d'arrivée sélectionné"
"pick-exit_point-cancel": "Annuler la sélection du point d'arrivée",
"pick-exit_point-update": "Modifier le point d'arrivée sélectionné"
},
"alternative-routes": "Créer un itinéraire similaire",
"confirm-delete-route": "Êtes-vous sûr(e) de vouloir supprimer cet itinéraire ?",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const WayPointInput = ({ endPoint, wayPoint, onChange }: WayPointInputProps) =>
title={t(
`Editor.tools.routes-edition.actions.pick-${EndPointKeys[endPoint].toLowerCase()}${
isPicking ? '-cancel' : ''
}${isWayPointSelected ? '-delete' : ''}`
}${isWayPointSelected && !isPicking ? '-update' : ''}`
)}
className="btn btn-primary px-3"
onClick={onBtnClick}
Expand Down

0 comments on commit 586b13c

Please sign in to comment.