mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-01 08:53:13 +00:00
97c725ea14
PDF, ICS and GPX each had their own button in the day-plan toolbar, and two of them carried a hover menu of their own. That is five controls' worth of width in a pane the user can drag narrower, so the exports were the first thing pushed off the edge, and a hover menu is not reachable at all once its button is gone. One button opens a dialog instead: the day plan as a PDF, the bookings as a calendar (a one-off .ics or a live subscription) and the map data as GPX in the three scopes a device wants. Every row reports that it is working, which the PDF export needed most: it fetches a 226 kB builder before it renders anything, and until now the toolbar button simply sat there. Two strings the old ICS menu had hardcoded in English, the download and the subscription, come from the locale files the phone export sheet already used. The toolbar no longer needs the icsHover flag it only held to keep its menu open, so that comes out of the sidebar's state as well.
94 lines
4.5 KiB
TypeScript
94 lines
4.5 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const dayplan: TranslationStrings = {
|
|
'dayplan.icsTooltip': 'Eksportuj kalendarz (ICS)',
|
|
'dayplan.emptyDay': 'Brak miejsc zaplanowanych na ten dzień',
|
|
'dayplan.cannotReorderTransport': 'Nie można zmieniać kolejności dla rezerwacji z określoną godziną',
|
|
'dayplan.confirmRemoveTimeTitle': 'Usunąć godzinę?',
|
|
'dayplan.confirmRemoveTimeBody':
|
|
'To miejsce ma określoną godzinę ({time}). Przeniesienie go usunie godzinę i umożliwi swobodne sortowanie.',
|
|
'dayplan.confirmRemoveTimeAction': 'Usuń godzinę i przenieś',
|
|
'dayplan.confirmDeleteNoteTitle': 'Usunąć notatkę?',
|
|
'dayplan.confirmDeleteNoteBody': 'Ta notatka zostanie trwale usunięta.',
|
|
'dayplan.cannotDropOnTimed': 'Nie można umieszczać elementów pomiędzy wpisami z określoną godziną',
|
|
'dayplan.cannotBreakChronology':
|
|
'Spowodowałoby to naruszenie chronologicznej kolejności elementów i rezerwacji z określoną godziną',
|
|
'dayplan.addNote': 'Dodaj notatkę',
|
|
'dayplan.editNote': 'Edytuj notatkę',
|
|
'dayplan.noteAdd': 'Dodaj notatkę',
|
|
'dayplan.noteEdit': 'Edytuj notatkę',
|
|
'dayplan.noteDelete': 'Usuń notatkę',
|
|
'dayplan.noteTitle': 'Notatka',
|
|
'dayplan.noteSubtitle': 'Notatka dnia',
|
|
'dayplan.noteIcon': 'Ikona',
|
|
'notes.appearance': 'Wygląd',
|
|
'notes.preview': 'Podgląd',
|
|
'notes.bodyPlaceholder': 'Szczegóły, linki, przypomnienia…',
|
|
'notes.markdownHint': 'Obsługiwany Markdown',
|
|
'notes.format.toolbar': 'Formatowanie',
|
|
'notes.format.bold': 'Pogrubienie',
|
|
'notes.format.italic': 'Kursywa',
|
|
'notes.format.strike': 'Przekreślenie',
|
|
'notes.format.code': 'Kod',
|
|
'notes.format.link': 'Link',
|
|
'notes.format.list': 'Lista punktowana',
|
|
'notes.format.orderedList': 'Lista numerowana',
|
|
'notes.format.quote': 'Cytat',
|
|
'notes.color.label': 'Kolor',
|
|
'notes.color.none': 'Bez koloru',
|
|
'notes.color.red': 'Czerwony',
|
|
'notes.color.orange': 'Pomarańczowy',
|
|
'notes.color.amber': 'Bursztynowy',
|
|
'notes.color.green': 'Zielony',
|
|
'notes.color.cyan': 'Cyjan',
|
|
'notes.color.blue': 'Niebieski',
|
|
'notes.color.purple': 'Fioletowy',
|
|
'dayplan.totalCost': 'Łączny koszt',
|
|
'dayplan.days': 'Dni',
|
|
'dayplan.dayN': 'Dzień {n}',
|
|
'dayplan.calculating': 'Obliczanie...',
|
|
'dayplan.route': 'Trasa',
|
|
'dayplan.optimize': 'Optymalizuj',
|
|
'dayplan.transportMode.change': 'Zmień środek transportu',
|
|
'dayplan.transportMode.useDefault': 'Użyj domyślnego dnia',
|
|
'dayplan.optimized': 'Trasa została zoptymalizowana',
|
|
'dayplan.routeError': 'Nie udało się obliczyć trasy',
|
|
'dayplan.toast.needTwoPlaces': 'Potrzeba co najmniej dwóch miejsc, aby zoptymalizować trasę',
|
|
'dayplan.toast.routeOptimized': 'Trasa została zoptymalizowana',
|
|
'dayplan.toast.routeOptimizedFromHotel': 'Trasa została zoptymalizowana względem Twojego zakwaterowania',
|
|
'dayplan.toast.noGeoPlaces': 'Nie znaleziono miejsc ze współrzędnymi do obliczenia trasy',
|
|
'dayplan.confirmed': 'Potwierdzono',
|
|
'dayplan.pendingRes': 'Oczekujące',
|
|
'dayplan.export': 'Eksportuj',
|
|
'dayplan.exportIntro': 'Zabierz plan ze sobą: jako dokument, do kalendarza albo na GPS.',
|
|
'dayplan.exportDocument': 'Dokument',
|
|
'dayplan.exportCalendar': 'Kalendarz',
|
|
'dayplan.exportMaps': 'Mapy i GPS',
|
|
'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...',
|
|
'dayplan.mobile.allAssigned': 'Wszystkie miejsca przypisane',
|
|
'dayplan.mobile.noMatch': 'Brak wyników',
|
|
'dayplan.mobile.createNew': 'Utwórz nowe miejsce',
|
|
'dayplan.expandAll': 'Expand all days', // en-fallback
|
|
'dayplan.collapseAll': 'Collapse all days', // en-fallback
|
|
'dayplan.reorderDays': 'Zmień kolejność dni',
|
|
'dayplan.reorderTitle': 'Zmień kolejność dni',
|
|
'dayplan.reorderHint': 'Miejsca, notatki i rezerwacje danego dnia przenoszą się razem z nim.',
|
|
'dayplan.addDay': 'Dodaj dzień',
|
|
'dayplan.moveUp': 'Przenieś w górę',
|
|
'dayplan.moveDown': 'Przenieś w dół',
|
|
'dayplan.reorderUndo': 'Zmień kolejność dni',
|
|
'dayplan.reorderError': 'Nie udało się zmienić kolejności dni',
|
|
'dayplan.addDayError': 'Nie udało się dodać dnia',
|
|
};
|
|
export default dayplan;
|