Files
TREK/shared/src/i18n/vi/map.ts
T
Maurice 3238fbc517 fix(pdf): route every leg of the trip map and mark what is left unrouted
The PDF export routed the whole trip under an 8 s deadline while the router
is asked one leg at a time, a second apart. A cold month-long trip got about
seven legs routed per export; the rest printed as straight lines at "0 m"
under a total that looked final, and every further export routed a few more
days from the device cache.

The export now waits for every leg, bounded by the request pacing, the
rate-limit retries and a per-leg timeout. The export dialog and the phone
sheet count the legs while they route and offer to print without the rest.
Any leg left without a road is marked in the document: the day reads "not
routed" or "at least ...", the total says it is a floor, and a note names
how many legs are missing. The planner overview shares the same wording.

The PDF also routes what the planner map routes now: the road trip's vias,
the multi-day tour stages and the reader's distance unit.

Closes #2876
2026-10-29 14:48:13 +01:00

49 lines
2.9 KiB
TypeScript

import type { TranslationStrings } from '../types';
const map: TranslationStrings = {
'map.connections': 'Kết nối',
'map.showConnections': 'Hiển thị lộ trình đặt vé',
'map.hideConnections': 'Ẩn lộ trình đặt chỗ',
'poi.searchThisArea': 'Tìm kiếm khu vực này',
'poi.cat.restaurants': 'Nhà hàng',
'poi.cat.cafes': 'Quán cà phê',
'poi.cat.bars': 'Quán bar & cuộc sống về đêm',
'poi.cat.hotels': 'Chỗ ở',
'poi.cat.sights': 'Điểm tham quan',
'poi.cat.museums': 'Bảo tàng & văn hóa',
'poi.cat.nature': 'Thiên nhiên & công viên',
'poi.cat.activities': 'Các hoạt động',
'poi.pluginCategories': 'Danh mục từ plugin',
'map.showAllConnections': 'Hiển thị tất cả lộ trình đặt chỗ',
'map.hideAllConnections': 'Ẩn tất cả lộ trình đặt chỗ',
'map.baseLayer.default': 'Bản đồ',
'map.baseLayer.satellite': 'Vệ tinh',
'map.baseLayer.hiking': 'Đi bộ đường dài',
'map.baseLayer.hikingDown':
'OpenHikingMap hiện không phản hồi. Hãy chuyển sang bản đồ khác; chuyến đi của bạn vẫn giữ nguyên.',
'map.baseLayer.cycle': 'Xe đạp',
'map.baseLayer.cycleDown':
'CyclOSM hiện không phản hồi. Hãy chuyển sang bản đồ khác; chuyến đi của bạn vẫn giữ nguyên.',
'map.baseLayer.switchToSatellite': 'Chuyển sang chế độ xem vệ tinh',
'map.baseLayer.switchToDefault': 'Chuyển sang chế độ xem bản đồ',
'map.location.denied':
'Quyền truy cập vị trí đang bị chặn. Hãy kiểm tra cài đặt thiết bị; ứng dụng đã cài đặt có quyền vị trí riêng, tách biệt với trình duyệt.',
'map.location.unavailable': 'Không thể xác định vị trí của bạn.',
'map.location.timeout':
'Việc xác định vị trí mất quá nhiều thời gian. Hãy thử lại ở nơi nhìn thấy bầu trời thoáng hơn.',
'map.overview.show': 'Hiện toàn bộ chuyến đi',
'map.lock.lock': 'Khóa góc nhìn bản đồ',
'map.lock.unlock': 'Để bản đồ đi theo mục đang chọn',
'map.overview.hide': 'Ẩn toàn bộ chuyến đi',
'map.overview.total': 'Tổng quãng đường',
'map.attribution': 'Nguồn bản đồ',
'map.overview.distanceAtLeast': 'ít nhất {distance}',
'map.overview.notRouted': 'chưa tính tuyến',
'map.overview.unrouted': 'Không thể tính đường đi cho {count} chặng, nên quãng đường chưa đầy đủ.',
'map.overview.dayUnrouted': 'Không thể tính đường đi cho {count} chặng của ngày này',
'map.baseLayer.topo': 'Địa hình',
'map.webgl2.fallback': 'Trình duyệt này không hỗ trợ WebGL2 mà bản đồ GL cần, nên bản đồ được hiển thị bằng Leaflet.',
'map.webgl2.terrain': 'Chế độ 3D cần WebGL2, nhưng trình duyệt này không hỗ trợ. Bản đồ vẫn ở dạng 2D.',
};
export default map;