Files
TREK/shared/src/i18n/ru/dayplan.ts
T
Maurice 9ce6eed9ad 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.
2026-08-12 12:45:29 +02:00

88 lines
5.5 KiB
TypeScript

import type { TranslationStrings } from '../types';
const dayplan: TranslationStrings = {
'dayplan.icsTooltip': 'Экспорт календаря (ICS)',
'dayplan.emptyDay': 'На этот день мест не запланировано',
'dayplan.addNote': 'Добавить заметку',
'dayplan.editNote': 'Редактировать заметку',
'dayplan.noteAdd': 'Добавить заметку',
'dayplan.noteEdit': 'Редактировать заметку',
'dayplan.noteDelete': 'Удалить заметку',
'dayplan.noteTitle': 'Заметка',
'dayplan.noteSubtitle': 'Заметка на день',
'dayplan.noteIcon': 'Значок',
'notes.appearance': 'Вид',
'notes.preview': 'Предпросмотр',
'notes.bodyPlaceholder': 'Детали, ссылки, напоминания…',
'notes.markdownHint': 'Поддерживается Markdown',
'notes.format.toolbar': 'Форматирование',
'notes.format.bold': 'Полужирный',
'notes.format.italic': 'Курсив',
'notes.format.strike': 'Зачёркнутый',
'notes.format.code': 'Код',
'notes.format.link': 'Ссылка',
'notes.format.list': 'Маркированный список',
'notes.format.orderedList': 'Нумерованный список',
'notes.format.quote': 'Цитата',
'notes.color.label': 'Цвет',
'notes.color.none': 'Без цвета',
'notes.color.red': 'Красный',
'notes.color.orange': 'Оранжевый',
'notes.color.amber': 'Янтарный',
'notes.color.green': 'Зелёный',
'notes.color.cyan': 'Голубой',
'notes.color.blue': 'Синий',
'notes.color.purple': 'Фиолетовый',
'dayplan.totalCost': 'Общая стоимость',
'dayplan.days': 'Дни',
'dayplan.dayN': 'День {n}',
'dayplan.calculating': 'Расчёт...',
'dayplan.route': 'Маршрут',
'dayplan.optimize': 'Оптимизировать',
'dayplan.transportMode.change': 'Изменить способ передвижения',
'dayplan.transportMode.useDefault': 'Использовать по умолчанию для дня',
'dayplan.optimized': 'Маршрут оптимизирован',
'dayplan.routeError': 'Не удалось рассчитать маршрут',
'dayplan.toast.needTwoPlaces': 'Для оптимизации маршрута нужно минимум два места',
'dayplan.toast.routeOptimized': 'Маршрут оптимизирован',
'dayplan.toast.routeOptimizedFromHotel': 'Маршрут оптимизирован от места проживания',
'dayplan.toast.noGeoPlaces': 'Не найдено мест с координатами для расчёта маршрута',
'dayplan.confirmed': 'Подтверждено',
'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': 'Удалить время?',
'dayplan.confirmRemoveTimeBody':
'У этого места фиксированное время ({time}). При перемещении время будет удалено, и станет доступна свободная сортировка.',
'dayplan.confirmRemoveTimeAction': 'Удалить время и переместить',
'dayplan.confirmDeleteNoteTitle': 'Удалить заметку?',
'dayplan.confirmDeleteNoteBody': 'Эта заметка будет удалена безвозвратно.',
'dayplan.cannotDropOnTimed': 'Элементы нельзя размещать между записями с фиксированным временем',
'dayplan.cannotBreakChronology': 'Это нарушит хронологический порядок запланированных элементов и бронирований',
'dayplan.mobile.addPlace': 'Добавить место',
'dayplan.mobile.searchPlaces': 'Поиск мест...',
'dayplan.mobile.allAssigned': 'Все места распределены',
'dayplan.mobile.noMatch': 'Нет совпадений',
'dayplan.mobile.createNew': 'Создать новое место',
'dayplan.expandAll': 'Expand all days', // en-fallback
'dayplan.collapseAll': 'Collapse all days', // en-fallback
'dayplan.reorderDays': 'Изменить порядок дней',
'dayplan.reorderTitle': 'Изменить порядок дней',
'dayplan.reorderHint': 'Места, заметки и бронирования дня перемещаются вместе с ним.',
'dayplan.addDay': 'Добавить день',
'dayplan.moveUp': 'Вверх',
'dayplan.moveDown': 'Вниз',
'dayplan.reorderUndo': 'Изменить порядок дней',
'dayplan.reorderError': 'Не удалось изменить порядок дней',
'dayplan.addDayError': 'Не удалось добавить день',
};
export default dayplan;