mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-29 16:10:07 +00:00
82165855c7
- A list keeps its own order: drag a place by its grip (desktop and phone) or move it with the arrow keys. Reordering is off while a search or filter hides places and the list says why. New PUT /collections/:id/places/reorder and the MCP tool reorder_collection_places; new places go to the end. Client and server now order ties the same way (sort_order, oldest first, id). - Copying saved places into a trip no longer takes their notes and tags along unasked. The picker offers both; a tag taken along becomes a trip tag (a trip tag of the same name is reused), never someone's personal tag. - The source trip and place a saved place names are only kept when the user can open that trip and the place belongs to it. - A KML or KMZ map can be read into a list: the dialog lists every placemark to keep or leave out and says which entries were skipped and why (POST /collections/map/read writes nothing; the import does). - A saved place without coordinates says so and can be looked up on the map from its edit form, on the phone too, where a missing position could not be added at all. A typed address without a pick says it will not be on the map. - The trip map can show the place names beside the pins (desktop and phone, both renderers). Names that would cover another pin or a control give way, the selected place and the planned stops first.
57 lines
3.2 KiB
TypeScript
57 lines
3.2 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const map: TranslationStrings = {
|
|
'map.connections': 'Spojenia',
|
|
'map.showConnections': 'Zobraziť trasy rezervácií',
|
|
'map.hideConnections': 'Skryť trasy rezervácií',
|
|
'poi.searchThisArea': 'Hľadať v tejto oblasti',
|
|
'poi.cat.restaurants': 'Reštaurácie',
|
|
'poi.cat.cafes': 'Kaviarne',
|
|
'poi.cat.bars': 'Bary a nočný život',
|
|
'poi.cat.hotels': 'Ubytovanie',
|
|
'poi.cat.sights': 'Pamiatky',
|
|
'poi.cat.museums': 'Múzeá a kultúra',
|
|
'poi.cat.nature': 'Príroda a parky',
|
|
'poi.cat.activities': 'Aktivity',
|
|
'poi.cat.bakeries': 'Pekárne',
|
|
'poi.cat.groceries': 'Potraviny',
|
|
'poi.pluginCategories': 'Kategórie z pluginov',
|
|
'map.showAllConnections': 'Zobraziť všetky trasy rezervácií',
|
|
'map.hideAllConnections': 'Skryť všetky trasy rezervácií',
|
|
'map.baseLayer.default': 'Mapa',
|
|
'map.baseLayer.satellite': 'Satelit',
|
|
'map.baseLayer.hiking': 'Turistika',
|
|
'map.baseLayer.hikingDown': 'OpenHikingMap teraz neodpovedá. Prepni na inú mapu, tvoja túra zostane bez zmeny.',
|
|
'map.baseLayer.cycle': 'Cyklo',
|
|
'map.baseLayer.cycleDown': 'CyclOSM teraz neodpovedá. Prepni na inú mapu, tvoja túra zostáva bez zmeny.',
|
|
'map.baseLayer.switchToSatellite': 'Prepnúť na satelitné zobrazenie',
|
|
'map.baseLayer.switchToDefault': 'Prepnúť na mapové zobrazenie',
|
|
'map.location.denied':
|
|
'Prístup k polohe je zablokovaný. Skontrolujte nastavenia zariadenia; nainštalovaná aplikácia má vlastné oprávnenie na polohu, nezávislé od prehliadača.',
|
|
'map.location.unavailable': 'Vašu polohu sa nepodarilo zistiť.',
|
|
'map.location.timeout': 'Zisťovanie polohy trvalo príliš dlho. Skúste to znova s voľným výhľadom na oblohu.',
|
|
'map.placeNames.show': 'Zobraziť názvy miest',
|
|
'map.placeNames.hide': 'Skryť názvy miest',
|
|
'map.overview.show': 'Zobraziť celú cestu',
|
|
'map.lock.lock': 'Uzamknúť zobrazenie mapy',
|
|
'map.lock.unlock': 'Nechať mapu sledovať výber',
|
|
'map.overview.hide': 'Skryť celú cestu',
|
|
'map.overview.total': 'Celková vzdialenosť',
|
|
'map.attribution': 'Zdroje mapy',
|
|
'map.overview.distanceAtLeast': 'najmenej {distance}',
|
|
'map.overview.notRouted': 'trasa nevypočítaná',
|
|
'map.overview.unrouted': 'Trasu pre {count} úsekov sa nepodarilo vypočítať, takže vzdialenosti sú neúplné.',
|
|
'map.overview.unrouted.one': 'Trasu pre {count} úsek sa nepodarilo vypočítať, takže vzdialenosti sú neúplné.',
|
|
'map.overview.unrouted.few': 'Trasu pre {count} úseky sa nepodarilo vypočítať, takže vzdialenosti sú neúplné.',
|
|
'map.overview.dayUnrouted': 'Trasu pre {count} úsekov tohto dňa sa nepodarilo vypočítať',
|
|
'map.overview.dayUnrouted.one': 'Trasu pre {count} úsek tohto dňa sa nepodarilo vypočítať',
|
|
'map.overview.dayUnrouted.few': 'Trasu pre {count} úseky tohto dňa sa nepodarilo vypočítať',
|
|
'map.baseLayer.topo': 'Topografická',
|
|
'map.webgl2.fallback':
|
|
'Tento prehliadač neponúka WebGL2, ktoré mapy GL potrebujú, preto sa mapy zobrazujú pomocou Leafletu.',
|
|
'map.webgl2.terrain': '3D potrebuje WebGL2, ktoré tento prehliadač neponúka. Mapa zostáva v 2D.',
|
|
'map.offlineBasemap': 'Offline mapa',
|
|
'map.offlineShowStored': 'Zobraziť offline mapu',
|
|
};
|
|
export default map;
|