Merge dev into fix/prettier

Brings in the Tours addon and the MikroORM follow-ups. Conflicts were
resolved to dev's content, then every file dev brought in was run through
prettier and eslint --fix so the branch stays uniformly formatted.
This commit is contained in:
Maurice
2026-10-07 15:43:13 +02:00
242 changed files with 22952 additions and 731 deletions
+2
View File
@@ -48,6 +48,7 @@ import stats from './stats';
import storage from './storage';
import system_notice from './system_notice';
import todo from './todo';
import tours from './tours';
import transport from './transport';
import trip from './trip';
import trips from './trips';
@@ -60,6 +61,7 @@ const locale = {
...nav,
...dashboard,
...roadtrip,
...tours,
...settings,
...admin,
...dayplan,
+132
View File
@@ -0,0 +1,132 @@
import type { TranslationStrings } from '../types';
const tours: TranslationStrings = {
'trip.tabs.tourPlanner': 'Tours',
'tours.mode.places': 'Places',
'tours.mode.tours': 'Tours',
'tours.mode.label': 'Add view',
'tours.title': 'Tours',
'tours.subtitle': 'Hikes and other single-day tours for this trip',
'tours.empty.title': 'No tours yet',
'tours.empty.body': 'Plan a tour or import a GPX file to get started.',
'tours.addToDay': 'Add to day',
'tours.addToDay.comingSoon': 'Assign tours to a trip day from the tour list.',
'tours.addToDay.pickDay': 'Pick a day',
'tours.badge.wanderer': 'wanderer',
'tours.badge.gpx': 'GPX import',
'tours.badge.planned': 'planned in TREK',
'tours.badge.trek': 'TREK',
'tours.caution.badge': 'use with caution',
'tours.caution.tooltip': 'Elevation/metrics incomplete — imported with caution',
'tours.import.caution': 'Imported with caution — elevation/metrics incomplete',
'tours.import.success': '{count} tours imported from GPX',
'tours.import.successOne': '1 tour imported from GPX',
'tours.import.noTrack': 'No track or route found in that GPX file',
'tours.import.error': 'Could not import GPX file',
'tours.delete.confirmBody':
'Delete this Tour permanently? Its route, editable waypoints and day assignments will be removed. This action cannot be undone.',
'tours.delete.bulkConfirmBody':
'This selection includes at least one Tour. All selected places will be deleted permanently and cannot be restored. Tour routes, editable waypoints and day assignments will also be removed.',
'tours.delete.confirmAction': 'Delete permanently',
'tours.addedToDay': 'Added to day {n}',
'tours.dayRoute.endpointUnknown': 'Tour endpoint could not be determined. Following connections may be incomplete.',
'tours.detail.trackColor': 'Track colour',
'tours.detail.distance': 'Distance',
'tours.detail.minAltitude': 'Minimum altitude',
'tours.detail.maxAltitude': 'Maximum altitude',
'tours.detail.ascent': 'Ascent',
'tours.detail.descent': 'Descent',
'tours.detail.difficulty': 'Difficulty',
'tours.detail.source': 'Source',
'tours.detail.gpxReadOnly': 'GPX tours are view-only and cannot be edited in the planner yet.',
'tours.detail.navigationHint': 'Navigation opens the trailhead; it does not navigate along the route.',
'tours.planner.title': 'Plan a tour',
'tours.planner.newTour': 'Plan new tour',
'tours.planner.neutralTitle': 'Plan a tour',
'tours.planner.neutralBody': 'Start a new tour and click the map to place its waypoints.',
'tours.planner.newTitle': 'New tour',
'tours.planner.editTitle': 'Edit tour',
'tours.planner.gpxTitle': 'GPX tour',
'tours.planner.backToTours': 'Back to Tours',
'tours.planner.restored': 'Unsaved draft restored',
'tours.planner.discardChanges': 'Discard changes',
'tours.planner.discardUnsaved': 'Discard unsaved changes',
'tours.planner.saveChanges': 'Save changes',
'tours.planner.newTourConfirmTitle': 'Start a new tour?',
'tours.planner.newTourConfirmBody':
'Your unsaved changes to this tour will be discarded. Saved tours will not be changed.',
'tours.planner.newTourConfirm': 'Discard changes and start new tour',
'tours.planner.startingPoint': 'Click the map to add your starting point.',
'tours.planner.firstUseDetails':
'Add another point to calculate a route. The route and elevation update automatically; save when ready.',
'tours.planner.collapseElevation': 'Collapse elevation profile',
'tours.planner.expandElevation': 'Expand elevation profile',
'tours.planner.name': 'Tour name',
'tours.planner.namePlaceholder': 'Untitled hike',
'tours.planner.mapHint': 'Click the map to add points.',
'tours.planner.waypoints': 'Waypoints',
'tours.planner.waypointLabel': 'Waypoint {n}',
'tours.durationMinutes': '{count} min',
'tours.planner.empty': 'Add at least two points to calculate a walking route.',
'tours.planner.start': 'Start',
'tours.planner.via': 'Via',
'tours.planner.end': 'End',
'tours.planner.moveUp': 'Move waypoint up',
'tours.planner.moveDown': 'Move waypoint down',
'tours.planner.remove': 'Remove waypoint',
'tours.planner.undo': 'Undo waypoint edit',
'tours.planner.redo': 'Redo waypoint edit',
'tours.planner.discard': 'Discard draft',
'tours.planner.discardTitle': 'Discard unsaved tour changes?',
'tours.planner.discardBody':
'Your unsaved edits will be discarded. The saved Tour, its waypoints, files and assignments will not be changed.',
'tours.planner.save': 'Save tour',
'tours.planner.saved': 'Tour saved',
'tours.planner.planAnother': 'Plan another',
'tours.planner.assignToDay': 'Assign to a day',
'tours.planner.tripTours': 'Tours of this trip',
'tours.planner.safetyNote': 'Routing is planning assistance, not a safety guarantee.',
'tours.planner.safetyNoteDetails':
'OSM difficulty tags may be missing or incorrect. Weather, closures and current conditions are not evaluated.',
'tours.planner.maxDifficulty': 'Maximum trail difficulty',
'tours.planner.difficulty.t1': 'T1 — Hiking',
'tours.planner.difficulty.t2': 'T2 — Mountain hiking',
'tours.planner.difficulty.t3': 'T3 — Demanding mountain hiking',
'tours.planner.difficulty.t4': 'T4 — Alpine hiking',
'tours.planner.difficulty.t5': 'T5 — Demanding alpine hiking',
'tours.planner.difficulty.t6': 'T6 — Difficult alpine hiking',
'tours.planner.difficulty.t3Warning':
'T3 routes may include exposed or technically demanding mountain trails requiring sure-footedness and a head for heights.',
'tours.planner.difficulty.alpineTitle': 'Enable alpine routing?',
'tours.planner.difficulty.alpineBody':
'Alpine routing enabled. Routes may cross exposed, unmarked or technically difficult terrain. OSM difficulty data can be missing or incorrect.',
'tours.planner.difficulty.enable': 'Enable alpine routing',
'tours.planner.openFailed': 'The saved tour could not be opened for editing.',
'tours.planner.status.dirty': 'Waiting to calculate',
'tours.planner.status.routing': 'Calculating walking route…',
'tours.planner.status.routingFailed': 'Route calculation failed. The last good route is still shown.',
'tours.planner.status.elevation': 'Loading elevation…',
'tours.planner.status.elevationFailed': 'Elevation is unavailable. The calculated route is still shown.',
'tours.planner.status.ready': 'Route and elevation ready',
'tours.planner.status.saving': 'Saving…',
'tours.planner.status.saveFailed': 'Tour could not be saved. Your draft is still here.',
'tours.planner.retry': 'Retry',
'tours.planner.inspector.title': 'Tour summary',
'tours.planner.inspector.empty': 'Route details appear here after two waypoints are connected.',
'tours.planner.inspector.distance': 'Distance',
'tours.planner.inspector.duration': 'Walking time',
'tours.planner.inspector.elevation': 'Elevation profile',
'tours.planner.inspector.profileFocus': 'At {distance}: {elevation}',
'tours.planner.inspector.elevationPlaceholder': 'The profile is shown when route elevation data is available.',
'tours.planner.gpxNoGeometry': 'Route geometry is unavailable for this GPX import.',
'tours.planner.mobileHint':
'Tour planning is available on tablet and desktop. Saved tours can be viewed and scheduled here.',
'tourTypes.hike': 'Hike',
'tourTypes.bike': 'Bike tour',
'tourTypes.run': 'Run',
'tourTypes.ski': 'Ski tour',
'tourTypes.kayak': 'Kayak',
'tourTypes.walk': 'City / sightseeing walk',
'tourTypes.food': 'Food/wine tour',
};
export default tours;