mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-03 01:28:55 +00:00
feat(places): export a trip as GPX (#1907)
* feat(places): hand a trip back as GPX TREK reads GPX but never wrote it, so a planned trip could not reach the offline map or the handheld it was planned for. The importer already fixes the mapping: a wpt is a place, a rte or trk is a place with route_geometry, so writing is that reversed. Days have no import counterpart and become routes of their stops in order, which is the part that puts a plan on a device. XMLBuilder comes from the same fast-xml-parser the importer parses with, so nothing new is pulled in. * feat(dayplan): a GPX button beside PDF and ICS Scopes are worded by what someone wants on their device rather than by the GPX element: the whole trip, just the places for an offline map, just the days to follow a plan. An empty trip says so instead of reporting a failed download. * feat(mobile): GPX in the export sheet, which is no longer calendar-only The sheet held the PDF export next to the calendar entries and was still called Export Calendar; with GPX beside them the name was simply wrong. * i18n(dayplan): translate the GPX export into all locales * docs(map): document the GPX export * fix(dayplan): drop the GPX tooltip and centre both export menus The tooltip sat under the cursor exactly where the menu opens, so hovering the button produced both at once. The label lives on as an aria-label. Both menus now open centred under their button instead of hanging off its right edge.
This commit is contained in:
@@ -58,6 +58,12 @@ const dayplan: TranslationStrings = {
|
||||
'dayplan.confirmed': 'مؤكد',
|
||||
'dayplan.pendingRes': 'قيد الانتظار',
|
||||
'dayplan.pdfTooltip': 'تصدير خطة اليوم بصيغة PDF',
|
||||
'dayplan.gpxTooltip': 'تصدير كملف GPX للخرائط دون اتصال وأجهزة GPS',
|
||||
'dayplan.gpxAll': 'الرحلة كاملة',
|
||||
'dayplan.gpxPlaces': 'الأماكن فقط',
|
||||
'dayplan.gpxDays': 'الأيام كمسارات',
|
||||
'dayplan.gpxEmpty': 'لا يوجد شيء للتصدير بعد',
|
||||
'dayplan.gpxFailed': 'فشل تصدير GPX',
|
||||
'dayplan.pdfError': 'فشل تصدير PDF',
|
||||
'dayplan.expandAll': 'Expand all days', // en-fallback
|
||||
'dayplan.collapseAll': 'Collapse all days', // en-fallback
|
||||
|
||||
@@ -11,7 +11,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.collabFeatureDisabled': 'هذه الميزة معطّلة لهذه الرحلة',
|
||||
'mobileTrip.compactView': 'عرض مضغوط',
|
||||
'mobileTrip.dayTitlePlaceholder': 'عنوان اليوم',
|
||||
'mobileTrip.exportCalendar': 'تصدير التقويم',
|
||||
'mobileTrip.export': 'تصدير',
|
||||
'mobileTrip.filesEmpty': 'لا توجد ملفات بعد',
|
||||
'mobileTrip.filesNext': 'الملف التالي',
|
||||
'mobileTrip.filesPrev': 'الملف السابق',
|
||||
|
||||
@@ -51,6 +51,12 @@ const dayplan: TranslationStrings = {
|
||||
'dayplan.pendingRes': 'Pendente',
|
||||
'dayplan.pdf': 'PDF',
|
||||
'dayplan.pdfTooltip': 'Exportar plano do dia em PDF',
|
||||
'dayplan.gpxTooltip': 'Exportar como GPX para mapas offline e aparelhos de GPS',
|
||||
'dayplan.gpxAll': 'Viagem inteira',
|
||||
'dayplan.gpxPlaces': 'Somente lugares',
|
||||
'dayplan.gpxDays': 'Dias como rotas',
|
||||
'dayplan.gpxEmpty': 'Ainda não há nada para exportar',
|
||||
'dayplan.gpxFailed': 'Falha ao exportar o GPX',
|
||||
'dayplan.pdfError': 'Falha ao exportar PDF',
|
||||
'dayplan.cannotReorderTransport': 'Reservas com horário fixo não podem ser reordenadas',
|
||||
'dayplan.confirmRemoveTimeTitle': 'Remover horário?',
|
||||
|
||||
@@ -11,7 +11,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.collabFeatureDisabled': 'Esse recurso está desativado para esta viagem',
|
||||
'mobileTrip.compactView': 'Visualização compacta',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Título do dia',
|
||||
'mobileTrip.exportCalendar': 'Exportar calendário',
|
||||
'mobileTrip.export': 'Exportar',
|
||||
'mobileTrip.filesEmpty': 'Nenhum arquivo ainda',
|
||||
'mobileTrip.filesNext': 'Próximo arquivo',
|
||||
'mobileTrip.filesPrev': 'Arquivo anterior',
|
||||
|
||||
@@ -51,6 +51,12 @@ const dayplan: TranslationStrings = {
|
||||
'dayplan.pendingRes': 'Pendent',
|
||||
'dayplan.pdf': 'PDF',
|
||||
'dayplan.pdfTooltip': 'Exporta el pla diari com a PDF',
|
||||
'dayplan.gpxTooltip': 'Exporta com a GPX per a mapes fora de línia i dispositius GPS',
|
||||
'dayplan.gpxAll': 'Tot el viatge',
|
||||
'dayplan.gpxPlaces': 'Només els llocs',
|
||||
'dayplan.gpxDays': 'Dies com a rutes',
|
||||
'dayplan.gpxEmpty': 'Encara no hi ha res per exportar',
|
||||
'dayplan.gpxFailed': 'L\'exportació GPX ha fallat',
|
||||
'dayplan.pdfError': "No s'ha pogut exportar el PDF",
|
||||
'dayplan.cannotReorderTransport': 'Les reserves amb hora fixa no es poden reordenar',
|
||||
'dayplan.confirmRemoveTimeTitle': "Vols eliminar l'hora?",
|
||||
|
||||
@@ -11,7 +11,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.collabFeatureDisabled': 'Aquesta funció està desactivada per a aquest viatge',
|
||||
'mobileTrip.compactView': 'Vista compacta',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Títol del dia',
|
||||
'mobileTrip.exportCalendar': 'Exporta el calendari',
|
||||
'mobileTrip.export': 'Exporta',
|
||||
'mobileTrip.filesEmpty': 'Encara no hi ha fitxers',
|
||||
'mobileTrip.filesNext': 'Fitxer següent',
|
||||
'mobileTrip.filesPrev': 'Fitxer anterior',
|
||||
|
||||
@@ -51,6 +51,12 @@ const dayplan: TranslationStrings = {
|
||||
'dayplan.pendingRes': 'Čeká na potvrzení',
|
||||
'dayplan.pdf': 'PDF',
|
||||
'dayplan.pdfTooltip': 'Exportovat denní plán do PDF',
|
||||
'dayplan.gpxTooltip': 'Exportovat jako GPX pro offline mapy a GPS zařízení',
|
||||
'dayplan.gpxAll': 'Celá cesta',
|
||||
'dayplan.gpxPlaces': 'Jen místa',
|
||||
'dayplan.gpxDays': 'Dny jako trasy',
|
||||
'dayplan.gpxEmpty': 'Zatím není co exportovat',
|
||||
'dayplan.gpxFailed': 'Export GPX selhal',
|
||||
'dayplan.pdfError': 'Export do PDF se nezdařil',
|
||||
'dayplan.cannotReorderTransport': 'Rezervace s pevným časem nelze přeuspořádat',
|
||||
'dayplan.confirmRemoveTimeTitle': 'Odebrat čas?',
|
||||
|
||||
@@ -11,7 +11,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.collabFeatureDisabled': 'Tato funkce je pro tento výlet vypnuta',
|
||||
'mobileTrip.compactView': 'Kompaktní zobrazení',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Název dne',
|
||||
'mobileTrip.exportCalendar': 'Export kalendáře',
|
||||
'mobileTrip.export': 'Exportovat',
|
||||
'mobileTrip.filesEmpty': 'Zatím žádné soubory',
|
||||
'mobileTrip.filesNext': 'Další soubor',
|
||||
'mobileTrip.filesPrev': 'Předchozí soubor',
|
||||
|
||||
@@ -62,6 +62,12 @@ const dayplan: TranslationStrings = {
|
||||
'dayplan.pendingRes': 'Ausstehend',
|
||||
'dayplan.pdf': 'PDF',
|
||||
'dayplan.pdfTooltip': 'Tagesplan als PDF exportieren',
|
||||
'dayplan.gpxTooltip': 'Als GPX für Offline-Karten und GPS-Geräte exportieren',
|
||||
'dayplan.gpxAll': 'Ganze Reise',
|
||||
'dayplan.gpxPlaces': 'Nur Orte',
|
||||
'dayplan.gpxDays': 'Tage als Routen',
|
||||
'dayplan.gpxEmpty': 'Es gibt noch nichts zu exportieren',
|
||||
'dayplan.gpxFailed': 'GPX-Export fehlgeschlagen',
|
||||
'dayplan.pdfError': 'Fehler beim PDF-Export',
|
||||
'dayplan.mobile.addPlace': 'Ort hinzufügen',
|
||||
'dayplan.mobile.searchPlaces': 'Orte suchen...',
|
||||
|
||||
@@ -11,7 +11,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.collabFeatureDisabled': 'Diese Funktion ist für diese Reise deaktiviert',
|
||||
'mobileTrip.compactView': 'Kompakte Ansicht',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Tagestitel',
|
||||
'mobileTrip.exportCalendar': 'Kalender exportieren',
|
||||
'mobileTrip.export': 'Exportieren',
|
||||
'mobileTrip.filesEmpty': 'Keine Dateien vorhanden',
|
||||
'mobileTrip.filesNext': 'Nächste Datei',
|
||||
'mobileTrip.filesPrev': 'Vorherige Datei',
|
||||
|
||||
@@ -62,6 +62,12 @@ const dayplan: TranslationStrings = {
|
||||
'dayplan.pendingRes': 'Pending',
|
||||
'dayplan.pdf': 'PDF',
|
||||
'dayplan.pdfTooltip': 'Export day plan as PDF',
|
||||
'dayplan.gpxTooltip': 'Export as GPX for offline maps and GPS devices',
|
||||
'dayplan.gpxAll': 'Whole trip',
|
||||
'dayplan.gpxPlaces': 'Places only',
|
||||
'dayplan.gpxDays': 'Days as routes',
|
||||
'dayplan.gpxEmpty': 'There is nothing to export yet',
|
||||
'dayplan.gpxFailed': 'GPX export failed',
|
||||
'dayplan.pdfError': 'Failed to export PDF',
|
||||
'dayplan.mobile.addPlace': 'Add Place',
|
||||
'dayplan.mobile.searchPlaces': 'Search places...',
|
||||
|
||||
@@ -11,7 +11,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.collabFeatureDisabled': 'This feature is disabled for this trip',
|
||||
'mobileTrip.compactView': 'Compact view',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Day title',
|
||||
'mobileTrip.exportCalendar': 'Export Calendar',
|
||||
'mobileTrip.export': 'Export',
|
||||
'mobileTrip.filesEmpty': 'No files yet',
|
||||
'mobileTrip.filesNext': 'Next file',
|
||||
'mobileTrip.filesPrev': 'Previous file',
|
||||
|
||||
@@ -51,6 +51,12 @@ const dayplan: TranslationStrings = {
|
||||
'dayplan.pendingRes': 'Pendiente',
|
||||
'dayplan.pdf': 'PDF',
|
||||
'dayplan.pdfTooltip': 'Exportar plan diario como PDF',
|
||||
'dayplan.gpxTooltip': 'Exportar como GPX para mapas sin conexión y dispositivos GPS',
|
||||
'dayplan.gpxAll': 'Todo el viaje',
|
||||
'dayplan.gpxPlaces': 'Solo lugares',
|
||||
'dayplan.gpxDays': 'Días como rutas',
|
||||
'dayplan.gpxEmpty': 'Aún no hay nada que exportar',
|
||||
'dayplan.gpxFailed': 'Error al exportar el GPX',
|
||||
'dayplan.pdfError': 'No se pudo exportar el PDF',
|
||||
'dayplan.cannotReorderTransport': 'Las reservas con hora fija no se pueden reordenar',
|
||||
'dayplan.confirmRemoveTimeTitle': '¿Eliminar hora?',
|
||||
|
||||
@@ -11,7 +11,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.collabFeatureDisabled': 'Esta función está desactivada para este viaje',
|
||||
'mobileTrip.compactView': 'Vista compacta',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Título del día',
|
||||
'mobileTrip.exportCalendar': 'Exportar calendario',
|
||||
'mobileTrip.export': 'Exportar',
|
||||
'mobileTrip.filesEmpty': 'Aún no hay archivos',
|
||||
'mobileTrip.filesNext': 'Archivo siguiente',
|
||||
'mobileTrip.filesPrev': 'Archivo anterior',
|
||||
|
||||
@@ -51,6 +51,12 @@ const dayplan: TranslationStrings = {
|
||||
'dayplan.pendingRes': 'En attente',
|
||||
'dayplan.pdf': 'PDF',
|
||||
'dayplan.pdfTooltip': 'Exporter le plan du jour en PDF',
|
||||
'dayplan.gpxTooltip': 'Exporter en GPX pour les cartes hors ligne et les GPS',
|
||||
'dayplan.gpxAll': 'Tout le voyage',
|
||||
'dayplan.gpxPlaces': 'Lieux uniquement',
|
||||
'dayplan.gpxDays': 'Journées en itinéraires',
|
||||
'dayplan.gpxEmpty': 'Il n\'y a encore rien à exporter',
|
||||
'dayplan.gpxFailed': 'Échec de l\'export GPX',
|
||||
'dayplan.pdfError': "Échec de l'export PDF",
|
||||
'dayplan.cannotReorderTransport': 'Les réservations avec une heure fixe ne peuvent pas être réorganisées',
|
||||
'dayplan.confirmRemoveTimeTitle': "Supprimer l'heure ?",
|
||||
|
||||
@@ -11,7 +11,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.collabFeatureDisabled': 'Cette fonctionnalité est désactivée pour ce voyage',
|
||||
'mobileTrip.compactView': 'Vue compacte',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Titre du jour',
|
||||
'mobileTrip.exportCalendar': 'Exporter le calendrier',
|
||||
'mobileTrip.export': 'Exporter',
|
||||
'mobileTrip.filesEmpty': 'Aucun fichier',
|
||||
'mobileTrip.filesNext': 'Fichier suivant',
|
||||
'mobileTrip.filesPrev': 'Fichier précédent',
|
||||
|
||||
@@ -62,6 +62,12 @@ const dayplan: TranslationStrings = {
|
||||
'dayplan.pendingRes': 'Εκκρεμές',
|
||||
'dayplan.pdf': 'PDF',
|
||||
'dayplan.pdfTooltip': 'Εξαγωγή ημερήσιου πλάνου ως PDF',
|
||||
'dayplan.gpxTooltip': 'Εξαγωγή ως GPX για χάρτες εκτός σύνδεσης και συσκευές GPS',
|
||||
'dayplan.gpxAll': 'Όλο το ταξίδι',
|
||||
'dayplan.gpxPlaces': 'Μόνο τα μέρη',
|
||||
'dayplan.gpxDays': 'Ημέρες ως διαδρομές',
|
||||
'dayplan.gpxEmpty': 'Δεν υπάρχει ακόμη κάτι για εξαγωγή',
|
||||
'dayplan.gpxFailed': 'Η εξαγωγή GPX απέτυχε',
|
||||
'dayplan.pdfError': 'Αποτυχία εξαγωγής PDF',
|
||||
'dayplan.mobile.addPlace': 'Προσθήκη Τοποθεσίας',
|
||||
'dayplan.mobile.searchPlaces': 'Αναζήτηση τοποθεσιών...',
|
||||
|
||||
@@ -11,7 +11,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.collabFeatureDisabled': 'Αυτή η λειτουργία είναι απενεργοποιημένη για αυτό το ταξίδι',
|
||||
'mobileTrip.compactView': 'Συμπαγής προβολή',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Τίτλος ημέρας',
|
||||
'mobileTrip.exportCalendar': 'Εξαγωγή Ημερολογίου',
|
||||
'mobileTrip.export': 'Εξαγωγή',
|
||||
'mobileTrip.filesEmpty': 'Δεν υπάρχουν αρχεία ακόμη',
|
||||
'mobileTrip.filesNext': 'Επόμενο αρχείο',
|
||||
'mobileTrip.filesPrev': 'Προηγούμενο αρχείο',
|
||||
|
||||
@@ -51,6 +51,12 @@ const dayplan: TranslationStrings = {
|
||||
'dayplan.pendingRes': 'Függőben',
|
||||
'dayplan.pdf': 'PDF',
|
||||
'dayplan.pdfTooltip': 'Napi terv exportálása PDF-be',
|
||||
'dayplan.gpxTooltip': 'Exportálás GPX-ként offline térképekhez és GPS-eszközökhöz',
|
||||
'dayplan.gpxAll': 'A teljes utazás',
|
||||
'dayplan.gpxPlaces': 'Csak a helyek',
|
||||
'dayplan.gpxDays': 'Napok útvonalként',
|
||||
'dayplan.gpxEmpty': 'Még nincs mit exportálni',
|
||||
'dayplan.gpxFailed': 'A GPX-exportálás nem sikerült',
|
||||
'dayplan.pdfError': 'Nem sikerült a PDF exportálás',
|
||||
'dayplan.cannotReorderTransport': 'A rögzített időpontú foglalások nem rendezhetők át',
|
||||
'dayplan.confirmRemoveTimeTitle': 'Időpont eltávolítása?',
|
||||
|
||||
@@ -11,7 +11,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.collabFeatureDisabled': 'Ez a funkció ki van kapcsolva ennél az utazásnál',
|
||||
'mobileTrip.compactView': 'Kompakt nézet',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Nap címe',
|
||||
'mobileTrip.exportCalendar': 'Naptár exportálása',
|
||||
'mobileTrip.export': 'Exportálás',
|
||||
'mobileTrip.filesEmpty': 'Még nincsenek fájlok',
|
||||
'mobileTrip.filesNext': 'Következő fájl',
|
||||
'mobileTrip.filesPrev': 'Előző fájl',
|
||||
|
||||
@@ -60,6 +60,12 @@ const dayplan: TranslationStrings = {
|
||||
'dayplan.pendingRes': 'Menunggu',
|
||||
'dayplan.pdf': 'PDF',
|
||||
'dayplan.pdfTooltip': 'Ekspor rencana hari sebagai PDF',
|
||||
'dayplan.gpxTooltip': 'Ekspor sebagai GPX untuk peta offline dan perangkat GPS',
|
||||
'dayplan.gpxAll': 'Seluruh perjalanan',
|
||||
'dayplan.gpxPlaces': 'Hanya tempat',
|
||||
'dayplan.gpxDays': 'Hari sebagai rute',
|
||||
'dayplan.gpxEmpty': 'Belum ada yang bisa diekspor',
|
||||
'dayplan.gpxFailed': 'Ekspor GPX gagal',
|
||||
'dayplan.pdfError': 'Gagal mengekspor PDF',
|
||||
'dayplan.mobile.addPlace': 'Tambah Tempat',
|
||||
'dayplan.mobile.searchPlaces': 'Cari tempat...',
|
||||
|
||||
@@ -11,7 +11,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.collabFeatureDisabled': 'Fitur ini dinonaktifkan untuk perjalanan ini',
|
||||
'mobileTrip.compactView': 'Tampilan ringkas',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Judul hari',
|
||||
'mobileTrip.exportCalendar': 'Ekspor Kalender',
|
||||
'mobileTrip.export': 'Ekspor',
|
||||
'mobileTrip.filesEmpty': 'Belum ada file',
|
||||
'mobileTrip.filesNext': 'File berikutnya',
|
||||
'mobileTrip.filesPrev': 'File sebelumnya',
|
||||
|
||||
@@ -51,6 +51,12 @@ const dayplan: TranslationStrings = {
|
||||
'dayplan.pendingRes': 'In attesa',
|
||||
'dayplan.pdf': 'PDF',
|
||||
'dayplan.pdfTooltip': 'Esporta il programma del giorno come PDF',
|
||||
'dayplan.gpxTooltip': 'Esporta in GPX per mappe offline e dispositivi GPS',
|
||||
'dayplan.gpxAll': 'Tutto il viaggio',
|
||||
'dayplan.gpxPlaces': 'Solo i luoghi',
|
||||
'dayplan.gpxDays': 'Giorni come itinerari',
|
||||
'dayplan.gpxEmpty': 'Non c\'è ancora nulla da esportare',
|
||||
'dayplan.gpxFailed': 'Esportazione GPX non riuscita',
|
||||
'dayplan.pdfError': 'Impossibile esportare il PDF',
|
||||
'dayplan.cannotReorderTransport': 'Le prenotazioni con un orario fisso non possono essere riordinate',
|
||||
'dayplan.confirmRemoveTimeTitle': "Rimuovere l'orario?",
|
||||
|
||||
@@ -11,7 +11,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.collabFeatureDisabled': 'Questa funzione è disattivata per questo viaggio',
|
||||
'mobileTrip.compactView': 'Vista compatta',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Titolo del giorno',
|
||||
'mobileTrip.exportCalendar': 'Esporta calendario',
|
||||
'mobileTrip.export': 'Esporta',
|
||||
'mobileTrip.filesEmpty': 'Ancora nessun file',
|
||||
'mobileTrip.filesNext': 'File successivo',
|
||||
'mobileTrip.filesPrev': 'File precedente',
|
||||
|
||||
@@ -62,6 +62,12 @@ const dayplan: TranslationStrings = {
|
||||
'dayplan.pendingRes': '保留',
|
||||
'dayplan.pdf': 'PDF',
|
||||
'dayplan.pdfTooltip': '日別計画をPDFで書き出し',
|
||||
'dayplan.gpxTooltip': 'オフライン地図やGPS機器向けにGPXで書き出す',
|
||||
'dayplan.gpxAll': '旅行全体',
|
||||
'dayplan.gpxPlaces': '場所のみ',
|
||||
'dayplan.gpxDays': '日程をルートとして',
|
||||
'dayplan.gpxEmpty': 'まだ書き出せるものがありません',
|
||||
'dayplan.gpxFailed': 'GPXの書き出しに失敗しました',
|
||||
'dayplan.pdfError': 'PDFの書き出しに失敗しました',
|
||||
'dayplan.mobile.addPlace': '場所を追加',
|
||||
'dayplan.mobile.searchPlaces': '場所を検索…',
|
||||
|
||||
@@ -11,7 +11,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.collabFeatureDisabled': 'この機能はこの旅行では無効になっています',
|
||||
'mobileTrip.compactView': 'コンパクト表示',
|
||||
'mobileTrip.dayTitlePlaceholder': '日のタイトル',
|
||||
'mobileTrip.exportCalendar': 'カレンダーをエクスポート',
|
||||
'mobileTrip.export': '書き出し',
|
||||
'mobileTrip.filesEmpty': 'ファイルはまだありません',
|
||||
'mobileTrip.filesNext': '次のファイル',
|
||||
'mobileTrip.filesPrev': '前のファイル',
|
||||
|
||||
@@ -62,6 +62,12 @@ const dayplan: TranslationStrings = {
|
||||
'dayplan.pendingRes': '대기 중',
|
||||
'dayplan.pdf': 'PDF',
|
||||
'dayplan.pdfTooltip': '일별 계획을 PDF로 내보내기',
|
||||
'dayplan.gpxTooltip': '오프라인 지도와 GPS 기기용 GPX로 내보내기',
|
||||
'dayplan.gpxAll': '여행 전체',
|
||||
'dayplan.gpxPlaces': '장소만',
|
||||
'dayplan.gpxDays': '날짜를 경로로',
|
||||
'dayplan.gpxEmpty': '아직 내보낼 것이 없습니다',
|
||||
'dayplan.gpxFailed': 'GPX 내보내기에 실패했습니다',
|
||||
'dayplan.pdfError': 'PDF 내보내기 실패',
|
||||
'dayplan.mobile.addPlace': '장소 추가',
|
||||
'dayplan.mobile.searchPlaces': '장소 검색...',
|
||||
|
||||
@@ -11,7 +11,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.collabFeatureDisabled': '이 여행에서는 이 기능이 비활성화되어 있습니다',
|
||||
'mobileTrip.compactView': '간략히 보기',
|
||||
'mobileTrip.dayTitlePlaceholder': '일차 제목',
|
||||
'mobileTrip.exportCalendar': '캘린더 내보내기',
|
||||
'mobileTrip.export': '내보내기',
|
||||
'mobileTrip.filesEmpty': '아직 파일이 없습니다',
|
||||
'mobileTrip.filesNext': '다음 파일',
|
||||
'mobileTrip.filesPrev': '이전 파일',
|
||||
|
||||
@@ -51,6 +51,12 @@ const dayplan: TranslationStrings = {
|
||||
'dayplan.pendingRes': 'In behandeling',
|
||||
'dayplan.pdf': 'PDF',
|
||||
'dayplan.pdfTooltip': 'Dagplan exporteren als PDF',
|
||||
'dayplan.gpxTooltip': 'Exporteren als GPX voor offline kaarten en gps-apparaten',
|
||||
'dayplan.gpxAll': 'Hele reis',
|
||||
'dayplan.gpxPlaces': 'Alleen plekken',
|
||||
'dayplan.gpxDays': 'Dagen als routes',
|
||||
'dayplan.gpxEmpty': 'Er valt nog niets te exporteren',
|
||||
'dayplan.gpxFailed': 'GPX-export mislukt',
|
||||
'dayplan.pdfError': 'PDF-export mislukt',
|
||||
'dayplan.cannotReorderTransport': 'Boekingen met een vast tijdstip kunnen niet worden verplaatst',
|
||||
'dayplan.confirmRemoveTimeTitle': 'Tijd verwijderen?',
|
||||
|
||||
@@ -11,7 +11,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.collabFeatureDisabled': 'Deze functie is uitgeschakeld voor deze reis',
|
||||
'mobileTrip.compactView': 'Compacte weergave',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Titel van de dag',
|
||||
'mobileTrip.exportCalendar': 'Kalender exporteren',
|
||||
'mobileTrip.export': 'Exporteren',
|
||||
'mobileTrip.filesEmpty': 'Nog geen bestanden',
|
||||
'mobileTrip.filesNext': 'Volgend bestand',
|
||||
'mobileTrip.filesPrev': 'Vorig bestand',
|
||||
|
||||
@@ -61,6 +61,12 @@ const dayplan: TranslationStrings = {
|
||||
'dayplan.pendingRes': 'Oczekujące',
|
||||
'dayplan.pdf': 'PDF',
|
||||
'dayplan.pdfTooltip': 'Eksportuj plan dnia jako PDF',
|
||||
'dayplan.gpxTooltip': 'Eksportuj jako GPX do map offline i urządzeń GPS',
|
||||
'dayplan.gpxAll': 'Cała podróż',
|
||||
'dayplan.gpxPlaces': 'Tylko miejsca',
|
||||
'dayplan.gpxDays': 'Dni jako trasy',
|
||||
'dayplan.gpxEmpty': 'Nie ma jeszcze czego eksportować',
|
||||
'dayplan.gpxFailed': 'Eksport GPX nie powiódł się',
|
||||
'dayplan.pdfError': 'Nie udało się wyeksportować pliku PDF',
|
||||
'dayplan.mobile.addPlace': 'Dodaj miejsce',
|
||||
'dayplan.mobile.searchPlaces': 'Szukaj miejsc...',
|
||||
|
||||
@@ -11,7 +11,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.collabFeatureDisabled': 'Ta funkcja jest wyłączona dla tej podróży',
|
||||
'mobileTrip.compactView': 'Widok kompaktowy',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Tytuł dnia',
|
||||
'mobileTrip.exportCalendar': 'Eksportuj kalendarz',
|
||||
'mobileTrip.export': 'Eksportuj',
|
||||
'mobileTrip.filesEmpty': 'Brak plików',
|
||||
'mobileTrip.filesNext': 'Następny plik',
|
||||
'mobileTrip.filesPrev': 'Poprzedni plik',
|
||||
|
||||
@@ -51,6 +51,12 @@ const dayplan: TranslationStrings = {
|
||||
'dayplan.pendingRes': 'Ожидание',
|
||||
'dayplan.pdf': 'PDF',
|
||||
'dayplan.pdfTooltip': 'Экспортировать план дня в PDF',
|
||||
'dayplan.gpxTooltip': 'Экспорт в GPX для офлайн-карт и GPS-устройств',
|
||||
'dayplan.gpxAll': 'Вся поездка',
|
||||
'dayplan.gpxPlaces': 'Только места',
|
||||
'dayplan.gpxDays': 'Дни как маршруты',
|
||||
'dayplan.gpxEmpty': 'Пока нечего экспортировать',
|
||||
'dayplan.gpxFailed': 'Не удалось экспортировать GPX',
|
||||
'dayplan.pdfError': 'Ошибка экспорта PDF',
|
||||
'dayplan.cannotReorderTransport': 'Бронирования с фиксированным временем нельзя перемещать',
|
||||
'dayplan.confirmRemoveTimeTitle': 'Удалить время?',
|
||||
|
||||
@@ -11,7 +11,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.collabFeatureDisabled': 'Эта функция отключена для этой поездки',
|
||||
'mobileTrip.compactView': 'Компактный вид',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Название дня',
|
||||
'mobileTrip.exportCalendar': 'Экспорт календаря',
|
||||
'mobileTrip.export': 'Экспорт',
|
||||
'mobileTrip.filesEmpty': 'Файлов пока нет',
|
||||
'mobileTrip.filesNext': 'Следующий файл',
|
||||
'mobileTrip.filesPrev': 'Предыдущий файл',
|
||||
|
||||
@@ -63,6 +63,12 @@ const dayplan: TranslationStrings = {
|
||||
'dayplan.pendingRes': 'Pendlande',
|
||||
'dayplan.pdf': 'PDF',
|
||||
'dayplan.pdfTooltip': 'Exportera dagsplanen som PDF',
|
||||
'dayplan.gpxTooltip': 'Exportera som GPX för offlinekartor och GPS-enheter',
|
||||
'dayplan.gpxAll': 'Hela resan',
|
||||
'dayplan.gpxPlaces': 'Bara platser',
|
||||
'dayplan.gpxDays': 'Dagar som rutter',
|
||||
'dayplan.gpxEmpty': 'Det finns inget att exportera än',
|
||||
'dayplan.gpxFailed': 'GPX-exporten misslyckades',
|
||||
'dayplan.pdfError': 'Kunde inte exportera PDF',
|
||||
'dayplan.mobile.addPlace': 'Lägg itll plats',
|
||||
'dayplan.mobile.searchPlaces': 'Sök platser...',
|
||||
|
||||
@@ -11,7 +11,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.collabFeatureDisabled': 'Den här funktionen är inaktiverad för den här resan',
|
||||
'mobileTrip.compactView': 'Kompakt vy',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Dagens titel',
|
||||
'mobileTrip.exportCalendar': 'Exportera kalender',
|
||||
'mobileTrip.export': 'Exportera',
|
||||
'mobileTrip.filesEmpty': 'Inga filer ännu',
|
||||
'mobileTrip.filesNext': 'Nästa fil',
|
||||
'mobileTrip.filesPrev': 'Föregående fil',
|
||||
|
||||
@@ -62,6 +62,12 @@ const dayplan: TranslationStrings = {
|
||||
'dayplan.pendingRes': 'Beklemede',
|
||||
'dayplan.pdf': "PDF'ler",
|
||||
'dayplan.pdfTooltip': 'Gün planını PDF olarak dışa aktar',
|
||||
'dayplan.gpxTooltip': 'Çevrimdışı haritalar ve GPS cihazları için GPX olarak dışa aktar',
|
||||
'dayplan.gpxAll': 'Tüm gezi',
|
||||
'dayplan.gpxPlaces': 'Yalnızca yerler',
|
||||
'dayplan.gpxDays': 'Günler rota olarak',
|
||||
'dayplan.gpxEmpty': 'Henüz dışa aktarılacak bir şey yok',
|
||||
'dayplan.gpxFailed': 'GPX dışa aktarma başarısız oldu',
|
||||
'dayplan.pdfError': 'PDF dışa aktarılamadı',
|
||||
'dayplan.mobile.addPlace': 'Yer Ekle',
|
||||
'dayplan.mobile.searchPlaces': 'Yer ara...',
|
||||
|
||||
@@ -11,7 +11,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.collabFeatureDisabled': 'Bu özellik bu seyahat için devre dışı',
|
||||
'mobileTrip.compactView': 'Kompakt görünüm',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Gün başlığı',
|
||||
'mobileTrip.exportCalendar': 'Takvimi Dışa Aktar',
|
||||
'mobileTrip.export': 'Dışa aktar',
|
||||
'mobileTrip.filesEmpty': 'Henüz dosya yok',
|
||||
'mobileTrip.filesNext': 'Sonraki dosya',
|
||||
'mobileTrip.filesPrev': 'Önceki dosya',
|
||||
|
||||
@@ -53,6 +53,12 @@ const dayplan: TranslationStrings = {
|
||||
'dayplan.pendingRes': 'Ожидание',
|
||||
'dayplan.pdf': 'PDF',
|
||||
'dayplan.pdfTooltip': 'Експортувати план дня в PDF',
|
||||
'dayplan.gpxTooltip': 'Експорт у GPX для офлайн-карт і GPS-пристроїв',
|
||||
'dayplan.gpxAll': 'Уся подорож',
|
||||
'dayplan.gpxPlaces': 'Лише місця',
|
||||
'dayplan.gpxDays': 'Дні як маршрути',
|
||||
'dayplan.gpxEmpty': 'Поки немає чого експортувати',
|
||||
'dayplan.gpxFailed': 'Не вдалося експортувати GPX',
|
||||
'dayplan.pdfError': 'Помилка експорту PDF',
|
||||
'dayplan.cannotReorderTransport': 'Бронювання з фіксованим часом не можна переміщувати',
|
||||
'dayplan.confirmRemoveTimeTitle': 'Видалити час?',
|
||||
|
||||
@@ -11,7 +11,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.collabFeatureDisabled': 'Цю функцію вимкнено для цієї подорожі',
|
||||
'mobileTrip.compactView': 'Компактний вигляд',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Назва дня',
|
||||
'mobileTrip.exportCalendar': 'Експорт календаря',
|
||||
'mobileTrip.export': 'Експорт',
|
||||
'mobileTrip.filesEmpty': 'Файлів поки немає',
|
||||
'mobileTrip.filesNext': 'Наступний файл',
|
||||
'mobileTrip.filesPrev': 'Попередній файл',
|
||||
|
||||
@@ -62,6 +62,12 @@ const dayplan: TranslationStrings = {
|
||||
'dayplan.pendingRes': 'Chưa giải quyết',
|
||||
'dayplan.pdf': 'PDF',
|
||||
'dayplan.pdfTooltip': 'Kế hoạch ngày xuất dưới dạng PDF',
|
||||
'dayplan.gpxTooltip': 'Xuất ra GPX cho bản đồ ngoại tuyến và thiết bị GPS',
|
||||
'dayplan.gpxAll': 'Toàn bộ chuyến đi',
|
||||
'dayplan.gpxPlaces': 'Chỉ địa điểm',
|
||||
'dayplan.gpxDays': 'Các ngày dưới dạng lộ trình',
|
||||
'dayplan.gpxEmpty': 'Chưa có gì để xuất',
|
||||
'dayplan.gpxFailed': 'Xuất GPX thất bại',
|
||||
'dayplan.pdfError': 'Không xuất được PDF',
|
||||
'dayplan.mobile.addPlace': 'Thêm địa điểm',
|
||||
'dayplan.mobile.searchPlaces': 'Tìm kiếm địa điểm...',
|
||||
|
||||
@@ -11,7 +11,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.collabFeatureDisabled': 'Tính năng này bị tắt cho chuyến đi này',
|
||||
'mobileTrip.compactView': 'Chế độ xem gọn',
|
||||
'mobileTrip.dayTitlePlaceholder': 'Tiêu đề ngày',
|
||||
'mobileTrip.exportCalendar': 'Xuất lịch',
|
||||
'mobileTrip.export': 'Xuất',
|
||||
'mobileTrip.filesEmpty': 'Chưa có tập tin nào',
|
||||
'mobileTrip.filesNext': 'Tập tin tiếp theo',
|
||||
'mobileTrip.filesPrev': 'Tập tin trước',
|
||||
|
||||
@@ -51,6 +51,12 @@ const dayplan: TranslationStrings = {
|
||||
'dayplan.pendingRes': '待確認',
|
||||
'dayplan.pdf': 'PDF',
|
||||
'dayplan.pdfTooltip': '匯出當天計劃為 PDF',
|
||||
'dayplan.gpxTooltip': '匯出為 GPX,用於離線地圖和 GPS 裝置',
|
||||
'dayplan.gpxAll': '整趟行程',
|
||||
'dayplan.gpxPlaces': '僅地點',
|
||||
'dayplan.gpxDays': '按天產生路線',
|
||||
'dayplan.gpxEmpty': '暫時沒有可匯出的內容',
|
||||
'dayplan.gpxFailed': 'GPX 匯出失敗',
|
||||
'dayplan.pdfError': 'PDF 匯出失敗',
|
||||
'dayplan.cannotReorderTransport': '有固定時間的預訂無法重新排序',
|
||||
'dayplan.confirmRemoveTimeTitle': '移除時間?',
|
||||
|
||||
@@ -11,7 +11,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.collabFeatureDisabled': '此功能已針對本次行程停用',
|
||||
'mobileTrip.compactView': '精簡檢視',
|
||||
'mobileTrip.dayTitlePlaceholder': '天數標題',
|
||||
'mobileTrip.exportCalendar': '匯出行事曆',
|
||||
'mobileTrip.export': '匯出',
|
||||
'mobileTrip.filesEmpty': '暫無檔案',
|
||||
'mobileTrip.filesNext': '下一個檔案',
|
||||
'mobileTrip.filesPrev': '上一個檔案',
|
||||
|
||||
@@ -51,6 +51,12 @@ const dayplan: TranslationStrings = {
|
||||
'dayplan.pendingRes': '待确认',
|
||||
'dayplan.pdf': 'PDF',
|
||||
'dayplan.pdfTooltip': '导出当天计划为 PDF',
|
||||
'dayplan.gpxTooltip': '导出为 GPX,用于离线地图和 GPS 设备',
|
||||
'dayplan.gpxAll': '整趟行程',
|
||||
'dayplan.gpxPlaces': '仅地点',
|
||||
'dayplan.gpxDays': '按天生成路线',
|
||||
'dayplan.gpxEmpty': '暂时没有可导出的内容',
|
||||
'dayplan.gpxFailed': 'GPX 导出失败',
|
||||
'dayplan.pdfError': 'PDF 导出失败',
|
||||
'dayplan.cannotReorderTransport': '有固定时间的预订无法重新排序',
|
||||
'dayplan.confirmRemoveTimeTitle': '移除时间?',
|
||||
|
||||
@@ -11,7 +11,7 @@ const mobileTrip: TranslationStrings = {
|
||||
'mobileTrip.collabFeatureDisabled': '此功能已针对本次行程停用',
|
||||
'mobileTrip.compactView': '紧凑视图',
|
||||
'mobileTrip.dayTitlePlaceholder': '天数标题',
|
||||
'mobileTrip.exportCalendar': '导出日历',
|
||||
'mobileTrip.export': '导出',
|
||||
'mobileTrip.filesEmpty': '暂无文件',
|
||||
'mobileTrip.filesNext': '下一个文件',
|
||||
'mobileTrip.filesPrev': '上一个文件',
|
||||
|
||||
@@ -174,6 +174,18 @@ export const placeImportGpxRequestSchema = z.object({
|
||||
});
|
||||
export type PlaceImportGpxRequest = z.infer<typeof placeImportGpxRequestSchema>;
|
||||
|
||||
/**
|
||||
* GPX export (query string), the mirror of the import flags. Every field optional
|
||||
* and string-typed because these arrive as query parameters; an omitted flag
|
||||
* defaults to true server-side, so a bare `export.gpx` returns everything.
|
||||
*/
|
||||
export const placeExportGpxRequestSchema = z.object({
|
||||
waypoints: z.string().optional(),
|
||||
tracks: z.string().optional(),
|
||||
dayRoutes: z.string().optional(),
|
||||
});
|
||||
export type PlaceExportGpxRequest = z.infer<typeof placeExportGpxRequestSchema>;
|
||||
|
||||
/** KML/KMZ import (multipart/form-data); same string-field contract as GPX. */
|
||||
export const placeImportMapRequestSchema = z.object({
|
||||
importPoints: z.string().optional(),
|
||||
|
||||
Reference in New Issue
Block a user