mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-30 08:30:05 +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:
@@ -635,6 +635,8 @@ const admin: TranslationStrings = {
|
||||
'admin.addons.catalog.roadtrip.name': 'Road trip',
|
||||
'admin.addons.catalog.roadtrip.description':
|
||||
'Planifiez des trajets avec étapes : temps de conduite et heures d’arrivée se recalculent seuls',
|
||||
'admin.addons.catalog.tours.name': 'Sorties',
|
||||
'admin.addons.catalog.tours.description': 'Randonnées, balades à vélo et autres sorties qui suivent un itinéraire',
|
||||
'admin.addons.subtitleBefore': 'Activez ou désactivez des fonctionnalités pour personnaliser votre expérience ',
|
||||
'admin.addons.subtitleAfter': '.',
|
||||
'admin.addons.catalog.naver_list_import.name': 'Naver List Import',
|
||||
|
||||
@@ -56,8 +56,11 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.rtInfoTitle': 'Chiffres du trajet',
|
||||
'mobileTrip.rtDesktopNote':
|
||||
'Ces chiffres se règlent sur ordinateur, où vous pouvez aussi comparer d’autres itinéraires et faire suivre à un jour une trace importée.',
|
||||
'mobileTrip.rtPlanOnDesktop':
|
||||
'La planification se fait sur ordinateur. TREK calcule le trajet dès qu’un jour compte deux lieux.',
|
||||
'mobileTrip.planOnDesktop': 'Planifié sur ordinateur',
|
||||
'mobileTrip.rtDriveOnTwoPlaces': 'TREK calcule le trajet dès qu’un jour compte deux lieux.',
|
||||
'mobileTrip.toursEmptyBody': 'Les sorties enregistrées apparaissent ici, prêtes à être ajoutées à un jour.',
|
||||
'mobileTrip.toursCount': '{count} sorties',
|
||||
'mobileTrip.toursCount.one': '{count} sortie',
|
||||
'mobileTrip.rtSearchOffline': 'Connexion nécessaire : la recherche lit l’itinéraire à venir.',
|
||||
'mobileTrip.rtBehind': '{time} de retard sur le programme',
|
||||
'mobileTrip.rtStart': 'Début',
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import type { TranslationStrings } from '../types';
|
||||
|
||||
const nav: TranslationStrings = {
|
||||
'nav.trip': 'Voyage',
|
||||
'nav.settings': 'Paramètres',
|
||||
'nav.admin': 'Admin',
|
||||
'nav.logout': 'Déconnexion',
|
||||
|
||||
@@ -203,8 +203,6 @@ const tours: TranslationStrings = {
|
||||
'tours.planner.inspector.elevationPlaceholder':
|
||||
"Le profil s'affiche lorsque les données d'altitude de l'itinéraire sont disponibles.",
|
||||
'tours.planner.gpxNoGeometry': "La géométrie de l'itinéraire est indisponible pour cet import GPX.",
|
||||
'tours.planner.mobileHint':
|
||||
'La planification des sorties est disponible sur tablette et ordinateur. Vous pouvez consulter les sorties enregistrées et les affecter à une journée ici.',
|
||||
'tourTypes.hike': 'Randonnée',
|
||||
'tourTypes.bike': 'Sortie à vélo',
|
||||
'tourTypes.run': 'Course à pied',
|
||||
|
||||
Reference in New Issue
Block a user