feat(tours): plan ski and winter tours, snowshoeing and winter hiking among them

Ski becomes "Ski & winter", a type the planner plans with six disciplines
(alpine, snowboard, cross-country, ski touring, snowshoeing, winter hiking),
nothing preselected; saving needs a discipline, and a technique for
cross-country. Every leg is drawn straight between the points through
planner/skiRouting.ts, the one place the piste router will plug in, with its
heights from the elevation source and no ski time worked out.

The hike's winter label goes entirely: its migration, column, field, marks,
GPX rule, MCP field and strings. A hike is summer only; a ski tour with the
snowshoe discipline exports as snowshoeing. The unreleased ski migration takes
the six disciplines and the collection migration loses the winter column.

The pistes are offered for a ski tour, shown until switched off, and with no
tour open, never for a hike. Export, copy, collections, stages (untimed),
actual tracks, the atlas, list and day marks (one glyph per discipline), 3D,
planning over a ski import and list_tours/get_tour_plan know the planned ski
tour.
This commit is contained in:
Maurice
2026-10-20 18:27:53 +02:00
parent 204ee2ef86
commit 164a3633ac
116 changed files with 1675 additions and 1576 deletions
+13 -12
View File
@@ -191,7 +191,7 @@ const tours: TranslationStrings = {
'tourTypes.hike': 'เดินป่า',
'tourTypes.bike': 'ทัวร์จักรยาน',
'tourTypes.run': 'วิ่ง',
'tourTypes.ski': 'สกี',
'tourTypes.ski': 'สกีและฤดูหนาว',
'tourTypes.kayak': 'ทริปพายเรือ',
'tourTypes.walk': 'เดินชมเมือง / สถานที่ท่องเที่ยว',
'tourTypes.food': 'ทัวร์อาหาร/ไวน์',
@@ -376,33 +376,31 @@ const tours: TranslationStrings = {
'tours.planner.tourTypeHint.hike': 'เดินเท้า ภายในระดับความยากที่คุณกำหนด',
'tours.planner.tourTypeHint.bike': 'ด้วยจักรยาน เส้นทางสำหรับทัวริ่ง เสือหมอบ กราเวล หรือเสือภูเขา',
'tours.planner.tourTypeHint.kayak': 'บนน้ำ ด้วยคายัค แคนู หรือ SUP',
'tours.winter.title': 'กิจกรรมฤดูหนาว',
'tours.winter.infoLabel': 'ป้ายฤดูหนาวมีไว้ทำอะไร',
'tours.winter.info':
'เป็นเพียงป้ายกำกับของการเดินป่า เส้นทาง สีความชัน และเวลาเดินยังคงเหมือนการเดินป่าทั่วไป และไม่ได้บอกอะไรเกี่ยวกับหิมะ หิมะถล่ม หรือว่าเส้นทางเดินได้ในฤดูหนาวหรือไม่',
'tours.winter.kind': 'ประเภทกิจกรรมฤดูหนาว',
'tours.winter.activity.winter_hike': 'เดินป่าฤดูหนาว',
'tours.winter.activity.snowshoe': 'เดินป่าด้วยรองเท้าลุยหิมะ',
'tours.winter.labelOnly':
'ผู้เดินทางเป็นผู้ทำเครื่องหมาย เส้นทางและเวลาวางแผนเหมือนการเดินป่าทั่วไป ไม่ได้ตรวจสอบสำหรับฤดูหนาว',
'tours.planner.tourTypeHint.ski': 'จากไฟล์ GPX ตามที่บันทึกไว้',
'tours.planner.tourTypeHint.ski': 'สกี สโนว์บอร์ด รองเท้าลุยหิมะ เดินป่าฤดูหนาว',
'tours.ski.title': 'เส้นทางสกี',
'tours.ski.discipline': 'ประเภท',
'tours.ski.discipline.alpine': 'อัลไพน์',
'tours.ski.discipline.snowboard': 'สโนว์บอร์ด',
'tours.ski.discipline.cross_country': 'สกีทางเรียบ',
'tours.ski.discipline.touring': 'สกีปีนเขา',
'tours.ski.discipline.snowshoe': 'รองเท้าลุยหิมะ',
'tours.ski.discipline.winter_hike': 'เดินป่าฤดูหนาว',
'tours.ski.technique': 'เทคนิค',
'tours.ski.technique.classic': 'คลาสสิก',
'tours.ski.technique.skating': 'สเก็ตติ้ง',
'tours.ski.technique.unknown': 'ไม่ทราบ',
'tours.ski.chooseDiscipline': 'เลือกประเภทเพื่อนำเข้าเส้นทางเป็นสกี',
'tours.ski.chooseDisciplineToSave': 'เลือกประเภทเพื่อบันทึกทริป',
'tours.ski.drawnFreely': 'แต่ละช่วงจะวาดเป็นเส้นตรงระหว่างจุดของคุณ ไม่มีการตรวจสอบกับลานสกี ลิฟต์ หรือเส้นทาง',
'tours.ski.chooseTechnique': 'เลือกเทคนิค หรือไม่ทราบ',
'tours.ski.infoLabel': 'TREK ทำอะไรกับเส้นทางสกี',
'tours.ski.info':
'เก็บไว้ตามที่บันทึกและไม่คำนวณเส้นทางใหม่ ระยะทางและความสูงมาจากไฟล์ TREK ไม่คำนวณเวลาเล่นสกี และทั้งเส้นทางและสีความชันในมุมมอง 3D ไม่ได้บอกอะไรเกี่ยวกับความยาก หิมะ หิมะถล่ม หรือว่าลานสกีเปิดอยู่หรือไม่',
'ทริปที่วางแผนจะวาดแต่ละช่วงเป็นเส้นตรงระหว่างจุด ส่วนแทร็กที่นำเข้าจะเก็บไว้ตามที่บันทึก ทั้งสองแบบไม่ได้คำนวณเส้นทางตามลานสกี ลิฟต์ หรือเส้นทางเดิน ความสูงมาจากภูมิประเทศหรือไฟล์ TREK ไม่คำนวณเวลาเล่นสกี และไม่มีสิ่งใดในที่นี้ รวมถึงสีความชันในมุมมอง 3D ที่บอกอะไรเกี่ยวกับความยาก หิมะ หิมะถล่ม หรือว่าลานสกีเปิดอยู่หรือไม่',
'tours.ski.time': 'เวลาเล่นสกี',
'tours.ski.timeUnknown': 'ไม่ได้คำนวณ',
'tours.ski.timeInfoLabel': 'ทำไมจึงไม่มีเวลาเล่นสกี',
'tours.ski.timeInfo':
'TREK ไม่คำนวณเวลาเล่นสกี เพราะแต่ละช่วงวาดเป็นเส้นตรง ไม่ได้วางแผนตามลานสกี ลิฟต์ หรือเส้นทาง หากต้องการ ให้กรอกเวลารวมที่วางแผนไว้เอง',
'tours.ski.classifyTitle': 'จัดประเภทเส้นทางสกี',
'tours.ski.saved': 'บันทึกการจัดประเภทแล้ว',
'tours.ski.saveFailed': 'บันทึกการจัดประเภทไม่สำเร็จ',
@@ -765,6 +763,8 @@ const tours: TranslationStrings = {
'tours.import.previewConfirm': 'นำเข้า {count} ทริป',
'tours.conversion.introPaddle':
'การนำเข้าคือแทร็กที่บันทึกไว้ วางแผนทริปพายเรือที่แก้ไขได้: TREK จะดึงจุดควบคุมออกมา เชื่อมด้วยเส้นตรงตามวิธีวาดทริปพายเรือ และแสดงว่าใกล้เคียงแค่ไหน ไม่มีอะไรเปลี่ยนจนกว่าคุณจะเลือก',
'tours.conversion.introSki':
'การนำเข้าคือแทร็กที่บันทึกไว้ วางแผนทริปสกีที่แก้ไขได้: TREK จะดึงจุดควบคุมออกมา เชื่อมด้วยเส้นตรงตามวิธีวาดทริปสกี และแสดงว่าใกล้เคียงแค่ไหน ไม่มีอะไรเปลี่ยนจนกว่าคุณจะเลือก',
'tours.conversion.closePaddle': 'ข้อเสนอตามแทร็กอย่างใกล้ชิด จุดต่างๆ เชื่อมด้วยเส้นตรง จึงไม่ใช่เส้นเดียวกัน',
'tours.planner.moreActions': 'การดำเนินการเพิ่มเติม',
'tours.paddle.role.put_in': 'จุดลงเรือ',
@@ -1064,6 +1064,7 @@ const tours: TranslationStrings = {
'tourTypes.horse': 'ทริปขี่ม้า',
'tours.planner.tourTypeHint.horse': 'บนหลังม้า ตามเส้นทางขี่ม้าที่มีป้ายบอก',
'tours.planner.namePlaceholder.horse': 'ทริปขี่ม้าที่ไม่มีชื่อ',
'tours.planner.namePlaceholder.ski': 'ทริปสกีที่ไม่มีชื่อ',
'tours.horse.time': 'เวลาขี่ม้า',
'tours.horse.timeInfoLabel': 'ทำไมจึงไม่มีเวลาขี่ม้า',
'tours.horse.timeInfo':