Files
TREK/shared/src/i18n/ru/map.ts
T
Konstantinos Thermos bf1900c3a0 feat(maps): draw every travel day's route at once, with the trip total
Extract the day route builder out of useRouteCalculation into a pure module and
aggregate it over the whole trip: one map with every day's route, each day in its
own colour, the mode per stage and the trip's total distance. Straight lines first,
roads as they answer; a refused leg keeps its line and adds no distance.

Give the floating map controls one shared drop shadow while adding the toggle, so
the new pill and the base-layer switcher stand off the tiles the way the locate
button always has. Document the control in wiki/Map-Features.md.

Addresses #1736
2026-09-10 15:57:48 +03:00

30 lines
2.0 KiB
TypeScript

import type { TranslationStrings } from '../types';
const map: TranslationStrings = {
'map.connections': 'Соединения',
'map.showConnections': 'Показать маршруты бронирований',
'map.hideConnections': 'Скрыть маршруты бронирований',
'poi.searchThisArea': 'Искать в этой области',
'poi.cat.restaurants': 'Рестораны',
'poi.cat.cafes': 'Кафе',
'poi.cat.bars': 'Бары и ночная жизнь',
'poi.cat.hotels': 'Жильё',
'poi.cat.sights': 'Достопримечательности',
'poi.cat.museums': 'Музеи и культура',
'poi.cat.nature': 'Природа и парки',
'poi.cat.activities': 'Развлечения',
'map.showAllConnections': 'Показать все маршруты бронирований',
'map.hideAllConnections': 'Скрыть все маршруты бронирований',
'map.baseLayer.default': 'Карта',
'map.baseLayer.satellite': 'Спутник',
'map.baseLayer.switchToSatellite': 'Переключить на спутниковый вид',
'map.baseLayer.switchToDefault': 'Переключить на вид карты',
'map.location.denied': 'Доступ к геопозиции заблокирован. Проверьте настройки устройства; у установленного приложения есть собственное разрешение на геопозицию, отдельное от браузера.',
'map.location.unavailable': 'Не удалось определить ваше местоположение.',
'map.location.timeout': 'Определение местоположения заняло слишком много времени. Попробуйте ещё раз под открытым небом.',
'map.overview.show': 'Показать всю поездку',
'map.overview.hide': 'Скрыть всю поездку',
'map.overview.total': 'Общее расстояние',
};
export default map;