@mountaya/studio 0.0.0-stage → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (521) hide show
  1. package/CHANGELOG.md +69 -0
  2. package/LICENCE.fr.txt +280 -0
  3. package/LICENSE.txt +262 -0
  4. package/README.md +917 -2
  5. package/dist/agent/index.cjs +2600 -0
  6. package/dist/agent/index.cjs.map +1 -0
  7. package/dist/agent/index.d.cts +1237 -0
  8. package/dist/agent/index.d.ts +1237 -0
  9. package/dist/agent/index.js +2581 -0
  10. package/dist/agent/index.js.map +1 -0
  11. package/dist/chunk-3Oi_Zrtm.js +9 -0
  12. package/dist/chunk-3Oi_Zrtm.js.map +1 -0
  13. package/dist/chunk-B18OPIu_.js +6 -0
  14. package/dist/chunk-B18OPIu_.js.map +1 -0
  15. package/dist/chunk-B5Uz3Qct.cjs +15 -0
  16. package/dist/chunk-B5Uz3Qct.cjs.map +1 -0
  17. package/dist/chunk-BBEJwkd3.d.cts +839 -0
  18. package/dist/chunk-BIEc_SkR.cjs +29 -0
  19. package/dist/chunk-BIEc_SkR.cjs.map +1 -0
  20. package/dist/chunk-BKMFOe-N.js +171 -0
  21. package/dist/chunk-BKMFOe-N.js.map +1 -0
  22. package/dist/chunk-BP4uy7E1.d.ts +11583 -0
  23. package/dist/chunk-BSHTsFiB.js +1403 -0
  24. package/dist/chunk-BSHTsFiB.js.map +1 -0
  25. package/dist/chunk-BTUUABGI.js +17 -0
  26. package/dist/chunk-BTUUABGI.js.map +1 -0
  27. package/dist/chunk-BaPiaz5X.cjs +115 -0
  28. package/dist/chunk-BaPiaz5X.cjs.map +1 -0
  29. package/dist/chunk-BeCVpkYr.cjs +542 -0
  30. package/dist/chunk-BeCVpkYr.cjs.map +1 -0
  31. package/dist/chunk-BgngsvK8.cjs +6202 -0
  32. package/dist/chunk-BgngsvK8.cjs.map +1 -0
  33. package/dist/chunk-BhInd7CJ.d.cts +253 -0
  34. package/dist/chunk-Bn6ZbxkS.cjs +27 -0
  35. package/dist/chunk-By9ZnkVI.js +60 -0
  36. package/dist/chunk-By9ZnkVI.js.map +1 -0
  37. package/dist/chunk-BzqPhxsz.cjs +367 -0
  38. package/dist/chunk-BzqPhxsz.cjs.map +1 -0
  39. package/dist/chunk-C2mMX81q.d.ts +443 -0
  40. package/dist/chunk-C2rr9Q0V.cjs +1402 -0
  41. package/dist/chunk-C2rr9Q0V.cjs.map +1 -0
  42. package/dist/chunk-CDJCbwIQ.d.cts +78 -0
  43. package/dist/chunk-CLGvBOVH.d.cts +1654 -0
  44. package/dist/chunk-COdw1dc6.d.ts +525 -0
  45. package/dist/chunk-CQCJnT2i.d.ts +511 -0
  46. package/dist/chunk-CSyHY67q.cjs +353 -0
  47. package/dist/chunk-CSyHY67q.cjs.map +1 -0
  48. package/dist/chunk-CiK1Iqrv.js +950 -0
  49. package/dist/chunk-CiK1Iqrv.js.map +1 -0
  50. package/dist/chunk-CmJBgSwZ.cjs +24 -0
  51. package/dist/chunk-CmJBgSwZ.cjs.map +1 -0
  52. package/dist/chunk-CnrsRK2u.cjs +83 -0
  53. package/dist/chunk-CnrsRK2u.cjs.map +1 -0
  54. package/dist/chunk-Co782_9r.js +326 -0
  55. package/dist/chunk-Co782_9r.js.map +1 -0
  56. package/dist/chunk-Csr3KDpZ.cjs +32 -0
  57. package/dist/chunk-Csr3KDpZ.cjs.map +1 -0
  58. package/dist/chunk-CwkmccXv.js +89 -0
  59. package/dist/chunk-CwkmccXv.js.map +1 -0
  60. package/dist/chunk-D0Q4iL9B.cjs +255 -0
  61. package/dist/chunk-D0Q4iL9B.cjs.map +1 -0
  62. package/dist/chunk-DFwiSzUS.cjs +72 -0
  63. package/dist/chunk-DFwiSzUS.cjs.map +1 -0
  64. package/dist/chunk-DIFayl2P.d.cts +443 -0
  65. package/dist/chunk-DIGF58ux.d.cts +525 -0
  66. package/dist/chunk-DKuuuld5.js +101 -0
  67. package/dist/chunk-DKuuuld5.js.map +1 -0
  68. package/dist/chunk-DMePkFEo.js +5054 -0
  69. package/dist/chunk-DMePkFEo.js.map +1 -0
  70. package/dist/chunk-DO5SIBgu.js +305 -0
  71. package/dist/chunk-DO5SIBgu.js.map +1 -0
  72. package/dist/chunk-DOQ_7eE5.d.ts +6662 -0
  73. package/dist/chunk-DThaaNeb.d.cts +15 -0
  74. package/dist/chunk-DThaaNeb.d.ts +15 -0
  75. package/dist/chunk-DUQzjUJy.d.ts +78 -0
  76. package/dist/chunk-DX37IPhV.cjs +1903 -0
  77. package/dist/chunk-DX37IPhV.cjs.map +1 -0
  78. package/dist/chunk-Damps5Tk.cjs +155 -0
  79. package/dist/chunk-Damps5Tk.cjs.map +1 -0
  80. package/dist/chunk-DbK5PhpJ.d.ts +1654 -0
  81. package/dist/chunk-De0vAASv.d.ts +253 -0
  82. package/dist/chunk-DhSZ7YZt.d.cts +6662 -0
  83. package/dist/chunk-DjEvqvPA.cjs +43 -0
  84. package/dist/chunk-DjEvqvPA.cjs.map +1 -0
  85. package/dist/chunk-DkwDzwvu.d.cts +121 -0
  86. package/dist/chunk-DkwDzwvu.d.ts +121 -0
  87. package/dist/chunk-Dmszv9If.js +71 -0
  88. package/dist/chunk-Dmszv9If.js.map +1 -0
  89. package/dist/chunk-Dp_ftNWY.d.cts +511 -0
  90. package/dist/chunk-DsHQySz0.js +31 -0
  91. package/dist/chunk-DsHQySz0.js.map +1 -0
  92. package/dist/chunk-DwoUyHHh.js +281 -0
  93. package/dist/chunk-DwoUyHHh.js.map +1 -0
  94. package/dist/chunk-IaIDQflj.d.cts +2315 -0
  95. package/dist/chunk-IaIDQflj.d.ts +2315 -0
  96. package/dist/chunk-cVXLsZfL.d.ts +839 -0
  97. package/dist/chunk-mIaCX9EJ.d.cts +11583 -0
  98. package/dist/chunk-nJQxbOwQ.cjs +8962 -0
  99. package/dist/chunk-nJQxbOwQ.cjs.map +1 -0
  100. package/dist/chunk-o9jaxhCO.js +8852 -0
  101. package/dist/chunk-o9jaxhCO.js.map +1 -0
  102. package/dist/chunk-p-Tt_Lwz.js +14 -0
  103. package/dist/chunk-p-Tt_Lwz.js.map +1 -0
  104. package/dist/engines/index.cjs +2091 -0
  105. package/dist/engines/index.cjs.map +1 -0
  106. package/dist/engines/index.d.cts +2176 -0
  107. package/dist/engines/index.d.ts +2176 -0
  108. package/dist/engines/index.js +2075 -0
  109. package/dist/engines/index.js.map +1 -0
  110. package/dist/handlers/index.cjs +53 -0
  111. package/dist/handlers/index.cjs.map +1 -0
  112. package/dist/handlers/index.d.cts +403 -0
  113. package/dist/handlers/index.d.ts +403 -0
  114. package/dist/handlers/index.js +33 -0
  115. package/dist/handlers/index.js.map +1 -0
  116. package/dist/index.cjs +3511 -0
  117. package/dist/index.cjs.map +1 -0
  118. package/dist/index.d.cts +8 -0
  119. package/dist/index.d.ts +8 -0
  120. package/dist/index.js +3033 -0
  121. package/dist/index.js.map +1 -0
  122. package/dist/plugins/index.cjs +510 -0
  123. package/dist/plugins/index.cjs.map +1 -0
  124. package/dist/plugins/index.d.cts +296 -0
  125. package/dist/plugins/index.d.ts +296 -0
  126. package/dist/plugins/index.js +489 -0
  127. package/dist/plugins/index.js.map +1 -0
  128. package/dist/seams/index.cjs +89 -0
  129. package/dist/seams/index.cjs.map +1 -0
  130. package/dist/seams/index.d.cts +452 -0
  131. package/dist/seams/index.d.ts +452 -0
  132. package/dist/seams/index.js +49 -0
  133. package/dist/seams/index.js.map +1 -0
  134. package/dist/strings/fr/index.cjs +2135 -0
  135. package/dist/strings/fr/index.cjs.map +1 -0
  136. package/dist/strings/fr/index.d.cts +17 -0
  137. package/dist/strings/fr/index.d.ts +17 -0
  138. package/dist/strings/fr/index.js +2130 -0
  139. package/dist/strings/fr/index.js.map +1 -0
  140. package/dist/strings/index.cjs +2384 -0
  141. package/dist/strings/index.cjs.map +1 -0
  142. package/dist/strings/index.d.cts +3 -0
  143. package/dist/strings/index.d.ts +3 -0
  144. package/dist/strings/index.js +2353 -0
  145. package/dist/strings/index.js.map +1 -0
  146. package/dist/testing/index.cjs +230 -0
  147. package/dist/testing/index.cjs.map +1 -0
  148. package/dist/testing/index.d.cts +246 -0
  149. package/dist/testing/index.d.ts +246 -0
  150. package/dist/testing/index.js +219 -0
  151. package/dist/testing/index.js.map +1 -0
  152. package/dist/time/index.cjs +28 -0
  153. package/dist/time/index.cjs.map +1 -0
  154. package/dist/time/index.d.cts +41 -0
  155. package/dist/time/index.d.ts +41 -0
  156. package/dist/time/index.js +23 -0
  157. package/dist/time/index.js.map +1 -0
  158. package/package.json +224 -4
  159. package/src/agent/engines/agentThreads.ts +1601 -0
  160. package/src/agent/engines/directorChat.ts +500 -0
  161. package/src/agent/index.ts +67 -0
  162. package/src/agent/rules/agentEditLock.ts +115 -0
  163. package/src/agent/rules/agentErrorCopy.ts +44 -0
  164. package/src/agent/rules/copilotOrganization.ts +36 -0
  165. package/src/agent/rules/playbook.gen.ts +444 -0
  166. package/src/agent/rules/router.ts +518 -0
  167. package/src/agent/rules/stateDelta.ts +29 -0
  168. package/src/agent/rules/studioRouter.ts +123 -0
  169. package/src/agent/rules/surfaces.gen.ts +633 -0
  170. package/src/agent/rules/threadsUrl.ts +48 -0
  171. package/src/agent/rules/transcriptObserver.ts +90 -0
  172. package/src/agent/stores/agentThreads.ts +451 -0
  173. package/src/bus/contracts/noData.ts +18 -0
  174. package/src/bus/contracts/shared.ts +172 -0
  175. package/src/bus/contracts/studioTools.ts +224 -0
  176. package/src/bus/rules/bus.ts +857 -0
  177. package/src/bus/rules/confirmation.ts +22 -0
  178. package/src/bus/rules/defineRegistry.ts +24 -0
  179. package/src/bus/rules/errors.ts +401 -0
  180. package/src/bus/rules/handlerErrors.ts +103 -0
  181. package/src/bus/rules/handlerRegistry.ts +627 -0
  182. package/src/bus/rules/inputSchema.ts +232 -0
  183. package/src/bus/rules/invalidInput.ts +441 -0
  184. package/src/bus/rules/lateBoundTools.ts +100 -0
  185. package/src/bus/rules/studioRegistry.ts +324 -0
  186. package/src/bus/rules/studioToolBus.ts +73 -0
  187. package/src/bus/rules/types.ts +804 -0
  188. package/src/chrome/contracts/alert.ts +42 -0
  189. package/src/chrome/contracts/itinerary.ts +26 -0
  190. package/src/chrome/contracts/map.ts +23 -0
  191. package/src/chrome/contracts/overlay.ts +46 -0
  192. package/src/chrome/contracts/panel.ts +29 -0
  193. package/src/chrome/contracts/question.ts +52 -0
  194. package/src/chrome/contracts/selection.ts +26 -0
  195. package/src/chrome/contracts/sidenav.ts +23 -0
  196. package/src/chrome/contracts/snapshot.ts +319 -0
  197. package/src/chrome/contracts/state.ts +22 -0
  198. package/src/chrome/contracts/tabs.ts +56 -0
  199. package/src/chrome/handlers/alert.ts +91 -0
  200. package/src/chrome/handlers/introspection.ts +180 -0
  201. package/src/chrome/handlers/panels.ts +42 -0
  202. package/src/chrome/handlers/question.ts +24 -0
  203. package/src/chrome/handlers/sidenav.ts +116 -0
  204. package/src/chrome/handlers/snapshot.ts +451 -0
  205. package/src/chrome/handlers/stateDelta.ts +125 -0
  206. package/src/chrome/handlers/tabs.ts +143 -0
  207. package/src/chrome/handlers/timestamp.ts +19 -0
  208. package/src/chrome/rules/agentSelectors.ts +210 -0
  209. package/src/chrome/rules/mapAlert.ts +13 -0
  210. package/src/chrome/rules/question.ts +25 -0
  211. package/src/chrome/rules/tabs.ts +13 -0
  212. package/src/chrome/stores/activeDraftSession.ts +134 -0
  213. package/src/chrome/stores/chrome.ts +527 -0
  214. package/src/chrome/stores/uiStore.ts +575 -0
  215. package/src/collab/contracts/collab.ts +261 -0
  216. package/src/collab/handlers/collab.ts +468 -0
  217. package/src/collab/rules/toolNames.ts +33 -0
  218. package/src/collab/stores/collab.ts +899 -0
  219. package/src/collections/contracts/collection.ts +182 -0
  220. package/src/collections/handlers/collectionAttach.ts +141 -0
  221. package/src/collections/handlers/collections.ts +499 -0
  222. package/src/collections/handlers/heldCollection.ts +42 -0
  223. package/src/collections/handlers/restCollections.ts +386 -0
  224. package/src/collections/rules/collections.ts +138 -0
  225. package/src/collections/rules/entityCollections.ts +53 -0
  226. package/src/collections/stores/collections.ts +133 -0
  227. package/src/data/contracts/data.ts +233 -0
  228. package/src/data/contracts/itinerary.ts +71 -0
  229. package/src/data/handlers/activityResolve.ts +76 -0
  230. package/src/data/handlers/data.ts +200 -0
  231. package/src/data/handlers/graphql.ts +26 -0
  232. package/src/data/handlers/mutationSink.ts +1577 -0
  233. package/src/data/handlers/profile.ts +83 -0
  234. package/src/data/handlers/writeThrough.ts +417 -0
  235. package/src/data/rules/cache.ts +181 -0
  236. package/src/data/rules/dataTypes.ts +40 -0
  237. package/src/data/rules/keys.ts +106 -0
  238. package/src/data/rules/persistence.ts +1058 -0
  239. package/src/data/rules/requestBody.ts +43 -0
  240. package/src/data/rules/restErrors.ts +354 -0
  241. package/src/data/rules/sessionSurface.ts +156 -0
  242. package/src/data/rules/toolResultData.ts +73 -0
  243. package/src/data/rules/uuid.ts +24 -0
  244. package/src/edit/contracts/edit.ts +37 -0
  245. package/src/edit/contracts/itinerary.ts +57 -0
  246. package/src/edit/handlers/draftCommit.ts +257 -0
  247. package/src/edit/handlers/editDiscard.ts +34 -0
  248. package/src/edit/handlers/editLock.ts +949 -0
  249. package/src/edit/handlers/editor.ts +203 -0
  250. package/src/edit/handlers/formUnsaved.ts +24 -0
  251. package/src/edit/rules/draftMetadata.ts +117 -0
  252. package/src/edit/rules/editKeyboard.ts +222 -0
  253. package/src/edit/rules/editShortcuts.ts +102 -0
  254. package/src/edit/rules/editTooltip.ts +174 -0
  255. package/src/edit/rules/editorTaken.ts +49 -0
  256. package/src/edit/rules/history.ts +26 -0
  257. package/src/edit/rules/unsavedWork.ts +60 -0
  258. package/src/edit/stores/editorReservation.ts +70 -0
  259. package/src/edit/stores/formsUnsaved.ts +54 -0
  260. package/src/embed/contracts/embed.ts +48 -0
  261. package/src/embed/engines/embedFraming.ts +1329 -0
  262. package/src/embed/engines/embedReady.ts +353 -0
  263. package/src/embed/engines/framingPageSession.ts +169 -0
  264. package/src/embed/handlers/embed.ts +130 -0
  265. package/src/embed/rules/allowedDomains.ts +71 -0
  266. package/src/embed/rules/bridgeMessages.ts +224 -0
  267. package/src/embed/rules/defaults.ts +173 -0
  268. package/src/embed/rules/displaySeed.ts +115 -0
  269. package/src/embed/rules/embedAllowlist.ts +146 -0
  270. package/src/embed/rules/embedConstraints.ts +215 -0
  271. package/src/embed/rules/embedElements.ts +277 -0
  272. package/src/embed/rules/embedSectionFields.ts +126 -0
  273. package/src/embed/rules/embedSecurity.ts +116 -0
  274. package/src/embed/rules/fieldDependencies.ts +89 -0
  275. package/src/embed/rules/fieldOptions.ts +138 -0
  276. package/src/embed/rules/layerOptions.ts +161 -0
  277. package/src/embed/rules/readyProtocol.ts +66 -0
  278. package/src/embed/rules/safetyRules.ts +215 -0
  279. package/src/embed/rules/snippet.ts +531 -0
  280. package/src/embed/rules/tableCode.ts +270 -0
  281. package/src/embed/stores/embed.ts +60 -0
  282. package/src/embed/stores/embedContent.ts +77 -0
  283. package/src/engines/index.ts +81 -0
  284. package/src/handlers/index.ts +66 -0
  285. package/src/index.ts +1065 -0
  286. package/src/itinerary/contracts/itinerary.ts +705 -0
  287. package/src/itinerary/engines/itineraryPace.ts +612 -0
  288. package/src/itinerary/engines/profileMarker.ts +238 -0
  289. package/src/itinerary/handlers/importStaging.ts +352 -0
  290. package/src/itinerary/handlers/itinerary.ts +572 -0
  291. package/src/itinerary/handlers/itineraryDuplicate.ts +177 -0
  292. package/src/itinerary/handlers/itineraryExport.ts +117 -0
  293. package/src/itinerary/handlers/itineraryImport.ts +783 -0
  294. package/src/itinerary/handlers/itineraryPublish.ts +118 -0
  295. package/src/itinerary/handlers/itinerarySelection.ts +354 -0
  296. package/src/itinerary/handlers/itinerarySuggest.ts +1186 -0
  297. package/src/itinerary/handlers/itineraryUnpublish.ts +101 -0
  298. package/src/itinerary/handlers/publicationScope.ts +118 -0
  299. package/src/itinerary/handlers/restItineraries.ts +752 -0
  300. package/src/itinerary/handlers/restItineraryExport.ts +70 -0
  301. package/src/itinerary/handlers/restItineraryImport.ts +311 -0
  302. package/src/itinerary/handlers/restItineraryPace.ts +87 -0
  303. package/src/itinerary/handlers/restItineraryRecord.ts +36 -0
  304. package/src/itinerary/handlers/suggestParams.ts +379 -0
  305. package/src/itinerary/handlers/suggestStaging.ts +363 -0
  306. package/src/itinerary/handlers/surfaceOpen.ts +389 -0
  307. package/src/itinerary/rules/activity.ts +139 -0
  308. package/src/itinerary/rules/analysis.ts +42 -0
  309. package/src/itinerary/rules/ceiling.ts +49 -0
  310. package/src/itinerary/rules/createFlow.ts +107 -0
  311. package/src/itinerary/rules/densify.ts +440 -0
  312. package/src/itinerary/rules/draftSurface.ts +219 -0
  313. package/src/itinerary/rules/editorView.ts +83 -0
  314. package/src/itinerary/rules/export.ts +159 -0
  315. package/src/itinerary/rules/friendlyName.ts +77 -0
  316. package/src/itinerary/rules/import.ts +1050 -0
  317. package/src/itinerary/rules/importFiles.ts +140 -0
  318. package/src/itinerary/rules/importTotals.ts +77 -0
  319. package/src/itinerary/rules/liveSegment.ts +712 -0
  320. package/src/itinerary/rules/lngLat.ts +17 -0
  321. package/src/itinerary/rules/mapSync.ts +100 -0
  322. package/src/itinerary/rules/previewRender.ts +416 -0
  323. package/src/itinerary/rules/profileReadout.ts +216 -0
  324. package/src/itinerary/rules/routing.ts +707 -0
  325. package/src/itinerary/rules/suggest.ts +522 -0
  326. package/src/itinerary/rules/suggestionPreview.ts +119 -0
  327. package/src/itinerary/rules/view.ts +61 -0
  328. package/src/itinerary/stores/importSession.ts +319 -0
  329. package/src/itinerary/stores/itinerary.ts +331 -0
  330. package/src/itinerary/stores/itineraryDuplicate.ts +76 -0
  331. package/src/itinerary/stores/sessionIdentity.ts +43 -0
  332. package/src/itinerary/stores/suggestSession.ts +418 -0
  333. package/src/layers/contracts/itinerary.ts +46 -0
  334. package/src/layers/contracts/overlay.ts +132 -0
  335. package/src/layers/handlers/enrichment.ts +36 -0
  336. package/src/layers/handlers/overlay.ts +406 -0
  337. package/src/layers/handlers/restLayers.ts +94 -0
  338. package/src/layers/handlers/tiles.ts +25 -0
  339. package/src/layers/rules/layers.ts +212 -0
  340. package/src/layers/rules/overlayInstant.ts +12 -0
  341. package/src/layers/rules/reachabilityIcon.ts +18 -0
  342. package/src/layers/rules/readout.ts +102 -0
  343. package/src/layers/stores/layers.ts +262 -0
  344. package/src/map/contracts/contextmenu.ts +33 -0
  345. package/src/map/contracts/geolocate.ts +37 -0
  346. package/src/map/contracts/map.ts +146 -0
  347. package/src/map/contracts/streetview.ts +53 -0
  348. package/src/map/contracts/terrain.ts +152 -0
  349. package/src/map/handlers/contextMenu.ts +135 -0
  350. package/src/map/handlers/geolocate.ts +52 -0
  351. package/src/map/handlers/map.ts +391 -0
  352. package/src/map/handlers/streetview.ts +94 -0
  353. package/src/map/handlers/terrain.ts +663 -0
  354. package/src/map/rules/baseTerrain.ts +75 -0
  355. package/src/map/rules/clickTargets.ts +464 -0
  356. package/src/map/rules/constraints.ts +32 -0
  357. package/src/map/rules/contextMenuReadout.ts +67 -0
  358. package/src/map/rules/coordinates.ts +71 -0
  359. package/src/map/rules/itineraryFit.ts +8 -0
  360. package/src/map/rules/mapEvents.ts +64 -0
  361. package/src/map/rules/mapProjection.ts +476 -0
  362. package/src/map/rules/terrainReading.ts +62 -0
  363. package/src/plugins/contracts/ids.ts +66 -0
  364. package/src/plugins/contracts/plugin.ts +202 -0
  365. package/src/plugins/contracts/slots.ts +137 -0
  366. package/src/plugins/engines/studioPlugin.ts +1365 -0
  367. package/src/plugins/index.ts +111 -0
  368. package/src/plugins/rules/contributions.ts +152 -0
  369. package/src/plugins/rules/errors.ts +60 -0
  370. package/src/plugins/rules/ids.ts +42 -0
  371. package/src/plugins/rules/validation.ts +249 -0
  372. package/src/rules/listeners.ts +57 -0
  373. package/src/rules/origin.ts +13 -0
  374. package/src/rules/storeWrite.ts +37 -0
  375. package/src/rules/types.ts +136 -0
  376. package/src/seams/index.ts +79 -0
  377. package/src/seams/rules/clock.ts +28 -0
  378. package/src/seams/rules/formatters.ts +211 -0
  379. package/src/seams/rules/ids.ts +102 -0
  380. package/src/seams/rules/links.ts +66 -0
  381. package/src/seams/rules/navigation.ts +222 -0
  382. package/src/seams/rules/notify.ts +49 -0
  383. package/src/seams/rules/persistenceDrawer.ts +220 -0
  384. package/src/seams/rules/saveFile.ts +101 -0
  385. package/src/seams/rules/seams.ts +156 -0
  386. package/src/seams/rules/storage.ts +116 -0
  387. package/src/search/contracts/overlay.ts +74 -0
  388. package/src/search/contracts/search.ts +197 -0
  389. package/src/search/handlers/pois.ts +57 -0
  390. package/src/search/handlers/search.ts +280 -0
  391. package/src/search/rules/params.ts +925 -0
  392. package/src/search/rules/poiGroups.ts +138 -0
  393. package/src/search/rules/searchFetch.ts +139 -0
  394. package/src/search/rules/timeWindow.ts +30 -0
  395. package/src/search/stores/search.ts +51 -0
  396. package/src/segments/contracts/itinerary.ts +433 -0
  397. package/src/segments/contracts/segment.ts +35 -0
  398. package/src/segments/engines/segmentDraft.ts +926 -0
  399. package/src/segments/handlers/chainGuards.ts +67 -0
  400. package/src/segments/handlers/directions.ts +44 -0
  401. package/src/segments/handlers/itineraryEcho.ts +45 -0
  402. package/src/segments/handlers/roadAccessDialog.ts +34 -0
  403. package/src/segments/handlers/segment.ts +111 -0
  404. package/src/segments/handlers/segmentEdit.ts +1341 -0
  405. package/src/segments/handlers/segmentGroups.ts +347 -0
  406. package/src/segments/handlers/segmentStructure.ts +1144 -0
  407. package/src/segments/rules/chain.ts +196 -0
  408. package/src/segments/rules/chainModel.ts +217 -0
  409. package/src/segments/rules/colors.ts +11 -0
  410. package/src/segments/rules/commit.ts +76 -0
  411. package/src/segments/rules/draft.ts +90 -0
  412. package/src/segments/rules/draftDisposition.ts +43 -0
  413. package/src/segments/rules/draftSegmentEdit.ts +129 -0
  414. package/src/segments/rules/engine.ts +222 -0
  415. package/src/segments/rules/groupSave.ts +234 -0
  416. package/src/segments/rules/hazardPrompt.ts +60 -0
  417. package/src/segments/rules/itineraryEcho.ts +40 -0
  418. package/src/segments/rules/liveSegmentProjection.ts +55 -0
  419. package/src/segments/rules/merge.ts +51 -0
  420. package/src/segments/rules/metrics.ts +456 -0
  421. package/src/segments/rules/naming.ts +168 -0
  422. package/src/segments/rules/segmentArming.ts +144 -0
  423. package/src/segments/rules/splitPick.ts +84 -0
  424. package/src/segments/rules/viaSimplify.ts +230 -0
  425. package/src/segments/stores/directions.ts +77 -0
  426. package/src/segments/stores/roadAccessDialog.ts +58 -0
  427. package/src/segments/stores/segmentEdit.ts +922 -0
  428. package/src/segments/stores/segmentGroupEdit.ts +84 -0
  429. package/src/segments/stores/segmentSplit.ts +77 -0
  430. package/src/share/contracts/share.ts +39 -0
  431. package/src/share/contracts/shareLink.ts +63 -0
  432. package/src/share/engines/shareLink.ts +1053 -0
  433. package/src/share/handlers/share.ts +47 -0
  434. package/src/share/handlers/shareLink.ts +231 -0
  435. package/src/share/handlers/shareScope.ts +54 -0
  436. package/src/share/rules/link.ts +89 -0
  437. package/src/share/rules/shareLink.ts +218 -0
  438. package/src/share/rules/targets.ts +92 -0
  439. package/src/share/rules/viewConfig.ts +95 -0
  440. package/src/share/stores/share.ts +58 -0
  441. package/src/strings/fr/index.ts +18 -0
  442. package/src/strings/fr/rules/fr.ts +2368 -0
  443. package/src/strings/index.ts +98 -0
  444. package/src/strings/rules/confirmCopy.ts +156 -0
  445. package/src/strings/rules/draftToolNames.ts +94 -0
  446. package/src/strings/rules/en.ts +2519 -0
  447. package/src/strings/rules/failureAlert.ts +115 -0
  448. package/src/strings/rules/formError.ts +400 -0
  449. package/src/strings/rules/maneuvers.ts +107 -0
  450. package/src/strings/rules/outputOptions.ts +126 -0
  451. package/src/strings/rules/publicationState.ts +100 -0
  452. package/src/strings/rules/routeHazardCopy.ts +62 -0
  453. package/src/strings/rules/searchLabels.ts +50 -0
  454. package/src/strings/rules/segmentChainVerbs.ts +62 -0
  455. package/src/strings/rules/studioCopy.ts +130 -0
  456. package/src/strings/rules/unitOptions.ts +119 -0
  457. package/src/testing/checkedBus.ts +226 -0
  458. package/src/testing/index.ts +30 -0
  459. package/src/testing/plugins.ts +106 -0
  460. package/src/testing/studio.ts +267 -0
  461. package/src/testing/urlSeam.ts +153 -0
  462. package/src/time/index.ts +12 -0
  463. package/src/time/rules/sun.ts +78 -0
  464. package/src/video/contracts/cameraSchemas.ts +266 -0
  465. package/src/video/contracts/profileSchemas.ts +37 -0
  466. package/src/video/contracts/video.ts +601 -0
  467. package/src/video/handlers/video.ts +1638 -0
  468. package/src/video/handlers/videoDirector.ts +114 -0
  469. package/src/video/rules/previewRefresh.ts +76 -0
  470. package/src/video/rules/profileSource.ts +51 -0
  471. package/src/video/rules/routeSpans.ts +79 -0
  472. package/src/video/rules/shotDefaults.ts +28 -0
  473. package/src/video/rules/stepOrder.ts +17 -0
  474. package/src/video/rules/videoSnapshot.ts +136 -0
  475. package/src/video/stores/directorThreads.ts +167 -0
  476. package/src/video/stores/videoExport.ts +290 -0
  477. package/src/viewer/contracts/preferences.ts +40 -0
  478. package/src/viewer/handlers/preferences.ts +91 -0
  479. package/src/viewer/rules/capabilities.ts +42 -0
  480. package/src/viewer/rules/config.ts +266 -0
  481. package/src/viewer/rules/context.ts +375 -0
  482. package/src/viewer/rules/ownership.ts +134 -0
  483. package/src/viewer/rules/platformViewer.ts +199 -0
  484. package/src/viewer/rules/scope.ts +197 -0
  485. package/src/viewer/rules/url.ts +145 -0
  486. package/src/viewer/rules/viewer.ts +307 -0
  487. package/src/viewer/rules/viewerSeam.ts +49 -0
  488. package/src/viewer/rules/viewerUnits.ts +34 -0
  489. package/src/waypoints/contracts/itinerary.ts +417 -0
  490. package/src/waypoints/handlers/poiWaypointStyle.ts +32 -0
  491. package/src/waypoints/handlers/waypointDetailsDialog.ts +38 -0
  492. package/src/waypoints/handlers/waypointEdit.ts +1073 -0
  493. package/src/waypoints/rules/amenities.ts +30 -0
  494. package/src/waypoints/rules/defaults.ts +31 -0
  495. package/src/waypoints/rules/details.ts +213 -0
  496. package/src/waypoints/rules/detailsDraft.ts +312 -0
  497. package/src/waypoints/rules/detailsPreview.ts +76 -0
  498. package/src/waypoints/rules/detailsSave.ts +356 -0
  499. package/src/waypoints/rules/draftDirty.ts +45 -0
  500. package/src/waypoints/rules/icons.ts +32 -0
  501. package/src/waypoints/rules/liveWaypoint.ts +63 -0
  502. package/src/waypoints/rules/naming.ts +185 -0
  503. package/src/waypoints/rules/sections.ts +77 -0
  504. package/src/waypoints/rules/waypointDraft.ts +62 -0
  505. package/src/waypoints/stores/waypointDetails.ts +62 -0
  506. package/src/waypoints/stores/waypointEdit.ts +566 -0
  507. package/src/zones/contracts/collection.ts +37 -0
  508. package/src/zones/contracts/zone.ts +528 -0
  509. package/src/zones/engines/zoneForm.ts +1773 -0
  510. package/src/zones/handlers/restZones.ts +287 -0
  511. package/src/zones/handlers/zonePublish.ts +206 -0
  512. package/src/zones/handlers/zoneUnpublish.ts +56 -0
  513. package/src/zones/handlers/zones.ts +2254 -0
  514. package/src/zones/rules/geometry.ts +946 -0
  515. package/src/zones/rules/zoneDefaults.ts +34 -0
  516. package/src/zones/rules/zoneDraft.ts +54 -0
  517. package/src/zones/rules/zoneForm.ts +563 -0
  518. package/src/zones/rules/zoneMetadata.ts +29 -0
  519. package/src/zones/rules/zoneSource.ts +87 -0
  520. package/src/zones/rules/zoneSourceRefusal.ts +104 -0
  521. package/src/zones/stores/zoneEdit.ts +998 -0
