mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-05 02:14:05 +00:00
fix(tours): keep the waypoints of a GPX/KML file that also holds a track
With the Tours addon on, a file picked or dropped on the places column goes into the Tours import as soon as it holds one line, and that import reads lines only. A Sygic or Trip-o-matic export (a route plus its stops) came in as one tour and every place was dropped without a word. The preview now counts a GPX file's waypoints as it already counted a KML file's pins, and the dialog offers to add those points as places of the trip, on by default. Confirming runs the Tours import for the lines and the places import (points only) for the same files. A file whose tracks the trip already holds can still bring its points. Closes #2969
This commit is contained in:
@@ -943,6 +943,11 @@ const tours: TranslationStrings = {
|
||||
'tours.import.leftOutAreas.one': '{count} område',
|
||||
'tours.import.leftOutOther': '{count} andra objekt',
|
||||
'tours.import.leftOutOther.one': '{count} annat objekt',
|
||||
'tours.import.pointsAsPlaces': 'Lägg till punkterna som platser',
|
||||
'tours.import.pointsAsPlacesHint': 'Enskilda punkter ingår inte i en tur. De läggs till bland resans platser i stället.',
|
||||
'tours.import.pointsConfirm': 'Lägg till platser',
|
||||
'tours.import.pointsFailedIn': 'Punkterna i {name} kunde inte läggas till som platser.',
|
||||
'tours.import.pointsImported': 'Tillagda platser: {count}',
|
||||
'tours.import.unreadableIn': 'Det gick inte att läsa {name}: filen är skadad eller inte GPX, KML eller KMZ',
|
||||
'tours.import.archiveNoKmlIn': 'Ingen KML-fil hittades i {name}',
|
||||
'tours.import.archiveTooLargeIn': '{name} är för stor när den packats upp',
|
||||
|
||||
Reference in New Issue
Block a user