mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-28 23:50:08 +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:
@@ -905,6 +905,11 @@ const tours: TranslationStrings = {
|
||||
'tours.import.leftOutPoints': 'หมุด {count} รายการ',
|
||||
'tours.import.leftOutAreas': 'พื้นที่ {count} รายการ',
|
||||
'tours.import.leftOutOther': 'รายการอื่น {count} รายการ',
|
||||
'tours.import.pointsAsPlaces': 'เพิ่มจุดเป็นสถานที่',
|
||||
'tours.import.pointsAsPlacesHint': 'จุดเดี่ยวไม่ได้เป็นส่วนหนึ่งของทัวร์ แต่จะถูกเพิ่มเข้าไปในสถานที่ของทริปแทน',
|
||||
'tours.import.pointsConfirm': 'เพิ่มสถานที่',
|
||||
'tours.import.pointsFailedIn': 'ไม่สามารถเพิ่มจุดใน {name} เป็นสถานที่ได้',
|
||||
'tours.import.pointsImported': 'เพิ่มสถานที่แล้ว: {count}',
|
||||
'tours.import.unreadableIn': 'ไม่สามารถอ่าน {name} ได้: ไฟล์เสียหายหรือไม่ใช่ GPX, KML หรือ KMZ',
|
||||
'tours.import.archiveNoKmlIn': 'ไม่พบไฟล์ KML ใน {name}',
|
||||
'tours.import.archiveTooLargeIn': '{name} ใหญ่เกินไปเมื่อแตกไฟล์',
|
||||
|
||||
Reference in New Issue
Block a user