@@ -0,0 +1,2519 @@
1
+ /**
2
+ * The studio's copy, in English, and the reference every other language is checked against.
3
+ *
4
+ * It has the shape of the elements' copy (`strings.ts` of `@mountaya/elements/i18n`), for the
5
+ * same reason: **a string that needs a value is a FUNCTION, never a template with a token.** A
6
+ * token would need an interpolator, and an interpolator is the first half of a translation
7
+ * runtime, which is exactly what a rendering package must not carry. A function needs nothing
8
+ * at all, its arguments are type-checked at the call site, and a plural rule is written in the
9
+ * language it belongs to rather than guessed by a runtime that has to be told which language it
10
+ * is in.
11
+ *
12
+ * That last point is worth more than it sounds. French counts zero as singular and English does
13
+ * not, so `search.itineraryCount(0)` is "Aucun itinéraire" here and "No itinerary" there, and
14
+ * the rule lives in each language's own file, where the person writing that language can see it.
15
+ *
16
+ * `StudioStrings` is DERIVED from this object rather than declared beside it. The whole of the
17
+ * copy cannot be mirrored by hand without going stale, and deriving means the French bundle is
18
+ * checked against the real shape: a missing key, an extra one, or an argument list that drifted
19
+ * is a compile error naming the key.
20
+ */
21
+
22
+ import type { DataSchema } from "@mountaya/client";
23
+
24
+ export const enStrings = {
25
+ /**
26
+ * The words a dialog's chrome says, and the only copy in this bundle that is not about the
27
+ * studio in particular.
28
+ *
29
+ * They are here because a consumer has no shared vocabulary of ours to reach. Declared ONCE:
30
+ * every dialog spelling its own dismiss is a copy change made once per dialog and a
31
+ * translation revision that silently misses one.
32
+ *
33
+ * `cancel` labels the transparent button beside a confirm, and `close` names the corner ✕ on
34
+ * every dialog. The section holds no word for leaving a dialog that asks nothing. A dialog
35
+ * with no action takes no action row at all, and one with an action ends on that action: a
36
+ * "Done" below a ✕ that already closes gives a reader two controls for one outcome.
37
+ */
38
+ actions: {
39
+ cancel: "Cancel",
40
+ close: "Close",
41
+ },
42
+ agentLock: {
43
+ blockedNav: "Wait for the assistant to finish before leaving.",
44
+ editingThis: "The co-pilot is editing this.\nTry again when they're done.",
45
+ layersLocked: "Layers are locked while the co-pilot works.",
46
+ preferencesLocked: "Preferences are locked while the co-pilot works.",
47
+ rowLocked: "The co-pilot is working on this itinerary.",
48
+ stop: "Stop",
49
+ },
50
+ alerts: {
51
+ geolocate_denied:
52
+ "Location access was denied. Enable it in your browser settings to use this feature.",
53
+ geolocate_unavailable: "Could not determine your location. Please try again.",
54
+ geolocate_unsupported: "This browser does not support geolocation.",
55
+ },
56
+ amenities: {
57
+ accommodation: "Accommodation",
58
+ assistance: "Personal assistance",
59
+ "cable-car": "Cable car",
60
+ camping: "Camping",
61
+ drinks: "Drinks",
62
+ "drop-bag": "Drop bag",
63
+ "first-aid": "First aid",
64
+ food: "Food",
65
+ "hot-meal": "Hot meal",
66
+ "luggage-storage": "Luggage storage",
67
+ medical: "Medical post",
68
+ "mobile-signal": "Mobile signal",
69
+ parking: "Parking",
70
+ "pet-friendly": "Pets allowed",
71
+ picnic: "Picnic area",
72
+ "power-charging": "Charging point",
73
+ "public-transport": "Public transport",
74
+ "rest-area": "Rest area",
75
+ shelter: "Shelter",
76
+ shop: "Shop",
77
+ showers: "Showers",
78
+ shuttle: "Shuttle",
79
+ snacks: "Snacks",
80
+ "timing-checkpoint": "Timing checkpoint",
81
+ toilets: "Toilets",
82
+ viewpoint: "Viewpoint",
83
+ waste: "Waste disposal",
84
+ water: "Water",
85
+ "wheelchair-access": "Wheelchair access",
86
+ wifi: "Wi-Fi",
87
+ },
88
+ amenityGroups: {
89
+ access: "Getting there",
90
+ comfort: "Comfort",
91
+ logistics: "Logistics",
92
+ safety: "Help and safety",
93
+ stay: "Staying over",
94
+ sustenance: "Food and drink",
95
+ },
96
+ collab: {
97
+ locked: "A collaborator is editing this.\nTry again when they're done.",
98
+ lockedBy: (name: string): string => `${name} is editing this.
99
+ Try again when they're done.`,
100
+ peerViewing: (name: string): string => `${name} is viewing.`,
101
+ roster: {
102
+ ariaLabel: "Collaborators",
103
+ overflow: (count: number, names: string): string =>
104
+ count === 1
105
+ ? `${count} more collaborator: ${names}`
106
+ : `${count} more collaborators: ${names}`,
107
+ unknownPeer: "Teammate",
108
+ },
109
+ },
110
+ confirm: {
111
+ confirm: "Confirm",
112
+ delete: "Delete",
113
+ deleteCollection: {
114
+ body: "Delete this collection? Only the collection is removed: the itineraries and zones inside it are not deleted, and they stay in every other collection they belong to. This cannot be undone.",
115
+ title: "Delete collection",
116
+ },
117
+ deleteCollectionAcknowledge:
118
+ "I understand this permanently deletes the collection and breaks any share link or embed that points at it.",
119
+ deleteItinerary: {
120
+ body: "Delete this itinerary? Its segments and waypoints are deleted with it, and every share link and every embed pointing at it stops showing it. This cannot be undone.",
121
+ title: "Delete itinerary",
122
+ },
123
+ deleteItineraryAcknowledge:
124
+ "I understand this permanently deletes the itinerary and all its segments and waypoints.",
125
+ deleteZone: {
126
+ body: "Delete this zone? Every collection embed and every collection share link that shows it stops showing it. This cannot be undone.",
127
+ title: "Delete zone",
128
+ },
129
+ deleteZoneAcknowledge: "I understand this permanently deletes the zone.",
130
+ merge: "Merge",
131
+ mergeSegments: {
132
+ body: (first: string, second: string): string =>
133
+ `Merge “${first}” and “${second}”? They become a single segment named “${first}”. Their via points are combined and the route is recalculated from end to end. Unlike grouping, which only presents segments together, merging removes the boundary between them for good. This cannot be undone.`,
134
+ title: "Merge segments",
135
+ },
136
+ removeSegment: {
137
+ body: "Delete this segment? It is removed from the itinerary, with the stretch of route it draws. This cannot be undone.",
138
+ title: "Delete segment",
139
+ },
140
+ removeSegmentAcknowledge: "I understand this removes the segment from the itinerary.",
141
+ removeWaypoint: {
142
+ body: "Delete this waypoint? It is removed from the itinerary, with everything it records. This cannot be undone.",
143
+ title: "Delete waypoint",
144
+ },
145
+ removeWaypointAcknowledge: "I understand this removes the waypoint from the itinerary.",
146
+ serverToolFallback: (name: string): string => `Run the “${name}” action?`,
147
+ setSegmentMode: {
148
+ body: "Change this segment's routing engine? Its line is recomputed, so its current shape and via points may change. This cannot be undone.",
149
+ confirm: "Change engine",
150
+ title: "Change routing engine",
151
+ },
152
+ split: "Split",
153
+ splitSegment: {
154
+ body: (name: string, distance: string): string =>
155
+ `Split “${name}” ${distance} from its start? It becomes two segments, and both keep the color, speed, and group of the original. This cannot be undone.`,
156
+ title: "Split segment",
157
+ },
158
+ title: "Confirm action",
159
+ unpublish: "Unpublish",
160
+ unpublishItinerary: {
161
+ body: "Unpublish this itinerary? Every share link and every embed pointing at it stops showing it. Your draft keeps all its segments, waypoints, and groups, and you can publish it again at any time.",
162
+ title: "Unpublish itinerary",
163
+ },
164
+ unpublishItineraryAcknowledge:
165
+ "I understand this stops every share link and every embed from showing this itinerary.",
166
+ unpublishZone: {
167
+ body: "Unpublish this zone? Every collection embed and every collection share link that shows it stops showing it. Your draft keeps its shape and its details, and you can publish it again at any time.",
168
+ title: "Unpublish zone",
169
+ },
170
+ unpublishZoneAcknowledge:
171
+ "I understand this stops every collection embed and every collection share link from showing this zone.",
172
+ },
173
+ content: {
174
+ backToList: "Back to itineraries",
175
+ import: {
176
+ description: "Turn a recorded track into an itinerary you can edit.",
177
+ title: "Import an itinerary",
178
+ },
179
+ suggest: {
180
+ description:
181
+ "Set an activity, a distance, and an ascent, and we'll draft itineraries that match.",
182
+ title: "Suggest itineraries",
183
+ },
184
+ },
185
+ contextmenu: {
186
+ addPoiWaypoint: "Add POI to waypoints",
187
+ coordinates: "Coordinates",
188
+ copied: "Copied",
189
+ copyCoordinates: "Copy coordinates",
190
+ createWaypoint: "Create waypoint here",
191
+ createWaypointFailed: "This waypoint could not be created.",
192
+ googleMaps: "Open in Google Maps",
193
+ overlayRange: (min: string, max: string): string => `Between ${min} and ${max}`,
194
+ overlayTime: "As of",
195
+ reachability: "Reachability from here",
196
+ reachabilityFailed: "The zone editor could not be opened.",
197
+ streetview: "Open in Street View",
198
+ zoneLabel: "Zone",
199
+ zoneWindowFrom: (start: string): string => `Active from ${start}`,
200
+ zoneWindowRange: (start: string, end: string): string => `Active ${start} to ${end}`,
201
+ zoneWindowUntil: (end: string): string => `Active until ${end}`,
202
+ /** Where the map is too far out for a right-click to name a precise place. */
203
+ zoomInForDetails: "Zoom in to see more details.",
204
+ },
205
+ controls: {
206
+ layers: "Layers",
207
+ pois: {
208
+ categories: "Categories",
209
+ displayOnMap: "Display on map",
210
+ /** Shown over a map whose POI filters hide points a reader may be looking for. */
211
+ filterWarning:
212
+ "Some POI filters are on, so some points are hidden. Adjust them in this menu.",
213
+ groups: {
214
+ food: "Food & drink",
215
+ health: "Health",
216
+ lodging: "Lodging",
217
+ parking: "Parking",
218
+ toilets: "Toilets",
219
+ viewpoints: "Viewpoints",
220
+ water: "Water",
221
+ },
222
+ status: {
223
+ all: "All",
224
+ none: "None",
225
+ some: "Filtered",
226
+ },
227
+ title: "Points of Interest",
228
+ },
229
+ tooltip: {
230
+ poisDescription: "Show huts, water, shelter and more.",
231
+ poisTitle: "Public POIs",
232
+ },
233
+ },
234
+ copilot: {
235
+ close: "Close the co-pilot",
236
+ closeLocked: "The co-pilot is working. Closing would hide the Stop control.",
237
+ errorNoAccess:
238
+ "The co-pilot is available to editors of this organization. Ask an owner or admin for a non-viewer role.",
239
+ errorNoResource: "Open an itinerary or zone to use the co-pilot.",
240
+ errorNotConfigured: "This organization has no AI provider configured yet.",
241
+ /**
242
+ * What a message sent from a personal itinerary or zone is answered with. A co-pilot run
243
+ * belongs to an organization, which brings the AI provider it runs on, so a resource in the
244
+ * personal space has no run to open, and `errorNoResource` would tell its reader to open the
245
+ * very thing they have open.
246
+ */
247
+ errorPersonalResource:
248
+ "The co-pilot works on itineraries and zones that belong to an organization, not on those in your personal space.",
249
+ itinerary: {
250
+ placeholder: "Add 300 m of ascent and show the hillshade",
251
+ },
252
+ noAccess: {
253
+ body: "The co-pilot edits the map for you, so it is available to members with an editor role (owner, admin, or contributor) in this organization.",
254
+ headline: "Co-pilot needs edit access",
255
+ },
256
+ noResource: {
257
+ body: "Open an itinerary or zone, then ask the co-pilot to draft, refine, or adapt it.",
258
+ headline: "Open a resource to begin",
259
+ },
260
+ open: "Ask the co-pilot",
261
+ /**
262
+ * The body the co-pilot shows over a personal itinerary or zone, for the reason
263
+ * `errorPersonalResource` gives: `noResource` asks for something to be opened, and here
264
+ * something is.
265
+ */
266
+ personalResource: {
267
+ body: "The co-pilot works on itineraries and zones that belong to an organization, not on those in your personal space.",
268
+ headline: "Co-pilot needs an organization",
269
+ },
270
+ setup: {
271
+ askAdmin: "Ask an owner or admin of this organization to add an AI provider.",
272
+ body: "This organization brings its own AI provider credentials to power the co-pilot. Add a provider to get started.",
273
+ configure: "Configure AI provider",
274
+ headline: "Set up the co-pilot",
275
+ },
276
+ /** What a viewer the co-pilot is withheld from reads where a host draws nothing of its own. */
277
+ withheld: "The co-pilot is not part of your agreement.",
278
+ zone: {
279
+ placeholder: "Show the area reachable in 30 min on foot",
280
+ },
281
+ },
282
+ director: {
283
+ activity: "Directing the camera…",
284
+ directing: "Directing the camera…",
285
+ emptyHint:
286
+ "Describe the shots you want and I'll stage them on the preview: orbits, reveals, holds, and the pacing.",
287
+ errorNoOrganization: "The itinerary is still loading. Try again in a moment.",
288
+ /** The heading the video wizard's Camera step draws over the assistant, under its styles. */
289
+ heading: "Assistant",
290
+ placeholder: "Describe the camera moves you want…",
291
+ stop: "Stop",
292
+ },
293
+ /**
294
+ * The dialog `studio.itinerary.directions.open` opens, and the printable sheet it generates.
295
+ *
296
+ * `legTo` captions a maneuver with the distance to the next one, and `subtitle` is printed under
297
+ * the itinerary's name at the top of the sheet. Every other word is the dialog's own.
298
+ */
299
+ directions: {
300
+ body: "Every maneuver is listed with its running distance and time, and the waypoints you pass are marked along the route.",
301
+ description: "Generate a printable turn-by-turn directions sheet for this itinerary.",
302
+ descriptionSegment: "Generate a printable turn-by-turn directions sheet for this segment.",
303
+ empty:
304
+ "This itinerary has no turn-by-turn directions yet. Add a routed segment to generate them.",
305
+ error: "The directions could not be generated. Please try again.",
306
+ errorTitle: "Directions failed",
307
+ generate: "Print directions",
308
+ legTo: (distance: string): string => `then ${distance}`,
309
+ loadError: "This itinerary could not be loaded. Please try again.",
310
+ scope: {
311
+ label: "What to include",
312
+ whole: "Whole itinerary",
313
+ },
314
+ subtitle: "Turn-by-turn directions",
315
+ title: "Print directions",
316
+ titleSegment: "Print segment directions",
317
+ },
318
+ draftProvenance: {
319
+ import: {
320
+ description:
321
+ "Adjust the route, then create your itinerary to start adding segments and waypoints.",
322
+ title: "Imported draft - not saved yet",
323
+ },
324
+ suggest: {
325
+ description:
326
+ "Adjust the route, then create your itinerary to start adding segments and waypoints.",
327
+ title: "Suggested route - not saved yet",
328
+ },
329
+ },
330
+ duplicate: {
331
+ confirm: "Duplicate",
332
+ contiguityHint:
333
+ "Only the first or last remaining segment can be removed, so the route stays continuous.",
334
+ failed: "This itinerary could not be duplicated.",
335
+ loading: "Loading the itinerary…",
336
+ minSegments: "Keep at least one segment.",
337
+ nameError: "Name must be between 2 and 30 characters.",
338
+ nameLabel: "Name",
339
+ namePrefill: (name: string): string => `${name} (copy)`,
340
+ segmentsLabel: "Segments",
341
+ /** Why the copy cannot be made: a partial selection names more segments than one copy may. */
342
+ segmentsTooMany: "Keep every segment, or at most 1,000 of them.",
343
+ title: "Duplicate itinerary",
344
+ waypointOutOfRange: "This waypoint sits outside the segments you kept.",
345
+ waypointsLabel: "Waypoints",
346
+ /** Why the copy cannot be made: a partial selection names more waypoints than one copy may. */
347
+ waypointsTooMany: "Keep every waypoint, or at most 5,000 of them.",
348
+ },
349
+ editCollection: {
350
+ descriptionLabel: "Description",
351
+ nameError: "Name must be between 2 and 30 characters.",
352
+ nameLabel: "Name",
353
+ namePlaceholder: "My collection",
354
+ save: "Save changes",
355
+ subtitle:
356
+ "A collection groups the itineraries and zones of one organization, and every member of that organization sees it. A collection in your personal space is yours alone.",
357
+ title: "Edit collection",
358
+ },
359
+ editing: {
360
+ /**
361
+ * What a reader is told when a save left the edit open: the draft changed while the save
362
+ * was out, so the commit answered `closed: false`, and one more save keeps the change.
363
+ */
364
+ changedWhileSaving:
365
+ "You changed this while it was saving, so it is still open. Save again to keep your latest changes.",
366
+ /**
367
+ * The keys an editing surface's shortcut line names, each as the reader's keyboard prints it.
368
+ * ⌘ and ⇧ are the glyphs an Apple keyboard prints, and no language spells them otherwise.
369
+ */
370
+ keys: {
371
+ command: "⌘",
372
+ control: "Ctrl",
373
+ enter: "Enter",
374
+ escape: "Esc",
375
+ shift: "⇧",
376
+ y: "Y",
377
+ z: "Z",
378
+ },
379
+ /**
380
+ * The line the route-hazard prompt's body closes on, after the sentence of each hazard the
381
+ * route crosses.
382
+ */
383
+ routeHazardClosing: "Add the point anyway, or place it elsewhere to route around.",
384
+ routeHazardConfirm: "Use this route",
385
+ /**
386
+ * Each hazard a route can cross, as the route-hazard prompt tells it: the prompt's title when
387
+ * it is the only kind the route crosses, and the sentence saying who the way is for.
388
+ */
389
+ routeHazards: {
390
+ forbidden: {
391
+ sentence: "This route goes through a way closed to everyone.",
392
+ title: "Route through a closed way",
393
+ },
394
+ "local-access": {
395
+ sentence:
396
+ "This route goes through a way open only to people going to a place on it, such as residents, customers or deliveries.",
397
+ title: "Route through a local-access way",
398
+ },
399
+ permit: {
400
+ sentence: "This route goes through a way open only to holders of a permit.",
401
+ title: "Route needs a permit",
402
+ },
403
+ private: {
404
+ sentence: "This route goes through private land, open only to its owner and their guests.",
405
+ title: "Route through private land",
406
+ },
407
+ restricted: {
408
+ sentence:
409
+ "This route goes through a way whose access is restricted, though the map does not say to whom.",
410
+ title: "Route through a restricted way",
411
+ },
412
+ service: {
413
+ sentence:
414
+ "This route goes through a service way, meant for reaching or maintaining the premises along it.",
415
+ title: "Route through a service way",
416
+ },
417
+ tollway: {
418
+ sentence: "This route goes through a way that charges a toll.",
419
+ title: "Route through a tollway",
420
+ },
421
+ },
422
+ /** The route-hazard prompt's title when the route crosses more than one kind of hazard. */
423
+ routeHazardsTitle: "Route through restricted ways",
424
+ segmentAddPoint: "Click to add the next point",
425
+ segmentEditBeginFailed: "This segment could not be opened for editing.",
426
+ segmentFinishHint: "Press Enter to save, Esc to cancel",
427
+ segmentReshape: "Click to add points, drag to reshape",
428
+ segmentSaveFailed: "This segment could not be saved.",
429
+ segmentSplitFailed: "This segment could not be split.",
430
+ segmentViaCapCounter: (count: number, max: number): string => `${count} / ${max} points`,
431
+ segmentViaCapReached: (max: number): string => `Maximum of ${max} points reached`,
432
+ segmentViaCapRefused: (max: number): string =>
433
+ `A routed segment holds at most ${max} points. Drag the line to reshape it instead.`,
434
+ /** The line of keyboard shortcuts above an editing surface's save button. */
435
+ shortcuts: {
436
+ back: "Back",
437
+ cancel: "Cancel",
438
+ commit: "Save",
439
+ label: "Keyboard shortcuts",
440
+ redo: "Redo",
441
+ undo: "Undo",
442
+ },
443
+ splitPickAt: (distance: string): string => `Cut ${distance} from the start`,
444
+ splitPickHint: "Click the route where you want to split it",
445
+ splitPickOnEnd: "Too close to the end: aim further along",
446
+ splitPickTooFar: "Move closer to the route",
447
+ suggestPickEnd: "Click on the map to set the ending point",
448
+ suggestPickStart: "Click on the map to set the starting point",
449
+ waypointClickAPoi: "Click a POI to capture it",
450
+ waypointClickToCapture: "Click to capture this POI",
451
+ waypointClickToDrop: "Click to drop the waypoint",
452
+ waypointClickToMove: "Click to move the waypoint",
453
+ zoneDraw: "Click to draw the zone",
454
+ zoneFinishHint: "Press Enter to finish, Esc to cancel",
455
+ zoneOutlineCrossing: "The outline can't cross itself",
456
+ zonePickOrigin: "Click on the map to set the origin",
457
+ zoneReshape: "Drag the handles to reshape the zone",
458
+ },
459
+ editor: {
460
+ editInProgress: "Finish or cancel your current edit first.",
461
+ unsavedEdits: {
462
+ body: "Discarding clears the changes you were making. Continue editing to keep your work.",
463
+ continue: "Continue editing",
464
+ discard: "Discard & leave",
465
+ leaveRefused: "This draft could not be discarded.",
466
+ title: "Unsaved changes",
467
+ },
468
+ },
469
+ embed: {
470
+ allowlist: {
471
+ all: "All",
472
+ overlaysPlaceholder: "Select overlays…",
473
+ /**
474
+ * How a picker counts what it holds when not even one name fits whole on its line, in
475
+ * place of a name cut short.
476
+ */
477
+ selectedCount: (count: number): string => `${count} selected`,
478
+ specific: "Specific",
479
+ terrainsPlaceholder: "Select terrains…",
480
+ },
481
+ /**
482
+ * The words of the section an embed's code is read in: each step of putting the element
483
+ * on a site, in the order a developer takes them.
484
+ */
485
+ code: {
486
+ component: {
487
+ description:
488
+ "A React module of its own: it imports the stylesheet, builds a client on your publishable key and renders the table.",
489
+ title: "Add the component",
490
+ },
491
+ copied: "Copied",
492
+ copy: "Copy code",
493
+ copyCommand: "Copy command",
494
+ domainsTitle: "Check your allowed domains",
495
+ iframe: {
496
+ description:
497
+ "Paste it into your page's HTML, where the map should appear. The width and the height are yours to set.",
498
+ title: "Paste the iframe",
499
+ },
500
+ iframeTitle: (name: string): string => `${name} - Mountaya`,
501
+ install: {
502
+ description:
503
+ "The tables are React components and need React 19. Keep every @mountaya package at the same version: they are released together.",
504
+ title: "Install the packages",
505
+ },
506
+ keyTitle: "Choose a publishable key",
507
+ /** Where a developer who does not write React finds the same rows. */
508
+ otherFrameworks:
509
+ "Not using React? @mountaya/elements/profile derives the same rows, for markup of your own.",
510
+ /**
511
+ * A step's place in the list, read before its title and ending on the mark that parts
512
+ * the two, which is the language's to write.
513
+ */
514
+ step: (position: number): string => `Step ${position}:`,
515
+ },
516
+ collection: {
517
+ pickerDescription:
518
+ "Frame this itinerary's embed inside a collection it belongs to, so the collection's content renders around it.",
519
+ pickerEmpty: "This itinerary is not in any collection yet.",
520
+ pickerLabel: "Collection",
521
+ pickerPlaceholder: "No collection",
522
+ },
523
+ /**
524
+ * What each column of a table states, under the name the table itself heads it with, and
525
+ * the waypoint table's service filter.
526
+ */
527
+ columns: {
528
+ filter: {
529
+ description:
530
+ "Let visitors narrow the table to the waypoints that offer every service they pick.",
531
+ heading: "Filter",
532
+ label: "Filter by service",
533
+ },
534
+ /** Said of the column that names each row, which a table always carries. */
535
+ locked: "Always shown: it names each row.",
536
+ segment: {
537
+ altitude: "The lowest and the highest altitude of the segment.",
538
+ difficulty: "The segment's difficulty, as the itinerary states it.",
539
+ distance: "The segment's length, then the distance covered so far.",
540
+ duration: "The time the segment takes.",
541
+ elevation: "The segment's ascent and descent, then the ascent so far.",
542
+ profile: "The itinerary's profile, with the segment lit.",
543
+ },
544
+ waypoint: {
545
+ altitude: "The altitude at the waypoint.",
546
+ amenities: "The services the waypoint offers.",
547
+ cutoff: "The time by which the waypoint must be left.",
548
+ distance: "The distance from the start.",
549
+ elevation: "The ascent and descent since the previous waypoint.",
550
+ profile: "The itinerary's profile, with the stretch that reaches the waypoint lit.",
551
+ properties: "The waypoint's custom fields.",
552
+ },
553
+ },
554
+ defaultView: {
555
+ bearingLabel: "Bearing",
556
+ capture: "Set current view as default",
557
+ centerLabel: "Center",
558
+ help: "Frame the preview the way you want it to open, then capture it. Visitors land on exactly this view.",
559
+ pitchLabel: "Pitch",
560
+ zoomLabel: "Zoom",
561
+ },
562
+ /**
563
+ * What the organization's allowed domains mean for the element at hand, in the words the
564
+ * organization's own security page and the documentation say them in: allowed domains,
565
+ * embedded maps, the publishable key, a listed site.
566
+ *
567
+ * The list answers two questions, and an empty one answers both alike. An embedded map
568
+ * loads only on a listed site, and a table calls the API from the page with the publishable
569
+ * key, which the API accepts only from a listed site. So with no domain listed neither works
570
+ * on any site but Mountaya's own, and each element is warned in its own words.
571
+ *
572
+ * An embed is published under an agreement, which keeps the organization's sites Mountaya's
573
+ * to list, while its owners and admins add the local addresses they develop on themselves
574
+ * (not counted toward the limit). So every sentence that says what to do says both, as the
575
+ * security page's agreement copy does: tell us each site, add localhost yourself. A list
576
+ * holding local addresses alone (`isLoopbackDomain`) is warned as an empty one is: the element
577
+ * works there while the publisher develops, and on no live site yet.
578
+ */
579
+ domains: {
580
+ embedListed: (domains: string): string =>
581
+ `This embedded map loads only on a listed site: ${domains}. Mountaya keeps your sites under your agreement: tell us any other site that shows it. While you develop, add localhost with its port to your allowed domains yourself: it does not count toward your limit.`,
582
+ embedLocalOnly: {
583
+ body: (domains: string): string =>
584
+ `Only local addresses are listed: ${domains}. This embedded map loads there while you develop, but on no live site yet. Mountaya keeps your sites under your agreement: tell us each site you embed it on.`,
585
+ title: "This embedded map loads on no live site yet",
586
+ },
587
+ embedNone: {
588
+ body: "An embedded map loads only on a listed site. With no domain listed it loads on no site but Mountaya's own. Mountaya keeps your sites under your agreement: tell us each site you embed it on. While you develop, add localhost with its port to your allowed domains yourself, such as localhost:5173: it does not count toward your limit.",
589
+ title: "This embedded map loads on none of your sites yet",
590
+ },
591
+ embedUnknown:
592
+ "An embedded map loads only on a site listed in your organization's allowed domains. Mountaya keeps your sites under your agreement: tell us each site you embed it on. While you develop, add localhost with its port to your allowed domains yourself: it does not count toward your limit.",
593
+ manage: "Manage allowed domains",
594
+ /** Joins the domains a sentence names. */
595
+ separator: ", ",
596
+ tableListed: (domains: string): string =>
597
+ `The API accepts your publishable key only from a listed site: ${domains}. Mountaya keeps your sites under your agreement: tell us any other site that shows the table. While you develop, add localhost with its port to your allowed domains yourself: it does not count toward your limit.`,
598
+ tableLocalOnly: {
599
+ body: (domains: string): string =>
600
+ `Only local addresses are listed: ${domains}. The table works there while you develop, but on no live site yet, since the API accepts your publishable key only from a listed site. Mountaya keeps your sites under your agreement: tell us each site that shows the table.`,
601
+ title: "No live site can use your publishable key yet",
602
+ },
603
+ tableNone: {
604
+ body: "The API accepts your publishable key only from a listed site, so with no domain listed the table works on none of your sites. Mountaya keeps your sites under your agreement: tell us each site that shows the table. While you develop, add localhost with its port to your allowed domains yourself, such as localhost:5173: it does not count toward your limit.",
605
+ title: "No site can use your publishable key yet",
606
+ },
607
+ tableUnknown:
608
+ "The API accepts your publishable key only from a site listed in your organization's allowed domains. Mountaya keeps your sites under your agreement: tell us each site that shows the table. While you develop, add localhost with its port to your allowed domains yourself: it does not count toward your limit.",
609
+ },
610
+ /**
611
+ * What an itinerary can be embedded as. `caption` is the line under the switcher, saying how
612
+ * the open element reaches a site; `description` is what its row of the list says.
613
+ */
614
+ elements: {
615
+ label: "Element",
616
+ map: {
617
+ caption: "An iframe, for any website.",
618
+ description: "The interactive map and its elevation profile, in an iframe.",
619
+ name: "Embedded map",
620
+ },
621
+ "segment-table": {
622
+ caption: "A React component.",
623
+ description: "The itinerary's segments, one per row, as a React component.",
624
+ name: "Segment table",
625
+ },
626
+ switcherLabel: "Switch element",
627
+ "waypoint-table": {
628
+ caption: "A React component.",
629
+ description: "The itinerary's waypoints and their services, as a React component.",
630
+ name: "Waypoint table",
631
+ },
632
+ },
633
+ fields: {
634
+ preferred_language: "Language",
635
+ preferred_theme: "Theme",
636
+ preferred_unit_length: "Distance units",
637
+ preferred_unit_pace: "Travel rate",
638
+ preferred_unit_slope: "Slope units",
639
+ preferred_unit_temperature: "Temperature units",
640
+ segments_color: "Segment color",
641
+ segments_color_clear: "Clear the segment color",
642
+ segments_color_placeholder: "Each segment keeps its own color",
643
+ terrain: "Terrain",
644
+ terrain_variant: "Map tint",
645
+ with_access_restrictions: "Access restrictions",
646
+ with_directions_control: "Directions button",
647
+ with_download_control: "Download button",
648
+ with_navigation_control: "Zoom buttons",
649
+ with_overlays: "Overlays",
650
+ with_overlays_control: "Time slider",
651
+ with_preferences_control: "Preferences button",
652
+ with_profile_analysis: "Analysis",
653
+ with_profile_characteristics: "Characteristics",
654
+ with_profile_elevation: "Elevation graph",
655
+ with_profile_pace_control: "Pace",
656
+ with_streetview_control: "Street View",
657
+ with_terrains: "Terrains",
658
+ },
659
+ fieldsDesc: {
660
+ with_access_restrictions:
661
+ "Show the stretches of a route closed or restricted to the public, with their warning icon.",
662
+ with_directions_control: "Let viewers print the route directions.",
663
+ with_download_control: "Let viewers download the itinerary.",
664
+ with_navigation_control: "Show the zoom buttons and the compass.",
665
+ with_overlays_control:
666
+ "Let viewers move the overlays backwards or forwards in time with the time slider.",
667
+ with_preferences_control: "Let viewers change units, theme, and terrain.",
668
+ with_profile_analysis: "Show the surface and way-type analysis bars.",
669
+ with_profile_characteristics:
670
+ "Show the route's key figures, like distance and elevation gain.",
671
+ with_profile_elevation: "Show the elevation graph.",
672
+ with_profile_pace_control:
673
+ "Let viewers enter their own travel pace and read the itinerary re-timed for it.",
674
+ with_streetview_control: "Show the Street View pegman to drop into panoramas.",
675
+ },
676
+ gated: {
677
+ noKey: {
678
+ description: "Select or create a publishable key to copy the embed code.",
679
+ title: "Select a publishable key",
680
+ },
681
+ },
682
+ /** The picker of the itinerary a table lists, where the wizard is open on a collection. */
683
+ itinerary: {
684
+ pickerDescription:
685
+ "A table lists one itinerary. Choose which of this collection's itineraries it shows.",
686
+ pickerEmpty: "This collection holds no itinerary yet.",
687
+ pickerLabel: "Itinerary",
688
+ pickerPlaceholder: "Choose an itinerary",
689
+ },
690
+ key: {
691
+ createCta: "Create a publishable key",
692
+ description: "The key that authorizes Map Publishing on your site.",
693
+ empty:
694
+ "No publishable key available. Ask an organization admin to create one with the Map Publishing scope.",
695
+ label: "Publishable key",
696
+ placeholder: "Choose a key",
697
+ sessionToken:
698
+ "This organization requires a session token for Map Publishing. The snippet's script asks your page for one each time the embed needs it: set its endpoint to the one on your server that mints a token with a secret key. Or relax the requirement in security settings.",
699
+ sessionTokenLink: "Open security settings",
700
+ /** The same requirement, said of a table: its code keeps the token, not a script. */
701
+ sessionTokenTable:
702
+ "This organization requires a session token for Map Publishing. The code asks your own endpoint for one and keeps it fresh: set its address to the one on your server that mints a token with a secret key. Or relax the requirement in security settings.",
703
+ },
704
+ notEmbeddable:
705
+ "This itinerary cannot be embedded. Only itineraries owned by an organization can be embedded in a website.",
706
+ notEmbeddableCollection:
707
+ "This collection cannot be embedded. Only collections owned by an organization can be embedded in a website.",
708
+ /** What the wizard says in an Embedded Studio, whose page cannot preview or build an embed. */
709
+ notOffered:
710
+ "Embeds are configured in the Mountaya web app. This studio cannot preview or build one.",
711
+ options: {
712
+ terrainVariant: {
713
+ dark: "Night",
714
+ light: "Day",
715
+ },
716
+ theme: {
717
+ dark: "Dark",
718
+ light: "Light",
719
+ },
720
+ },
721
+ overlaysOther: "Other",
722
+ preview: {
723
+ /** Said in a table's place when its published itinerary could not be read. */
724
+ loadFailed: "The published itinerary could not be loaded. Reload the page and try again.",
725
+ title: (name: string): string => `${name} preview`,
726
+ },
727
+ reset: {
728
+ columns: {
729
+ description: "Show the table's default columns again.",
730
+ title: "Reset columns",
731
+ },
732
+ defaultView: {
733
+ description: "Clear the default view and open at the route.",
734
+ title: "Reset default view",
735
+ },
736
+ section: {
737
+ description: "Reset to your organization's defaults.",
738
+ title: "Reset section",
739
+ },
740
+ },
741
+ /** Named for the control(s) that have to be on first, so the tooltip is an instruction. */
742
+ requiresField: (fields: string): string =>
743
+ `Turn ${fields} on first. This is shown alongside them.`,
744
+ /** Joins the named controls inside requiresField, so the sentence reads as one list. */
745
+ requiresFieldSeparator: " and ",
746
+ safetyRestricted:
747
+ "Your organization has disabled this capability for Map Publishing. Adjust it in your security settings.",
748
+ /**
749
+ * What stands at the end of a section's row: how far it stands from the defaults, and what
750
+ * withholds the code.
751
+ */
752
+ sectionChanges: (count: number): string =>
753
+ count === 1 ? "1 change from the defaults" : `${count} changes from the defaults`,
754
+ /** The sentence each section opens on, under its name. */
755
+ sectionHelp: {
756
+ appearance: "The language, the units and the look the map opens with.",
757
+ appearanceTable: "The language and the units the table is written in.",
758
+ code: "What a site needs to show this map.",
759
+ codeTable: "What a React app needs to show this table.",
760
+ columns: "What the table states about each row.",
761
+ controls: "The buttons visitors get on the map.",
762
+ general: "Who may embed this itinerary, and what it is shown with.",
763
+ generalCollection: "Which of this collection's itineraries the table lists.",
764
+ layers: "The terrains and the overlays visitors can switch between.",
765
+ profile: "What the panel under the map shows.",
766
+ },
767
+ sections: {
768
+ appearance: "Appearance",
769
+ code: "Code",
770
+ collection: "Collection",
771
+ columns: "Columns",
772
+ controls: "Map controls",
773
+ defaultView: "Default view",
774
+ general: "General",
775
+ layers: "Layers",
776
+ profile: "Profile panel",
777
+ },
778
+ /** The name of the list of sections: what these are sections of. */
779
+ sectionsLabel: "Embed sections",
780
+ /** The stage's own name: the landmark a reader moves to, whichever element it previews. */
781
+ stageLabel: "Preview",
782
+ /**
783
+ * The line beside the wizard's one action: what the code is, or what stands between the
784
+ * reader and it.
785
+ */
786
+ status: {
787
+ map: "An iframe: paste it where the map should appear.",
788
+ noLiveSite: "This embedded map loads on no live site yet: see Code.",
789
+ noSite: "This embedded map loads on none of your sites yet: see Code.",
790
+ table: "A React component: the install steps are under Code.",
791
+ tableNoLiveSite: "No live site can use your publishable key yet: see Code.",
792
+ tableNoSite: "No site can use your publishable key yet: see Code.",
793
+ unpublished: "Publish this itinerary to embed it.",
794
+ },
795
+ /** What the wizard says of a target it could not read, which is no refusal to embed it. */
796
+ targetLoadFailed:
797
+ "This could not be loaded, so it cannot be embedded yet. Reload the page and try again.",
798
+ title: "Embed in my website",
799
+ },
800
+ export: {
801
+ description: "Choose a format to download this itinerary.",
802
+ descriptionSegment: "Choose a format to download this segment.",
803
+ download: (format: string): string => `Download ${format}`,
804
+ error: "The export could not be downloaded. Please try again.",
805
+ errorTitle: "Export failed",
806
+ filenameLabel: "You'll get",
807
+ format: {
808
+ csv: "CSV",
809
+ fit: "FIT",
810
+ geojson: "GeoJSON",
811
+ gpx: "GPX",
812
+ kml: "KML",
813
+ kmz: "KMZ",
814
+ tcx: "TCX",
815
+ },
816
+ formatHint: {
817
+ csv: "Flat table of coordinates for spreadsheets and analysis.",
818
+ fit: "Native format for Garmin, Coros, Wahoo, and Whoop devices.",
819
+ geojson: "Open mapping data for GIS tools and web maps.",
820
+ gpx: "GPS track for watches and apps like Garmin or Strava.",
821
+ kml: "Google Earth, Maps, and mapping software.",
822
+ kmz: "Zipped Google Earth file, smaller to share.",
823
+ tcx: "Training file for Garmin Connect, Strava, and TrainingPeaks.",
824
+ },
825
+ formatLabel: "Format",
826
+ recommendedBadge: "Most compatible",
827
+ /** What the dialog says of a segment added, split or merged since the last publication. */
828
+ segmentUnpublished:
829
+ "This segment is not in the published itinerary yet. Publish the itinerary again to download it.",
830
+ scope: {
831
+ label: "What to download",
832
+ whole: "Whole itinerary",
833
+ },
834
+ title: "Download itinerary",
835
+ titleSegment: "Download segment",
836
+ variant: {
837
+ activity: "Activity",
838
+ course: "Course",
839
+ },
840
+ variantHint: {
841
+ activity: "A completed workout to upload to Garmin Connect or Strava.",
842
+ course: "A planned route your device navigates turn by turn.",
843
+ },
844
+ variantLabel: "File type",
845
+ },
846
+ failure: {
847
+ canceled: "That was cancelled before it finished.",
848
+ "capability-denied": "You don't have access to this action.",
849
+ "collab-locked": "Someone else is editing this right now.",
850
+ "confirmation-denied": "You cancelled this action.",
851
+ "confirmation-timeout": "The confirmation expired before it was answered.",
852
+ conflict: "This changed since you opened it. Reload and try again.",
853
+ createInProgress: "An itinerary is being created. Try again once it opens.",
854
+ "draft-open": "Save or discard the proposal you're reviewing first.",
855
+ "edit-in-progress": "Finish or cancel your current edit first.",
856
+ forbidden: "You don't have permission to do that.",
857
+ generic: "Something went wrong. Please try again.",
858
+ internal: "Something went wrong. Please try again.",
859
+ "invalid-input": "Some details are invalid. Check the fields and try again.",
860
+ "limit-reached": "You've reached a limit.",
861
+ "no-api": "The studio isn't connected to your account. Reload the page and try again.",
862
+ "no-map": "The map isn't ready yet. Try again in a moment.",
863
+ "no-session": "That isn't open any more. Reopen it and try again.",
864
+ "not-found": "That item no longer exists.",
865
+ "rate-limited": "Too many requests. Wait a moment and try again.",
866
+ "split-on-end": "That point is the very start or end of the segment. Aim further along it.",
867
+ "split-too-far": "You clicked too far from the segment. Click on its line.",
868
+ timeout: "That took too long to finish. Try it over a smaller stretch.",
869
+ unavailable: "That isn't available on this device or in this browser.",
870
+ "unknown-tool": "That action isn't available.",
871
+ "upgrade-required": "This action is not part of your agreement.",
872
+ /** What a reader is told of a write the API made and could not answer again. */
873
+ writeMade: "This was saved, but the studio could not read it back. Reload to see it.",
874
+ /** What a reader is told of a write whose first request is still running. */
875
+ writeRunning:
876
+ "This is still being saved. Reload in a moment to see it, rather than saving it again.",
877
+ },
878
+ /**
879
+ * What a form says when an action did not take, resolved by `mapToolError` and `mapRestError`.
880
+ *
881
+ * A resource's own `conflict` is the 409 its form meets, and for an itinerary, a collection and
882
+ * a zone that is a taken name: creating or renaming one under a name another one already
883
+ * carries. A 409 that is a concurrent change, such as a segment write, a merge or a
884
+ * publication, is not a form's to answer: the failure alert reports it with
885
+ * `failure.conflict`, which asks for a reload. A 409 refused for a collaborator's lock answers
886
+ * `collab-locked` instead, which the failure alert reports with the API's own sentence or
887
+ * `failure["collab-locked"]`.
888
+ */
889
+ formError: {
890
+ canceled: "That was cancelled before it finished.",
891
+ "capability-denied": "You don't have access to this action.",
892
+ "collab-locked": "Someone else is editing this right now.",
893
+ collection: {
894
+ conflict: "Another collection already has this name. Choose a different one.",
895
+ },
896
+ "confirmation-denied": "You cancelled this action.",
897
+ "confirmation-timeout": "The confirmation expired before it was answered.",
898
+ conflict: "This changed since you opened it. Reload and try again.",
899
+ createInProgress: "An itinerary is being created. Try again once it opens.",
900
+ "draft-open": "Save or discard the proposal you're reviewing first.",
901
+ "edit-in-progress": "Finish or cancel your current edit first.",
902
+ forbidden: "You don't have permission to do that.",
903
+ generic: "Something went wrong. Please try again.",
904
+ internal: "Something went wrong. Please try again.",
905
+ "invalid-input": "Some details are invalid. Check the fields and try again.",
906
+ itinerary: {
907
+ conflict: "Another itinerary already has this name. Choose a different one.",
908
+ },
909
+ "limit-reached": "You've reached a limit.",
910
+ "no-api": "The studio isn't connected to your account. Reload the page and try again.",
911
+ "no-map": "The map isn't ready yet. Try again in a moment.",
912
+ "no-session": "That isn't open any more. Reopen it and try again.",
913
+ "not-found": "That item no longer exists.",
914
+ organization: {
915
+ conflict: "This organization changed since you opened it. Reload and try again.",
916
+ },
917
+ "rate-limited": "Too many requests. Wait a moment and try again.",
918
+ "split-on-end": "That point is the very start or end of the segment. Aim further along it.",
919
+ "split-too-far": "You clicked too far from the segment. Click on its line.",
920
+ timeout: "That took too long to finish. Try it over a smaller stretch.",
921
+ unavailable: "That isn't available on this device or in this browser.",
922
+ "unknown-tool": "That action isn't available.",
923
+ "upgrade-required": "This action is not part of your agreement.",
924
+ writeMade: "This was saved, but the studio could not read it back. Reload to see it.",
925
+ writeRunning:
926
+ "This is still being saved. Reload in a moment to see it, rather than saving it again.",
927
+ zone: {
928
+ conflict: "Another zone already has this name. Choose a different one.",
929
+ },
930
+ },
931
+ geolocate: {
932
+ deniedNote: "Your browser blocks location access. Open site settings to enable it.",
933
+ enable: "Share location",
934
+ modalDescription: "We use your location to center the map and show nearby routes.",
935
+ modalTitle: "Share your location",
936
+ },
937
+ import: {
938
+ dropzone: {
939
+ blockedActivity: "Choose an activity first",
940
+ blockedLimit: "You've reached the itinerary limit",
941
+ hint: (formats: string, size: number): string => `${formats} · up to ${size} MB`,
942
+ idle: "Drop a track or click to browse",
943
+ rejected: (formats: string, size: number): string =>
944
+ `That file can't be imported. Use a ${formats} file under ${size} MB.`,
945
+ timeout:
946
+ "This track took too long to analyze. Try the single-segment granularity, or split the file into shorter tracks.",
947
+ },
948
+ education: {
949
+ editTitle: "Distance and climb come off the mapped trail, and every segment stays editable",
950
+ matchTitle:
951
+ "We match it to the real trail network, so a drifting line lands back on the path",
952
+ readTitle: "We read your track and the elevation along it",
953
+ title: "What happens next",
954
+ },
955
+ fileLabel: "File",
956
+ guide: {
957
+ comparison: {
958
+ fewPointsAlt:
959
+ "The same climb matched to the trails, carrying two large draggable points at the ends of the stretch.",
960
+ fewPointsCaption: "Matched: a few points to drag",
961
+ manyPointsAlt:
962
+ "The same recorded climb drawn as an unbroken chain of hundreds of tiny points, dense enough to hide the line under them.",
963
+ manyPointsCaption: "Recorded: thousands of points",
964
+ matchedAlt:
965
+ "The same hillside with the route matched to the mapped path, following the climb cleanly.",
966
+ matchedCaption: "Matched to the trails",
967
+ recordedAlt:
968
+ "A hillside where the raw GPS trace zigzags off the mapped path, cutting the corners of the climb.",
969
+ recordedCaption: "Your recording",
970
+ },
971
+ description:
972
+ "What matching a recorded track to the trail network gives you, and when to keep the recording instead.",
973
+ editableBody:
974
+ "A matched segment carries only a few points. Drag one and the route re-follows the trails to it, so tens of kilometers are reshaped in a couple of minutes. The same stretch as a raw recording runs to thousands of points: a line you can keep, but not one anyone edits by hand.",
975
+ editableTitle: "An itinerary you can actually edit",
976
+ exactBody:
977
+ "Off-trail ground, terrain the network does not cover, or a recording you need preserved as-is. Those parts stay on your line automatically when routing cannot follow them.",
978
+ exactTitle: "When to keep your recording",
979
+ precisionBody:
980
+ "A GPS trace drifts and cuts corners. Matching it to the trail network puts the route back on the path that exists, so a switchback reads as a switchback.",
981
+ precisionTitle: "A more precise line",
982
+ title: "How the route is drawn",
983
+ trigger: "What trail matching does",
984
+ yourFile: "On your file",
985
+ yourFileMatched: (count: number, total: number): string =>
986
+ total === 1
987
+ ? `${count} of ${total} segment could be matched to the trail network.`
988
+ : `${count} of ${total} segments could be matched to the trail network.`,
989
+ },
990
+ legend: {
991
+ chosen: "Solid: what will be created",
992
+ other: "Dashed: the option not chosen",
993
+ title: "Legend",
994
+ },
995
+ providers: {
996
+ fit: "FIT",
997
+ geojson: "GeoJSON",
998
+ gpx: "GPX",
999
+ kml: "KML",
1000
+ kmz: "KMZ",
1001
+ tcx: "TCX",
1002
+ },
1003
+ reason: {
1004
+ directionsUnsupported: "This activity isn't routable.",
1005
+ offTrail: "Routing left your track here.",
1006
+ routeDeviates: "Routing differs from your track here.",
1007
+ routeFailed: "Couldn't be routed for this activity.",
1008
+ },
1009
+ /**
1010
+ * The import review above the proposed segments: how many the routing found no route for at
1011
+ * all, which keep the recording whatever the reader chooses, and the heading over what the
1012
+ * preview noticed about the file.
1013
+ */
1014
+ review: {
1015
+ unroutableDetail: (count: number): string =>
1016
+ count === 1
1017
+ ? "No trail network covers it, so it keeps your recording."
1018
+ : "No trail network covers them, so they keep your recording.",
1019
+ unroutableTitle: (count: number): string =>
1020
+ count === 1 ? "1 segment can't be routed" : `${count} segments can't be routed`,
1021
+ warningsTitle: "Heads up",
1022
+ },
1023
+ segmentMode: {
1024
+ exactTooltip: "Keep exact track",
1025
+ snapTooltip: "Snap to trails",
1026
+ },
1027
+ warning: {
1028
+ trackEmpty: "One track in this file held nothing usable and was skipped.",
1029
+ waypointsTruncated:
1030
+ "This file held more than 5,000 waypoints. Only the first 5,000 were kept.",
1031
+ },
1032
+ },
1033
+ /**
1034
+ * The three-dots action menu on an itinerary: every verb a reader can reach without opening
1035
+ * the editor.
1036
+ *
1037
+ * `menu` is the trigger's accessible name rather than a visible label, and `exportDisabledHint`
1038
+ * is why an item that produces the itinerary's geometry (Download, Share, Print directions,
1039
+ * Export as video) stands down: an itinerary with no segment has no geometry to produce, so
1040
+ * the item explains itself on hover instead of opening an empty dialog.
1041
+ */
1042
+ itineraryActions: {
1043
+ collections: "Manage collections",
1044
+ delete: "Delete",
1045
+ directions: "Print directions",
1046
+ duplicate: "Duplicate",
1047
+ embedInWebsite: "Embed in my website",
1048
+ export: "Download",
1049
+ exportAsVideo: "Export as video",
1050
+ // Why Export as video stands down over a personal itinerary, and all the video wizard shows
1051
+ // when reached over one: no video is made of one. A sentence of its own, beside the outputs
1052
+ // `personalScopeHint` names.
1053
+ exportAsVideoPersonalHint:
1054
+ "This itinerary is personal. Only an organization's itineraries can be exported as a video.",
1055
+ exportDisabledHint: "Add a segment to export.",
1056
+ menu: "Itinerary actions",
1057
+ // ONE key for Download, Share and Print directions. They refuse for the same reason, and a
1058
+ // near-identical sentence per item is how the wording drifts apart.
1059
+ personalScopeHint:
1060
+ "This itinerary is personal. Only an organization's itineraries can be published, downloaded, or shared.",
1061
+ rename: "Rename",
1062
+ share: "Share",
1063
+ },
1064
+ itineraryForm: {
1065
+ activityGuide: {
1066
+ activity: {
1067
+ "backcountry-skiing": "Off-piste descents",
1068
+ "cross-country-skiing": "Groomed nordic tracks",
1069
+ "gravel-bike": "Mixed-surface roads and tracks",
1070
+ "hiking-and-trail": "Marked trails and footpaths",
1071
+ "mountain-bike": "Off-road trails and singletrack",
1072
+ "professional-trail": "Off-trail and unmapped terrain",
1073
+ "road-cycling": "Paved roads and cycleways",
1074
+ running: "Roads, parks and paths",
1075
+ "ski-touring": "Off-piste climbs and descents",
1076
+ "snowshoe-walking": "Snowy trails and gentle slopes",
1077
+ },
1078
+ description:
1079
+ "Every activity plans routes its own way. Pick the one that matches your terrain.",
1080
+ detail: {
1081
+ "backcountry-skiing":
1082
+ "Steep, open faces with no set line. You draw the descent yourself, turn by turn.",
1083
+ "cross-country-skiing": "Groomed nordic tracks, at the resort or down the valley.",
1084
+ "hiking-and-trail":
1085
+ "Marked, mapped paths. Drop your points and get a route that sticks to the trails.",
1086
+ "professional-trail":
1087
+ "No trail to follow? Drop points anywhere and still get a route. Made for guides, trail builders and race organisers.",
1088
+ running:
1089
+ "Roads and parks, taking the quickest line between your points. For trails, pick Hiking and trail.",
1090
+ "ski-touring":
1091
+ "Climbs to cols and summits well away from marked paths. Route the trail parts, draw the rest yourself.",
1092
+ "snowshoe-walking":
1093
+ "Winter walking on packed snow and gentle slopes, with room to wander off the trail.",
1094
+ },
1095
+ title: "How activities work",
1096
+ trigger: "How it works",
1097
+ },
1098
+ activityLabel: "Activity",
1099
+ activityLocked:
1100
+ "The activity drives smart routing and recommendations and can't be changed after creation.",
1101
+ activityPlaceholder: "Pick an activity",
1102
+ capability: {
1103
+ freeline: {
1104
+ gloss: "you draw it yourself",
1105
+ label: "Freehand",
1106
+ supported: "You can draw this one's segments by hand.",
1107
+ unsupported: "No drawing by hand here: its routes always follow trails.",
1108
+ },
1109
+ routing: {
1110
+ gloss: "we find the trails for you",
1111
+ label: "Auto-routing",
1112
+ supported: "Routes follow the trails this one can actually use.",
1113
+ unsupported: "We can't route this one for you, so draw its segments by hand.",
1114
+ },
1115
+ zone: {
1116
+ gloss: "how far you can get",
1117
+ label: "Reachability",
1118
+ supported: "You can map how far you would get from a point.",
1119
+ unsupported: "Not here: this needs an activity we can route for you.",
1120
+ },
1121
+ },
1122
+ collectionAttachWarning: (count: number): string =>
1123
+ count === 1
1124
+ ? `The itinerary was created, but it couldn't be added to ${count} collection.`
1125
+ : `The itinerary was created, but it couldn't be added to ${count} collections.`,
1126
+ collectionsSelect: {
1127
+ create: (name: string): string => `Create "${name}"`,
1128
+ createIncomplete:
1129
+ "The collection was created, but nothing was filed into it. Open it from the sidebar and add this there.",
1130
+ label: "Collections",
1131
+ more: (count: number): string => `+${count} more`,
1132
+ nothingFound: "No collections yet",
1133
+ placeholder: "Add to a collection",
1134
+ },
1135
+ create: "Create and draw on map",
1136
+ createDraft: "Create itinerary",
1137
+ /** The map alert's opening when a staged draft's Create is refused before it is sent. */
1138
+ createFailed: "This itinerary could not be created.",
1139
+ createFromSuggestion: "Create itinerary",
1140
+ /**
1141
+ * A generated name, written from one word of `nameAdjectives` and one of `nameNouns`: the
1142
+ * adjective first, as English reads. Each language states its own order here, and its
1143
+ * agreement where it has one.
1144
+ */
1145
+ friendlyName: (adjective: string, noun: string): string => `${adjective} ${noun}`,
1146
+ limit: {
1147
+ guard: (limit: number): string => `You've reached the limit of ${limit} itineraries.`,
1148
+ },
1149
+ nameAdjectives: [
1150
+ "Golden",
1151
+ "Misty",
1152
+ "Wild",
1153
+ "Hidden",
1154
+ "Sunlit",
1155
+ "Rugged",
1156
+ "Windswept",
1157
+ "Silent",
1158
+ "Frosted",
1159
+ "Emerald",
1160
+ "Lofty",
1161
+ "Rolling",
1162
+ ],
1163
+ nameError: "Name must be between 2 and 30 characters.",
1164
+ nameLabel: "Name",
1165
+ nameNouns: [
1166
+ "Ridge",
1167
+ "Traverse",
1168
+ "Summit",
1169
+ "Valley",
1170
+ "Trail",
1171
+ "Pass",
1172
+ "Crossing",
1173
+ "Ascent",
1174
+ "Loop",
1175
+ "Crest",
1176
+ "Meadow",
1177
+ "Gorge",
1178
+ ],
1179
+ /**
1180
+ * What a staged import says while a change of its options waits for its preview, settling or
1181
+ * out: beside the form the change was made in, and as the reason Create is held. The draft on
1182
+ * screen is the one that preview replaces.
1183
+ */
1184
+ previewPending: "Updating the segments for your changes…",
1185
+ },
1186
+ layers: {
1187
+ baseMapLocked: "Finish editing the segment to switch the terrain.",
1188
+ /**
1189
+ * Shown beside the overlay, enrichment and time sections a viewer who does not hold the
1190
+ * overlays sees locked: their personal space, or an organization whose agreement does not
1191
+ * include Map Studio.
1192
+ */
1193
+ overlaysWithheld:
1194
+ "Overlays, enrichments and the time come with Map Studio. Switch to an organization whose agreement includes it to use them.",
1195
+ sections: {
1196
+ enrichment: "Enrichment",
1197
+ overlays: "Overlays",
1198
+ terrain: "Terrain",
1199
+ },
1200
+ timestamp: {
1201
+ relative: {
1202
+ now: "Now",
1203
+ },
1204
+ },
1205
+ timestampHint: "Choose the time for time-aware layers and zones.",
1206
+ timestampKeyboard: "Use ← → to adjust by the hour.",
1207
+ timestampLabel: "Time",
1208
+ timestampMinus2d: "-2d",
1209
+ timestampNote: "Times shown in your local time zone.",
1210
+ timestampNow: "Now",
1211
+ timestampPlus2d: "+2d",
1212
+ timestampPlus5d: "+5d",
1213
+ /** Shown beside a time slider held off because the clock reads no instant. */
1214
+ timestampUnavailable: "The current time could not be read, so the time can't be changed.",
1215
+ title: "Layers",
1216
+ },
1217
+ manageCollections: {
1218
+ create: {
1219
+ action: "Create a new collection",
1220
+ descriptionLabel: "Description",
1221
+ descriptionMax: "Description must be 100 characters or fewer.",
1222
+ incomplete:
1223
+ "The collection was created, but nothing was filed into it. Open it from the sidebar and add this there.",
1224
+ nameLabel: "Name",
1225
+ nameLength: "Name must be between 2 and 30 characters.",
1226
+ scopeError:
1227
+ "We couldn't tell which organization this belongs to, so there is nowhere to create a collection. Reload the page and try again.",
1228
+ scopePending: "Still loading which organization this belongs to.",
1229
+ submit: (resource: string): string => `Create collection and add ${resource}`,
1230
+ },
1231
+ description:
1232
+ "Choose the collections this itinerary belongs to. Only collections owned by the same organization are listed, because a collection holds only that organization's itineraries and zones.",
1233
+ descriptionZone:
1234
+ "Choose the collections this zone belongs to. Only collections owned by the same organization are listed, because a collection holds only that organization's itineraries and zones.",
1235
+ empty:
1236
+ "No collection here yet. A collection only holds itineraries and zones from the same organization.",
1237
+ emptyHint: 'Use "Create a new collection" to add the first one.',
1238
+ emptyNoWritable:
1239
+ "Every collection here is read-only for you. Filing an itinerary or a zone into one needs a write role in the organization that owns it.",
1240
+ error: "Couldn't load your collections.",
1241
+ resource: {
1242
+ itinerary: "itinerary",
1243
+ zone: "zone",
1244
+ },
1245
+ retry: "Try again",
1246
+ title: "Manage collections",
1247
+ },
1248
+ maneuver: {
1249
+ continue: (name: string): string => `Continue on ${name}`,
1250
+ continuePlain: "Continue straight",
1251
+ depart: (name: string): string => `Head out on ${name}`,
1252
+ departPlain: "Head out",
1253
+ "enter-roundabout": (name: string): string => `Enter the roundabout onto ${name}`,
1254
+ "enter-roundaboutPlain": "Enter the roundabout",
1255
+ "exit-roundabout": (name: string): string => `Exit the roundabout onto ${name}`,
1256
+ "exit-roundaboutPlain": "Exit the roundabout",
1257
+ goal: (name: string): string => `Arrive at your destination on ${name}`,
1258
+ goalPlain: "Arrive at your destination",
1259
+ "keep-left": (name: string): string => `Keep left onto ${name}`,
1260
+ "keep-leftPlain": "Keep left",
1261
+ "keep-right": (name: string): string => `Keep right onto ${name}`,
1262
+ "keep-rightPlain": "Keep right",
1263
+ roundaboutExit: (exit: number, name: string): string =>
1264
+ `At the roundabout, take exit ${exit} onto ${name}`,
1265
+ roundaboutExitPlain: (exit: number): string => `At the roundabout, take exit ${exit}`,
1266
+ "sharp-left": (name: string): string => `Make a sharp left onto ${name}`,
1267
+ "sharp-leftPlain": "Make a sharp left",
1268
+ "sharp-right": (name: string): string => `Make a sharp right onto ${name}`,
1269
+ "sharp-rightPlain": "Make a sharp right",
1270
+ "slight-left": (name: string): string => `Bear left onto ${name}`,
1271
+ "slight-leftPlain": "Bear left",
1272
+ "slight-right": (name: string): string => `Bear right onto ${name}`,
1273
+ "slight-rightPlain": "Bear right",
1274
+ "turn-left": (name: string): string => `Turn left onto ${name}`,
1275
+ "turn-leftPlain": "Turn left",
1276
+ "turn-right": (name: string): string => `Turn right onto ${name}`,
1277
+ "turn-rightPlain": "Turn right",
1278
+ unknown: (name: string): string => `Continue on ${name}`,
1279
+ unknownPlain: "Continue",
1280
+ uturn: (name: string): string => `Make a U-turn onto ${name}`,
1281
+ uturnPlain: "Make a U-turn",
1282
+ waypoint: (name: string): string => `Pass ${name}`,
1283
+ waypointPlain: "Pass the waypoint",
1284
+ },
1285
+ map: {
1286
+ ariaLabel: "Interactive map",
1287
+ },
1288
+ newCollection: {
1289
+ create: "Create collection",
1290
+ descriptionLabel: "Description",
1291
+ nameError: "Name must be between 2 and 30 characters.",
1292
+ nameLabel: "Name",
1293
+ namePlaceholder: "My collection",
1294
+ subtitle:
1295
+ "A collection groups the itineraries and zones of one organization, and every member of that organization sees it. A collection in your personal space is yours alone.",
1296
+ title: "Create collection",
1297
+ },
1298
+ /**
1299
+ * The words the full-screen waypoint editor's own chrome says, on top of the section names
1300
+ * and field labels it takes from `waypointDetails`: what its rail says while a move to another
1301
+ * waypoint is held, and the heading of the summary beside its stage.
1302
+ */
1303
+ placeEditor: {
1304
+ moveBlocked: "Save or cancel to move to another waypoint.",
1305
+ summarySection: "Waypoint summary",
1306
+ },
1307
+ organizationScope: {
1308
+ /**
1309
+ * What the personal space says where an organization says a role.
1310
+ *
1311
+ * A sentence rather than a blank, because the caption slot is the same one a role fills:
1312
+ * a row whose second line disappeared would read as a role that failed to load.
1313
+ */
1314
+ personalCaption: "Your personal space",
1315
+ /**
1316
+ * A membership role, in the reader's language.
1317
+ *
1318
+ * A closed record over the wire enum, so a role the contract gains fails to compile here
1319
+ * rather than rendering its raw slug beside somebody's name.
1320
+ */
1321
+ roles: {
1322
+ admin: "Admin",
1323
+ contributor: "Contributor",
1324
+ owner: "Owner",
1325
+ viewer: "Viewer",
1326
+ },
1327
+ },
1328
+ organizationSelect: {
1329
+ helpDescription:
1330
+ "Keeps your maps private to your organization. The co-pilot, real-time collaboration and Map Publishing work on an organization's itineraries.",
1331
+ helpTitle: "Create in your organization",
1332
+ label: "Organization",
1333
+ },
1334
+ panelError: {
1335
+ retry: "Reload panel",
1336
+ title: "This panel ran into a problem.",
1337
+ },
1338
+ preferences: {
1339
+ language: "Language",
1340
+ length: "Distance",
1341
+ pace: "Travel rate",
1342
+ slope: "Slope",
1343
+ temperature: "Temperature",
1344
+ title: "Preferences",
1345
+ units: {
1346
+ celsius: {
1347
+ name: "Celsius",
1348
+ symbol: "°C",
1349
+ },
1350
+ degrees: {
1351
+ name: "Degrees",
1352
+ symbol: "°",
1353
+ },
1354
+ fahrenheit: {
1355
+ name: "Fahrenheit",
1356
+ symbol: "°F",
1357
+ },
1358
+ imperial: {
1359
+ name: "Imperial",
1360
+ symbol: "mi · ft",
1361
+ },
1362
+ metric: {
1363
+ name: "Metric",
1364
+ symbol: "km · m",
1365
+ },
1366
+ percentage: {
1367
+ name: "Percentage",
1368
+ symbol: "%",
1369
+ },
1370
+ perDistance: {
1371
+ name: "Pace",
1372
+ symbol: "min/km",
1373
+ symbolImperial: "min/mi",
1374
+ },
1375
+ perTime: {
1376
+ name: "Speed",
1377
+ symbol: "km/h",
1378
+ symbolImperial: "mph",
1379
+ },
1380
+ },
1381
+ },
1382
+ privacy: {
1383
+ collection: {
1384
+ privateHint:
1385
+ "Only your organization's members can view or edit this collection. Its address opens nothing for anyone else. To let someone outside your organization view it, share a link from the collection's menu. A personal collection is yours alone, and it has no share link: share links belong to organizations. A publishable key can never discover it in Map Publishing or the Tile and Data APIs. It stays out of every listing and search. Your own organization's key still renders it by id, so you can embed it on your own site. No other organization's key reaches it.",
1386
+ publicHint:
1387
+ "A publishable key can serve a public collection. Map Publishing and the Tile and Data APIs then render it to anonymous visitors on your site. It is not discoverable: it never appears in another organization's library or search. Editing still needs a write role in your organization. To send it to one person instead, share a link. That works whether the collection is private or public. Share links belong to organizations, so a personal collection has none.",
1388
+ },
1389
+ confirm: {
1390
+ toPrivate: {
1391
+ acknowledge: "I understand other organizations will lose Map Publishing access.",
1392
+ body: "Make this itinerary private? Only your organization will be able to embed it. Any other organization that embeds it today, with a publishable key, will lose access, and their embeds will stop loading it.",
1393
+ confirm: "Make private",
1394
+ title: "Make itinerary private",
1395
+ },
1396
+ toPublic: {
1397
+ acknowledge: "I understand any organization with a key will be able to embed it.",
1398
+ body: "Make this itinerary public? Any organization will be able to embed it with a publishable key, and anyone holding the link can view it. It stays out of other organizations' libraries and search.",
1399
+ confirm: "Make public",
1400
+ title: "Make itinerary public",
1401
+ },
1402
+ },
1403
+ embedScope: "Saved to the itinerary and applied to all its embeds",
1404
+ helpLabel: "About visibility",
1405
+ itinerary: {
1406
+ privateHint:
1407
+ "Only your organization's members can view or edit this itinerary. A personal itinerary is yours alone. No other organization can open it, even with the link. A publishable key can never discover it in Map Publishing or the Tile and Data APIs. It stays out of every listing and search. Your own organization's key still renders it by id, so you can embed it on your own site. No other organization's key reaches it.",
1408
+ publicHint:
1409
+ "A publishable key can serve a public itinerary. Map Publishing and the Tile and Data APIs then render it to anonymous visitors on your site. Anyone holding its address can open it read-only, from any organization. It is not discoverable: it never appears in another organization's library or search. Editing still needs a write role in your organization. To send it to one person instead, share a link. That works whether the itinerary is private or public.",
1410
+ },
1411
+ label: "Visibility",
1412
+ private: "Private",
1413
+ public: "Public",
1414
+ zone: {
1415
+ confirm: {
1416
+ toPrivate: {
1417
+ acknowledge: "I understand collection embeds will stop showing this zone.",
1418
+ body: "Make this zone private? It leaves every collection embed, listing and search a publishable key reads, at once and whether or not it is published. A share link to a collection that holds it still shows its published version.",
1419
+ confirm: "Make private",
1420
+ title: "Make zone private",
1421
+ },
1422
+ toPublic: {
1423
+ acknowledge: "I understand anonymous visitors will see this zone once it is published.",
1424
+ body: "Make this zone public? A publishable key can then serve its published version: a collection embed that holds it draws it, and the Tile and Data APIs render it to anonymous visitors. Anyone holding its address can open it read-only. It stays out of other organizations' libraries and search.",
1425
+ confirm: "Make public",
1426
+ title: "Make zone public",
1427
+ },
1428
+ },
1429
+ privateHint:
1430
+ "Only your organization's members can view or edit this zone. A personal zone is yours alone. A publishable key never discovers it: collection embeds, listings and search leave it out, published or not. Your own organization's key still reads its published version by id, and a share link to a collection that holds it shows that version. No other organization's key reaches it.",
1431
+ publicHint:
1432
+ "Once it is published, a publishable key can serve a public zone: a collection embed that holds it draws it, where your organization draws collection zones, and the Tile and Data APIs render it to anonymous visitors on your site. Anyone holding its address can open it read-only, from any organization. It is not discoverable: it never appears in another organization's library or search. Editing still needs a write role in your organization. A zone has no link of its own. To show one to someone outside your organization, share a link to a collection that contains it.",
1433
+ scope: "Saved to the zone as soon as you confirm, apart from Save zone.",
1434
+ },
1435
+ },
1436
+ profile: {
1437
+ altitude: "Altitude",
1438
+ ascent: "Ascent",
1439
+ aspect: "Aspect",
1440
+ aspectName: {
1441
+ E: "East",
1442
+ N: "North",
1443
+ NE: "North-East",
1444
+ NW: "North-West",
1445
+ S: "South",
1446
+ SE: "South-East",
1447
+ SW: "South-West",
1448
+ W: "West",
1449
+ },
1450
+ /** A band's tooltip on the profile's category strip: its label, then its share of the route. */
1451
+ bandShare: (label: string, percent: string): string => `${label}: ${percent}`,
1452
+ descent: "Descent",
1453
+ distance: "Distance",
1454
+ duration: "Duration",
1455
+ durationPartial: "Duration (partial)",
1456
+ // The invitation the profile shows while a segment is being authored and nothing has been
1457
+ // drawn yet. It is not `empty` above, which is a finished route that carries no altitude:
1458
+ // this one is a route that does not exist yet, and its answer is an action rather than a
1459
+ // fact.
1460
+ draw: {
1461
+ description: "Place your first points on the map to see the climbs and descents here.",
1462
+ title: "Your elevation profile starts here",
1463
+ },
1464
+ pending: "Drawing the elevation profile\u2026",
1465
+ progress: "Progress",
1466
+ sheet: {
1467
+ handle: "Resize the elevation profile",
1468
+ },
1469
+ slope: "Slope",
1470
+ /**
1471
+ * The pace control's placeholder: the pace the AUTHOR committed, which is what the figures
1472
+ * beside it are showing while the field is empty.
1473
+ */
1474
+ paceAuthorPlaceholder: (value: string): string => `${value} (author's pace)`,
1475
+ paceUseAuthor: "Use the author's pace",
1476
+ speed: "Speed",
1477
+ surface: {
1478
+ asphalt: "Asphalt",
1479
+ cobblestone: "Cobblestone",
1480
+ "compacted-gravel": "Compacted gravel",
1481
+ concrete: "Concrete",
1482
+ dirt: "Dirt",
1483
+ "fine-gravel": "Fine gravel",
1484
+ grass: "Grass",
1485
+ "grass-paver": "Grass paver",
1486
+ gravel: "Gravel",
1487
+ ground: "Ground",
1488
+ ice: "Ice",
1489
+ metal: "Metal",
1490
+ paved: "Paved",
1491
+ "paving-stones": "Paving stones",
1492
+ sand: "Sand",
1493
+ unknown: "Unknown",
1494
+ unpaved: "Unpaved",
1495
+ wood: "Wood",
1496
+ woodchips: "Woodchips",
1497
+ },
1498
+ surfaceLabel: "Surface",
1499
+ trailDifficultyLabel: "Difficulty",
1500
+ trailDifficultyShort: {
1501
+ "alpine-hiking": "T4",
1502
+ "demanding-alpine-hiking": "T5",
1503
+ "demanding-mountain-hiking": "T3",
1504
+ "difficult-alpine-hiking": "T6",
1505
+ hiking: "T1",
1506
+ "mountain-hiking": "T2",
1507
+ "mtb-0": "S0",
1508
+ "mtb-1": "S1",
1509
+ "mtb-2": "S2",
1510
+ "mtb-3": "S3",
1511
+ "mtb-4": "S4",
1512
+ "mtb-5": "S5",
1513
+ "mtb-6": "S6",
1514
+ unknown: "Unclassified",
1515
+ },
1516
+ waytype: {
1517
+ construction: "Construction",
1518
+ cycleway: "Cycleway",
1519
+ ferry: "Ferry",
1520
+ footway: "Footway",
1521
+ path: "Path",
1522
+ road: "Road",
1523
+ "state-road": "State road",
1524
+ steps: "Steps",
1525
+ street: "Street",
1526
+ track: "Track",
1527
+ unknown: "Unknown",
1528
+ },
1529
+ waytypeLabel: "Way type",
1530
+ waytypeLegend: "Way type",
1531
+ },
1532
+ prompt: {
1533
+ activityDone: "Action completed",
1534
+ activityFailed: "Action failed",
1535
+ activityHide: (name: string): string => `Hide details for ${name}`,
1536
+ activityNoResponse: "No response in time",
1537
+ activityNotRun: "Action not run",
1538
+ activityRunning: "Action in progress",
1539
+ activityShow: (name: string): string => `Show details for ${name}`,
1540
+ budgetCost:
1541
+ "This conversation reached its usage limit. Start a new chat to continue where you left off.",
1542
+ budgetDraftOpen:
1543
+ "There is still an unsaved draft on the map. Save or discard it before starting a new chat, or the work is lost.",
1544
+ budgetGeneric:
1545
+ "This conversation reached its limit. Start a new chat to continue where you left off.",
1546
+ budgetTurns:
1547
+ "This conversation reached its length limit. Start a new chat to continue where you left off.",
1548
+ checksUnmetTitle: "The workspace doesn't back part of this answer",
1549
+ composerAria: "Message the assistant",
1550
+ composerHint: "Enter to send · Shift+Enter for a new line",
1551
+ confirmApprove: "Approve",
1552
+ confirmDeny: "Deny",
1553
+ confirmTitle: (name: string): string => `Approve “${name}”`,
1554
+ emptyHint: "Describe a change and I'll apply it on the itinerary, segments, waypoints.",
1555
+ /**
1556
+ * What a run reads when the gateway stopped it because the member who started it may not run
1557
+ * it in its organization any more: they hold no write role there, or the organization's
1558
+ * agreement does not include Map Studio. One sentence for both, so it names no cause.
1559
+ */
1560
+ errorAccessRevoked:
1561
+ "The assistant stopped: you no longer have access to it in this organization.",
1562
+ errorGeneric: "The assistant ran into a problem. Please try again.",
1563
+ errorLooping:
1564
+ "The assistant kept repeating the same action without making progress, so it stopped. Try rephrasing what you need.",
1565
+ errorRateLimited: "The assistant is busy right now. Please try again in a moment.",
1566
+ errorTooLarge:
1567
+ "The assistant cannot take a request this large, the tools this page gives it included. Try a shorter message, and if this keeps happening, tell whoever runs this page.",
1568
+ feedbackDown: "Not helpful",
1569
+ feedbackUp: "Helpful",
1570
+ placeholder: "Add 600 m of ascent and keep the route in the shade",
1571
+ questionCaption: "Choose one, or reply in your own words.",
1572
+ send: "Send",
1573
+ suggestionsCaption: "Hover to preview on the map. Pick one to start editing.",
1574
+ suggestionsHint: "Pin up to three to carry them into the next set.",
1575
+ suggestionsMore: "Show different options",
1576
+ suggestionsMoreMessage: "Show me different route options.",
1577
+ suggestionsPickMessage: (index: number, metrics: string): string =>
1578
+ `I picked route ${index} (${metrics}).`,
1579
+ suggestionsPickMessageBare: (index: number): string => `I picked route ${index}.`,
1580
+ suggestionsPinAria: "Pin this route",
1581
+ suggestionsRowAria: (index: number): string => `Route ${index}`,
1582
+ suggestionsStageError:
1583
+ "That route couldn't be prepared for editing. Pick another one or try again.",
1584
+ suggestionsTitle: "Suggested routes",
1585
+ thinking: "Thinking…",
1586
+ transcriptLabel: "Conversation",
1587
+ },
1588
+ publish: {
1589
+ action: "Publish",
1590
+ actionDirty: "Publish changes",
1591
+ blockedByAgent: "The co-pilot is working on this itinerary.",
1592
+ blockedByEdit: "Finish or discard your open edit first.",
1593
+ blockedByPeer: (name: string): string => `${name} is still editing part of this itinerary.`,
1594
+ blockedByUnpublished:
1595
+ "Publish this itinerary first: a recording captures the published version.",
1596
+ dirty: "Modified",
1597
+ dirtyHint: "Edited since you last published.",
1598
+ draft: "Draft",
1599
+ draftHint: "Not visible to anyone with the link.",
1600
+ errorHint: "This itinerary could not be loaded, so its publication state is unknown.",
1601
+ failed: "This itinerary could not be published.",
1602
+ notice: {
1603
+ dirty: "This is the published itinerary. Your changes since then are not live yet.",
1604
+ unpublished:
1605
+ "This itinerary has never been published. Visitors will see nothing until you publish it.",
1606
+ },
1607
+ // The faces of one rule: the band's pill and its tooltip, and the two lines a blocked
1608
+ // panel shows in place of its Publish button.
1609
+ personal: {
1610
+ description: "Only an organization's itineraries can be published, and this one is personal.",
1611
+ hint: "Only an organization's itineraries can be published.",
1612
+ label: "Personal",
1613
+ title: "This itinerary is personal",
1614
+ },
1615
+ preview: {
1616
+ unpublishedDescription:
1617
+ "This itinerary has never been published, so there is nothing for visitors to see. Publish it to continue.",
1618
+ unpublishedTitle: "Nothing published yet",
1619
+ },
1620
+ /** The state's one word while the itinerary's detail has not landed. */
1621
+ loading: "Loading",
1622
+ published: "Published",
1623
+ publishedAt: (when: string): string => `Last published ${when}.`,
1624
+ unavailable: "Unavailable",
1625
+ unpublish: "Unpublish",
1626
+ upToDate: "Up to date",
1627
+ /**
1628
+ * The words a zone's publication band and menu say where an itinerary's would name an
1629
+ * itinerary. The state's words, the act and the age are the section's own, shared by both.
1630
+ */
1631
+ zone: {
1632
+ blockedByAgent: "The co-pilot is working on this zone.",
1633
+ blockedByEdit: "Save or discard your changes to the zone's shape first.",
1634
+ blockedByPeer: (name: string): string => `${name} is editing this zone.`,
1635
+ draftHint: "Not shown in any collection embed or collection share link.",
1636
+ failed: "This zone could not be published.",
1637
+ personalHint: "Only an organization's zones can be published.",
1638
+ unpublish: "Unpublish",
1639
+ },
1640
+ },
1641
+ roadAccess: {
1642
+ /** The note under every kind: where the access comes from, and what to trust over it. */
1643
+ caution: "Access comes from map data and may be out of date. Follow the signs on the ground.",
1644
+ /**
1645
+ * Each kind of restricted stretch the map draws, as the dialog opened from its warning icon
1646
+ * tells it: the title, and the sentence saying who the way is open to.
1647
+ */
1648
+ kinds: {
1649
+ forbidden: {
1650
+ sentence: "This stretch of the route goes through a way closed to everyone.",
1651
+ title: "Closed way",
1652
+ },
1653
+ "local-access": {
1654
+ sentence:
1655
+ "This stretch of the route goes through a way open only to people going to a place on it, such as residents, customers or deliveries.",
1656
+ title: "Local-access way",
1657
+ },
1658
+ permit: {
1659
+ sentence: "This stretch of the route goes through a way open only to holders of a permit.",
1660
+ title: "Permit required",
1661
+ },
1662
+ private: {
1663
+ sentence:
1664
+ "This stretch of the route goes through private land, open only to its owner and their guests.",
1665
+ title: "Private land",
1666
+ },
1667
+ restricted: {
1668
+ sentence:
1669
+ "This stretch of the route goes through a way whose access is restricted, though the map does not say to whom.",
1670
+ title: "Restricted way",
1671
+ },
1672
+ service: {
1673
+ sentence:
1674
+ "This stretch of the route goes through a service way, meant for reaching or maintaining the premises along it.",
1675
+ title: "Service way",
1676
+ },
1677
+ },
1678
+ },
1679
+ search: {
1680
+ activitiesAria: "Compatible activities",
1681
+ category: {
1682
+ all: "All",
1683
+ collections: "Collections",
1684
+ itineraries: "Itineraries",
1685
+ places: "Places",
1686
+ pois: "Points of interest",
1687
+ ways: "Trails & roads",
1688
+ zones: "Zones",
1689
+ },
1690
+ clearAria: "Clear search",
1691
+ empty: {
1692
+ description: "Try a different keyword or broaden the area.",
1693
+ title: "No matches",
1694
+ },
1695
+ error: "Couldn't reach the search service. Try again.",
1696
+ itineraryCount: (count: number): string =>
1697
+ count === 0 ? `No itinerary` : count === 1 ? `${count} itinerary` : `${count} itineraries`,
1698
+ /**
1699
+ * The word a result's title or second line reads for one wire value: a place's or a POI's
1700
+ * category as the Data API spells it, and a way's `highway`, `sac_scale` and `surface` tags
1701
+ * as OpenStreetMap spells them. `searchLabelWord` reads it.
1702
+ *
1703
+ * The two categories are closed sets and every member has a word. A way's tags are open, so
1704
+ * these are the values worth wording, and any other reads as the English title of the tag.
1705
+ * A `surface` is the whole token, since where the word for "surface" goes is the language's.
1706
+ */
1707
+ labels: {
1708
+ highway: {
1709
+ bridleway: "Bridleway",
1710
+ cycleway: "Cycleway",
1711
+ footway: "Footway",
1712
+ living_street: "Living street",
1713
+ motorway: "Motorway",
1714
+ path: "Path",
1715
+ pedestrian: "Pedestrian street",
1716
+ primary: "Primary road",
1717
+ residential: "Residential street",
1718
+ road: "Road",
1719
+ secondary: "Secondary road",
1720
+ service: "Service road",
1721
+ steps: "Steps",
1722
+ tertiary: "Tertiary road",
1723
+ track: "Track",
1724
+ trunk: "Trunk road",
1725
+ unclassified: "Minor road",
1726
+ via_ferrata: "Via ferrata",
1727
+ },
1728
+ placeCategory: {
1729
+ ADDRESS: "Address",
1730
+ ADMINISTRATIVE_AREA: "Administrative area",
1731
+ AMENITY: "Amenity",
1732
+ COUNTRY: "Country",
1733
+ NATURAL_FEATURE: "Natural feature",
1734
+ OTHER: "Other",
1735
+ POPULATED_PLACE: "Populated place",
1736
+ TRANSIT_STATION: "Transit station",
1737
+ } satisfies Record<DataSchema.PlaceCategory, string>,
1738
+ poiCategory: {
1739
+ ACCOMMODATION: "Accommodation",
1740
+ AIRPORT: "Airport",
1741
+ BUS_STATION: "Bus station",
1742
+ CABLE_CAR: "Cable car",
1743
+ CAFE: "Cafe",
1744
+ CAMPSITE: "Campsite",
1745
+ CARAVAN_SITE: "Caravan site",
1746
+ HOSPITAL: "Hospital",
1747
+ HUT: "Mountain hut",
1748
+ PARKING: "Parking",
1749
+ PASS: "Mountain pass",
1750
+ PEAK: "Peak",
1751
+ PHARMACY: "Pharmacy",
1752
+ RESTAURANT: "Restaurant",
1753
+ SHELTER: "Shelter",
1754
+ SUPERMARKET: "Supermarket",
1755
+ TOILETS: "Toilets",
1756
+ TRAIN_STATION: "Train station",
1757
+ VIEWPOINT: "Viewpoint",
1758
+ WATER_SOURCE: "Water source",
1759
+ } satisfies Record<DataSchema.PoiCategory, string>,
1760
+ sacScale: {
1761
+ alpine_hiking: "Alpine hiking",
1762
+ demanding_alpine_hiking: "Demanding alpine hiking",
1763
+ demanding_mountain_hiking: "Demanding mountain hiking",
1764
+ difficult_alpine_hiking: "Difficult alpine hiking",
1765
+ hiking: "Hiking",
1766
+ mountain_hiking: "Mountain hiking",
1767
+ },
1768
+ surface: {
1769
+ asphalt: "asphalt surface",
1770
+ cobblestone: "cobblestone surface",
1771
+ compacted: "compacted surface",
1772
+ concrete: "concrete surface",
1773
+ dirt: "dirt surface",
1774
+ fine_gravel: "fine gravel surface",
1775
+ grass: "grass surface",
1776
+ gravel: "gravel surface",
1777
+ ground: "natural ground",
1778
+ paved: "paved surface",
1779
+ paving_stones: "paving stones",
1780
+ rock: "rock surface",
1781
+ sand: "sand surface",
1782
+ unpaved: "unpaved surface",
1783
+ wood: "wood surface",
1784
+ },
1785
+ },
1786
+ pickFailed: "This result could not be opened.",
1787
+ placeholder: "Search trails, itineraries, places…",
1788
+ retry: "Retry",
1789
+ selectAria: (name: string): string => `Select ${name}`,
1790
+ viewportFallback: "No matches in view, showing the nearest results.",
1791
+ viewportScope: "Search in this area only",
1792
+ },
1793
+ segment: {
1794
+ allSegments: "All segments",
1795
+ label: "Segment",
1796
+ none: "No segment",
1797
+ },
1798
+ segmentEditing: {
1799
+ viaPrompt: {
1800
+ body: "Pass through it again to close a loop, or take it out of the route.",
1801
+ remove: "Remove this point",
1802
+ removeRefused:
1803
+ "This point cannot be removed: a segment needs at least two points, and the ones that meet the neighboring segments are fixed.",
1804
+ repeat: "Pass through it again",
1805
+ repeatRefused: "This segment already holds the most points a route can carry.",
1806
+ title: "You clicked an existing point",
1807
+ },
1808
+ },
1809
+ segmentEditor: {
1810
+ deleteFailed: "This segment could not be deleted.",
1811
+ /**
1812
+ * What a refused delete of a middle segment reads as when the refusal carries no sentence
1813
+ * of its own, which is the case over a persistence seam that states none.
1814
+ */
1815
+ deleteNotEdge:
1816
+ "Only the first or the last segment can be deleted, so the route stays continuous. Delete from one end, or merge this segment with a neighbor.",
1817
+ editGeometryFailed: "This segment's shape could not be edited.",
1818
+ emptyDescription: "A segment is a routed or drawn portion of your itinerary.",
1819
+ emptyDescriptionChoice:
1820
+ "A segment is a routed or drawn portion of your itinerary. Smart routing follows paths and trails; Freehand sketches a line by hand.",
1821
+ emptyTitle: "No segments yet",
1822
+ insertFailed: "A segment could not be inserted here.",
1823
+ listLabel: "Segments",
1824
+ mergeFailed: "These two segments could not be merged.",
1825
+ saveFailed: "This segment could not be saved.",
1826
+ setModeFailed: "This segment could not be routed along the line you drew.",
1827
+ splitFailed: "This segment could not be split.",
1828
+ unsavedRowHint: "This segment isn't saved yet. Finish or cancel the edit first.",
1829
+ },
1830
+ segmentGroup: {
1831
+ alreadyGrouped: (name: string): string => `Already in “${name}”`,
1832
+ colorLabel: "Color",
1833
+ create: "Group segments",
1834
+ createFailed: "This group could not be created.",
1835
+ explainerBody:
1836
+ "Grouping gives a run of neighboring segments one name and one color. Every segment stays intact: this is not merging.",
1837
+ extendDown: "Add the segment below",
1838
+ extendUp: "Add the segment above",
1839
+ minMembers: "A group needs at least two segments.",
1840
+ modalTitleCreate: "Group segments",
1841
+ modalTitleEdit: "Edit group",
1842
+ nameError: "Name must be between 2 and 30 characters.",
1843
+ nameLabel: "Group name",
1844
+ openFailed: "This group could not be opened.",
1845
+ rangeAnnouncement: (count: number, first: string, last: string): string =>
1846
+ count === 1
1847
+ ? `${count} segment in this group: “${first}”.`
1848
+ : `${count} segments in this group, from “${first}” to “${last}”.`,
1849
+ rangeFailed: "The segments in this group could not be changed, so nothing was saved.",
1850
+ rangeLabel: "Segments in this group",
1851
+ rangeSummary: (count: number): string =>
1852
+ count === 1 ? `${count} segment` : `${count} segments`,
1853
+ save: "Save changes",
1854
+ saveFailed: "This group could not be saved.",
1855
+ shrinkDown: "Remove the last segment",
1856
+ shrinkUp: "Remove the first segment",
1857
+ speedPlaceholder: "Each segment's own speed",
1858
+ ungroup: "Ungroup",
1859
+ ungroupFailed: "This group could not be dissolved.",
1860
+ },
1861
+ segmentMenu: {
1862
+ editInProgress: "Finish or cancel your current edit first.",
1863
+ mergeDisabledEngineHint: "Only neighboring segments using the same engine can be merged.",
1864
+ mergeDisabledGroupHint:
1865
+ "Only neighboring segments in the same group can be merged. Remove one from its group first.",
1866
+ mergeDisabledHeadHint: "The first segment has nothing before it to merge with.",
1867
+ mergeDisabledLockedHint: "Someone else is editing one of these two segments.",
1868
+ mergeDisabledTailHint: "The last segment has nothing after it to merge with.",
1869
+ mergeDisabledWaypointsHint:
1870
+ "These two segments have too many via points between them to be routed as one. Remove a few from either segment first.",
1871
+ deleteDisabledHint: "Only the first or last segment can be deleted.",
1872
+ groupDisabledHint:
1873
+ "Grouping needs at least two neighboring segments that are not already grouped.",
1874
+ menuChangeEngine: "Change engine",
1875
+ menuDelete: "Delete",
1876
+ menuEdit: "Edit",
1877
+ menuEditGroup: "Edit group",
1878
+ menuExport: "Download",
1879
+ menuGroup: "Group segments",
1880
+ menuGroupSection: "Group",
1881
+ menuInsertAfter: "Insert segment after",
1882
+ menuInsertBefore: "Insert segment before",
1883
+ menuLabel: "Segment actions",
1884
+ menuMergeNext: "Merge with next segment",
1885
+ menuMergePrevious: "Merge with previous segment",
1886
+ menuRemoveFromGroup: "Remove from group",
1887
+ menuRename: "Rename",
1888
+ menuSetSpeed: "Set speed",
1889
+ menuSplit: "Split",
1890
+ menuSplitMerge: "Split & merge",
1891
+ removeDisabledHint:
1892
+ "Only the first or last segment of a group can be removed, so the group stays continuous.",
1893
+ ungroup: "Ungroup",
1894
+ ungroupHint:
1895
+ "A group needs at least two segments, so removing this one dissolves the group and drops its name, color, and speed.",
1896
+ },
1897
+ segmentSeam: {
1898
+ editGroup: "Edit this group",
1899
+ insert: "Insert a segment here",
1900
+ insertFreehand: "Freehand",
1901
+ insertFreehandHint: "Follows the points you place.",
1902
+ insertRouted: "Smart routing",
1903
+ insertRoutedHint: "Follows trails and paths.",
1904
+ merge: "Merge these two segments",
1905
+ },
1906
+ segments: {
1907
+ colorHex: "Hex color",
1908
+ // The rate control names what the reader chose to read rates IN: a value in km/h is a
1909
+ // speed, a value in min/km is a pace, and they are two words in the product's own
1910
+ // vocabulary (the preferences screen offers them by these names). A reader who picked
1911
+ // Pace meets a field called Pace holding `13:20`, never one called Speed.
1912
+ paceLabel: "Pace",
1913
+ speedLabel: "Speed",
1914
+ speedPlaceholder: "Activity default",
1915
+ speedPlaceholderDefault: (value: string): string => `${value} (activity default)`,
1916
+ speedUnitKmh: "km/h",
1917
+ speedUnitMinKm: "min/km",
1918
+ speedUnitMinMi: "min/mi",
1919
+ speedUnitMph: "mph",
1920
+ engineHeading: "Change engine",
1921
+ engineFreehand: "Freehand",
1922
+ engineRouted: "Smart routing",
1923
+ durationHours: (count: number): string => `${count} h`,
1924
+ durationMinutes: (count: number): string => `${count} min`,
1925
+ durationHint: (duration: string): string => `≈ ${duration} at this speed`,
1926
+ add: "Add segment",
1927
+ addRouted: "Smart routing",
1928
+ addRoutedSub: "Follows trails and paths.",
1929
+ addFreehand: "Freehand",
1930
+ addFreehandSub: "Follows the points you place.",
1931
+ addEngineGuide: "How do these differ?",
1932
+ /** The empty state of a segment list whose activity no engine serves. */
1933
+ addUnavailable: "No segment can be drawn for this activity.",
1934
+ recolor: "Change segment color",
1935
+ renameError: "Name must be between 2 and 30 characters.",
1936
+ renameLabel: "Segment name",
1937
+ saveSegment: "Save segment",
1938
+ saveWaypoint: "Save waypoint",
1939
+ speedSet: "Set speed",
1940
+ speedUseDefault: "Use activity default speed",
1941
+ },
1942
+ share: {
1943
+ collectionNote:
1944
+ "This link is live: anyone who has it can view every itinerary and zone in the collection, read-only, with no Mountaya account.",
1945
+ collectionTitle: "Share collection",
1946
+ collectionViewNote:
1947
+ "You are viewing a shared collection, read-only. Every itinerary and zone it contains is open to you, and nothing here can be changed. Pass this link on to show someone else the same thing.",
1948
+ copied: "Copied",
1949
+ copy: "Copy",
1950
+ copyAriaLabel: "Copy share link",
1951
+ /** The action that creates the share link of a resource that has none. */
1952
+ create: "Create link",
1953
+ description: "A read-only link to this itinerary, the same one every time you open this.",
1954
+ disable: "Disable link",
1955
+ disableConfirm: {
1956
+ body: "Disable this share link? Every existing link will stop working and anyone using one will lose access.",
1957
+ confirm: "Disable",
1958
+ title: "Disable share link",
1959
+ },
1960
+ disableError: "We couldn't disable this share link. Please try again.",
1961
+ disabled: "Share link disabled.",
1962
+ /** What a share dialog says where the resource has no share link yet. */
1963
+ empty:
1964
+ "There is no share link yet. Create one to let anyone who has it open this, read-only, with no Mountaya account.",
1965
+ error: "We couldn't create a share link. Please try again.",
1966
+ linkLabel: "Share link",
1967
+ linkReady: "The share link is ready to copy.",
1968
+ /**
1969
+ * Why an organization's link is not this reader's to share, reset or disable: every verb of
1970
+ * the link takes the edit grant.
1971
+ */
1972
+ manageDenied:
1973
+ "Sharing, resetting or disabling this link needs a write role in the organization that owns it.",
1974
+ /**
1975
+ * Why a personal itinerary's or collection's link offers no disable to this reader: no
1976
+ * organization owns it, so the person who created it is the one who manages it.
1977
+ */
1978
+ manageDeniedPersonal: "Only the person who created this can disable its link.",
1979
+ /** What a share dialog says when the record that answers who may share failed to load. */
1980
+ manageUnknown:
1981
+ "We couldn't load what you're sharing, so we can't tell whether you may share it. Reload the page to try again.",
1982
+ noActiveLink: "No share link was active, so there was nothing to disable.",
1983
+ note: "Anyone with this link can view the published version of the itinerary, even if it is private. Unpublished changes stay hidden.",
1984
+ personalNote:
1985
+ "Share links belong to organizations, so a personal itinerary or collection cannot have one. Any link created for it before no longer opens.",
1986
+ /** What a share dialog says where it could not read whether a link is set. */
1987
+ readError: "We couldn't load this share link. Please try again.",
1988
+ retry: "Try again",
1989
+ rotate: "Reset link",
1990
+ rotateConfirm: {
1991
+ body: "Reset this share link? The current link will stop working and anyone using it will lose access.",
1992
+ confirm: "Reset",
1993
+ title: "Reset share link",
1994
+ },
1995
+ rotateError: "We couldn't reset this share link. Please try again.",
1996
+ rotated: "Share link reset.",
1997
+ social: {
1998
+ email: "Share by email",
1999
+ facebook: "Share on Facebook",
2000
+ label: "Share to",
2001
+ linkedin: "Share on LinkedIn",
2002
+ reddit: "Share on Reddit",
2003
+ telegram: "Share on Telegram",
2004
+ whatsapp: "Share on WhatsApp",
2005
+ x: "Share on X",
2006
+ },
2007
+ title: "Share itinerary",
2008
+ unpublishedDescription:
2009
+ "This itinerary has not been published yet. Once its owner publishes it, this link will show the published version.",
2010
+ unpublishedTitle: "This itinerary is not published yet",
2011
+ viewDescription: "You are viewing an itinerary someone shared with you, read-only.",
2012
+ viewNote:
2013
+ "You are viewing a shared itinerary, read-only. It is the published version, and nothing here can be changed. Pass this link on to show someone else the same thing.",
2014
+ },
2015
+ subject: {
2016
+ loading: "Loading the itinerary…",
2017
+ },
2018
+ suggest: {
2019
+ ascent: {
2020
+ label: "Ascent",
2021
+ placeholder: "Any",
2022
+ },
2023
+ distance: {
2024
+ label: "Distance",
2025
+ placeholder: "Target distance",
2026
+ },
2027
+ empty: {
2028
+ description: "Try a longer distance, a different activity, or move the start point.",
2029
+ title: "No itineraries found",
2030
+ },
2031
+ end: {
2032
+ label: "End point",
2033
+ },
2034
+ exhausted: {
2035
+ description:
2036
+ "That's every distinct route we found for these settings. Adjust the distance or ascent to discover more.",
2037
+ title: "No more suggestions",
2038
+ },
2039
+ pinAria: "Pin this itinerary",
2040
+ positioning: "Positioning…",
2041
+ resultsHint: "Pin up to three to carry them into the next set.",
2042
+ resultsTitle: "Suggested itineraries",
2043
+ routeType: {
2044
+ label: "Route shape",
2045
+ loop: "Loop",
2046
+ pointToPoint: "Point to point",
2047
+ },
2048
+ setOnMap: "Set on map",
2049
+ start: {
2050
+ label: "Start point",
2051
+ },
2052
+ startFrom: "Start from this itinerary",
2053
+ suggest: "Suggest itineraries",
2054
+ suggestMore: "Suggest more itineraries",
2055
+ suggestMoreKeep: (fresh: number, kept: number): string =>
2056
+ `Suggest ${fresh} more · ${kept} pinned`,
2057
+ units: {
2058
+ feet: "ft",
2059
+ kilometers: "km",
2060
+ meters: "m",
2061
+ miles: "mi",
2062
+ },
2063
+ },
2064
+ tabs: {
2065
+ copilot: "AI co-pilot",
2066
+ },
2067
+ video: {
2068
+ footer: {
2069
+ back: "Back",
2070
+ next: "Next",
2071
+ },
2072
+ format: {
2073
+ length: {
2074
+ label: "Length",
2075
+ suggested: (count: number): string => `Use suggested (${count}s)`,
2076
+ unit: "s",
2077
+ },
2078
+ lengthSeconds: (count: number): string =>
2079
+ count === 1 ? `${count} second` : `${count} seconds`,
2080
+ matrix: {
2081
+ aspectLabel: "Aspect",
2082
+ bitrateLabel: "Bitrate",
2083
+ bitrateValue: (count: number): string => `${count} Mbps`,
2084
+ formatLabel: "Container",
2085
+ formatMp4: "MP4",
2086
+ formatWebmVp8: "WebM (VP8)",
2087
+ formatWebmVp9: "WebM (VP9)",
2088
+ fps24: "24 fps (cinema)",
2089
+ fps30: "30 fps",
2090
+ fps60: "60 fps",
2091
+ fpsLabel: "Frame rate",
2092
+ qualityHigh: "High",
2093
+ qualityLabel: "Quality",
2094
+ qualityLow: "Low",
2095
+ qualityMedium: "Medium",
2096
+ resolutionLabel: "Resolution",
2097
+ },
2098
+ preset: {
2099
+ custom: {
2100
+ description: "Set the container, resolution, frame rate, quality, and aspect yourself.",
2101
+ title: "Custom",
2102
+ },
2103
+ groupLabel: "Preset",
2104
+ specs: (resolution: string, aspect: string, fps: number, bitrate: number): string =>
2105
+ `${resolution} · ${aspect} · ${fps} fps · ${bitrate} Mbps`,
2106
+ square: {
2107
+ description: "Feed posts.",
2108
+ title: "Square (1:1)",
2109
+ },
2110
+ vertical: {
2111
+ description: "Stories, Reels, Shorts, and TikTok.",
2112
+ title: "Vertical (9:16)",
2113
+ },
2114
+ widescreen: {
2115
+ description: "YouTube and the web.",
2116
+ title: "Widescreen (16:9)",
2117
+ },
2118
+ },
2119
+ },
2120
+ mode: {
2121
+ chase: {
2122
+ description: "A low chase camera riding just behind you, action-cam energy.",
2123
+ title: "Chase",
2124
+ },
2125
+ cinematic: {
2126
+ description: "Grounded, reactive shots that hug the terrain.",
2127
+ title: "Cinematic",
2128
+ },
2129
+ director: {
2130
+ description: "Describe the shots you want and let the assistant compose them.",
2131
+ title: "AI Director",
2132
+ },
2133
+ directorHint: "Pick a starting style, then refine it with the assistant below.",
2134
+ drone: {
2135
+ description: "High, wide aerial sweeps over the route.",
2136
+ title: "Drone",
2137
+ },
2138
+ groupLabel: "Camera style",
2139
+ helicopter: {
2140
+ description: "High lateral sweeps that track alongside the route, broadcast style.",
2141
+ title: "Helicopter",
2142
+ },
2143
+ overview: {
2144
+ description: "A map-style reveal: the whole route from above, then a dive down the trail.",
2145
+ title: "Overview",
2146
+ },
2147
+ smart: {
2148
+ description: "Framing adapts to the slope along the route.",
2149
+ title: "Smart",
2150
+ },
2151
+ },
2152
+ preview: {
2153
+ empty: "This itinerary has no route to fly.",
2154
+ error: "This itinerary could not be loaded.",
2155
+ /** The stage's own name: the landmark a reader moves to. */
2156
+ label: "Preview",
2157
+ loading: "Preparing the flight…",
2158
+ loop: "Loop preview",
2159
+ pause: "Pause preview",
2160
+ play: "Play preview",
2161
+ scrub: "Seek preview",
2162
+ stop: "Stop preview",
2163
+ },
2164
+ profile: {
2165
+ design: {
2166
+ graph: {
2167
+ description: "An elevation curve with a moving readout, like a stage profile.",
2168
+ title: "Graph",
2169
+ },
2170
+ minimal: {
2171
+ description: "A single distance-to-go chip that stays out of the frame.",
2172
+ title: "Minimal",
2173
+ },
2174
+ strip: {
2175
+ description: "A compact band of live stats along the bottom edge.",
2176
+ title: "Strip",
2177
+ },
2178
+ },
2179
+ designLabel: "Overlay design",
2180
+ enable: "Show the data overlay",
2181
+ hint: "Changes show live on the preview.",
2182
+ languageLabel: "Overlay language",
2183
+ lengthLabel: "Distance units",
2184
+ paceLabel: "Travel rate",
2185
+ slopeLabel: "Slope units",
2186
+ },
2187
+ record: {
2188
+ done: "Your video is ready to download.",
2189
+ doneTitle: "Recording complete",
2190
+ download: "Download video",
2191
+ error: "The video could not be recorded.",
2192
+ errorTitle: "Recording failed",
2193
+ phase: {
2194
+ encoding: "Encoding…",
2195
+ preparing: "Preparing…",
2196
+ recording: "Recording…",
2197
+ },
2198
+ start: "Record",
2199
+ },
2200
+ review: {
2201
+ edit: "Edit",
2202
+ editSection: (section: string): string => `Edit ${section}`,
2203
+ estimatedSize: "Estimated size",
2204
+ estimatedSizeValue: (count: number): string => `≈ ${count} MB`,
2205
+ fpsValue: (count: number): string => `${count} fps`,
2206
+ length: "Length",
2207
+ mode: "Camera style",
2208
+ off: "Off",
2209
+ on: "On",
2210
+ overlay: "Data overlay",
2211
+ preset: "Preset",
2212
+ sections: {
2213
+ camera: "Camera",
2214
+ format: "Format",
2215
+ overlay: "Overlay",
2216
+ },
2217
+ shots: (count: number): string => (count === 1 ? `${count} shot` : `${count} shots`),
2218
+ shotsLabel: "Shots",
2219
+ },
2220
+ shots: {
2221
+ add: "Add shot at playhead",
2222
+ addHold: "Add hold",
2223
+ addOrbit: "Add orbit",
2224
+ at: "Position",
2225
+ bearing: {
2226
+ follow: "Follow",
2227
+ locked: "Locked",
2228
+ value: "Fixed",
2229
+ },
2230
+ bearingDeg: "Heading",
2231
+ bearingLabel: "Bearing",
2232
+ editShot: (index: number): string => `Edit shot ${index}`,
2233
+ empty: "No shots yet. Describe them to the assistant, or add one at the playhead.",
2234
+ hold: "Hold",
2235
+ holdSummary: (count: number): string => `${count}s hold`,
2236
+ jumpTo: (index: number): string => `Preview shot ${index}`,
2237
+ more: "More shot actions",
2238
+ pitch: "Pitch",
2239
+ remove: (index: number): string => `Remove shot ${index}`,
2240
+ speed: "Approach speed",
2241
+ title: "Shot list",
2242
+ zoom: "Zoom",
2243
+ },
2244
+ /** Each step's name in the wizard's list, and the sentence the step opens on. */
2245
+ steps: {
2246
+ camera: {
2247
+ description: "How the camera follows the route.",
2248
+ label: "Camera",
2249
+ },
2250
+ format: {
2251
+ description: "The shape of the frame and the length of the video.",
2252
+ label: "Format",
2253
+ },
2254
+ profile: {
2255
+ description: "Live figures drawn over the video as it plays.",
2256
+ label: "Overlay",
2257
+ },
2258
+ review: {
2259
+ description: "Check every setting, then record.",
2260
+ label: "Review",
2261
+ },
2262
+ },
2263
+ /** The heading drawn over the list of steps. */
2264
+ stepsHeading: "Steps",
2265
+ /** The name of the list of steps: what these are steps of. */
2266
+ stepsLabel: "Video export steps",
2267
+ title: "Export as video",
2268
+ },
2269
+ waypointDetails: {
2270
+ addLink: "Add link",
2271
+ addPhoto: "Add photo",
2272
+ addProperty: "Add field",
2273
+ addressLabel: "Address",
2274
+ addressPlaceholder: "Street, postcode, town",
2275
+ amenitiesHelp:
2276
+ "Everything a visitor finds once they get here. Pick every service the place offers.",
2277
+ amenitiesSection: "Services",
2278
+ appearanceHelp: "What this waypoint is called and how it is marked on the map.",
2279
+ appearanceSection: "General",
2280
+ bookingUrlLabel: "Booking page",
2281
+ contactHelp: "How to reach the place before setting off. Every line here is shown as written.",
2282
+ contactSection: "Contact",
2283
+ cutoffAtLabel: "Cut-off time",
2284
+ cutoffHelp: "The latest time to leave the place. Leave it empty if there is no cut-off.",
2285
+ descriptionInvalid: "A description must be 100 characters or fewer.",
2286
+ descriptionLabel: "Description",
2287
+ descriptionPlaceholder: "What is here, in one line.",
2288
+ emailInvalid: "Not a valid email address.",
2289
+ emailLabel: "Email",
2290
+ emailPlaceholder: "name@example.com",
2291
+ emptyDescription: "Services, opening hours, photos and your own fields all show here.",
2292
+ emptyTitle: "Nothing recorded yet",
2293
+ fieldFormat: "Format",
2294
+ fieldKey: "Key",
2295
+ fieldLabel: "Label",
2296
+ fieldValue: "Value",
2297
+ formats: {
2298
+ date: "Date",
2299
+ distance: "Distance",
2300
+ duration: "Duration",
2301
+ number: "Number",
2302
+ text: "Text",
2303
+ url: "Link",
2304
+ },
2305
+ identityCard: "Identity",
2306
+ identityHelp: "What the waypoint is called, and the line a reader gets under that name.",
2307
+ keyInvalid: "Lowercase letters, digits and hyphens.",
2308
+ limitReached: (limit: number): string =>
2309
+ `Limit of ${limit} reached. Remove one to add another.`,
2310
+ linkLabel: (position: number): string => `Label of link ${position}`,
2311
+ linkLabelPlaceholder: "Label",
2312
+ linksEmpty: "No links yet",
2313
+ linksHelp:
2314
+ "Anything a reader should be able to open: a booking page, a live tracker, a plan. A link needs an address and a label.",
2315
+ linksLabel: "Links",
2316
+ linkUrl: (position: number): string => `Address of link ${position}`,
2317
+ markCard: "Marker",
2318
+ markHelp:
2319
+ "The pin this waypoint shows on the map, in the waypoint list and on the elevation profile.",
2320
+ mediaHelp: "Photos and web pages shown with this waypoint.",
2321
+ mediaSection: "Photos and links",
2322
+ menuItem: "Edit details",
2323
+ metersSuffix: " m",
2324
+ minutesPlaceholder: "Minutes",
2325
+ minutesSuffix: " min",
2326
+ nameInvalid: "A name needs at least two characters.",
2327
+ nameLabel: "Name",
2328
+ openingHoursLabel: "Opening hours",
2329
+ openingHoursPlaceholder: "Mon–Fri 8:00–18:00",
2330
+ opensInNewTab: "opens in a new tab",
2331
+ phoneInvalid: "Use digits, spaces and + - . ( ) /",
2332
+ phoneLabel: "Phone",
2333
+ phonePlaceholder: "+33 4 50 12 34 56",
2334
+ photoCaption: (position: number): string => `Caption of photo ${position}`,
2335
+ photoCaptionPlaceholder: "Caption",
2336
+ photoOpen: (position: number): string => `Open photo ${position}`,
2337
+ photosEmpty: "No photos yet",
2338
+ photosHelp: "Add each photo by its web address. Photos are shown in this order.",
2339
+ photosLabel: "Photos",
2340
+ photoUrl: (position: number): string => `Address of photo ${position}`,
2341
+ position: (index: number, total: number): string => `Waypoint ${index} of ${total}`,
2342
+ propertiesEmpty: "No custom fields yet",
2343
+ propertiesHelp:
2344
+ "Your own labelled values, such as a bib check or a number of beds. The key is how a field is matched across waypoints, in tables and in the API.",
2345
+ propertiesSection: "Custom fields",
2346
+ propertyDatePlaceholder: "Pick a date and time",
2347
+ propertyDistancePlaceholder: "Meters",
2348
+ propertyFormat: (position: number): string => `Format of field ${position}`,
2349
+ propertyKey: (position: number): string => `Key of field ${position}`,
2350
+ propertyKeyPlaceholder: "bib-check",
2351
+ propertyLabel: (position: number): string => `Label of field ${position}`,
2352
+ propertyLabelPlaceholder: "Bib check",
2353
+ propertyNumberPlaceholder: "Number",
2354
+ propertyValue: (position: number): string => `Value of field ${position}`,
2355
+ propertyValuePlaceholder: "Mandatory",
2356
+ removeLink: (position: number): string => `Remove link ${position}`,
2357
+ removePhoto: (position: number): string => `Remove photo ${position}`,
2358
+ removeProperty: (position: number): string => `Remove field ${position}`,
2359
+ save: "Save changes",
2360
+ saveFailed: "Could not save this waypoint's details.",
2361
+ sectionAttention: "A field needs attention",
2362
+ sectionItems: (count: number): string => (count === 1 ? "1 item" : `${count} items`),
2363
+ sectionsLabel: "Waypoint sections",
2364
+ stopHelp: "Time spent at the place itself, on top of the time it takes to reach it.",
2365
+ stopLabel: "Planned stop",
2366
+ switcherLabel: "Switch waypoint",
2367
+ timingHelp: "When the place can be used, and how long to allow there.",
2368
+ timingSection: "Timing",
2369
+ title: "Edit waypoint details",
2370
+ urlInvalid: "Must be a full http:// or https:// address.",
2371
+ urlPlaceholder: "https://…",
2372
+ valueFormatInvalid: "Does not match the format chosen beside it.",
2373
+ viewEmptyDescription:
2374
+ "This waypoint has no services, timing, contact details, photos or custom fields yet.",
2375
+ viewEmptyTitle: "No details yet",
2376
+ websiteLabel: "Website",
2377
+ },
2378
+ waypointEditor: {
2379
+ add: "Add waypoint",
2380
+ addDrawPoint: "Draw a point",
2381
+ addDrawPointSub: "Drop a custom marker.",
2382
+ addPickPoi: "Pick from a POI",
2383
+ addPickPoiSub: "Use an existing point of interest.",
2384
+ colorLabel: "Color",
2385
+ deleteFailed: "This waypoint could not be deleted.",
2386
+ emptyDescription:
2387
+ "A waypoint is a point of interest or custom marker pinned along your itinerary.",
2388
+ emptyTitle: "No waypoints yet",
2389
+ iconCircleLabel: "Change waypoint color and icon",
2390
+ iconGroup: {
2391
+ access: "Getting there",
2392
+ facilities: "Facilities",
2393
+ markers: "Markers",
2394
+ safety: "Safety",
2395
+ stay: "Staying over",
2396
+ },
2397
+ iconLabel: "Icon",
2398
+ iconName: {
2399
+ "apartment-building": "Building",
2400
+ bed: "Accommodation",
2401
+ bus: "Bus stop",
2402
+ "cable-car": "Cable car",
2403
+ "camper-van": "Motorhome area",
2404
+ camping: "Campsite",
2405
+ "charging-station": "Charging point",
2406
+ "circle-check": "Checkpoint",
2407
+ "circle-info": "Information",
2408
+ "circle-warning": "Warning",
2409
+ climbing: "Climbing section",
2410
+ cutlery: "Food",
2411
+ droplet: "Water",
2412
+ eye: "Viewpoint",
2413
+ flag: "Flag",
2414
+ "flag-end": "Finish",
2415
+ "flag-start": "Start",
2416
+ gate: "Gate",
2417
+ helicopter: "Helicopter landing",
2418
+ hut: "Mountain hut",
2419
+ ladder: "Ladder or cable",
2420
+ "map-pin": "Point",
2421
+ "medical-cross": "First aid",
2422
+ megaphone: "Notice",
2423
+ "parking-sign": "Parking",
2424
+ picnic: "Picnic area",
2425
+ shop: "Shop",
2426
+ shower: "Showers",
2427
+ signal: "Call point",
2428
+ toilet: "Toilets",
2429
+ train: "Station",
2430
+ trash: "Waste disposal",
2431
+ trophy: "Summit",
2432
+ },
2433
+ listLabel: "Waypoints",
2434
+ moveFailed: "This waypoint could not be moved.",
2435
+ saveFailed: "This waypoint could not be saved.",
2436
+ },
2437
+ zoneForm: {
2438
+ availabilityToggle: "Limit when this zone is active",
2439
+ collectionAttachWarning: (count: number): string =>
2440
+ count === 1
2441
+ ? `The zone was created, but it couldn't be added to ${count} collection.`
2442
+ : `The zone was created, but it couldn't be added to ${count} collections.`,
2443
+ create: "Create zone",
2444
+ createAndDraw: "Create and draw on map",
2445
+ dateError: "The end must be on or after the start.",
2446
+ descriptionError: "Description must be at most 100 characters.",
2447
+ descriptionLabel: "Description",
2448
+ descriptionPlaceholder: "Describe the zone",
2449
+ endLabel: "End",
2450
+ inheritedFrom: (name: string): string => `From “${name}”`,
2451
+ levelLabel: "Severity",
2452
+ deleteFailed: "This zone could not be deleted.",
2453
+ menuDelete: "Delete",
2454
+ menuLabel: "Zone actions",
2455
+ levels: {
2456
+ danger: "Danger",
2457
+ info: "Info",
2458
+ resolved: "Resolved",
2459
+ warning: "Warning",
2460
+ },
2461
+ measureLabel: "Measure by",
2462
+ methodHint: "Draw the area yourself, or compute how far you can get from a point.",
2463
+ methodLabel: "Define by",
2464
+ methods: {
2465
+ draw: "Draw",
2466
+ reachability: "Reachability",
2467
+ },
2468
+ modeLabel: "Shape",
2469
+ modeLocked: "The shape type is fixed once drawing starts and can't be changed.",
2470
+ modes: {
2471
+ circle: "Circle",
2472
+ freehand: "Freehand",
2473
+ polygon: "Polygon",
2474
+ sector: "Sector",
2475
+ sensor: "Sensor",
2476
+ },
2477
+ nameError: "Name must be between 2 and 30 characters.",
2478
+ nameLabel: "Name",
2479
+ namePlaceholder: "Name the zone",
2480
+ originLabel: "Origin",
2481
+ rangeHours: (count: number): string => `${count} h`,
2482
+ rangeKilometers: (count: number): string => `${count} km`,
2483
+ rangeLabel: "Within",
2484
+ rangeMeters: (count: number): string => `${count} m`,
2485
+ rangeMinutes: (count: number): string => `${count} min`,
2486
+ rangeUnitMinutes: "min",
2487
+ reachabilityName: (range: string, activity: string): string => `${range} by ${activity}`,
2488
+ readOnly: "You don't have permission to edit this zone.",
2489
+ reshapeByHand: "Reshape by hand",
2490
+ reshapeConfirmAction: "Reshape by hand",
2491
+ reshapeConfirmBody:
2492
+ "Reshape this zone by hand? Its shape is computed from its reachability query. The shape you draw replaces that query, and it can't be refreshed afterwards.",
2493
+ reshapeConfirmTitle: "Reshape zone by hand",
2494
+ save: "Save zone",
2495
+ /**
2496
+ * Why the zone surface takes no write, by the reason the host's scope seam gives: the
2497
+ * personal space holds no zone, and an organization whose agreement does not include Map
2498
+ * Studio takes none. A zone kept there stays readable and can be deleted.
2499
+ */
2500
+ scopeRefused: {
2501
+ agreement:
2502
+ "This organization's agreement doesn't include Map Studio, so its zones can be viewed and deleted but not created or edited.",
2503
+ personal:
2504
+ "Zones are kept in an organization whose agreement includes Map Studio. Your personal space holds none: a zone kept there can be viewed and deleted, not created or edited.",
2505
+ },
2506
+ sectionAvailability: "Availability",
2507
+ startLabel: "Start",
2508
+ timeBoundDescription:
2509
+ "The zone is active only between these times. The time slider in the Layers panel sets the moment shown on the map. Outside its window the zone stays visible, marked with diagonal stripes and a clock icon.",
2510
+ },
2511
+ };
2512
+
2513
+ /**
2514
+ * StudioStrings is the shape of the studio's copy, derived from the English bundle.
2515
+ *
2516
+ * Derived rather than declared: a hand-written mirror of the whole of the copy is a
2517
+ * transcription that goes stale silently. Every other language is annotated with it.
2518
+ */
2519
+ export type StudioStrings = typeof enStrings;