mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-02 09:22:15 +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:
@@ -690,6 +690,8 @@ const admin: TranslationStrings = {
|
||||
'admin.addons.catalog.roadtrip.name': 'Autoreis',
|
||||
'admin.addons.catalog.roadtrip.description':
|
||||
'Planeeri sõite koos marsruudipeatuste, sõiduaegade ja automaatselt uuenevate saabumisaegadega',
|
||||
'admin.addons.catalog.tours.name': 'Retked',
|
||||
'admin.addons.catalog.tours.description': 'Matkad, rattasõidud ja muud retked, mis järgivad marsruuti',
|
||||
'admin.addons.catalog.memories.name': 'Fotod (Immich)',
|
||||
'admin.addons.catalog.memories.description': 'Jaga reisifotosid oma Immichi paigalduse kaudu',
|
||||
'admin.addons.catalog.mcp.name': 'MCP',
|
||||
|
||||
@@ -56,8 +56,11 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.rtInfoTitle': 'Sõiduandmed',
|
||||
'mobileTrip.rtDesktopNote':
|
||||
'Neid andmeid saab määrata töölauavaates, kus saad võrrelda ka alternatiivseid marsruute ja määrata päeva järgima imporditud rada.',
|
||||
'mobileTrip.rtPlanOnDesktop':
|
||||
'Planeerimine toimub töölauavaates. TREK arvutab sõidu, kui päeval on vähemalt kaks kohta.',
|
||||
'mobileTrip.planOnDesktop': 'Planeeritakse arvutis',
|
||||
'mobileTrip.rtDriveOnTwoPlaces': 'TREK arvutab sõidu, kui päeval on vähemalt kaks kohta.',
|
||||
'mobileTrip.toursEmptyBody': 'Salvestatud retked ilmuvad siia ja neid saab päevale lisada.',
|
||||
'mobileTrip.toursCount': '{count} retke',
|
||||
'mobileTrip.toursCount.one': '{count} retk',
|
||||
'mobileTrip.rtSearchOffline': 'Vajab ühendust: otsing kasutab eesolevat marsruuti.',
|
||||
'mobileTrip.rtBehind': '{time} plaanist maas',
|
||||
'mobileTrip.rtStart': 'Algus',
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const nav: TranslationStrings = {
|
||||
'nav.trip': 'Reis',
|
||||
'nav.settings': 'Seaded',
|
||||
'nav.admin': 'Haldus',
|
||||
'nav.logout': 'Logi välja',
|
||||
|
||||
@@ -197,8 +197,6 @@ const tours: TranslationStrings = {
|
||||
'tours.planner.inspector.profileFocus': 'Kaugusel {distance}: {elevation}',
|
||||
'tours.planner.inspector.elevationPlaceholder': 'Profiil kuvatakse, kui marsruudi kõrgusandmed on saadaval.',
|
||||
'tours.planner.gpxNoGeometry': 'Selle GPX-impordi marsruudi geomeetria pole saadaval.',
|
||||
'tours.planner.mobileHint':
|
||||
'Retki saab planeerida tahvel- ja lauaarvutis. Siin saab salvestatud retki vaadata ja päevadele lisada.',
|
||||
'tourTypes.hike': 'Matk',
|
||||
'tourTypes.bike': 'Rattaretk',
|
||||
'tourTypes.run': 'Jooks',
|
||||
|
||||
Reference in New Issue
Block a user