mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-29 08:00:06 +00:00
dec6babe1d
WKWebView runs no service worker for a self-hosted server, so on iOS nothing kept a map tile once it scrolled away. Binaries with the tileCache feature answer a trek-tile:// scheme from a store on disk: a tile viewed once is served from there for up to 30 days (Mapbox's limit for a device cache, applied to every provider), then fetched anew; the store keeps under 250 MB, dropping the least recently used tiles first, sends a unique app User-Agent, and never prefetches. Mapbox's own resources (style, tiles, glyphs, sprites) and Leaflet's raster tiles go through it, telemetry never does. Offline, a Mapbox map in such an app now stays Mapbox where it was viewed, and the pill offers the stored trip region instead. The offline settings show what the store takes against its limit, with a way to empty it.
58 lines
3.0 KiB
TypeScript
58 lines
3.0 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
||
|
||
const map: TranslationStrings = {
|
||
'map.connections': 'Bağlantılar',
|
||
'map.showConnections': 'Rezervasiya marşrutlarını göstər',
|
||
'map.hideConnections': 'Rezervasiya marşrutlarını gizlət',
|
||
|
||
'poi.searchThisArea': 'Bu ərazidə axtar',
|
||
'poi.cat.restaurants': 'Restoranlar',
|
||
'poi.cat.cafes': 'Kafelər',
|
||
'poi.cat.bars': 'Barlar və gecə həyatı',
|
||
'poi.cat.hotels': 'Yaşayış yerləri',
|
||
'poi.cat.sights': 'Görməli yerlər',
|
||
'poi.cat.museums': 'Muzeylər və mədəniyyət',
|
||
'poi.cat.nature': 'Təbiət və parklar',
|
||
'poi.cat.activities': 'Fəaliyyətlər',
|
||
'poi.pluginCategories': 'Plaginlərdən gələn kateqoriyalar',
|
||
|
||
'map.showAllConnections': 'Bütün rezervasiya marşrutlarını göstər',
|
||
'map.hideAllConnections': 'Bütün rezervasiya marşrutlarını gizlət',
|
||
|
||
'map.baseLayer.default': 'Xəritə',
|
||
'map.baseLayer.satellite': 'Peyk',
|
||
'map.baseLayer.hiking': 'Gəzinti',
|
||
'map.baseLayer.hikingDown': 'OpenHikingMap hazırda cavab vermir. Başqa xəritəyə keçin; turunuz olduğu kimi qalır.',
|
||
'map.baseLayer.cycle': 'Velosiped',
|
||
'map.baseLayer.cycleDown': 'CyclOSM hazırda cavab vermir. Başqa xəritəyə keç; turun olduğu kimi qalır.',
|
||
'map.baseLayer.switchToSatellite': 'Peyk görünüşünə keç',
|
||
'map.baseLayer.switchToDefault': 'Xəritə görünüşünə keç',
|
||
|
||
'map.location.denied':
|
||
'Məkan məlumatlarına giriş bloklanıb. Cihazınızın tənzimləmələrini yoxlayın; quraşdırılmış tətbiqin brauzerdən ayrı məkan icazəsi var.',
|
||
'map.location.unavailable': 'Mövcud yerinizi müəyyən etmək mümkün olmadı.',
|
||
'map.location.timeout':
|
||
'Məkanınızı müəyyən etmək çox vaxt apardı. Səmanın daha açıq göründüyü yerdə yenidən cəhd edin.',
|
||
|
||
'map.overview.show': 'Bütün səyahəti göstər',
|
||
'map.lock.lock': 'Xəritə görünüşünü kilidlə',
|
||
'map.lock.unlock': 'Xəritə seçimi izləsin',
|
||
'map.overview.hide': 'Bütün səyahəti gizlət',
|
||
'map.overview.total': 'Ümumi məsafə',
|
||
'map.attribution': 'Xəritə mənbələri',
|
||
'map.overview.distanceAtLeast': 'ən azı {distance}',
|
||
'map.overview.notRouted': 'marşrut hesablanmayıb',
|
||
'map.overview.unrouted': '{count} marşrut hissəsini hesablamaq mümkün olmadığından məsafələr tam deyil.',
|
||
'map.overview.unrouted.one': '{count} marşrut hissəsini hesablamaq mümkün olmadığından məsafələr tam deyil.',
|
||
'map.overview.dayUnrouted': 'Bu günün {count} marşrut hissəsini hesablamaq mümkün olmadı',
|
||
'map.overview.dayUnrouted.one': 'Bu günün {count} marşrut hissəsini hesablamaq mümkün olmadı',
|
||
'map.baseLayer.topo': 'Topoqrafik',
|
||
'map.webgl2.fallback':
|
||
'Bu brauzer GL xəritələrinin ehtiyac duyduğu WebGL2-ni təqdim etmir, ona görə xəritələr Leaflet ilə göstərilir.',
|
||
'map.webgl2.terrain': '3D üçün WebGL2 lazımdır, bu brauzer isə onu təqdim etmir. Xəritə 2D olaraq qalır.',
|
||
'map.offlineBasemap': 'Oflayn xəritə',
|
||
'map.offlineShowStored': 'Oflayn xəritəni göstər',
|
||
};
|
||
|
||
export default map;
|