mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-05 10:24:05 +00:00
feat(tours): link the track a tour was actually done with, and show its own values (ACT-01)
A planned tour can now be given the track it was actually done with. In the tour's detail, "Add actual track" opens a dialog that asks for the day the tour was done on (or none) and a recording of the trip: an import nobody planned over, or a new one through the existing GPX import, its preview preset to the tour's type. What the choice measures is shown before anything is written, and only "Link" writes. The linked track keeps its own name and source; the detail shows its distance, heights, profile and, only where the file carried time stamps, the time it took, marked as actual values next to the untouched plan. A track can be changed or unlinked again. Server: a tour_activities table points a tour's execution (a day assignment, or none) at a recording of the same trip, and the tours GPX import keeps the first and last time of a track whose every point carries one. The values are read from the recording's own line on every read, so a changed recording updates them while the plan's line, measures and revision stay as they were. Every check runs inside the write: the recording must be an import of this trip not planned over, documenting no other tour; the day must be one of this tour; a refusal names its reason and changes nothing. PUT and DELETE /api/trips/:tripId/tours/:placeId/activities answer the detail, which now carries the actual tracks; the list names them per tour and per recording. MCP: assign_tour_track and unassign_tour_track over the same service and checks, get_tour_plan reads the values without the line. A recording linked as a tour's actual track is no longer counted as a tour of its own in the trip's tour summary, and the GPX preview imports a city walk as one instead of as a hike.
This commit is contained in:
@@ -1211,5 +1211,39 @@ const tours: TranslationStrings = {
|
||||
'tours.horse.recorded.accessUnchecked': 'الوصول غير مُتحقق منه',
|
||||
'tours.horse.recorded.accessUncheckedInfo':
|
||||
'لا يتحقق الاستيراد مما إذا كان يُسمح بركوب الطرق. العبرة باللافتات في المكان.',
|
||||
'tours.activity.label': 'المسار الفعلي',
|
||||
'tours.activity.assign': 'إضافة المسار الفعلي',
|
||||
'tours.activity.assignHint': 'اربط المسار الذي سلكته فعلًا، من هذه الرحلة أو من ملف GPX',
|
||||
'tours.activity.empty': 'لا يوجد مسار فعلي بعد',
|
||||
'tours.activity.badge': 'فعلي',
|
||||
'tours.activity.badgeHint': 'قيم المسار الذي سلكته فعلًا، لا قيم الخطة',
|
||||
'tours.activity.isTrackHint': 'المسار الفعلي لجولة في هذه الرحلة',
|
||||
'tours.activity.ofTour': 'المسار الفعلي لـ {name}',
|
||||
'tours.activity.noDay': 'بلا يوم',
|
||||
'tours.activity.time': 'الوقت المستغرق',
|
||||
'tours.activity.timeHint': 'من أول طابع زمني في المسار إلى آخره، مع فترات الاستراحة',
|
||||
'tours.activity.noTime': 'لا طوابع زمنية',
|
||||
'tours.activity.noTimeHint': 'لا يحتوي المسار على طوابع زمنية، لذا لم يُقَس أي وقت',
|
||||
'tours.activity.recordedOn': 'سُجّل في {date}',
|
||||
'tours.activity.change': 'تغيير',
|
||||
'tours.activity.remove': 'فك الربط',
|
||||
'tours.activity.removeTitle': 'فك ربط المسار الفعلي؟',
|
||||
'tours.activity.removeBody': 'يبقى المسار في الرحلة كملف مستورد. لا تتغير الجولة المخطط لها.',
|
||||
'tours.activity.assigned': 'تم ربط المسار الفعلي',
|
||||
'tours.activity.removed': 'تم فك ربط المسار الفعلي',
|
||||
'tours.activity.failed': 'تعذّر تغيير المسار الفعلي',
|
||||
'tours.activity.dialogEyebrow': 'إضافة المسار الفعلي',
|
||||
'tours.activity.dialogHint': 'تبقى الخطة كما هي. يُربط المسار فقط.',
|
||||
'tours.activity.execution': 'نُفّذت في',
|
||||
'tours.activity.track': 'تسجيل',
|
||||
'tours.activity.importGpx': 'استيراد GPX',
|
||||
'tours.activity.noCandidates': 'لا يوجد بعد مسار في هذه الرحلة لربطه. استورد ملف GPX.',
|
||||
'tours.activity.replaces': 'يحل محل {name} في هذا اليوم',
|
||||
'tours.activity.confirm': 'ربط',
|
||||
'tours.activity.refused.activity_track_not_recorded': 'لا يمكن ربط إلا ملف مستورد لم يُعَد تخطيطه',
|
||||
'tours.activity.refused.activity_track_in_use': 'هذا المسار مرتبط بالفعل بجولة أخرى',
|
||||
'tours.activity.refused.activity_track_is_tour': 'لهذا المسار مسارات فعلية خاصة به',
|
||||
'tours.activity.refused.activity_tour_is_track': 'هذه الجولة هي نفسها المسار الفعلي لجولة أخرى',
|
||||
'tours.activity.refused.activity_assignment_not_of_tour': 'لم تعد الجولة في ذلك اليوم',
|
||||
};
|
||||
export default tours;
|
||||
|
||||
@@ -1179,5 +1179,39 @@ const tours: TranslationStrings = {
|
||||
'tours.horse.recorded.accessUnchecked': 'Giriş yoxlanılmayıb',
|
||||
'tours.horse.recorded.accessUncheckedInfo':
|
||||
'İdxal yollarda at sürməyə icazə olub-olmadığını yoxlamır. Yerdəki lövhələr əsasdır.',
|
||||
'tours.activity.label': 'Faktiki iz',
|
||||
'tours.activity.assign': 'Faktiki iz əlavə et',
|
||||
'tours.activity.assignHint': 'Həqiqətən keçdiyin izi bu səyahətdən və ya GPX faylından bağla',
|
||||
'tours.activity.empty': 'Hələ faktiki iz yoxdur',
|
||||
'tours.activity.badge': 'Faktiki',
|
||||
'tours.activity.badgeHint': 'Planın deyil, həqiqətən keçdiyin izin göstəriciləri',
|
||||
'tours.activity.isTrackHint': 'Bu səyahətdəki turun faktiki izi',
|
||||
'tours.activity.ofTour': '{name} turunun faktiki izi',
|
||||
'tours.activity.noDay': 'Gün yoxdur',
|
||||
'tours.activity.time': 'Sərf olunan vaxt',
|
||||
'tours.activity.timeHint': 'İzin ilk vaxt möhüründən sonuncusuna qədər, fasilələr daxil',
|
||||
'tours.activity.noTime': 'Vaxt möhürü yoxdur',
|
||||
'tours.activity.noTimeHint': 'İzdə vaxt möhürü yoxdur, buna görə vaxt ölçülməyib',
|
||||
'tours.activity.recordedOn': 'Qeydə alınıb: {date}',
|
||||
'tours.activity.change': 'Dəyiş',
|
||||
'tours.activity.remove': 'Əlaqəni sil',
|
||||
'tours.activity.removeTitle': 'Faktiki izin əlaqəsi silinsin?',
|
||||
'tours.activity.removeBody': 'İz səyahətdə idxal kimi qalır. Planlaşdırılmış tur dəyişmir.',
|
||||
'tours.activity.assigned': 'Faktiki iz bağlandı',
|
||||
'tours.activity.removed': 'Faktiki izin əlaqəsi silindi',
|
||||
'tours.activity.failed': 'Faktiki izi dəyişmək mümkün olmadı',
|
||||
'tours.activity.dialogEyebrow': 'Faktiki iz əlavə et',
|
||||
'tours.activity.dialogHint': 'Plan olduğu kimi qalır. İz sadəcə bağlanır.',
|
||||
'tours.activity.execution': 'Keçirildiyi gün',
|
||||
'tours.activity.track': 'Qeyd',
|
||||
'tours.activity.importGpx': 'GPX idxal et',
|
||||
'tours.activity.noCandidates': 'Bu səyahətdə hələ bağlanacaq iz yoxdur. GPX faylı idxal et.',
|
||||
'tours.activity.replaces': 'Bu gündə {name} əvəzinə keçir',
|
||||
'tours.activity.confirm': 'Bağla',
|
||||
'tours.activity.refused.activity_track_not_recorded': 'Yalnız yenidən planlaşdırılmamış idxal bağlana bilər',
|
||||
'tours.activity.refused.activity_track_in_use': 'Bu iz artıq başqa tura aiddir',
|
||||
'tours.activity.refused.activity_track_is_tour': 'Bu izin öz faktiki izləri var',
|
||||
'tours.activity.refused.activity_tour_is_track': 'Bu tur özü başqa turun faktiki izidir',
|
||||
'tours.activity.refused.activity_assignment_not_of_tour': 'Tur artıq o gündə deyil',
|
||||
};
|
||||
export default tours;
|
||||
|
||||
@@ -1191,5 +1191,39 @@ const tours: TranslationStrings = {
|
||||
'tours.horse.recorded.accessUnchecked': 'Acesso não verificado',
|
||||
'tours.horse.recorded.accessUncheckedInfo':
|
||||
'A importação não verifica se as vias podem ser percorridas a cavalo. Valem as placas no local.',
|
||||
'tours.activity.label': 'Trilha real',
|
||||
'tours.activity.assign': 'Adicionar trilha real',
|
||||
'tours.activity.assignHint': 'Vincule a trilha que você realmente fez, desta viagem ou de um arquivo GPX',
|
||||
'tours.activity.empty': 'Ainda sem trilha real',
|
||||
'tours.activity.badge': 'Real',
|
||||
'tours.activity.badgeHint': 'Valores da trilha que você realmente fez, não do plano',
|
||||
'tours.activity.isTrackHint': 'Trilha real de um passeio desta viagem',
|
||||
'tours.activity.ofTour': 'Trilha real de {name}',
|
||||
'tours.activity.noDay': 'Sem dia',
|
||||
'tours.activity.time': 'Tempo gasto',
|
||||
'tours.activity.timeHint': 'Do primeiro ao último registro de horário da trilha, pausas incluídas',
|
||||
'tours.activity.noTime': 'Sem registros de horário',
|
||||
'tours.activity.noTimeHint': 'A trilha não tem registros de horário, então nenhum tempo foi medido',
|
||||
'tours.activity.recordedOn': 'Gravada em {date}',
|
||||
'tours.activity.change': 'Alterar',
|
||||
'tours.activity.remove': 'Desvincular',
|
||||
'tours.activity.removeTitle': 'Desvincular a trilha real?',
|
||||
'tours.activity.removeBody': 'A trilha continua na viagem como importação. O passeio planejado não muda.',
|
||||
'tours.activity.assigned': 'Trilha real vinculada',
|
||||
'tours.activity.removed': 'Trilha real desvinculada',
|
||||
'tours.activity.failed': 'Não foi possível alterar a trilha real',
|
||||
'tours.activity.dialogEyebrow': 'Adicionar trilha real',
|
||||
'tours.activity.dialogHint': 'O plano continua como está. A trilha é apenas vinculada.',
|
||||
'tours.activity.execution': 'Feito em',
|
||||
'tours.activity.track': 'Gravação',
|
||||
'tours.activity.importGpx': 'Importar GPX',
|
||||
'tours.activity.noCandidates': 'Ainda não há trilha nesta viagem para vincular. Importe um arquivo GPX.',
|
||||
'tours.activity.replaces': 'Substitui {name} neste dia',
|
||||
'tours.activity.confirm': 'Vincular',
|
||||
'tours.activity.refused.activity_track_not_recorded': 'Só uma importação que não foi replanejada pode ser vinculada',
|
||||
'tours.activity.refused.activity_track_in_use': 'Esta trilha já pertence a outro passeio',
|
||||
'tours.activity.refused.activity_track_is_tour': 'Esta trilha tem trilhas reais próprias',
|
||||
'tours.activity.refused.activity_tour_is_track': 'Este passeio é a trilha real de outro passeio',
|
||||
'tours.activity.refused.activity_assignment_not_of_tour': 'O passeio não está mais nesse dia',
|
||||
};
|
||||
export default tours;
|
||||
|
||||
@@ -1197,5 +1197,40 @@ const tours: TranslationStrings = {
|
||||
'tours.horse.recorded.accessUnchecked': 'Accés sense comprovar',
|
||||
'tours.horse.recorded.accessUncheckedInfo':
|
||||
'La importació no comprova si es pot anar a cavall pels camins. Valen els senyals sobre el terreny.',
|
||||
'tours.activity.label': 'Traç real',
|
||||
'tours.activity.assign': 'Afegeix el traç real',
|
||||
'tours.activity.assignHint': 'Vincula el traç que vas fer realment, d’aquest viatge o d’un fitxer GPX',
|
||||
'tours.activity.empty': 'Encara no hi ha traç real',
|
||||
'tours.activity.badge': 'Real',
|
||||
'tours.activity.badgeHint': 'Valors del traç que vas fer realment, no del pla',
|
||||
'tours.activity.isTrackHint': 'Traç real d’una ruta d’aquest viatge',
|
||||
'tours.activity.ofTour': 'Traç real de {name}',
|
||||
'tours.activity.noDay': 'Sense dia',
|
||||
'tours.activity.time': 'Temps emprat',
|
||||
'tours.activity.timeHint': 'Des de la primera fins a l’última marca de temps del traç, pauses incloses',
|
||||
'tours.activity.noTime': 'Sense marques de temps',
|
||||
'tours.activity.noTimeHint': 'El traç no té marques de temps, així que no s’ha mesurat cap temps',
|
||||
'tours.activity.recordedOn': 'Enregistrat el {date}',
|
||||
'tours.activity.change': 'Canvia',
|
||||
'tours.activity.remove': 'Desvincula',
|
||||
'tours.activity.removeTitle': 'Vols desvincular el traç real?',
|
||||
'tours.activity.removeBody': 'El traç es queda al viatge com a importació. La ruta planificada no canvia.',
|
||||
'tours.activity.assigned': 'Traç real vinculat',
|
||||
'tours.activity.removed': 'Traç real desvinculat',
|
||||
'tours.activity.failed': 'No s’ha pogut canviar el traç real',
|
||||
'tours.activity.dialogEyebrow': 'Afegeix el traç real',
|
||||
'tours.activity.dialogHint': 'El pla es queda com està. El traç només es vincula.',
|
||||
'tours.activity.execution': 'Feta el',
|
||||
'tours.activity.track': 'Enregistrament',
|
||||
'tours.activity.importGpx': 'Importa GPX',
|
||||
'tours.activity.noCandidates': 'Encara no hi ha cap traç en aquest viatge per vincular. Importa un fitxer GPX.',
|
||||
'tours.activity.replaces': 'Substitueix {name} aquest dia',
|
||||
'tours.activity.confirm': 'Vincula',
|
||||
'tours.activity.refused.activity_track_not_recorded':
|
||||
'Només es pot vincular una importació que no s’hagi replanificat',
|
||||
'tours.activity.refused.activity_track_in_use': 'Aquest traç ja pertany a una altra ruta',
|
||||
'tours.activity.refused.activity_track_is_tour': 'Aquest traç té traços reals propis',
|
||||
'tours.activity.refused.activity_tour_is_track': 'Aquesta ruta és alhora el traç real d’una altra ruta',
|
||||
'tours.activity.refused.activity_assignment_not_of_tour': 'La ruta ja no és en aquell dia',
|
||||
};
|
||||
export default tours;
|
||||
|
||||
@@ -1177,5 +1177,39 @@ const tours: TranslationStrings = {
|
||||
'tours.horse.recorded.accessUnchecked': 'Přístup neověřen',
|
||||
'tours.horse.recorded.accessUncheckedInfo':
|
||||
'Import neověřuje, zda se po cestách smí jezdit na koni. Platí značení na místě.',
|
||||
'tours.activity.label': 'Skutečná trasa',
|
||||
'tours.activity.assign': 'Přidat skutečnou trasu',
|
||||
'tours.activity.assignHint': 'Propoj trasu, kterou jsi opravdu ušel, z této cesty nebo ze souboru GPX',
|
||||
'tours.activity.empty': 'Zatím žádná skutečná trasa',
|
||||
'tours.activity.badge': 'Skutečnost',
|
||||
'tours.activity.badgeHint': 'Hodnoty skutečně ušlé trasy, ne plánu',
|
||||
'tours.activity.isTrackHint': 'Skutečná trasa túry této cesty',
|
||||
'tours.activity.ofTour': 'Skutečná trasa: {name}',
|
||||
'tours.activity.noDay': 'Bez dne',
|
||||
'tours.activity.time': 'Potřebný čas',
|
||||
'tours.activity.timeHint': 'Od prvního do posledního časového razítka trasy, včetně přestávek',
|
||||
'tours.activity.noTime': 'Bez časových razítek',
|
||||
'tours.activity.noTimeHint': 'Trasa nemá časová razítka, proto nebyl změřen žádný čas',
|
||||
'tours.activity.recordedOn': 'Zaznamenáno {date}',
|
||||
'tours.activity.change': 'Změnit',
|
||||
'tours.activity.remove': 'Odpojit',
|
||||
'tours.activity.removeTitle': 'Odpojit skutečnou trasu?',
|
||||
'tours.activity.removeBody': 'Trasa zůstane v cestě jako import. Plánovaná túra se nezmění.',
|
||||
'tours.activity.assigned': 'Skutečná trasa propojena',
|
||||
'tours.activity.removed': 'Skutečná trasa odpojena',
|
||||
'tours.activity.failed': 'Skutečnou trasu se nepodařilo změnit',
|
||||
'tours.activity.dialogEyebrow': 'Přidat skutečnou trasu',
|
||||
'tours.activity.dialogHint': 'Plán zůstává, jak je. Trasa se jen propojí.',
|
||||
'tours.activity.execution': 'Uskutečněno',
|
||||
'tours.activity.track': 'Záznam',
|
||||
'tours.activity.importGpx': 'Importovat GPX',
|
||||
'tours.activity.noCandidates': 'V této cestě zatím není žádná trasa k propojení. Importuj soubor GPX.',
|
||||
'tours.activity.replaces': 'Nahradí {name} v tento den',
|
||||
'tours.activity.confirm': 'Propojit',
|
||||
'tours.activity.refused.activity_track_not_recorded': 'Propojit lze jen import, který nebyl přeplánován',
|
||||
'tours.activity.refused.activity_track_in_use': 'Tato trasa už patří k jiné túře',
|
||||
'tours.activity.refused.activity_track_is_tour': 'Tato trasa má vlastní skutečné trasy',
|
||||
'tours.activity.refused.activity_tour_is_track': 'Tato túra je sama skutečnou trasou jiné túry',
|
||||
'tours.activity.refused.activity_assignment_not_of_tour': 'Túra už v tento den není',
|
||||
};
|
||||
export default tours;
|
||||
|
||||
@@ -1203,6 +1203,41 @@ const tours: TranslationStrings = {
|
||||
'tours.horse.recorded.accessUnchecked': 'Zugang nicht geprüft',
|
||||
'tours.horse.recorded.accessUncheckedInfo':
|
||||
'Der Import prüft nicht, ob die Wege geritten werden dürfen. Es gilt die Beschilderung vor Ort.',
|
||||
'tours.activity.label': 'Ist-Track',
|
||||
'tours.activity.assign': 'Ist-Track hinzufügen',
|
||||
'tours.activity.assignHint': 'Den tatsächlich gegangenen Track verknüpfen, aus dieser Reise oder einer GPX-Datei',
|
||||
'tours.activity.empty': 'Noch kein Ist-Track',
|
||||
'tours.activity.badge': 'Ist',
|
||||
'tours.activity.badgeHint': 'Werte des tatsächlich gegangenen Tracks, nicht der Planung',
|
||||
'tours.activity.isTrackHint': 'Ist-Track einer Tour dieser Reise',
|
||||
'tours.activity.ofTour': 'Ist-Track von {name}',
|
||||
'tours.activity.noDay': 'Ohne Tag',
|
||||
'tours.activity.time': 'Benötigte Zeit',
|
||||
'tours.activity.timeHint': 'Vom ersten bis zum letzten Zeitstempel des Tracks, Pausen eingeschlossen',
|
||||
'tours.activity.noTime': 'Keine Zeitstempel',
|
||||
'tours.activity.noTimeHint': 'Der Track enthält keine Zeitstempel, daher wurde keine Zeit gemessen',
|
||||
'tours.activity.recordedOn': 'Aufgezeichnet am {date}',
|
||||
'tours.activity.change': 'Ändern',
|
||||
'tours.activity.remove': 'Lösen',
|
||||
'tours.activity.removeTitle': 'Ist-Track lösen?',
|
||||
'tours.activity.removeBody': 'Der Track bleibt als Import in der Reise. Die geplante Tour ändert sich nicht.',
|
||||
'tours.activity.assigned': 'Ist-Track verknüpft',
|
||||
'tours.activity.removed': 'Ist-Track gelöst',
|
||||
'tours.activity.failed': 'Der Ist-Track konnte nicht geändert werden',
|
||||
'tours.activity.dialogEyebrow': 'Ist-Track hinzufügen',
|
||||
'tours.activity.dialogHint': 'Die Planung bleibt, wie sie ist. Der Track wird nur verknüpft.',
|
||||
'tours.activity.execution': 'Durchgeführt am',
|
||||
'tours.activity.track': 'Aufzeichnung',
|
||||
'tours.activity.importGpx': 'GPX importieren',
|
||||
'tours.activity.noCandidates': 'Noch kein Track in dieser Reise zum Verknüpfen. Importiere eine GPX-Datei.',
|
||||
'tours.activity.replaces': 'Ersetzt {name} an diesem Tag',
|
||||
'tours.activity.confirm': 'Verknüpfen',
|
||||
'tours.activity.refused.activity_track_not_recorded':
|
||||
'Nur ein Import, der nicht überplant wurde, kann verknüpft werden',
|
||||
'tours.activity.refused.activity_track_in_use': 'Dieser Track gehört bereits zu einer anderen Tour',
|
||||
'tours.activity.refused.activity_track_is_tour': 'Dieser Track hat selbst Ist-Tracks',
|
||||
'tours.activity.refused.activity_tour_is_track': 'Diese Tour ist selbst der Ist-Track einer anderen Tour',
|
||||
'tours.activity.refused.activity_assignment_not_of_tour': 'Die Tour ist nicht mehr an diesem Tag',
|
||||
};
|
||||
|
||||
export default tours;
|
||||
|
||||
@@ -1166,5 +1166,39 @@ const tours: TranslationStrings = {
|
||||
'tours.horse.recorded.accessUnchecked': 'Access not checked',
|
||||
'tours.horse.recorded.accessUncheckedInfo':
|
||||
'The import does not check whether the ways may be ridden. The signs on site count.',
|
||||
'tours.activity.label': 'Actual track',
|
||||
'tours.activity.assign': 'Add actual track',
|
||||
'tours.activity.assignHint': 'Link the track you actually took, from this trip or a GPX file',
|
||||
'tours.activity.empty': 'No actual track yet',
|
||||
'tours.activity.badge': 'Actual',
|
||||
'tours.activity.badgeHint': 'Values of the track you actually took, not of the plan',
|
||||
'tours.activity.isTrackHint': 'Actual track of a tour in this trip',
|
||||
'tours.activity.ofTour': 'Actual track of {name}',
|
||||
'tours.activity.noDay': 'No day',
|
||||
'tours.activity.time': 'Time taken',
|
||||
'tours.activity.timeHint': 'From the first to the last time stamp in the track, breaks included',
|
||||
'tours.activity.noTime': 'No time stamps',
|
||||
'tours.activity.noTimeHint': 'The track carries no time stamps, so no time was measured',
|
||||
'tours.activity.recordedOn': 'Recorded {date}',
|
||||
'tours.activity.change': 'Change',
|
||||
'tours.activity.remove': 'Unlink',
|
||||
'tours.activity.removeTitle': 'Unlink the actual track?',
|
||||
'tours.activity.removeBody': 'The track stays in the trip as an import. The planned tour does not change.',
|
||||
'tours.activity.assigned': 'Actual track linked',
|
||||
'tours.activity.removed': 'Actual track unlinked',
|
||||
'tours.activity.failed': 'The actual track could not be changed',
|
||||
'tours.activity.dialogEyebrow': 'Add actual track',
|
||||
'tours.activity.dialogHint': 'The plan stays as it is. The track is only linked.',
|
||||
'tours.activity.execution': 'Done on',
|
||||
'tours.activity.track': 'Track',
|
||||
'tours.activity.importGpx': 'Import GPX',
|
||||
'tours.activity.noCandidates': 'No track in this trip to link yet. Import a GPX file.',
|
||||
'tours.activity.replaces': 'Replaces {name} on this day',
|
||||
'tours.activity.confirm': 'Link',
|
||||
'tours.activity.refused.activity_track_not_recorded': 'Only an import that was not planned over can be linked',
|
||||
'tours.activity.refused.activity_track_in_use': 'This track already belongs to another tour',
|
||||
'tours.activity.refused.activity_track_is_tour': 'This track has actual tracks of its own',
|
||||
'tours.activity.refused.activity_tour_is_track': 'This tour is itself the actual track of another tour',
|
||||
'tours.activity.refused.activity_assignment_not_of_tour': 'The tour is no longer on that day',
|
||||
};
|
||||
export default tours;
|
||||
|
||||
@@ -1190,5 +1190,40 @@ const tours: TranslationStrings = {
|
||||
'tours.horse.recorded.accessUnchecked': 'Acceso sin comprobar',
|
||||
'tours.horse.recorded.accessUncheckedInfo':
|
||||
'La importación no comprueba si se puede ir a caballo por las vías. Valen las señales sobre el terreno.',
|
||||
'tours.activity.label': 'Track real',
|
||||
'tours.activity.assign': 'Añadir track real',
|
||||
'tours.activity.assignHint': 'Vincula el track que realmente hiciste, de este viaje o de un archivo GPX',
|
||||
'tours.activity.empty': 'Aún no hay track real',
|
||||
'tours.activity.badge': 'Real',
|
||||
'tours.activity.badgeHint': 'Valores del track que realmente hiciste, no del plan',
|
||||
'tours.activity.isTrackHint': 'Track real de una ruta de este viaje',
|
||||
'tours.activity.ofTour': 'Track real de {name}',
|
||||
'tours.activity.noDay': 'Sin día',
|
||||
'tours.activity.time': 'Tiempo empleado',
|
||||
'tours.activity.timeHint': 'Desde la primera hasta la última marca de tiempo del track, pausas incluidas',
|
||||
'tours.activity.noTime': 'Sin marcas de tiempo',
|
||||
'tours.activity.noTimeHint': 'El track no tiene marcas de tiempo, así que no se midió ningún tiempo',
|
||||
'tours.activity.recordedOn': 'Grabado el {date}',
|
||||
'tours.activity.change': 'Cambiar',
|
||||
'tours.activity.remove': 'Desvincular',
|
||||
'tours.activity.removeTitle': '¿Desvincular el track real?',
|
||||
'tours.activity.removeBody': 'El track queda en el viaje como importación. La ruta planificada no cambia.',
|
||||
'tours.activity.assigned': 'Track real vinculado',
|
||||
'tours.activity.removed': 'Track real desvinculado',
|
||||
'tours.activity.failed': 'No se pudo cambiar el track real',
|
||||
'tours.activity.dialogEyebrow': 'Añadir track real',
|
||||
'tours.activity.dialogHint': 'El plan queda como está. El track solo se vincula.',
|
||||
'tours.activity.execution': 'Hecha el',
|
||||
'tours.activity.track': 'Grabación',
|
||||
'tours.activity.importGpx': 'Importar GPX',
|
||||
'tours.activity.noCandidates': 'Todavía no hay ningún track en este viaje para vincular. Importa un archivo GPX.',
|
||||
'tours.activity.replaces': 'Sustituye a {name} en este día',
|
||||
'tours.activity.confirm': 'Vincular',
|
||||
'tours.activity.refused.activity_track_not_recorded':
|
||||
'Solo se puede vincular una importación que no se haya replanificado',
|
||||
'tours.activity.refused.activity_track_in_use': 'Este track ya pertenece a otra ruta',
|
||||
'tours.activity.refused.activity_track_is_tour': 'Este track tiene sus propios tracks reales',
|
||||
'tours.activity.refused.activity_tour_is_track': 'Esta ruta es a su vez el track real de otra ruta',
|
||||
'tours.activity.refused.activity_assignment_not_of_tour': 'La ruta ya no está en ese día',
|
||||
};
|
||||
export default tours;
|
||||
|
||||
@@ -1175,5 +1175,39 @@ const tours: TranslationStrings = {
|
||||
'tours.horse.recorded.accessUnchecked': 'Ligipääs kontrollimata',
|
||||
'tours.horse.recorded.accessUncheckedInfo':
|
||||
'Import ei kontrolli, kas teedel tohib ratsutada. Kohapeal kehtivad sildid.',
|
||||
'tours.activity.label': 'Tegelik rada',
|
||||
'tours.activity.assign': 'Lisa tegelik rada',
|
||||
'tours.activity.assignHint': 'Seo päriselt läbitud rada, sellest reisist või GPX-failist',
|
||||
'tours.activity.empty': 'Tegelikku rada veel pole',
|
||||
'tours.activity.badge': 'Tegelik',
|
||||
'tours.activity.badgeHint': 'Päriselt läbitud raja väärtused, mitte plaani omad',
|
||||
'tours.activity.isTrackHint': 'Selle reisi ühe matka tegelik rada',
|
||||
'tours.activity.ofTour': 'Matka {name} tegelik rada',
|
||||
'tours.activity.noDay': 'Päevata',
|
||||
'tours.activity.time': 'Kulunud aeg',
|
||||
'tours.activity.timeHint': 'Raja esimesest viimase ajatemplini, pausid kaasa arvatud',
|
||||
'tours.activity.noTime': 'Ajatemplid puuduvad',
|
||||
'tours.activity.noTimeHint': 'Rajal pole ajatempleid, seega aega ei mõõdetud',
|
||||
'tours.activity.recordedOn': 'Salvestatud {date}',
|
||||
'tours.activity.change': 'Muuda',
|
||||
'tours.activity.remove': 'Eemalda seos',
|
||||
'tours.activity.removeTitle': 'Kas eemaldada tegeliku raja seos?',
|
||||
'tours.activity.removeBody': 'Rada jääb reisi importina alles. Planeeritud matk ei muutu.',
|
||||
'tours.activity.assigned': 'Tegelik rada seotud',
|
||||
'tours.activity.removed': 'Tegeliku raja seos eemaldatud',
|
||||
'tours.activity.failed': 'Tegelikku rada ei õnnestunud muuta',
|
||||
'tours.activity.dialogEyebrow': 'Lisa tegelik rada',
|
||||
'tours.activity.dialogHint': 'Plaan jääb samaks. Rada ainult seotakse.',
|
||||
'tours.activity.execution': 'Läbitud',
|
||||
'tours.activity.track': 'Salvestis',
|
||||
'tours.activity.importGpx': 'Impordi GPX',
|
||||
'tours.activity.noCandidates': 'Selles reisis pole veel rada, mida siduda. Impordi GPX-fail.',
|
||||
'tours.activity.replaces': 'Asendab sel päeval raja {name}',
|
||||
'tours.activity.confirm': 'Seo',
|
||||
'tours.activity.refused.activity_track_not_recorded': 'Siduda saab ainult importi, mida pole üle planeeritud',
|
||||
'tours.activity.refused.activity_track_in_use': 'See rada kuulub juba teisele matkale',
|
||||
'tours.activity.refused.activity_track_is_tour': 'Sellel rajal on oma tegelikud rajad',
|
||||
'tours.activity.refused.activity_tour_is_track': 'See matk on ise teise matka tegelik rada',
|
||||
'tours.activity.refused.activity_assignment_not_of_tour': 'Matk pole enam sellel päeval',
|
||||
};
|
||||
export default tours;
|
||||
|
||||
@@ -1215,5 +1215,39 @@ const tours: TranslationStrings = {
|
||||
'tours.horse.recorded.accessUnchecked': 'Accès non vérifié',
|
||||
'tours.horse.recorded.accessUncheckedInfo':
|
||||
"L'import ne vérifie pas si les voies peuvent être empruntées à cheval. Les panneaux sur place font foi.",
|
||||
'tours.activity.label': 'Trace réelle',
|
||||
'tours.activity.assign': 'Ajouter la trace réelle',
|
||||
'tours.activity.assignHint': 'Lier la trace réellement parcourue, de ce voyage ou d’un fichier GPX',
|
||||
'tours.activity.empty': 'Pas encore de trace réelle',
|
||||
'tours.activity.badge': 'Réel',
|
||||
'tours.activity.badgeHint': 'Valeurs de la trace réellement parcourue, pas du plan',
|
||||
'tours.activity.isTrackHint': 'Trace réelle d’une sortie de ce voyage',
|
||||
'tours.activity.ofTour': 'Trace réelle de {name}',
|
||||
'tours.activity.noDay': 'Sans jour',
|
||||
'tours.activity.time': 'Temps mis',
|
||||
'tours.activity.timeHint': 'Du premier au dernier horodatage de la trace, pauses comprises',
|
||||
'tours.activity.noTime': 'Aucun horodatage',
|
||||
'tours.activity.noTimeHint': 'La trace ne contient aucun horodatage, aucun temps n’a donc été mesuré',
|
||||
'tours.activity.recordedOn': 'Enregistrée le {date}',
|
||||
'tours.activity.change': 'Modifier',
|
||||
'tours.activity.remove': 'Délier',
|
||||
'tours.activity.removeTitle': 'Délier la trace réelle ?',
|
||||
'tours.activity.removeBody': 'La trace reste dans le voyage comme import. La sortie planifiée ne change pas.',
|
||||
'tours.activity.assigned': 'Trace réelle liée',
|
||||
'tours.activity.removed': 'Trace réelle déliée',
|
||||
'tours.activity.failed': 'La trace réelle n’a pas pu être modifiée',
|
||||
'tours.activity.dialogEyebrow': 'Ajouter la trace réelle',
|
||||
'tours.activity.dialogHint': 'Le plan reste tel quel. La trace est seulement liée.',
|
||||
'tours.activity.execution': 'Réalisée le',
|
||||
'tours.activity.track': 'Enregistrement',
|
||||
'tours.activity.importGpx': 'Importer un GPX',
|
||||
'tours.activity.noCandidates': 'Aucune trace à lier dans ce voyage pour l’instant. Importez un fichier GPX.',
|
||||
'tours.activity.replaces': 'Remplace {name} ce jour-là',
|
||||
'tours.activity.confirm': 'Lier',
|
||||
'tours.activity.refused.activity_track_not_recorded': 'Seul un import qui n’a pas été replanifié peut être lié',
|
||||
'tours.activity.refused.activity_track_in_use': 'Cette trace appartient déjà à une autre sortie',
|
||||
'tours.activity.refused.activity_track_is_tour': 'Cette trace a elle-même des traces réelles',
|
||||
'tours.activity.refused.activity_tour_is_track': 'Cette sortie est elle-même la trace réelle d’une autre sortie',
|
||||
'tours.activity.refused.activity_assignment_not_of_tour': 'La sortie n’est plus prévue ce jour-là',
|
||||
};
|
||||
export default tours;
|
||||
|
||||
@@ -1216,5 +1216,39 @@ const tours: TranslationStrings = {
|
||||
'tours.horse.recorded.accessUnchecked': 'Πρόσβαση χωρίς έλεγχο',
|
||||
'tours.horse.recorded.accessUncheckedInfo':
|
||||
'Η εισαγωγή δεν ελέγχει αν επιτρέπεται η ιππασία στους δρόμους. Ισχύουν οι πινακίδες επί τόπου.',
|
||||
'tours.activity.label': 'Πραγματική διαδρομή',
|
||||
'tours.activity.assign': 'Προσθήκη πραγματικής διαδρομής',
|
||||
'tours.activity.assignHint': 'Σύνδεσε τη διαδρομή που έκανες πραγματικά, από αυτό το ταξίδι ή από αρχείο GPX',
|
||||
'tours.activity.empty': 'Δεν υπάρχει ακόμη πραγματική διαδρομή',
|
||||
'tours.activity.badge': 'Πραγματικό',
|
||||
'tours.activity.badgeHint': 'Τιμές της διαδρομής που έκανες πραγματικά, όχι του σχεδίου',
|
||||
'tours.activity.isTrackHint': 'Πραγματική διαδρομή μιας εκδρομής αυτού του ταξιδιού',
|
||||
'tours.activity.ofTour': 'Πραγματική διαδρομή της {name}',
|
||||
'tours.activity.noDay': 'Χωρίς ημέρα',
|
||||
'tours.activity.time': 'Χρόνος που χρειάστηκε',
|
||||
'tours.activity.timeHint': 'Από την πρώτη έως την τελευταία χρονοσήμανση της διαδρομής, μαζί με τα διαλείμματα',
|
||||
'tours.activity.noTime': 'Χωρίς χρονοσημάνσεις',
|
||||
'tours.activity.noTimeHint': 'Η διαδρομή δεν έχει χρονοσημάνσεις, οπότε δεν μετρήθηκε χρόνος',
|
||||
'tours.activity.recordedOn': 'Καταγράφηκε {date}',
|
||||
'tours.activity.change': 'Αλλαγή',
|
||||
'tours.activity.remove': 'Αποσύνδεση',
|
||||
'tours.activity.removeTitle': 'Αποσύνδεση της πραγματικής διαδρομής;',
|
||||
'tours.activity.removeBody': 'Η διαδρομή μένει στο ταξίδι ως εισαγωγή. Η σχεδιασμένη εκδρομή δεν αλλάζει.',
|
||||
'tours.activity.assigned': 'Η πραγματική διαδρομή συνδέθηκε',
|
||||
'tours.activity.removed': 'Η πραγματική διαδρομή αποσυνδέθηκε',
|
||||
'tours.activity.failed': 'Δεν ήταν δυνατή η αλλαγή της πραγματικής διαδρομής',
|
||||
'tours.activity.dialogEyebrow': 'Προσθήκη πραγματικής διαδρομής',
|
||||
'tours.activity.dialogHint': 'Το σχέδιο μένει ως έχει. Η διαδρομή απλώς συνδέεται.',
|
||||
'tours.activity.execution': 'Έγινε στις',
|
||||
'tours.activity.track': 'Καταγραφή',
|
||||
'tours.activity.importGpx': 'Εισαγωγή GPX',
|
||||
'tours.activity.noCandidates': 'Δεν υπάρχει ακόμη διαδρομή για σύνδεση σε αυτό το ταξίδι. Εισήγαγε ένα αρχείο GPX.',
|
||||
'tours.activity.replaces': 'Αντικαθιστά την {name} αυτή την ημέρα',
|
||||
'tours.activity.confirm': 'Σύνδεση',
|
||||
'tours.activity.refused.activity_track_not_recorded': 'Μόνο μια εισαγωγή που δεν επανασχεδιάστηκε μπορεί να συνδεθεί',
|
||||
'tours.activity.refused.activity_track_in_use': 'Αυτή η διαδρομή ανήκει ήδη σε άλλη εκδρομή',
|
||||
'tours.activity.refused.activity_track_is_tour': 'Αυτή η διαδρομή έχει δικές της πραγματικές διαδρομές',
|
||||
'tours.activity.refused.activity_tour_is_track': 'Αυτή η εκδρομή είναι η ίδια πραγματική διαδρομή άλλης εκδρομής',
|
||||
'tours.activity.refused.activity_assignment_not_of_tour': 'Η εκδρομή δεν είναι πια σε εκείνη την ημέρα',
|
||||
};
|
||||
export default tours;
|
||||
|
||||
@@ -1194,5 +1194,40 @@ const tours: TranslationStrings = {
|
||||
'tours.horse.recorded.accessUnchecked': 'Hozzáférés ellenőrizetlen',
|
||||
'tours.horse.recorded.accessUncheckedInfo':
|
||||
'Az importálás nem ellenőrzi, hogy szabad-e lovagolni az utakon. A helyszíni táblák a mérvadók.',
|
||||
'tours.activity.label': 'Tényleges nyomvonal',
|
||||
'tours.activity.assign': 'Tényleges nyomvonal hozzáadása',
|
||||
'tours.activity.assignHint':
|
||||
'Kapcsold össze a ténylegesen bejárt nyomvonalat, ebből az utazásból vagy egy GPX-fájlból',
|
||||
'tours.activity.empty': 'Még nincs tényleges nyomvonal',
|
||||
'tours.activity.badge': 'Tényleges',
|
||||
'tours.activity.badgeHint': 'A ténylegesen bejárt nyomvonal értékei, nem a terv értékei',
|
||||
'tours.activity.isTrackHint': 'Egy túra tényleges nyomvonala ebben az utazásban',
|
||||
'tours.activity.ofTour': '{name} tényleges nyomvonala',
|
||||
'tours.activity.noDay': 'Nap nélkül',
|
||||
'tours.activity.time': 'Eltelt idő',
|
||||
'tours.activity.timeHint': 'A nyomvonal első és utolsó időbélyege között, a szünetekkel együtt',
|
||||
'tours.activity.noTime': 'Nincsenek időbélyegek',
|
||||
'tours.activity.noTimeHint': 'A nyomvonal nem tartalmaz időbélyeget, ezért időt sem mértünk',
|
||||
'tours.activity.recordedOn': 'Rögzítve: {date}',
|
||||
'tours.activity.change': 'Módosítás',
|
||||
'tours.activity.remove': 'Leválasztás',
|
||||
'tours.activity.removeTitle': 'Leválasztod a tényleges nyomvonalat?',
|
||||
'tours.activity.removeBody': 'A nyomvonal importként az utazásban marad. A tervezett túra nem változik.',
|
||||
'tours.activity.assigned': 'Tényleges nyomvonal összekapcsolva',
|
||||
'tours.activity.removed': 'Tényleges nyomvonal leválasztva',
|
||||
'tours.activity.failed': 'A tényleges nyomvonalat nem sikerült módosítani',
|
||||
'tours.activity.dialogEyebrow': 'Tényleges nyomvonal hozzáadása',
|
||||
'tours.activity.dialogHint': 'A terv változatlan marad. A nyomvonalat csak összekapcsoljuk.',
|
||||
'tours.activity.execution': 'Teljesítve',
|
||||
'tours.activity.track': 'Felvétel',
|
||||
'tours.activity.importGpx': 'GPX importálása',
|
||||
'tours.activity.noCandidates': 'Ebben az utazásban még nincs összekapcsolható nyomvonal. Importálj egy GPX-fájlt.',
|
||||
'tours.activity.replaces': 'Ezen a napon lecseréli ezt: {name}',
|
||||
'tours.activity.confirm': 'Összekapcsolás',
|
||||
'tours.activity.refused.activity_track_not_recorded': 'Csak olyan import kapcsolható össze, amelyet nem terveztek át',
|
||||
'tours.activity.refused.activity_track_in_use': 'Ez a nyomvonal már egy másik túráé',
|
||||
'tours.activity.refused.activity_track_is_tour': 'Ennek a nyomvonalnak saját tényleges nyomvonalai vannak',
|
||||
'tours.activity.refused.activity_tour_is_track': 'Ez a túra maga is egy másik túra tényleges nyomvonala',
|
||||
'tours.activity.refused.activity_assignment_not_of_tour': 'A túra már nem szerepel azon a napon',
|
||||
};
|
||||
export default tours;
|
||||
|
||||
@@ -1176,5 +1176,40 @@ const tours: TranslationStrings = {
|
||||
'tours.horse.recorded.accessUnchecked': 'Akses belum diperiksa',
|
||||
'tours.horse.recorded.accessUncheckedInfo':
|
||||
'Impor tidak memeriksa apakah jalan boleh dilalui dengan berkuda. Rambu di lokasi yang berlaku.',
|
||||
'tours.activity.label': 'Jejak aktual',
|
||||
'tours.activity.assign': 'Tambah jejak aktual',
|
||||
'tours.activity.assignHint': 'Tautkan jejak yang benar-benar kamu tempuh, dari perjalanan ini atau file GPX',
|
||||
'tours.activity.empty': 'Belum ada jejak aktual',
|
||||
'tours.activity.badge': 'Aktual',
|
||||
'tours.activity.badgeHint': 'Nilai jejak yang benar-benar kamu tempuh, bukan dari rencana',
|
||||
'tours.activity.isTrackHint': 'Jejak aktual sebuah tur di perjalanan ini',
|
||||
'tours.activity.ofTour': 'Jejak aktual {name}',
|
||||
'tours.activity.noDay': 'Tanpa hari',
|
||||
'tours.activity.time': 'Waktu tempuh',
|
||||
'tours.activity.timeHint': 'Dari cap waktu pertama hingga terakhir pada jejak, termasuk istirahat',
|
||||
'tours.activity.noTime': 'Tanpa cap waktu',
|
||||
'tours.activity.noTimeHint': 'Jejak tidak memiliki cap waktu, jadi tidak ada waktu yang diukur',
|
||||
'tours.activity.recordedOn': 'Direkam {date}',
|
||||
'tours.activity.change': 'Ubah',
|
||||
'tours.activity.remove': 'Lepaskan',
|
||||
'tours.activity.removeTitle': 'Lepaskan jejak aktual?',
|
||||
'tours.activity.removeBody': 'Jejak tetap ada di perjalanan sebagai impor. Tur yang direncanakan tidak berubah.',
|
||||
'tours.activity.assigned': 'Jejak aktual ditautkan',
|
||||
'tours.activity.removed': 'Jejak aktual dilepaskan',
|
||||
'tours.activity.failed': 'Jejak aktual tidak dapat diubah',
|
||||
'tours.activity.dialogEyebrow': 'Tambah jejak aktual',
|
||||
'tours.activity.dialogHint': 'Rencana tetap seperti semula. Jejak hanya ditautkan.',
|
||||
'tours.activity.execution': 'Dilakukan pada',
|
||||
'tours.activity.track': 'Rekaman',
|
||||
'tours.activity.importGpx': 'Impor GPX',
|
||||
'tours.activity.noCandidates': 'Belum ada jejak di perjalanan ini untuk ditautkan. Impor file GPX.',
|
||||
'tours.activity.replaces': 'Menggantikan {name} pada hari ini',
|
||||
'tours.activity.confirm': 'Tautkan',
|
||||
'tours.activity.refused.activity_track_not_recorded':
|
||||
'Hanya impor yang belum direncanakan ulang yang dapat ditautkan',
|
||||
'tours.activity.refused.activity_track_in_use': 'Jejak ini sudah milik tur lain',
|
||||
'tours.activity.refused.activity_track_is_tour': 'Jejak ini memiliki jejak aktualnya sendiri',
|
||||
'tours.activity.refused.activity_tour_is_track': 'Tur ini sendiri adalah jejak aktual tur lain',
|
||||
'tours.activity.refused.activity_assignment_not_of_tour': 'Tur ini sudah tidak ada di hari itu',
|
||||
};
|
||||
export default tours;
|
||||
|
||||
@@ -1205,5 +1205,39 @@ const tours: TranslationStrings = {
|
||||
'tours.horse.recorded.accessUnchecked': 'Accesso non verificato',
|
||||
'tours.horse.recorded.accessUncheckedInfo':
|
||||
'L’importazione non verifica se le strade si possono percorrere a cavallo. Valgono i cartelli sul posto.',
|
||||
'tours.activity.label': 'Traccia effettiva',
|
||||
'tours.activity.assign': 'Aggiungi traccia effettiva',
|
||||
'tours.activity.assignHint': 'Collega la traccia percorsa davvero, da questo viaggio o da un file GPX',
|
||||
'tours.activity.empty': 'Ancora nessuna traccia effettiva',
|
||||
'tours.activity.badge': 'Effettivo',
|
||||
'tours.activity.badgeHint': 'Valori della traccia percorsa davvero, non del piano',
|
||||
'tours.activity.isTrackHint': 'Traccia effettiva di un tour di questo viaggio',
|
||||
'tours.activity.ofTour': 'Traccia effettiva di {name}',
|
||||
'tours.activity.noDay': 'Nessun giorno',
|
||||
'tours.activity.time': 'Tempo impiegato',
|
||||
'tours.activity.timeHint': 'Dal primo all’ultimo orario registrato nella traccia, pause comprese',
|
||||
'tours.activity.noTime': 'Nessun orario',
|
||||
'tours.activity.noTimeHint': 'La traccia non contiene orari, quindi non è stato misurato alcun tempo',
|
||||
'tours.activity.recordedOn': 'Registrata il {date}',
|
||||
'tours.activity.change': 'Modifica',
|
||||
'tours.activity.remove': 'Scollega',
|
||||
'tours.activity.removeTitle': 'Scollegare la traccia effettiva?',
|
||||
'tours.activity.removeBody': 'La traccia resta nel viaggio come importazione. Il tour pianificato non cambia.',
|
||||
'tours.activity.assigned': 'Traccia effettiva collegata',
|
||||
'tours.activity.removed': 'Traccia effettiva scollegata',
|
||||
'tours.activity.failed': 'Non è stato possibile modificare la traccia effettiva',
|
||||
'tours.activity.dialogEyebrow': 'Aggiungi traccia effettiva',
|
||||
'tours.activity.dialogHint': 'Il piano resta com’è. La traccia viene solo collegata.',
|
||||
'tours.activity.execution': 'Svolto il',
|
||||
'tours.activity.track': 'Registrazione',
|
||||
'tours.activity.importGpx': 'Importa GPX',
|
||||
'tours.activity.noCandidates': 'Ancora nessuna traccia da collegare in questo viaggio. Importa un file GPX.',
|
||||
'tours.activity.replaces': 'Sostituisce {name} in questo giorno',
|
||||
'tours.activity.confirm': 'Collega',
|
||||
'tours.activity.refused.activity_track_not_recorded': 'Si può collegare solo un’importazione non ripianificata',
|
||||
'tours.activity.refused.activity_track_in_use': 'Questa traccia appartiene già a un altro tour',
|
||||
'tours.activity.refused.activity_track_is_tour': 'Questa traccia ha a sua volta tracce effettive',
|
||||
'tours.activity.refused.activity_tour_is_track': 'Questo tour è a sua volta la traccia effettiva di un altro tour',
|
||||
'tours.activity.refused.activity_assignment_not_of_tour': 'Il tour non è più in quel giorno',
|
||||
};
|
||||
export default tours;
|
||||
|
||||
@@ -1141,5 +1141,39 @@ const tours: TranslationStrings = {
|
||||
'tours.horse.recorded.accessUnchecked': '通行可否は未確認',
|
||||
'tours.horse.recorded.accessUncheckedInfo':
|
||||
'インポートでは、道を馬で通れるかどうかを確認しません。現地の標識が優先されます。',
|
||||
'tours.activity.label': '実際のトラック',
|
||||
'tours.activity.assign': '実際のトラックを追加',
|
||||
'tours.activity.assignHint': 'このトリップまたはGPXファイルから、実際に歩いたトラックをリンクします',
|
||||
'tours.activity.empty': '実際のトラックはまだありません',
|
||||
'tours.activity.badge': '実績',
|
||||
'tours.activity.badgeHint': '計画ではなく、実際に歩いたトラックの値です',
|
||||
'tours.activity.isTrackHint': 'このトリップのツアーの実際のトラック',
|
||||
'tours.activity.ofTour': '{name}の実際のトラック',
|
||||
'tours.activity.noDay': '日なし',
|
||||
'tours.activity.time': '所要時間',
|
||||
'tours.activity.timeHint': 'トラックの最初から最後のタイムスタンプまで(休憩を含む)',
|
||||
'tours.activity.noTime': 'タイムスタンプなし',
|
||||
'tours.activity.noTimeHint': 'トラックにタイムスタンプがないため、時間は測定されていません',
|
||||
'tours.activity.recordedOn': '{date}に記録',
|
||||
'tours.activity.change': '変更',
|
||||
'tours.activity.remove': 'リンク解除',
|
||||
'tours.activity.removeTitle': '実際のトラックのリンクを解除しますか?',
|
||||
'tours.activity.removeBody': 'トラックはインポートとしてトリップに残ります。計画したツアーは変わりません。',
|
||||
'tours.activity.assigned': '実際のトラックをリンクしました',
|
||||
'tours.activity.removed': '実際のトラックのリンクを解除しました',
|
||||
'tours.activity.failed': '実際のトラックを変更できませんでした',
|
||||
'tours.activity.dialogEyebrow': '実際のトラックを追加',
|
||||
'tours.activity.dialogHint': '計画はそのままです。トラックをリンクするだけです。',
|
||||
'tours.activity.execution': '実施日',
|
||||
'tours.activity.track': '記録',
|
||||
'tours.activity.importGpx': 'GPXをインポート',
|
||||
'tours.activity.noCandidates': 'このトリップにはまだリンクできるトラックがありません。GPXファイルをインポートしてください。',
|
||||
'tours.activity.replaces': 'この日の{name}を置き換えます',
|
||||
'tours.activity.confirm': 'リンク',
|
||||
'tours.activity.refused.activity_track_not_recorded': '上書きで計画されていないインポートのみリンクできます',
|
||||
'tours.activity.refused.activity_track_in_use': 'このトラックはすでに別のツアーのものです',
|
||||
'tours.activity.refused.activity_track_is_tour': 'このトラックには独自の実際のトラックがあります',
|
||||
'tours.activity.refused.activity_tour_is_track': 'このツアー自体が別のツアーの実際のトラックです',
|
||||
'tours.activity.refused.activity_assignment_not_of_tour': 'このツアーはもうその日にありません',
|
||||
};
|
||||
export default tours;
|
||||
|
||||
@@ -1139,5 +1139,39 @@ const tours: TranslationStrings = {
|
||||
'tours.horse.recorded.accessUnchecked': '통행 여부 미확인',
|
||||
'tours.horse.recorded.accessUncheckedInfo':
|
||||
'가져오기는 길을 말로 지나가도 되는지 확인하지 않습니다. 현장 표지판을 따르세요.',
|
||||
'tours.activity.label': '실제 트랙',
|
||||
'tours.activity.assign': '실제 트랙 추가',
|
||||
'tours.activity.assignHint': '이 여행이나 GPX 파일에서 실제로 걸은 트랙을 연결하세요',
|
||||
'tours.activity.empty': '아직 실제 트랙이 없습니다',
|
||||
'tours.activity.badge': '실제',
|
||||
'tours.activity.badgeHint': '계획이 아니라 실제로 걸은 트랙의 값입니다',
|
||||
'tours.activity.isTrackHint': '이 여행에 있는 투어의 실제 트랙',
|
||||
'tours.activity.ofTour': '{name}의 실제 트랙',
|
||||
'tours.activity.noDay': '날짜 없음',
|
||||
'tours.activity.time': '소요 시간',
|
||||
'tours.activity.timeHint': '트랙의 첫 번째부터 마지막 타임스탬프까지, 휴식 포함',
|
||||
'tours.activity.noTime': '타임스탬프 없음',
|
||||
'tours.activity.noTimeHint': '트랙에 타임스탬프가 없어 시간을 측정하지 않았습니다',
|
||||
'tours.activity.recordedOn': '{date}에 기록',
|
||||
'tours.activity.change': '변경',
|
||||
'tours.activity.remove': '연결 해제',
|
||||
'tours.activity.removeTitle': '실제 트랙 연결을 해제할까요?',
|
||||
'tours.activity.removeBody': '트랙은 가져오기로 여행에 남습니다. 계획한 투어는 바뀌지 않습니다.',
|
||||
'tours.activity.assigned': '실제 트랙을 연결했습니다',
|
||||
'tours.activity.removed': '실제 트랙 연결을 해제했습니다',
|
||||
'tours.activity.failed': '실제 트랙을 변경할 수 없습니다',
|
||||
'tours.activity.dialogEyebrow': '실제 트랙 추가',
|
||||
'tours.activity.dialogHint': '계획은 그대로입니다. 트랙만 연결됩니다.',
|
||||
'tours.activity.execution': '진행일',
|
||||
'tours.activity.track': '기록',
|
||||
'tours.activity.importGpx': 'GPX 가져오기',
|
||||
'tours.activity.noCandidates': '이 여행에는 아직 연결할 트랙이 없습니다. GPX 파일을 가져오세요.',
|
||||
'tours.activity.replaces': '이 날의 {name}을(를) 대체합니다',
|
||||
'tours.activity.confirm': '연결',
|
||||
'tours.activity.refused.activity_track_not_recorded': '덮어서 다시 계획하지 않은 가져오기만 연결할 수 있습니다',
|
||||
'tours.activity.refused.activity_track_in_use': '이 트랙은 이미 다른 투어에 속해 있습니다',
|
||||
'tours.activity.refused.activity_track_is_tour': '이 트랙에는 자체 실제 트랙이 있습니다',
|
||||
'tours.activity.refused.activity_tour_is_track': '이 투어는 다른 투어의 실제 트랙입니다',
|
||||
'tours.activity.refused.activity_assignment_not_of_tour': '이 투어는 더 이상 그날에 없습니다',
|
||||
};
|
||||
export default tours;
|
||||
|
||||
@@ -1197,5 +1197,40 @@ const tours: TranslationStrings = {
|
||||
'tours.horse.recorded.accessUnchecked': 'Toegang niet gecontroleerd',
|
||||
'tours.horse.recorded.accessUncheckedInfo':
|
||||
'De import controleert niet of de wegen bereden mogen worden. Ter plekke gelden de borden.',
|
||||
'tours.activity.label': 'Werkelijke track',
|
||||
'tours.activity.assign': 'Werkelijke track toevoegen',
|
||||
'tours.activity.assignHint': 'Koppel de track die je echt hebt afgelegd, uit deze reis of een GPX-bestand',
|
||||
'tours.activity.empty': 'Nog geen werkelijke track',
|
||||
'tours.activity.badge': 'Werkelijk',
|
||||
'tours.activity.badgeHint': 'Waarden van de track die je echt hebt afgelegd, niet van de planning',
|
||||
'tours.activity.isTrackHint': 'Werkelijke track van een tocht in deze reis',
|
||||
'tours.activity.ofTour': 'Werkelijke track van {name}',
|
||||
'tours.activity.noDay': 'Geen dag',
|
||||
'tours.activity.time': 'Benodigde tijd',
|
||||
'tours.activity.timeHint': 'Van de eerste tot de laatste tijdstempel van de track, pauzes inbegrepen',
|
||||
'tours.activity.noTime': 'Geen tijdstempels',
|
||||
'tours.activity.noTimeHint': 'De track bevat geen tijdstempels, dus er is geen tijd gemeten',
|
||||
'tours.activity.recordedOn': 'Opgenomen op {date}',
|
||||
'tours.activity.change': 'Wijzigen',
|
||||
'tours.activity.remove': 'Ontkoppelen',
|
||||
'tours.activity.removeTitle': 'Werkelijke track ontkoppelen?',
|
||||
'tours.activity.removeBody': 'De track blijft als import in de reis. De geplande tocht verandert niet.',
|
||||
'tours.activity.assigned': 'Werkelijke track gekoppeld',
|
||||
'tours.activity.removed': 'Werkelijke track ontkoppeld',
|
||||
'tours.activity.failed': 'De werkelijke track kon niet worden gewijzigd',
|
||||
'tours.activity.dialogEyebrow': 'Werkelijke track toevoegen',
|
||||
'tours.activity.dialogHint': 'De planning blijft zoals ze is. De track wordt alleen gekoppeld.',
|
||||
'tours.activity.execution': 'Gedaan op',
|
||||
'tours.activity.track': 'Opname',
|
||||
'tours.activity.importGpx': 'GPX importeren',
|
||||
'tours.activity.noCandidates': 'Nog geen track in deze reis om te koppelen. Importeer een GPX-bestand.',
|
||||
'tours.activity.replaces': 'Vervangt {name} op deze dag',
|
||||
'tours.activity.confirm': 'Koppelen',
|
||||
'tours.activity.refused.activity_track_not_recorded':
|
||||
'Alleen een import die niet is overgepland, kan worden gekoppeld',
|
||||
'tours.activity.refused.activity_track_in_use': 'Deze track hoort al bij een andere tocht',
|
||||
'tours.activity.refused.activity_track_is_tour': 'Deze track heeft zelf werkelijke tracks',
|
||||
'tours.activity.refused.activity_tour_is_track': 'Deze tocht is zelf de werkelijke track van een andere tocht',
|
||||
'tours.activity.refused.activity_assignment_not_of_tour': 'De tocht staat niet meer op die dag',
|
||||
};
|
||||
export default tours;
|
||||
|
||||
@@ -1219,5 +1219,39 @@ const tours: TranslationStrings = {
|
||||
'tours.horse.recorded.accessUnchecked': 'Dostęp niesprawdzony',
|
||||
'tours.horse.recorded.accessUncheckedInfo':
|
||||
'Import nie sprawdza, czy po drogach wolno jeździć konno. Obowiązują znaki na miejscu.',
|
||||
'tours.activity.label': 'Rzeczywista trasa',
|
||||
'tours.activity.assign': 'Dodaj rzeczywistą trasę',
|
||||
'tours.activity.assignHint': 'Połącz trasę, którą naprawdę przeszedłeś, z tej podróży lub z pliku GPX',
|
||||
'tours.activity.empty': 'Brak rzeczywistej trasy',
|
||||
'tours.activity.badge': 'Rzeczywiste',
|
||||
'tours.activity.badgeHint': 'Wartości trasy naprawdę przebytej, nie planu',
|
||||
'tours.activity.isTrackHint': 'Rzeczywista trasa wycieczki z tej podróży',
|
||||
'tours.activity.ofTour': 'Rzeczywista trasa: {name}',
|
||||
'tours.activity.noDay': 'Bez dnia',
|
||||
'tours.activity.time': 'Czas przejścia',
|
||||
'tours.activity.timeHint': 'Od pierwszego do ostatniego znacznika czasu trasy, łącznie z przerwami',
|
||||
'tours.activity.noTime': 'Brak znaczników czasu',
|
||||
'tours.activity.noTimeHint': 'Trasa nie zawiera znaczników czasu, więc nie zmierzono czasu',
|
||||
'tours.activity.recordedOn': 'Zarejestrowano {date}',
|
||||
'tours.activity.change': 'Zmień',
|
||||
'tours.activity.remove': 'Odłącz',
|
||||
'tours.activity.removeTitle': 'Odłączyć rzeczywistą trasę?',
|
||||
'tours.activity.removeBody': 'Trasa zostaje w podróży jako import. Zaplanowana wycieczka się nie zmienia.',
|
||||
'tours.activity.assigned': 'Połączono rzeczywistą trasę',
|
||||
'tours.activity.removed': 'Odłączono rzeczywistą trasę',
|
||||
'tours.activity.failed': 'Nie udało się zmienić rzeczywistej trasy',
|
||||
'tours.activity.dialogEyebrow': 'Dodaj rzeczywistą trasę',
|
||||
'tours.activity.dialogHint': 'Plan pozostaje bez zmian. Trasa jest tylko połączona.',
|
||||
'tours.activity.execution': 'Odbyta dnia',
|
||||
'tours.activity.track': 'Zapis',
|
||||
'tours.activity.importGpx': 'Importuj GPX',
|
||||
'tours.activity.noCandidates': 'W tej podróży nie ma jeszcze trasy do połączenia. Zaimportuj plik GPX.',
|
||||
'tours.activity.replaces': 'Zastępuje {name} w tym dniu',
|
||||
'tours.activity.confirm': 'Połącz',
|
||||
'tours.activity.refused.activity_track_not_recorded': 'Połączyć można tylko import, który nie został przeplanowany',
|
||||
'tours.activity.refused.activity_track_in_use': 'Ta trasa należy już do innej wycieczki',
|
||||
'tours.activity.refused.activity_track_is_tour': 'Ta trasa ma własne rzeczywiste trasy',
|
||||
'tours.activity.refused.activity_tour_is_track': 'Ta wycieczka jest sama rzeczywistą trasą innej wycieczki',
|
||||
'tours.activity.refused.activity_assignment_not_of_tour': 'Wycieczki nie ma już w tym dniu',
|
||||
};
|
||||
export default tours;
|
||||
|
||||
@@ -1225,5 +1225,40 @@ const tours: TranslationStrings = {
|
||||
'tours.horse.recorded.accessUnchecked': 'Доступ не проверен',
|
||||
'tours.horse.recorded.accessUncheckedInfo':
|
||||
'Импорт не проверяет, можно ли ехать по этим дорогам верхом. На месте действуют знаки.',
|
||||
'tours.activity.label': 'Фактический трек',
|
||||
'tours.activity.assign': 'Добавить фактический трек',
|
||||
'tours.activity.assignHint': 'Привяжите трек, по которому вы на самом деле прошли, из этой поездки или из файла GPX',
|
||||
'tours.activity.empty': 'Фактического трека пока нет',
|
||||
'tours.activity.badge': 'Факт',
|
||||
'tours.activity.badgeHint': 'Значения фактически пройденного трека, а не плана',
|
||||
'tours.activity.isTrackHint': 'Фактический трек маршрута этой поездки',
|
||||
'tours.activity.ofTour': 'Фактический трек: {name}',
|
||||
'tours.activity.noDay': 'Без дня',
|
||||
'tours.activity.time': 'Затраченное время',
|
||||
'tours.activity.timeHint': 'От первой до последней отметки времени в треке, включая перерывы',
|
||||
'tours.activity.noTime': 'Нет отметок времени',
|
||||
'tours.activity.noTimeHint': 'В треке нет отметок времени, поэтому время не измерено',
|
||||
'tours.activity.recordedOn': 'Записан {date}',
|
||||
'tours.activity.change': 'Изменить',
|
||||
'tours.activity.remove': 'Отвязать',
|
||||
'tours.activity.removeTitle': 'Отвязать фактический трек?',
|
||||
'tours.activity.removeBody': 'Трек остаётся в поездке как импорт. Запланированный маршрут не меняется.',
|
||||
'tours.activity.assigned': 'Фактический трек привязан',
|
||||
'tours.activity.removed': 'Фактический трек отвязан',
|
||||
'tours.activity.failed': 'Не удалось изменить фактический трек',
|
||||
'tours.activity.dialogEyebrow': 'Добавить фактический трек',
|
||||
'tours.activity.dialogHint': 'План остаётся прежним. Трек только привязывается.',
|
||||
'tours.activity.execution': 'Пройден',
|
||||
'tours.activity.track': 'Запись',
|
||||
'tours.activity.importGpx': 'Импортировать GPX',
|
||||
'tours.activity.noCandidates': 'В этой поездке пока нет трека для привязки. Импортируйте файл GPX.',
|
||||
'tours.activity.replaces': 'Заменяет {name} в этот день',
|
||||
'tours.activity.confirm': 'Привязать',
|
||||
'tours.activity.refused.activity_track_not_recorded':
|
||||
'Привязать можно только импорт, поверх которого не строили план',
|
||||
'tours.activity.refused.activity_track_in_use': 'Этот трек уже относится к другому маршруту',
|
||||
'tours.activity.refused.activity_track_is_tour': 'У этого трека есть собственные фактические треки',
|
||||
'tours.activity.refused.activity_tour_is_track': 'Этот маршрут сам является фактическим треком другого маршрута',
|
||||
'tours.activity.refused.activity_assignment_not_of_tour': 'Маршрута больше нет в этот день',
|
||||
};
|
||||
export default tours;
|
||||
|
||||
@@ -1181,5 +1181,39 @@ const tours: TranslationStrings = {
|
||||
'tours.horse.recorded.accessUnchecked': 'Prístup neoverený',
|
||||
'tours.horse.recorded.accessUncheckedInfo':
|
||||
'Import neoveruje, či sa po cestách smie jazdiť na koni. Platí značenie na mieste.',
|
||||
'tours.activity.label': 'Skutočná trasa',
|
||||
'tours.activity.assign': 'Pridať skutočnú trasu',
|
||||
'tours.activity.assignHint': 'Prepoj trasu, ktorú si naozaj prešiel, z tohto výletu alebo zo súboru GPX',
|
||||
'tours.activity.empty': 'Zatiaľ žiadna skutočná trasa',
|
||||
'tours.activity.badge': 'Skutočnosť',
|
||||
'tours.activity.badgeHint': 'Hodnoty naozaj prejdenej trasy, nie plánu',
|
||||
'tours.activity.isTrackHint': 'Skutočná trasa túry tohto výletu',
|
||||
'tours.activity.ofTour': 'Skutočná trasa: {name}',
|
||||
'tours.activity.noDay': 'Bez dňa',
|
||||
'tours.activity.time': 'Potrebný čas',
|
||||
'tours.activity.timeHint': 'Od prvej po poslednú časovú pečiatku trasy, vrátane prestávok',
|
||||
'tours.activity.noTime': 'Bez časových pečiatok',
|
||||
'tours.activity.noTimeHint': 'Trasa nemá časové pečiatky, preto sa nezmeral žiadny čas',
|
||||
'tours.activity.recordedOn': 'Zaznamenané {date}',
|
||||
'tours.activity.change': 'Zmeniť',
|
||||
'tours.activity.remove': 'Odpojiť',
|
||||
'tours.activity.removeTitle': 'Odpojiť skutočnú trasu?',
|
||||
'tours.activity.removeBody': 'Trasa zostane vo výlete ako import. Plánovaná túra sa nezmení.',
|
||||
'tours.activity.assigned': 'Skutočná trasa prepojená',
|
||||
'tours.activity.removed': 'Skutočná trasa odpojená',
|
||||
'tours.activity.failed': 'Skutočnú trasu sa nepodarilo zmeniť',
|
||||
'tours.activity.dialogEyebrow': 'Pridať skutočnú trasu',
|
||||
'tours.activity.dialogHint': 'Plán zostáva, ako je. Trasa sa len prepojí.',
|
||||
'tours.activity.execution': 'Uskutočnené',
|
||||
'tours.activity.track': 'Záznam',
|
||||
'tours.activity.importGpx': 'Importovať GPX',
|
||||
'tours.activity.noCandidates': 'V tomto výlete zatiaľ nie je žiadna trasa na prepojenie. Importuj súbor GPX.',
|
||||
'tours.activity.replaces': 'Nahradí {name} v tento deň',
|
||||
'tours.activity.confirm': 'Prepojiť',
|
||||
'tours.activity.refused.activity_track_not_recorded': 'Prepojiť sa dá len import, ktorý nebol preplánovaný',
|
||||
'tours.activity.refused.activity_track_in_use': 'Táto trasa už patrí k inej túre',
|
||||
'tours.activity.refused.activity_track_is_tour': 'Táto trasa má vlastné skutočné trasy',
|
||||
'tours.activity.refused.activity_tour_is_track': 'Táto túra je sama skutočnou trasou inej túry',
|
||||
'tours.activity.refused.activity_assignment_not_of_tour': 'Túra už v tento deň nie je',
|
||||
};
|
||||
export default tours;
|
||||
|
||||
@@ -1170,5 +1170,39 @@ const tours: TranslationStrings = {
|
||||
'tours.horse.recorded.accessUnchecked': 'Tillträde okontrollerat',
|
||||
'tours.horse.recorded.accessUncheckedInfo':
|
||||
'Importen kontrollerar inte om vägarna får ridas. Skyltarna på plats gäller.',
|
||||
'tours.activity.label': 'Faktiskt spår',
|
||||
'tours.activity.assign': 'Lägg till faktiskt spår',
|
||||
'tours.activity.assignHint': 'Koppla spåret du faktiskt gick, från den här resan eller en GPX-fil',
|
||||
'tours.activity.empty': 'Inget faktiskt spår ännu',
|
||||
'tours.activity.badge': 'Faktiskt',
|
||||
'tours.activity.badgeHint': 'Värden från spåret du faktiskt gick, inte från planen',
|
||||
'tours.activity.isTrackHint': 'Faktiskt spår för en tur i den här resan',
|
||||
'tours.activity.ofTour': 'Faktiskt spår för {name}',
|
||||
'tours.activity.noDay': 'Ingen dag',
|
||||
'tours.activity.time': 'Tidsåtgång',
|
||||
'tours.activity.timeHint': 'Från första till sista tidsstämpeln i spåret, pauser inräknade',
|
||||
'tours.activity.noTime': 'Inga tidsstämplar',
|
||||
'tours.activity.noTimeHint': 'Spåret saknar tidsstämplar, så ingen tid har mätts',
|
||||
'tours.activity.recordedOn': 'Inspelat {date}',
|
||||
'tours.activity.change': 'Ändra',
|
||||
'tours.activity.remove': 'Koppla bort',
|
||||
'tours.activity.removeTitle': 'Koppla bort det faktiska spåret?',
|
||||
'tours.activity.removeBody': 'Spåret finns kvar i resan som import. Den planerade turen ändras inte.',
|
||||
'tours.activity.assigned': 'Faktiskt spår kopplat',
|
||||
'tours.activity.removed': 'Faktiskt spår bortkopplat',
|
||||
'tours.activity.failed': 'Det faktiska spåret kunde inte ändras',
|
||||
'tours.activity.dialogEyebrow': 'Lägg till faktiskt spår',
|
||||
'tours.activity.dialogHint': 'Planen förblir som den är. Spåret kopplas bara.',
|
||||
'tours.activity.execution': 'Genomförd',
|
||||
'tours.activity.track': 'Inspelning',
|
||||
'tours.activity.importGpx': 'Importera GPX',
|
||||
'tours.activity.noCandidates': 'Inget spår att koppla i den här resan ännu. Importera en GPX-fil.',
|
||||
'tours.activity.replaces': 'Ersätter {name} den här dagen',
|
||||
'tours.activity.confirm': 'Koppla',
|
||||
'tours.activity.refused.activity_track_not_recorded': 'Bara en import som inte har planerats om kan kopplas',
|
||||
'tours.activity.refused.activity_track_in_use': 'Det här spåret hör redan till en annan tur',
|
||||
'tours.activity.refused.activity_track_is_tour': 'Det här spåret har egna faktiska spår',
|
||||
'tours.activity.refused.activity_tour_is_track': 'Den här turen är själv det faktiska spåret för en annan tur',
|
||||
'tours.activity.refused.activity_assignment_not_of_tour': 'Turen ligger inte längre på den dagen',
|
||||
};
|
||||
export default tours;
|
||||
|
||||
@@ -1122,5 +1122,39 @@ const tours: TranslationStrings = {
|
||||
'tours.horse.recorded.accessUnchecked': 'ยังไม่ตรวจสอบสิทธิ์ผ่าน',
|
||||
'tours.horse.recorded.accessUncheckedInfo':
|
||||
'การนำเข้าไม่ได้ตรวจสอบว่าขี่ม้าผ่านเส้นทางได้หรือไม่ ให้ถือป้ายในพื้นที่เป็นหลัก',
|
||||
'tours.activity.label': 'เส้นทางจริง',
|
||||
'tours.activity.assign': 'เพิ่มเส้นทางจริง',
|
||||
'tours.activity.assignHint': 'เชื่อมเส้นทางที่คุณเดินจริง จากทริปนี้หรือจากไฟล์ GPX',
|
||||
'tours.activity.empty': 'ยังไม่มีเส้นทางจริง',
|
||||
'tours.activity.badge': 'จริง',
|
||||
'tours.activity.badgeHint': 'ค่าของเส้นทางที่คุณเดินจริง ไม่ใช่ของแผน',
|
||||
'tours.activity.isTrackHint': 'เส้นทางจริงของทัวร์ในทริปนี้',
|
||||
'tours.activity.ofTour': 'เส้นทางจริงของ {name}',
|
||||
'tours.activity.noDay': 'ไม่มีวัน',
|
||||
'tours.activity.time': 'เวลาที่ใช้',
|
||||
'tours.activity.timeHint': 'ตั้งแต่เวลาที่บันทึกแรกถึงสุดท้ายของเส้นทาง รวมช่วงพัก',
|
||||
'tours.activity.noTime': 'ไม่มีการบันทึกเวลา',
|
||||
'tours.activity.noTimeHint': 'เส้นทางไม่มีการบันทึกเวลา จึงไม่ได้วัดเวลา',
|
||||
'tours.activity.recordedOn': 'บันทึกเมื่อ {date}',
|
||||
'tours.activity.change': 'เปลี่ยน',
|
||||
'tours.activity.remove': 'ยกเลิกการเชื่อม',
|
||||
'tours.activity.removeTitle': 'ยกเลิกการเชื่อมเส้นทางจริงหรือไม่',
|
||||
'tours.activity.removeBody': 'เส้นทางยังอยู่ในทริปในฐานะไฟล์นำเข้า ทัวร์ที่วางแผนไว้ไม่เปลี่ยนแปลง',
|
||||
'tours.activity.assigned': 'เชื่อมเส้นทางจริงแล้ว',
|
||||
'tours.activity.removed': 'ยกเลิกการเชื่อมเส้นทางจริงแล้ว',
|
||||
'tours.activity.failed': 'ไม่สามารถเปลี่ยนเส้นทางจริงได้',
|
||||
'tours.activity.dialogEyebrow': 'เพิ่มเส้นทางจริง',
|
||||
'tours.activity.dialogHint': 'แผนยังคงเหมือนเดิม เส้นทางถูกเชื่อมเท่านั้น',
|
||||
'tours.activity.execution': 'ทำเมื่อ',
|
||||
'tours.activity.track': 'การบันทึก',
|
||||
'tours.activity.importGpx': 'นำเข้า GPX',
|
||||
'tours.activity.noCandidates': 'ทริปนี้ยังไม่มีเส้นทางให้เชื่อม นำเข้าไฟล์ GPX',
|
||||
'tours.activity.replaces': 'แทนที่ {name} ในวันนี้',
|
||||
'tours.activity.confirm': 'เชื่อม',
|
||||
'tours.activity.refused.activity_track_not_recorded': 'เชื่อมได้เฉพาะไฟล์นำเข้าที่ยังไม่ถูกวางแผนทับ',
|
||||
'tours.activity.refused.activity_track_in_use': 'เส้นทางนี้เป็นของทัวร์อื่นแล้ว',
|
||||
'tours.activity.refused.activity_track_is_tour': 'เส้นทางนี้มีเส้นทางจริงของตัวเอง',
|
||||
'tours.activity.refused.activity_tour_is_track': 'ทัวร์นี้เป็นเส้นทางจริงของทัวร์อื่น',
|
||||
'tours.activity.refused.activity_assignment_not_of_tour': 'ทัวร์ไม่ได้อยู่ในวันนั้นแล้ว',
|
||||
};
|
||||
export default tours;
|
||||
|
||||
@@ -20,7 +20,7 @@ const tokens = (value: string) => [...value.matchAll(/\{[^{}]+\}/g)].map((match)
|
||||
// placeholder spec; here only the general keys are.
|
||||
const groups = pluralGroups(Object.keys(english));
|
||||
const generalKeys = (keys: string[]) => keys.filter((key) => !pluralFormOf(key, groups));
|
||||
const GENERAL_KEY_COUNT = 1064;
|
||||
const GENERAL_KEY_COUNT = 1098;
|
||||
|
||||
function literalKeys(source: string): string[] {
|
||||
const tree = ts.createSourceFile('locale.ts', source, ts.ScriptTarget.Latest, true);
|
||||
|
||||
@@ -1176,5 +1176,40 @@ const tours: TranslationStrings = {
|
||||
'tours.horse.recorded.accessUnchecked': 'Erişim denetlenmedi',
|
||||
'tours.horse.recorded.accessUncheckedInfo':
|
||||
'İçe aktarma, yollarda ata binilip binilemeyeceğini denetlemez. Yerindeki tabelalar geçerlidir.',
|
||||
'tours.activity.label': 'Gerçek iz',
|
||||
'tours.activity.assign': 'Gerçek iz ekle',
|
||||
'tours.activity.assignHint': 'Gerçekten yürüdüğün izi bu geziden ya da bir GPX dosyasından bağla',
|
||||
'tours.activity.empty': 'Henüz gerçek iz yok',
|
||||
'tours.activity.badge': 'Gerçek',
|
||||
'tours.activity.badgeHint': 'Planın değil, gerçekten yürüdüğün izin değerleri',
|
||||
'tours.activity.isTrackHint': 'Bu gezideki bir turun gerçek izi',
|
||||
'tours.activity.ofTour': '{name} turunun gerçek izi',
|
||||
'tours.activity.noDay': 'Gün yok',
|
||||
'tours.activity.time': 'Geçen süre',
|
||||
'tours.activity.timeHint': 'İzdeki ilk zaman damgasından sonuncusuna kadar, molalar dahil',
|
||||
'tours.activity.noTime': 'Zaman damgası yok',
|
||||
'tours.activity.noTimeHint': 'İzde zaman damgası yok, bu yüzden süre ölçülmedi',
|
||||
'tours.activity.recordedOn': 'Kaydedildi: {date}',
|
||||
'tours.activity.change': 'Değiştir',
|
||||
'tours.activity.remove': 'Bağlantıyı kaldır',
|
||||
'tours.activity.removeTitle': 'Gerçek izin bağlantısı kaldırılsın mı?',
|
||||
'tours.activity.removeBody': 'İz, içe aktarma olarak gezide kalır. Planlanan tur değişmez.',
|
||||
'tours.activity.assigned': 'Gerçek iz bağlandı',
|
||||
'tours.activity.removed': 'Gerçek izin bağlantısı kaldırıldı',
|
||||
'tours.activity.failed': 'Gerçek iz değiştirilemedi',
|
||||
'tours.activity.dialogEyebrow': 'Gerçek iz ekle',
|
||||
'tours.activity.dialogHint': 'Plan olduğu gibi kalır. İz yalnızca bağlanır.',
|
||||
'tours.activity.execution': 'Yapıldığı gün',
|
||||
'tours.activity.track': 'Kayıt',
|
||||
'tours.activity.importGpx': 'GPX içe aktar',
|
||||
'tours.activity.noCandidates': 'Bu gezide henüz bağlanacak iz yok. Bir GPX dosyası içe aktar.',
|
||||
'tours.activity.replaces': 'Bu günde {name} yerine geçer',
|
||||
'tours.activity.confirm': 'Bağla',
|
||||
'tours.activity.refused.activity_track_not_recorded':
|
||||
'Yalnızca üzerinden yeniden planlanmamış bir içe aktarma bağlanabilir',
|
||||
'tours.activity.refused.activity_track_in_use': 'Bu iz zaten başka bir tura ait',
|
||||
'tours.activity.refused.activity_track_is_tour': 'Bu izin kendi gerçek izleri var',
|
||||
'tours.activity.refused.activity_tour_is_track': 'Bu tur zaten başka bir turun gerçek izi',
|
||||
'tours.activity.refused.activity_assignment_not_of_tour': 'Tur artık o günde değil',
|
||||
};
|
||||
export default tours;
|
||||
|
||||
@@ -1212,5 +1212,39 @@ const tours: TranslationStrings = {
|
||||
'tours.horse.recorded.accessUnchecked': 'Доступ не перевірено',
|
||||
'tours.horse.recorded.accessUncheckedInfo':
|
||||
'Імпорт не перевіряє, чи можна їхати цими дорогами верхи. На місці діють знаки.',
|
||||
'tours.activity.label': 'Фактичний трек',
|
||||
'tours.activity.assign': 'Додати фактичний трек',
|
||||
'tours.activity.assignHint': 'Прив’яжіть трек, яким ви справді пройшли, з цієї подорожі або з файлу GPX',
|
||||
'tours.activity.empty': 'Фактичного треку ще немає',
|
||||
'tours.activity.badge': 'Факт',
|
||||
'tours.activity.badgeHint': 'Значення фактично пройденого треку, а не плану',
|
||||
'tours.activity.isTrackHint': 'Фактичний трек маршруту цієї подорожі',
|
||||
'tours.activity.ofTour': 'Фактичний трек: {name}',
|
||||
'tours.activity.noDay': 'Без дня',
|
||||
'tours.activity.time': 'Витрачений час',
|
||||
'tours.activity.timeHint': 'Від першої до останньої позначки часу в треку, з перервами включно',
|
||||
'tours.activity.noTime': 'Немає позначок часу',
|
||||
'tours.activity.noTimeHint': 'У треку немає позначок часу, тож час не виміряно',
|
||||
'tours.activity.recordedOn': 'Записано {date}',
|
||||
'tours.activity.change': 'Змінити',
|
||||
'tours.activity.remove': 'Відв’язати',
|
||||
'tours.activity.removeTitle': 'Відв’язати фактичний трек?',
|
||||
'tours.activity.removeBody': 'Трек залишається в подорожі як імпорт. Запланований маршрут не змінюється.',
|
||||
'tours.activity.assigned': 'Фактичний трек прив’язано',
|
||||
'tours.activity.removed': 'Фактичний трек відв’язано',
|
||||
'tours.activity.failed': 'Не вдалося змінити фактичний трек',
|
||||
'tours.activity.dialogEyebrow': 'Додати фактичний трек',
|
||||
'tours.activity.dialogHint': 'План лишається незмінним. Трек лише прив’язується.',
|
||||
'tours.activity.execution': 'Пройдено',
|
||||
'tours.activity.track': 'Запис',
|
||||
'tours.activity.importGpx': 'Імпортувати GPX',
|
||||
'tours.activity.noCandidates': 'У цій подорожі ще немає треку для прив’язки. Імпортуйте файл GPX.',
|
||||
'tours.activity.replaces': 'Замінює {name} цього дня',
|
||||
'tours.activity.confirm': 'Прив’язати',
|
||||
'tours.activity.refused.activity_track_not_recorded': 'Прив’язати можна лише імпорт, поверх якого не будували план',
|
||||
'tours.activity.refused.activity_track_in_use': 'Цей трек уже належить іншому маршруту',
|
||||
'tours.activity.refused.activity_track_is_tour': 'Цей трек має власні фактичні треки',
|
||||
'tours.activity.refused.activity_tour_is_track': 'Цей маршрут сам є фактичним треком іншого маршруту',
|
||||
'tours.activity.refused.activity_assignment_not_of_tour': 'Маршруту вже немає цього дня',
|
||||
};
|
||||
export default tours;
|
||||
|
||||
@@ -1165,5 +1165,40 @@ const tours: TranslationStrings = {
|
||||
'tours.horse.recorded.accessUnchecked': 'Chưa kiểm tra quyền đi',
|
||||
'tours.horse.recorded.accessUncheckedInfo':
|
||||
'Việc nhập không kiểm tra liệu có được cưỡi ngựa trên các con đường hay không. Biển báo tại chỗ mới là căn cứ.',
|
||||
'tours.activity.label': 'Lộ trình thực tế',
|
||||
'tours.activity.assign': 'Thêm lộ trình thực tế',
|
||||
'tours.activity.assignHint': 'Liên kết lộ trình bạn thực sự đã đi, từ chuyến đi này hoặc tệp GPX',
|
||||
'tours.activity.empty': 'Chưa có lộ trình thực tế',
|
||||
'tours.activity.badge': 'Thực tế',
|
||||
'tours.activity.badgeHint': 'Số liệu của lộ trình bạn thực sự đã đi, không phải của kế hoạch',
|
||||
'tours.activity.isTrackHint': 'Lộ trình thực tế của một tour trong chuyến đi này',
|
||||
'tours.activity.ofTour': 'Lộ trình thực tế của {name}',
|
||||
'tours.activity.noDay': 'Không có ngày',
|
||||
'tours.activity.time': 'Thời gian đã đi',
|
||||
'tours.activity.timeHint': 'Từ mốc thời gian đầu tiên đến cuối cùng của lộ trình, kể cả nghỉ',
|
||||
'tours.activity.noTime': 'Không có mốc thời gian',
|
||||
'tours.activity.noTimeHint': 'Lộ trình không có mốc thời gian, nên không đo được thời gian',
|
||||
'tours.activity.recordedOn': 'Ghi lại ngày {date}',
|
||||
'tours.activity.change': 'Thay đổi',
|
||||
'tours.activity.remove': 'Bỏ liên kết',
|
||||
'tours.activity.removeTitle': 'Bỏ liên kết lộ trình thực tế?',
|
||||
'tours.activity.removeBody':
|
||||
'Lộ trình vẫn ở trong chuyến đi dưới dạng tệp nhập. Tour đã lên kế hoạch không thay đổi.',
|
||||
'tours.activity.assigned': 'Đã liên kết lộ trình thực tế',
|
||||
'tours.activity.removed': 'Đã bỏ liên kết lộ trình thực tế',
|
||||
'tours.activity.failed': 'Không thể thay đổi lộ trình thực tế',
|
||||
'tours.activity.dialogEyebrow': 'Thêm lộ trình thực tế',
|
||||
'tours.activity.dialogHint': 'Kế hoạch giữ nguyên. Lộ trình chỉ được liên kết.',
|
||||
'tours.activity.execution': 'Thực hiện vào',
|
||||
'tours.activity.track': 'Bản ghi',
|
||||
'tours.activity.importGpx': 'Nhập GPX',
|
||||
'tours.activity.noCandidates': 'Chuyến đi này chưa có lộ trình để liên kết. Hãy nhập tệp GPX.',
|
||||
'tours.activity.replaces': 'Thay thế {name} vào ngày này',
|
||||
'tours.activity.confirm': 'Liên kết',
|
||||
'tours.activity.refused.activity_track_not_recorded': 'Chỉ có thể liên kết tệp nhập chưa được lập kế hoạch lại',
|
||||
'tours.activity.refused.activity_track_in_use': 'Lộ trình này đã thuộc về tour khác',
|
||||
'tours.activity.refused.activity_track_is_tour': 'Lộ trình này có lộ trình thực tế riêng',
|
||||
'tours.activity.refused.activity_tour_is_track': 'Tour này chính là lộ trình thực tế của tour khác',
|
||||
'tours.activity.refused.activity_assignment_not_of_tour': 'Tour không còn ở ngày đó',
|
||||
};
|
||||
export default tours;
|
||||
|
||||
@@ -1082,5 +1082,39 @@ const tours: TranslationStrings = {
|
||||
'tours.horse.recorded.noTimeInfo': 'TREK 不為騎馬遊計算騎乘時間:節奏取決於馬和騎手。',
|
||||
'tours.horse.recorded.accessUnchecked': '通行未經檢查',
|
||||
'tours.horse.recorded.accessUncheckedInfo': '匯入不會檢查這些道路是否允許騎馬通行。以現場標誌為準。',
|
||||
'tours.activity.label': '實際軌跡',
|
||||
'tours.activity.assign': '新增實際軌跡',
|
||||
'tours.activity.assignHint': '連結你實際走過的軌跡,可來自本趟旅程或 GPX 檔案',
|
||||
'tours.activity.empty': '還沒有實際軌跡',
|
||||
'tours.activity.badge': '實際',
|
||||
'tours.activity.badgeHint': '實際走過的軌跡的數值,而非計畫數值',
|
||||
'tours.activity.isTrackHint': '本趟旅程中某條路線的實際軌跡',
|
||||
'tours.activity.ofTour': '{name} 的實際軌跡',
|
||||
'tours.activity.noDay': '無日期',
|
||||
'tours.activity.time': '花費時間',
|
||||
'tours.activity.timeHint': '從軌跡的第一個到最後一個時間戳記,含休息',
|
||||
'tours.activity.noTime': '無時間戳記',
|
||||
'tours.activity.noTimeHint': '此軌跡沒有時間戳記,因此未測量時間',
|
||||
'tours.activity.recordedOn': '記錄於 {date}',
|
||||
'tours.activity.change': '變更',
|
||||
'tours.activity.remove': '取消連結',
|
||||
'tours.activity.removeTitle': '要取消連結實際軌跡嗎?',
|
||||
'tours.activity.removeBody': '軌跡會以匯入的形式保留在旅程中。計畫的路線不會改變。',
|
||||
'tours.activity.assigned': '已連結實際軌跡',
|
||||
'tours.activity.removed': '已取消連結實際軌跡',
|
||||
'tours.activity.failed': '無法變更實際軌跡',
|
||||
'tours.activity.dialogEyebrow': '新增實際軌跡',
|
||||
'tours.activity.dialogHint': '計畫維持不變,只會連結軌跡。',
|
||||
'tours.activity.execution': '完成於',
|
||||
'tours.activity.track': '紀錄',
|
||||
'tours.activity.importGpx': '匯入 GPX',
|
||||
'tours.activity.noCandidates': '本趟旅程中還沒有可連結的軌跡。請匯入 GPX 檔案。',
|
||||
'tours.activity.replaces': '取代當天的 {name}',
|
||||
'tours.activity.confirm': '連結',
|
||||
'tours.activity.refused.activity_track_not_recorded': '只能連結未被重新規劃覆蓋的匯入',
|
||||
'tours.activity.refused.activity_track_in_use': '此軌跡已屬於另一條路線',
|
||||
'tours.activity.refused.activity_track_is_tour': '此軌跡有自己的實際軌跡',
|
||||
'tours.activity.refused.activity_tour_is_track': '此路線本身是另一條路線的實際軌跡',
|
||||
'tours.activity.refused.activity_assignment_not_of_tour': '此路線已不在那一天',
|
||||
};
|
||||
export default tours;
|
||||
|
||||
@@ -1083,5 +1083,39 @@ const tours: TranslationStrings = {
|
||||
'tours.horse.recorded.noTimeInfo': 'TREK 不为骑马游计算骑行时间:节奏取决于马和骑手。',
|
||||
'tours.horse.recorded.accessUnchecked': '通行未经检查',
|
||||
'tours.horse.recorded.accessUncheckedInfo': '导入不会检查这些道路是否允许骑马通行。以现场标志为准。',
|
||||
'tours.activity.label': '实际轨迹',
|
||||
'tours.activity.assign': '添加实际轨迹',
|
||||
'tours.activity.assignHint': '关联你实际走过的轨迹,可来自本次旅行或 GPX 文件',
|
||||
'tours.activity.empty': '还没有实际轨迹',
|
||||
'tours.activity.badge': '实际',
|
||||
'tours.activity.badgeHint': '实际走过的轨迹的数值,而非计划数值',
|
||||
'tours.activity.isTrackHint': '本次旅行中某条路线的实际轨迹',
|
||||
'tours.activity.ofTour': '{name} 的实际轨迹',
|
||||
'tours.activity.noDay': '无日期',
|
||||
'tours.activity.time': '用时',
|
||||
'tours.activity.timeHint': '从轨迹的第一个到最后一个时间戳,含休息',
|
||||
'tours.activity.noTime': '无时间戳',
|
||||
'tours.activity.noTimeHint': '该轨迹没有时间戳,因此未测量时间',
|
||||
'tours.activity.recordedOn': '记录于 {date}',
|
||||
'tours.activity.change': '更改',
|
||||
'tours.activity.remove': '取消关联',
|
||||
'tours.activity.removeTitle': '取消关联实际轨迹?',
|
||||
'tours.activity.removeBody': '轨迹会作为导入保留在旅行中。计划的路线不会改变。',
|
||||
'tours.activity.assigned': '已关联实际轨迹',
|
||||
'tours.activity.removed': '已取消关联实际轨迹',
|
||||
'tours.activity.failed': '无法更改实际轨迹',
|
||||
'tours.activity.dialogEyebrow': '添加实际轨迹',
|
||||
'tours.activity.dialogHint': '计划保持不变,只关联轨迹。',
|
||||
'tours.activity.execution': '完成于',
|
||||
'tours.activity.track': '记录',
|
||||
'tours.activity.importGpx': '导入 GPX',
|
||||
'tours.activity.noCandidates': '本次旅行中还没有可关联的轨迹。请导入 GPX 文件。',
|
||||
'tours.activity.replaces': '替换当天的 {name}',
|
||||
'tours.activity.confirm': '关联',
|
||||
'tours.activity.refused.activity_track_not_recorded': '只能关联未被重新规划覆盖的导入',
|
||||
'tours.activity.refused.activity_track_in_use': '该轨迹已属于另一条路线',
|
||||
'tours.activity.refused.activity_track_is_tour': '该轨迹有自己的实际轨迹',
|
||||
'tours.activity.refused.activity_tour_is_track': '该路线本身是另一条路线的实际轨迹',
|
||||
'tours.activity.refused.activity_assignment_not_of_tour': '该路线已不在那一天',
|
||||
};
|
||||
export default tours;
|
||||
|
||||
@@ -58,6 +58,7 @@ export * from './tours/tours.schema';
|
||||
export * from './tours/run-pace';
|
||||
export * from './tours/ski.schema';
|
||||
export * from './tours/tour-provenance.schema';
|
||||
export * from './tours/tour-activity.schema';
|
||||
export * from './tours/tour-library.schema';
|
||||
export * from './tours/tour-poi-search.schema';
|
||||
export * from './tours/tour-trail-grade.schema';
|
||||
|
||||
@@ -0,0 +1,86 @@
|
||||
import { tourActivityAssignRequestSchema, tourActivitySchema } from './tour-activity.schema';
|
||||
import { tourDetailResponseSchema, tourListItemSchema } from './tours.schema';
|
||||
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
const activity = {
|
||||
id: 4,
|
||||
assignment_id: 12,
|
||||
day_id: 3,
|
||||
assigned_at: '2026-07-02T18:00:00Z',
|
||||
track: { place_id: 9, name: 'Watch export', origin: 'gpx', file_name: 'morning.gpx', imported_at: '2026-07-02 17:58:00' },
|
||||
metrics: {
|
||||
distance_km: 12.4,
|
||||
elevation_gain_m: 640,
|
||||
elevation_loss_m: 610,
|
||||
started_at: '2026-07-02T06:10:00Z',
|
||||
ended_at: '2026-07-02T11:40:00Z',
|
||||
elapsed_minutes: 330,
|
||||
point_count: 2,
|
||||
},
|
||||
geometry: [
|
||||
[47.1, 11.2, 900],
|
||||
[47.2, 11.3, 930],
|
||||
],
|
||||
};
|
||||
|
||||
describe('ACT-01 tour activity contract', () => {
|
||||
it('ACT-SCHEMA-001: reads an assignment with its recording, its measures and its line', () => {
|
||||
expect(tourActivitySchema.parse(activity)).toEqual(activity);
|
||||
});
|
||||
|
||||
it('ACT-SCHEMA-002: keeps what a track lacks unknown instead of zero', () => {
|
||||
const bare = {
|
||||
...activity,
|
||||
assignment_id: null,
|
||||
day_id: null,
|
||||
metrics: {
|
||||
distance_km: 3,
|
||||
elevation_gain_m: null,
|
||||
elevation_loss_m: null,
|
||||
started_at: null,
|
||||
ended_at: null,
|
||||
elapsed_minutes: null,
|
||||
point_count: 2,
|
||||
},
|
||||
};
|
||||
expect(tourActivitySchema.parse(bare).metrics.elapsed_minutes).toBeNull();
|
||||
});
|
||||
|
||||
it('ACT-SCHEMA-003: an assignment names a recording and an execution, nothing else', () => {
|
||||
expect(tourActivityAssignRequestSchema.parse({ track_place_id: 9, assignment_id: null })).toEqual({
|
||||
track_place_id: 9,
|
||||
assignment_id: null,
|
||||
});
|
||||
expect(() => tourActivityAssignRequestSchema.parse({ track_place_id: 9 })).toThrow();
|
||||
expect(() => tourActivityAssignRequestSchema.parse({ track_place_id: 0, assignment_id: null })).toThrow();
|
||||
expect(() =>
|
||||
tourActivityAssignRequestSchema.parse({ track_place_id: 9, assignment_id: null, distance_km: 3 }),
|
||||
).toThrow();
|
||||
});
|
||||
|
||||
it('ACT-SCHEMA-004: a list item and a detail cached before ACT-01 still read', () => {
|
||||
const item = {
|
||||
place_id: 1,
|
||||
tour_type: 'hike',
|
||||
distance: 1,
|
||||
elevation_gain: null,
|
||||
elevation_loss: null,
|
||||
duration: null,
|
||||
difficulty: null,
|
||||
wanderer_ref: null,
|
||||
match_confidence: 1,
|
||||
max_hiking_difficulty: 2,
|
||||
name: 'Ridge',
|
||||
planned: false,
|
||||
caution: false,
|
||||
};
|
||||
expect(tourListItemSchema.parse(item).activity_tracks).toBeUndefined();
|
||||
const detail = tourDetailResponseSchema.parse({ tour: item, waypoints: [], activities: [activity] });
|
||||
expect(detail.activities).toHaveLength(1);
|
||||
expect(
|
||||
tourListItemSchema.parse({ ...item, activity_tracks: [{ id: 4, track_place_id: 9, assignment_id: null }] })
|
||||
.activity_tracks,
|
||||
).toEqual([{ id: 4, track_place_id: 9, assignment_id: null }]);
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,102 @@
|
||||
import { idSchema } from '../common/primitives.schema';
|
||||
import { tourOriginSchema } from './tour-provenance.schema';
|
||||
|
||||
import { z } from 'zod';
|
||||
|
||||
/**
|
||||
* ACT-01: a recorded track assigned to a tour, the way the tour was actually
|
||||
* done. The plan stays what it is: its line, its measures and its times are
|
||||
* never touched by an assignment. The recording is a tour of the same trip
|
||||
* that came in through the GPX import (or from wanderer) and still holds the
|
||||
* line it was recorded with; it keeps its own identity and provenance, and
|
||||
* the assignment only points at it. One assignment per execution: a day the
|
||||
* tour is on, or no day at all.
|
||||
*
|
||||
* This is not the track an import planned over in place keeps
|
||||
* (`has_recorded_track`, `plannedOver`): that one is where a plan came from,
|
||||
* this one is what was walked.
|
||||
*/
|
||||
|
||||
/** The recording an assignment points at, as it is named in the trip. */
|
||||
export const tourActivityTrackSchema = z.object({
|
||||
place_id: idSchema,
|
||||
name: z.string(),
|
||||
/** How the recording came into the trip; never `trek`, a planned line is no recording. */
|
||||
origin: tourOriginSchema,
|
||||
/** The GPX file it was read from; null for a wanderer trail and an import from before TREK kept the name. */
|
||||
file_name: z.string().nullable(),
|
||||
/** When it came into the trip. */
|
||||
imported_at: z.string().nullable(),
|
||||
});
|
||||
export type TourActivityTrack = z.infer<typeof tourActivityTrackSchema>;
|
||||
|
||||
/**
|
||||
* What the recording measures, read from its own line every time, so a
|
||||
* recording that changes changes these and nothing of the plan. A value the
|
||||
* track does not carry stays null: no heights without heights on every point,
|
||||
* no time without a time on every point.
|
||||
*/
|
||||
export const tourActivityMetricsSchema = z.object({
|
||||
distance_km: z.number().nullable(),
|
||||
elevation_gain_m: z.number().nullable(),
|
||||
elevation_loss_m: z.number().nullable(),
|
||||
/** The first and last time the track carries, ISO 8601 in UTC. */
|
||||
started_at: z.string().nullable(),
|
||||
ended_at: z.string().nullable(),
|
||||
/** From the first to the last time, pauses included; null without times on the track. */
|
||||
elapsed_minutes: z.number().int().nonnegative().nullable(),
|
||||
point_count: z.number().int().nonnegative(),
|
||||
});
|
||||
export type TourActivityMetrics = z.infer<typeof tourActivityMetricsSchema>;
|
||||
|
||||
const activityPointSchema = z.union([z.tuple([z.number(), z.number()]), z.tuple([z.number(), z.number(), z.number()])]);
|
||||
|
||||
export const tourActivitySchema = z.object({
|
||||
id: idSchema,
|
||||
/** The execution: the day assignment of the tour it was done on; null for none. */
|
||||
assignment_id: idSchema.nullable(),
|
||||
/** The day of that assignment, for a reader without the day lists. */
|
||||
day_id: idSchema.nullable(),
|
||||
assigned_at: z.string().nullable(),
|
||||
track: tourActivityTrackSchema,
|
||||
metrics: tourActivityMetricsSchema,
|
||||
/** The recorded line, every point, for the profile; the MCP tools leave it out. */
|
||||
geometry: z.array(activityPointSchema),
|
||||
});
|
||||
export type TourActivity = z.infer<typeof tourActivitySchema>;
|
||||
|
||||
/** What a tour list item says about its assignments: which recordings, on which execution. */
|
||||
export const tourActivityRefSchema = z.object({
|
||||
id: idSchema,
|
||||
track_place_id: idSchema,
|
||||
assignment_id: idSchema.nullable(),
|
||||
});
|
||||
export type TourActivityRef = z.infer<typeof tourActivityRefSchema>;
|
||||
|
||||
/**
|
||||
* Assigning a recording to a tour, confirmed by the user. An execution that
|
||||
* already has one gets this one instead; the recording named must not document
|
||||
* another tour.
|
||||
*/
|
||||
export const tourActivityAssignRequestSchema = z
|
||||
.object({
|
||||
track_place_id: idSchema,
|
||||
assignment_id: idSchema.nullable(),
|
||||
})
|
||||
.strict();
|
||||
export type TourActivityAssignRequest = z.infer<typeof tourActivityAssignRequestSchema>;
|
||||
|
||||
/**
|
||||
* Why an assignment was refused, as the 4xx body's `code` names it: the track
|
||||
* is no recording (planned in TREK, or planned over since), it documents
|
||||
* another tour already, it is the tour itself or has recordings of its own, the
|
||||
* tour is itself the recording of another, or the execution is not this tour's.
|
||||
*/
|
||||
export const TOUR_ACTIVITY_REFUSALS = [
|
||||
'activity_track_not_recorded',
|
||||
'activity_track_in_use',
|
||||
'activity_track_is_tour',
|
||||
'activity_tour_is_track',
|
||||
'activity_assignment_not_of_tour',
|
||||
] as const;
|
||||
export type TourActivityRefusal = (typeof TOUR_ACTIVITY_REFUSALS)[number];
|
||||
@@ -27,6 +27,13 @@ export const tourGpxPreviewTrackSchema = z.object({
|
||||
/** Null when the file carries no heights: unknown, never zero. */
|
||||
elevation_gain_m: z.number().nullable(),
|
||||
elevation_loss_m: z.number().nullable(),
|
||||
/**
|
||||
* ACT-01: the first and last time on the track's points (ISO 8601, UTC);
|
||||
* null unless every point carries one, so a route or a drawn track never
|
||||
* reads as recorded.
|
||||
*/
|
||||
started_at: z.string().nullable().optional(),
|
||||
ended_at: z.string().nullable().optional(),
|
||||
/** Already in the trip under the same name and start: the import skips it, as it always has. */
|
||||
duplicate: z.boolean(),
|
||||
});
|
||||
|
||||
@@ -8,6 +8,7 @@ import {
|
||||
} from './paddle-plan.schema';
|
||||
import { runPaceSecondsPerKmSchema } from './run-pace';
|
||||
import { skiDisciplineSchema, skiTechniqueSchema } from './ski.schema';
|
||||
import { tourActivityRefSchema, tourActivitySchema } from './tour-activity.schema';
|
||||
import { tourPoiCategorySchema } from './tour-poi-category';
|
||||
import { tourOriginSchema, tourProvenanceSchema } from './tour-provenance.schema';
|
||||
|
||||
@@ -293,6 +294,17 @@ export const tourListItemSchema = tourSchema.extend({
|
||||
* opened, and a save keeps it. Absent in a list cached before it existed.
|
||||
*/
|
||||
route_pending: z.boolean().optional(),
|
||||
/**
|
||||
* ACT-01: when the track an import read was recorded, from the times on its
|
||||
* points (ISO 8601, UTC); null when the file carried none and for a planned
|
||||
* tour. Absent in a list cached before it existed.
|
||||
*/
|
||||
track_started_at: z.string().nullable().optional(),
|
||||
track_ended_at: z.string().nullable().optional(),
|
||||
/** ACT-01: the recordings assigned to this tour, one per execution. Absent in a list cached before it existed. */
|
||||
activity_tracks: z.array(tourActivityRefSchema).optional(),
|
||||
/** ACT-01: the tour this recording documents, when it is assigned to one; null otherwise. */
|
||||
activity_of: z.number().int().positive().nullable().optional(),
|
||||
});
|
||||
export type TourListItem = z.infer<typeof tourListItemSchema>;
|
||||
|
||||
@@ -676,6 +688,8 @@ export const tourCreateResponseSchema = z.object({
|
||||
provenance: tourProvenanceSchema.optional(),
|
||||
/** PAD-06: a paddle tour's obstacle checklist; dropped, never refused, when this build cannot read it. */
|
||||
obstacle_check: tourObstacleCheckSchema.optional().catch(undefined),
|
||||
/** ACT-01: the recorded tracks assigned to the tour; absent only in a detail cached before TREK sent them. */
|
||||
activities: z.array(tourActivitySchema).optional(),
|
||||
});
|
||||
export type TourCreateResponse = z.infer<typeof tourCreateResponseSchema>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user