mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-21 11:36:05 +00:00
b07b38b5b7
Offline, a Mapbox map, another OpenFreeMap style or a raster template the device cannot serve now switches to the stored OpenFreeMap basemap, light or dark with the colour scheme, keeping every marker, route and track, with a small Offline map pill. It switches back once the connection returns. "Prepare for offline" stores that basemap's region for every trip, whatever the provider, and both styles' sprites and glyphs, including the scripts a trip in East or South Asia labels its places in. The vector prefetch keeps to OpenFreeMap's download rules (four requests at a time, 50 MB per run), raster tiles are no longer prefetched from OpenStreetMap's own servers, which their policy forbids, nor inside the iOS app, which has no service worker to serve them.
47 lines
4.3 KiB
TypeScript
47 lines
4.3 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.distanceAtLeast': 'อย่างน้อย {distance}',
|
|
'map.overview.notRouted': 'ยังไม่ได้คำนวณเส้นทาง',
|
|
'map.overview.unrouted': 'มี {count} ช่วงที่คำนวณเส้นทางไม่ได้ ระยะทางจึงไม่ครบถ้วน',
|
|
'map.overview.dayUnrouted': 'มี {count} ช่วงของวันนี้ที่คำนวณเส้นทางไม่ได้',
|
|
'map.baseLayer.topo': 'ภูมิประเทศ',
|
|
'map.webgl2.fallback': 'เบราว์เซอร์นี้ไม่รองรับ WebGL2 ที่แผนที่ GL ต้องใช้ จึงแสดงแผนที่ด้วย Leaflet แทน',
|
|
'map.webgl2.terrain': 'โหมด 3D ต้องใช้ WebGL2 ซึ่งเบราว์เซอร์นี้ไม่รองรับ แผนที่จึงยังคงเป็น 2D',
|
|
'map.offlineBasemap': 'แผนที่ออฟไลน์',
|
|
};
|
|
export default map;
|