mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-01 08:53:13 +00:00
feat(mobile): phone styling for tours list, trip settings and admin cards
The tours list in the places browser now uses the same rows as places: a grade or type tile, the day plan's figure badges and a day badge or plus on the right. A shared "Planned on desktop" badge replaces the grey hint box there and sits under the road trip's empty stage. Trip settings and trip edit open phone sheets instead of the desktop dialogs; the edit sheet gains the day count of a dateless trip and the reminder. Questions are asked in phone sheets, not the browser. Admin on the phone: the paddle regions and school holiday cards are phone cards on their shared hooks, long addon descriptions fold to two lines, the addon header keeps the wordmark inside its sentence, the group bands drop the dash and the permissions actions get a row of their own. The Tours addon gets its catalog name and description in every locale. The journey map on the phone shows every layer without the switch bar.
This commit is contained in:
@@ -672,6 +672,8 @@ const admin: TranslationStrings = {
|
||||
'admin.addons.catalog.roadtrip.name': 'Road trip',
|
||||
'admin.addons.catalog.roadtrip.description':
|
||||
'Plan drives with stops along the route, driving times, and arrival times that update themselves',
|
||||
'admin.addons.catalog.tours.name': 'Tours',
|
||||
'admin.addons.catalog.tours.description': 'Hikes, rides and other tours that follow a route',
|
||||
'admin.addons.catalog.memories.name': 'Photos (Immich)',
|
||||
'admin.addons.catalog.memories.description': 'Share trip photos via your Immich instance',
|
||||
'admin.addons.catalog.mcp.name': 'MCP',
|
||||
|
||||
@@ -56,7 +56,11 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.rtInfoTitle': 'Driving figures',
|
||||
'mobileTrip.rtDesktopNote':
|
||||
'These figures are set on the desktop, where you can also compare route alternatives and make a day follow an imported track.',
|
||||
'mobileTrip.rtPlanOnDesktop': 'Planning happens on the desktop. TREK works out the drive once a day has two places.',
|
||||
'mobileTrip.planOnDesktop': 'Planned on desktop',
|
||||
'mobileTrip.rtDriveOnTwoPlaces': 'TREK works out the drive once a day has two places.',
|
||||
'mobileTrip.toursEmptyBody': 'Saved tours show up here, ready to put on a day.',
|
||||
'mobileTrip.toursCount': '{count} tours',
|
||||
'mobileTrip.toursCount.one': '{count} tour',
|
||||
'mobileTrip.rtSearchOffline': 'Needs a connection: the search reads the route ahead.',
|
||||
'mobileTrip.rtBehind': '{time} behind plan',
|
||||
'mobileTrip.rtStart': 'Start',
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const nav: TranslationStrings = {
|
||||
'nav.trip': 'Trip',
|
||||
'nav.settings': 'Settings',
|
||||
'nav.admin': 'Admin',
|
||||
'nav.logout': 'Log out',
|
||||
|
||||
@@ -194,8 +194,6 @@ const tours: TranslationStrings = {
|
||||
'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',
|
||||
|
||||
Reference in New Issue
Block a user