Files
TREK/shared/src/i18n/ko/map.ts
T
Maurice e28bd2fc99 fix(maps): draw with Leaflet wherever WebGL2 is missing
MapLibre 6 and Mapbox GL 3 both throw out of their Map constructor without
WebGL2. Every place that builds a GL map now asks one helper first,
components/Map/glSupport.ts, and a browser without WebGL2 gets the Leaflet
map with the user's tiles instead of a map that fails to start:

- the trip map (MapViewAuto) and the journey maps (JourneyMapAuto) pick
  their renderer through useGlRenderer, which folds in the Mapbox token
  rule they each had;
- the settings preview, desktop and phone, shows the Leaflet preview
  through useMapSettingsForm and says why under it;
- the tour planner keeps the 2D map when 3D is asked for and says that
  3D needs WebGL2;
- the PDF route map and the Leaflet vector basemap already fell back and
  now report a GPU failure too.

Behind the probe, buildGlMap wraps each constructor (MapViewGL,
JourneyMapGL, the settings preview, the terrain map, the PDF map). A GPU
that claims WebGL2 and still refuses the context is reported through
utils/webgl, which turns the answer to no and tells every mounted map,
so they switch to Leaflet without a reload; any other error is still
thrown. Two new strings, map.webgl2.fallback and map.webgl2.terrain, in
all 27 locales.
2026-10-24 22:41:56 +00:00

45 lines
2.5 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': '액티비티',
'poi.pluginCategories': '플러그인 카테고리',
'map.showAllConnections': '모든 예약 경로 표시',
'map.hideAllConnections': '모든 예약 경로 숨기기',
'map.baseLayer.default': '지도',
'map.baseLayer.satellite': '위성',
'map.baseLayer.hiking': '하이킹',
'map.baseLayer.hikingDown':
'OpenHikingMap이 지금 응답하지 않습니다. 다른 지도로 전환하세요. 투어는 그대로 유지됩니다.',
'map.baseLayer.cycle': '자전거',
'map.baseLayer.cycleDown': 'CyclOSM이 지금 응답하지 않습니다. 다른 지도로 바꾸세요. 투어는 그대로입니다.',
'map.baseLayer.switchToSatellite': '위성 보기로 전환',
'map.baseLayer.switchToDefault': '지도 보기로 전환',
'map.location.denied':
'위치 접근이 차단되어 있습니다. 기기 설정을 확인하세요. 설치된 앱은 브라우저와 별도의 위치 권한을 사용합니다.',
'map.location.unavailable': '현재 위치를 확인할 수 없습니다.',
'map.location.timeout': '위치를 확인하는 데 시간이 너무 오래 걸렸습니다. 하늘이 잘 보이는 곳에서 다시 시도하세요.',
'map.overview.show': '전체 여행 보기',
'map.lock.lock': '지도 보기 고정',
'map.lock.unlock': '선택 항목에 따라 지도 이동',
'map.overview.hide': '전체 여행 숨기기',
'map.overview.total': '총 거리',
'map.attribution': '지도 출처',
'map.overview.unrouted': '{count}개 구간의 경로를 계산할 수 없어 거리가 불완전합니다.',
'map.overview.dayUnrouted': '이 날의 {count}개 구간 경로를 계산할 수 없습니다',
'map.baseLayer.topo': '지형도',
'map.webgl2.fallback': '이 브라우저는 GL 지도에 필요한 WebGL2를 지원하지 않아 지도를 Leaflet으로 표시합니다.',
'map.webgl2.terrain': '3D에는 WebGL2가 필요하지만 이 브라우저는 지원하지 않습니다. 지도는 2D로 유지됩니다.',
};
export default map;