umap-project 2.3.0__py3-none-any.whl → 2.4.0__py3-none-any.whl

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.

Potentially problematic release.


This version of umap-project might be problematic. Click here for more details.

Files changed (211) hide show
  1. umap/__init__.py +1 -1
  2. umap/locale/en/LC_MESSAGES/django.po +81 -31
  3. umap/locale/fr/LC_MESSAGES/django.mo +0 -0
  4. umap/locale/fr/LC_MESSAGES/django.po +117 -66
  5. umap/locale/pl/LC_MESSAGES/django.mo +0 -0
  6. umap/locale/pl/LC_MESSAGES/django.po +83 -78
  7. umap/locale/pt/LC_MESSAGES/django.mo +0 -0
  8. umap/locale/pt/LC_MESSAGES/django.po +129 -123
  9. umap/management/commands/run_websocket_server.py +23 -0
  10. umap/models.py +6 -1
  11. umap/settings/base.py +11 -3
  12. umap/static/umap/base.css +68 -186
  13. umap/static/umap/content.css +3 -2
  14. umap/static/umap/css/dialog.css +18 -0
  15. umap/static/umap/css/icon.css +8 -0
  16. umap/static/umap/css/importers.css +51 -0
  17. umap/static/umap/css/panel.css +18 -57
  18. umap/static/umap/css/tooltip.css +59 -0
  19. umap/static/umap/css/window.css +35 -0
  20. umap/static/umap/img/16-white.svg +1 -3
  21. umap/static/umap/img/alert-icon-error.svg +8 -0
  22. umap/static/umap/img/alert-icon-info.svg +4 -0
  23. umap/static/umap/img/alert-icon-success.svg +3 -0
  24. umap/static/umap/img/icon-external-link.svg +3 -0
  25. umap/static/umap/img/importers/communesfr.svg +5 -0
  26. umap/static/umap/img/importers/datasets.svg +13 -0
  27. umap/static/umap/img/importers/geodatamine.svg +10 -0
  28. umap/static/umap/img/importers/overpass.svg +7 -0
  29. umap/static/umap/img/importers/random.svg +18 -0
  30. umap/static/umap/img/importers/random1.svg +4 -0
  31. umap/static/umap/img/importers/random2.svg +4 -0
  32. umap/static/umap/img/source/16-white.svg +2 -4
  33. umap/static/umap/js/components/alerts/alert.css +160 -0
  34. umap/static/umap/js/components/alerts/alert.js +169 -0
  35. umap/static/umap/js/components/base.js +54 -0
  36. umap/static/umap/js/modules/autocomplete.js +347 -0
  37. umap/static/umap/js/modules/browser.js +14 -21
  38. umap/static/umap/js/modules/caption.js +119 -0
  39. umap/static/umap/js/modules/global.js +37 -11
  40. umap/static/umap/js/modules/help.js +255 -0
  41. umap/static/umap/js/modules/importer.js +308 -0
  42. umap/static/umap/js/modules/importers/communesfr.js +44 -0
  43. umap/static/umap/js/modules/importers/datasets.js +42 -0
  44. umap/static/umap/js/modules/importers/geodatamine.js +95 -0
  45. umap/static/umap/js/modules/importers/overpass.js +84 -0
  46. umap/static/umap/js/modules/request.js +12 -14
  47. umap/static/umap/js/modules/rules.js +241 -0
  48. umap/static/umap/js/modules/schema.js +63 -14
  49. umap/static/umap/js/modules/sync/engine.js +93 -0
  50. umap/static/umap/js/modules/sync/updaters.js +109 -0
  51. umap/static/umap/js/modules/sync/websocket.js +25 -0
  52. umap/static/umap/js/modules/ui/dialog.js +52 -0
  53. umap/static/umap/js/modules/{panel.js → ui/panel.js} +37 -20
  54. umap/static/umap/js/modules/ui/tooltip.js +116 -0
  55. umap/static/umap/js/modules/utils.js +25 -18
  56. umap/static/umap/js/umap.controls.js +37 -112
  57. umap/static/umap/js/umap.core.js +1 -327
  58. umap/static/umap/js/umap.features.js +77 -29
  59. umap/static/umap/js/umap.forms.js +17 -19
  60. umap/static/umap/js/umap.js +265 -228
  61. umap/static/umap/js/umap.layer.js +154 -76
  62. umap/static/umap/js/umap.permissions.js +5 -9
  63. umap/static/umap/js/umap.popup.js +2 -1
  64. umap/static/umap/js/umap.tableeditor.js +8 -8
  65. umap/static/umap/locale/am_ET.js +51 -16
  66. umap/static/umap/locale/am_ET.json +51 -16
  67. umap/static/umap/locale/ar.js +51 -16
  68. umap/static/umap/locale/ar.json +51 -16
  69. umap/static/umap/locale/ast.js +51 -16
  70. umap/static/umap/locale/ast.json +51 -16
  71. umap/static/umap/locale/bg.js +51 -16
  72. umap/static/umap/locale/bg.json +51 -16
  73. umap/static/umap/locale/br.js +55 -20
  74. umap/static/umap/locale/br.json +55 -20
  75. umap/static/umap/locale/ca.js +51 -16
  76. umap/static/umap/locale/ca.json +51 -16
  77. umap/static/umap/locale/cs_CZ.js +93 -58
  78. umap/static/umap/locale/cs_CZ.json +93 -58
  79. umap/static/umap/locale/da.js +51 -16
  80. umap/static/umap/locale/da.json +51 -16
  81. umap/static/umap/locale/de.js +56 -21
  82. umap/static/umap/locale/de.json +56 -21
  83. umap/static/umap/locale/el.js +51 -16
  84. umap/static/umap/locale/el.json +51 -16
  85. umap/static/umap/locale/en.js +52 -16
  86. umap/static/umap/locale/en.json +52 -16
  87. umap/static/umap/locale/en_US.json +51 -16
  88. umap/static/umap/locale/es.js +51 -16
  89. umap/static/umap/locale/es.json +51 -16
  90. umap/static/umap/locale/et.js +51 -16
  91. umap/static/umap/locale/et.json +51 -16
  92. umap/static/umap/locale/eu.js +51 -16
  93. umap/static/umap/locale/eu.json +51 -16
  94. umap/static/umap/locale/fa_IR.js +51 -16
  95. umap/static/umap/locale/fa_IR.json +51 -16
  96. umap/static/umap/locale/fi.js +51 -16
  97. umap/static/umap/locale/fi.json +51 -16
  98. umap/static/umap/locale/fr.js +61 -25
  99. umap/static/umap/locale/fr.json +61 -25
  100. umap/static/umap/locale/gl.js +51 -16
  101. umap/static/umap/locale/gl.json +51 -16
  102. umap/static/umap/locale/he.js +51 -16
  103. umap/static/umap/locale/he.json +51 -16
  104. umap/static/umap/locale/hr.js +51 -16
  105. umap/static/umap/locale/hr.json +51 -16
  106. umap/static/umap/locale/hu.js +51 -16
  107. umap/static/umap/locale/hu.json +51 -16
  108. umap/static/umap/locale/id.js +51 -16
  109. umap/static/umap/locale/id.json +51 -16
  110. umap/static/umap/locale/is.js +51 -16
  111. umap/static/umap/locale/is.json +51 -16
  112. umap/static/umap/locale/it.js +51 -16
  113. umap/static/umap/locale/it.json +51 -16
  114. umap/static/umap/locale/ja.js +51 -16
  115. umap/static/umap/locale/ja.json +51 -16
  116. umap/static/umap/locale/ko.js +51 -16
  117. umap/static/umap/locale/ko.json +51 -16
  118. umap/static/umap/locale/lt.js +51 -16
  119. umap/static/umap/locale/lt.json +51 -16
  120. umap/static/umap/locale/ms.js +51 -16
  121. umap/static/umap/locale/ms.json +51 -16
  122. umap/static/umap/locale/nl.js +51 -16
  123. umap/static/umap/locale/nl.json +51 -16
  124. umap/static/umap/locale/no.js +51 -16
  125. umap/static/umap/locale/no.json +51 -16
  126. umap/static/umap/locale/pl.js +93 -58
  127. umap/static/umap/locale/pl.json +93 -58
  128. umap/static/umap/locale/pl_PL.json +51 -16
  129. umap/static/umap/locale/pt.js +215 -180
  130. umap/static/umap/locale/pt.json +215 -180
  131. umap/static/umap/locale/pt_BR.js +51 -16
  132. umap/static/umap/locale/pt_BR.json +51 -16
  133. umap/static/umap/locale/pt_PT.js +51 -16
  134. umap/static/umap/locale/pt_PT.json +51 -16
  135. umap/static/umap/locale/ro.js +51 -16
  136. umap/static/umap/locale/ro.json +51 -16
  137. umap/static/umap/locale/ru.js +51 -16
  138. umap/static/umap/locale/ru.json +51 -16
  139. umap/static/umap/locale/si.js +51 -16
  140. umap/static/umap/locale/si.json +51 -16
  141. umap/static/umap/locale/sk_SK.js +51 -16
  142. umap/static/umap/locale/sk_SK.json +51 -16
  143. umap/static/umap/locale/sl.js +51 -16
  144. umap/static/umap/locale/sl.json +51 -16
  145. umap/static/umap/locale/sr.js +51 -16
  146. umap/static/umap/locale/sr.json +51 -16
  147. umap/static/umap/locale/sv.js +51 -16
  148. umap/static/umap/locale/sv.json +51 -16
  149. umap/static/umap/locale/th_TH.js +51 -16
  150. umap/static/umap/locale/th_TH.json +51 -16
  151. umap/static/umap/locale/tr.js +51 -16
  152. umap/static/umap/locale/tr.json +51 -16
  153. umap/static/umap/locale/uk_UA.js +51 -16
  154. umap/static/umap/locale/uk_UA.json +51 -16
  155. umap/static/umap/locale/vi.js +51 -16
  156. umap/static/umap/locale/vi.json +51 -16
  157. umap/static/umap/locale/vi_VN.json +51 -16
  158. umap/static/umap/locale/zh.js +51 -16
  159. umap/static/umap/locale/zh.json +51 -16
  160. umap/static/umap/locale/zh_CN.json +51 -16
  161. umap/static/umap/locale/zh_TW.Big5.json +51 -16
  162. umap/static/umap/locale/zh_TW.js +51 -16
  163. umap/static/umap/locale/zh_TW.json +51 -16
  164. umap/static/umap/map.css +40 -53
  165. umap/static/umap/unittests/sync.js +105 -0
  166. umap/static/umap/unittests/utils.js +78 -36
  167. umap/static/umap/vars.css +19 -1
  168. umap/static/umap/vendors/dompurify/purify.es.js +50 -15
  169. umap/static/umap/vendors/dompurify/purify.es.mjs.map +1 -1
  170. umap/static/umap/vendors/formbuilder/Leaflet.FormBuilder.js +2 -2
  171. umap/templates/umap/components/alerts/alert.html +89 -0
  172. umap/templates/umap/content.html +4 -3
  173. umap/templates/umap/css.html +4 -0
  174. umap/templates/umap/home.html +3 -0
  175. umap/templates/umap/js.html +0 -3
  176. umap/templates/umap/map_init.html +2 -8
  177. umap/templates/umap/messages.html +9 -11
  178. umap/templates/umap/search.html +3 -0
  179. umap/tests/base.py +3 -0
  180. umap/tests/integration/conftest.py +30 -0
  181. umap/tests/integration/test_anonymous_owned_map.py +8 -13
  182. umap/tests/integration/test_browser.py +81 -6
  183. umap/tests/integration/test_caption.py +27 -0
  184. umap/tests/integration/test_conditional_rules.py +201 -0
  185. umap/tests/integration/test_dashboard.py +1 -1
  186. umap/tests/integration/test_datalayer.py +2 -3
  187. umap/tests/integration/test_edit_datalayer.py +32 -3
  188. umap/tests/integration/test_edit_map.py +1 -1
  189. umap/tests/integration/test_facets_browser.py +7 -4
  190. umap/tests/integration/test_import.py +185 -49
  191. umap/tests/integration/test_map.py +31 -17
  192. umap/tests/integration/{test_collaborative_editing.py → test_optimistic_merge.py} +7 -7
  193. umap/tests/integration/test_owned_map.py +1 -1
  194. umap/tests/integration/test_picto.py +2 -2
  195. umap/tests/integration/test_statics.py +1 -1
  196. umap/tests/integration/test_view_marker.py +19 -2
  197. umap/tests/integration/test_websocket_sync.py +283 -0
  198. umap/tests/settings.py +5 -0
  199. umap/tests/test_datalayer_views.py +0 -1
  200. umap/tests/test_views.py +53 -0
  201. umap/urls.py +5 -0
  202. umap/views.py +40 -11
  203. umap/websocket_server.py +92 -0
  204. {umap_project-2.3.0.dist-info → umap_project-2.4.0.dist-info}/METADATA +13 -11
  205. {umap_project-2.3.0.dist-info → umap_project-2.4.0.dist-info}/RECORD +208 -172
  206. umap/static/umap/js/umap.autocomplete.js +0 -341
  207. umap/static/umap/js/umap.importer.js +0 -187
  208. umap/static/umap/js/umap.ui.js +0 -190
  209. {umap_project-2.3.0.dist-info → umap_project-2.4.0.dist-info}/WHEEL +0 -0
  210. {umap_project-2.3.0.dist-info → umap_project-2.4.0.dist-info}/entry_points.txt +0 -0
  211. {umap_project-2.3.0.dist-info → umap_project-2.4.0.dist-info}/licenses/LICENSE +0 -0
@@ -48,16 +48,12 @@
48
48
  "by": "by",
49
49
  "Cache proxied request": "Cache proxied request",
50
50
  "Cancel edits": "取消编辑",
51
- "Cancel": "取消",
52
51
  "Caption": "Caption",
53
52
  "Center map on your location": "Center map on your location",
54
53
  "Change map background": "改变地图背景",
55
54
  "Change tilelayers": "改变瓦片图层",
56
55
  "Change": "Change",
57
- "Choose a preset": "Choose a preset",
58
56
  "Choose the data format": "选择数据格式",
59
- "Choose the format of the data to import": "选择导入的数据格式",
60
- "Choose the layer to import in": "选择导入的图层",
61
57
  "Choropleth breakpoints": "Choropleth breakpoints",
62
58
  "Choropleth classes": "Choropleth classes",
63
59
  "Choropleth color palette": "Choropleth color palette",
@@ -87,7 +83,6 @@
87
83
  "Congratulations, your map has been created!": "Congratulations, your map has been created!",
88
84
  "Continue line": "Continue line",
89
85
  "Coordinates": "坐标",
90
- "Copy link": "Copy link",
91
86
  "copy": "copy",
92
87
  "Credits": "Credits",
93
88
  "Current map view": "Current map view",
@@ -152,7 +147,6 @@
152
147
  "Edit the title of the map": "Edit the title of the map",
153
148
  "Edit this feature": "编辑该要素",
154
149
  "Edit": "编辑",
155
- "Email": "Email",
156
150
  "Embed and link options": "Embed and link options",
157
151
  "Embed the map": "嵌入地图",
158
152
  "Emoji & Character": "Emoji & Character",
@@ -200,7 +194,6 @@
200
194
  "Image: {{http://image.url.com}}": "图片: {{http://image.url.com}}",
201
195
  "Import data": "导入数据",
202
196
  "Import in a new layer": "导入一个新图层",
203
- "Import": "导入",
204
197
  "Imports all umap data, including layers and settings.": "Imports all umap data, including layers and settings.",
205
198
  "Include full screen link?": "Include full screen link?",
206
199
  "Inherit": "继承",
@@ -311,7 +304,6 @@
311
304
  "Rename this property on all the features": "重命名全部要素的该属性",
312
305
  "Replace layer content": "Replace layer content",
313
306
  "Restore this version": "Restore this version",
314
- "Save anyway": "Save anyway",
315
307
  "Save current edits": "保存当前编辑内容",
316
308
  "Save map": "Save map",
317
309
  "Save this center and zoom": "保存地图中心与比例尺",
@@ -320,12 +312,9 @@
320
312
  "Saved center and zoom": "Saved center and zoom",
321
313
  "Search location": "Search location",
322
314
  "Search": "Search",
323
- "Secret edit link copied to clipboard!": "Secret edit link copied to clipboard!",
324
315
  "Secret edit link:": "Secret edit link:",
325
- "See layers": "See layers",
326
316
  "See full screen": "全屏",
327
317
  "See on OpenStreetMap": "See on OpenStreetMap",
328
- "Send me the link": "Send me the link",
329
318
  "Set it to false to hide this layer from the slideshow, the data browser, the popup navigation…": "Set it to false to hide this layer from the slideshow, the data browser, the popup navigation…",
330
319
  "settings": "settings",
331
320
  "Shape properties": "Shape properties",
@@ -398,9 +387,7 @@
398
387
  "Will be displayed in the bottom right corner of the map": "Will be displayed in the bottom right corner of the map",
399
388
  "Will be permanently visible in the bottom left corner of the map": "Will be permanently visible in the bottom left corner of the map",
400
389
  "Will be visible in the caption of the map": "Will be visible in the caption of the map",
401
- "Woops! Someone else seems to have edited the data. You can save anyway, but this will erase the changes made by others.": "Woops! Someone else seems to have edited the data. You can save anyway, but this will erase the changes made by others.",
402
390
  "yes": "是",
403
- "Your map has been created! As you are not logged in, here is your secret link to edit the map, please keep it safe:": "Your map has been created! As you are not logged in, here is your secret link to edit the map, please keep it safe:",
404
391
  "Zoom in": "缩小",
405
392
  "Zoom level for automatic zooms": "Zoom level for automatic zooms",
406
393
  "Zoom out": "放大",
@@ -444,7 +431,55 @@
444
431
  "Filter data": "Filter data",
445
432
  "Search map features…": "Search map features…",
446
433
  "Reset all": "Reset all",
447
- "Browser in data mode": "Browser in data mode",
448
- "Browser in layers mode": "Browser in layers mode",
449
- "Browser in filters mode": "Browser in filters mode"
434
+ "Open browser": "Open browser",
435
+ "Open caption": "Open caption",
436
+ "Your map has been created with an anonymous account!": "Your map has been created with an anonymous account!",
437
+ "Real-time collaboration": "Real-time collaboration",
438
+ "Cannot parse data": "Cannot parse data",
439
+ "Start typing...": "Start typing...",
440
+ "No result": "No result",
441
+ "Data browser": "Data browser",
442
+ "When providing an URL, uMap can copy the remote data in a layer, or add this URL as remote source of the layer. In that case, data will always be fetched from that URL, and thus be up to date, but it will not be possible to edit it inside uMap.": "When providing an URL, uMap can copy the remote data in a layer, or add this URL as remote source of the layer. In that case, data will always be fetched from that URL, and thus be up to date, but it will not be possible to edit it inside uMap.",
443
+ "Overpass supported expressions": "Overpass supported expressions",
444
+ "key (eg. building)": "key (eg. building)",
445
+ "!key (eg. !name)": "!key (eg. !name)",
446
+ "key=value (eg. building=yes)": "key=value (eg. building=yes)",
447
+ "key!=value (eg. building!=yes)": "key!=value (eg. building!=yes)",
448
+ "key~value (eg. name~Grisy)": "key~value (eg. name~Grisy)",
449
+ "key=\"value|value2\" (eg. name=\"Paris|Berlin\")": "key=\"value|value2\" (eg. name=\"Paris|Berlin\")",
450
+ "More info about Overpass syntax": "More info about Overpass syntax",
451
+ "For more complex needs, see": "For more complex needs, see",
452
+ "Choose data": "Choose data",
453
+ "Import helpers:": "Import helpers:",
454
+ "Choose the format": "Choose the format",
455
+ "Choose the layer": "Choose the layer",
456
+ "Layer name": "Layer name",
457
+ "Choose import mode": "Choose import mode",
458
+ "Copy into the layer": "Copy into the layer",
459
+ "Link to the layer as remote data": "Link to the layer as remote data",
460
+ "Condition": "Condition",
461
+ "key=value or key!=value": "key=value or key!=value",
462
+ "Are you sure you want to delete this rule?": "Are you sure you want to delete this rule?",
463
+ "empty rule": "empty rule",
464
+ "Conditional style rules": "Conditional style rules",
465
+ "Add rule": "Add rule",
466
+ "Browser: data": "Browser: data",
467
+ "Browser: layers": "Browser: layers",
468
+ "Browser: filters": "Browser: filters",
469
+ "Enable real-time collaboration": "Enable real-time collaboration",
470
+ "✅ Copied!": "✅ Copied!",
471
+ "Choose a dataset": "Choose a dataset",
472
+ "Choose this dataset": "Choose this dataset",
473
+ "GeoDataMine: thematic data from OpenStreetMap": "GeoDataMine: thematic data from OpenStreetMap",
474
+ "Choose a theme": "Choose a theme",
475
+ "Symplify all geometries to points": "Symplify all geometries to points",
476
+ "Choose this data": "Choose this data",
477
+ "Search admin boundary": "Search admin boundary",
478
+ "Please choose a theme and a boundary first.": "Please choose a theme and a boundary first.",
479
+ "Expression": "Expression",
480
+ "Geometry mode": "Geometry mode",
481
+ "Only geometry centers": "Only geometry centers",
482
+ "Search area": "Search area",
483
+ "Type area name, or let empty to load data in current map view": "Type area name, or let empty to load data in current map view",
484
+ "Please define an expression for the query first": "Please define an expression for the query first"
450
485
  }
@@ -48,16 +48,12 @@
48
48
  "by": "by",
49
49
  "Cache proxied request": "Cache proxied request",
50
50
  "Cancel edits": "Cancel edits",
51
- "Cancel": "Cancel",
52
51
  "Caption": "Caption",
53
52
  "Center map on your location": "Center map on your location",
54
53
  "Change map background": "Change map background",
55
54
  "Change tilelayers": "Change tilelayers",
56
55
  "Change": "Change",
57
- "Choose a preset": "Choose a preset",
58
56
  "Choose the data format": "Choose the data format",
59
- "Choose the format of the data to import": "Choose the format of the data to import",
60
- "Choose the layer to import in": "Choose the layer to import in",
61
57
  "Choropleth breakpoints": "Choropleth breakpoints",
62
58
  "Choropleth classes": "Choropleth classes",
63
59
  "Choropleth color palette": "Choropleth color palette",
@@ -87,7 +83,6 @@
87
83
  "Congratulations, your map has been created!": "Congratulations, your map has been created!",
88
84
  "Continue line": "Continue line",
89
85
  "Coordinates": "Coordinates",
90
- "Copy link": "Copy link",
91
86
  "copy": "copy",
92
87
  "Credits": "Credits",
93
88
  "Current map view": "Current map view",
@@ -152,7 +147,6 @@
152
147
  "Edit the title of the map": "Edit the title of the map",
153
148
  "Edit this feature": "Edit this feature",
154
149
  "Edit": "Edit",
155
- "Email": "Email",
156
150
  "Embed and link options": "Embed and link options",
157
151
  "Embed the map": "Embed the map",
158
152
  "Emoji & Character": "Emoji & Character",
@@ -200,7 +194,6 @@
200
194
  "Image: {{http://image.url.com}}": "Image: {{http://image.url.com}}",
201
195
  "Import data": "Import data",
202
196
  "Import in a new layer": "Import in a new layer",
203
- "Import": "Import",
204
197
  "Imports all umap data, including layers and settings.": "Imports all umap data, including layers and settings.",
205
198
  "Include full screen link?": "Include full screen link?",
206
199
  "Inherit": "Inherit",
@@ -311,7 +304,6 @@
311
304
  "Rename this property on all the features": "Rename this property on all the features",
312
305
  "Replace layer content": "Replace layer content",
313
306
  "Restore this version": "Restore this version",
314
- "Save anyway": "Save anyway",
315
307
  "Save current edits": "Save current edits",
316
308
  "Save map": "Save map",
317
309
  "Save this center and zoom": "Save this center and zoom",
@@ -320,12 +312,9 @@
320
312
  "Saved center and zoom": "Saved center and zoom",
321
313
  "Search location": "Search location",
322
314
  "Search": "Search",
323
- "Secret edit link copied to clipboard!": "Secret edit link copied to clipboard!",
324
315
  "Secret edit link:": "Secret edit link:",
325
- "See layers": "See layers",
326
316
  "See full screen": "See full screen",
327
317
  "See on OpenStreetMap": "See on OpenStreetMap",
328
- "Send me the link": "Send me the link",
329
318
  "Set it to false to hide this layer from the slideshow, the data browser, the popup navigation…": "Set it to false to hide this layer from the slideshow, the data browser, the popup navigation…",
330
319
  "settings": "settings",
331
320
  "Shape properties": "Shape properties",
@@ -398,9 +387,7 @@
398
387
  "Will be displayed in the bottom right corner of the map": "Will be displayed in the bottom right corner of the map",
399
388
  "Will be permanently visible in the bottom left corner of the map": "Will be permanently visible in the bottom left corner of the map",
400
389
  "Will be visible in the caption of the map": "Will be visible in the caption of the map",
401
- "Woops! Someone else seems to have edited the data. You can save anyway, but this will erase the changes made by others.": "Woops! Someone else seems to have edited the data. You can save anyway, but this will erase the changes made by others.",
402
390
  "yes": "yes",
403
- "Your map has been created! As you are not logged in, here is your secret link to edit the map, please keep it safe:": "Your map has been created! As you are not logged in, here is your secret link to edit the map, please keep it safe:",
404
391
  "Zoom in": "Zoom in",
405
392
  "Zoom level for automatic zooms": "Zoom level for automatic zooms",
406
393
  "Zoom out": "Zoom out",
@@ -444,7 +431,55 @@
444
431
  "Filter data": "Filter data",
445
432
  "Search map features…": "Search map features…",
446
433
  "Reset all": "Reset all",
447
- "Browser in data mode": "Browser in data mode",
448
- "Browser in layers mode": "Browser in layers mode",
449
- "Browser in filters mode": "Browser in filters mode"
434
+ "Open browser": "Open browser",
435
+ "Open caption": "Open caption",
436
+ "Your map has been created with an anonymous account!": "Your map has been created with an anonymous account!",
437
+ "Real-time collaboration": "Real-time collaboration",
438
+ "Cannot parse data": "Cannot parse data",
439
+ "Start typing...": "Start typing...",
440
+ "No result": "No result",
441
+ "Data browser": "Data browser",
442
+ "When providing an URL, uMap can copy the remote data in a layer, or add this URL as remote source of the layer. In that case, data will always be fetched from that URL, and thus be up to date, but it will not be possible to edit it inside uMap.": "When providing an URL, uMap can copy the remote data in a layer, or add this URL as remote source of the layer. In that case, data will always be fetched from that URL, and thus be up to date, but it will not be possible to edit it inside uMap.",
443
+ "Overpass supported expressions": "Overpass supported expressions",
444
+ "key (eg. building)": "key (eg. building)",
445
+ "!key (eg. !name)": "!key (eg. !name)",
446
+ "key=value (eg. building=yes)": "key=value (eg. building=yes)",
447
+ "key!=value (eg. building!=yes)": "key!=value (eg. building!=yes)",
448
+ "key~value (eg. name~Grisy)": "key~value (eg. name~Grisy)",
449
+ "key=\"value|value2\" (eg. name=\"Paris|Berlin\")": "key=\"value|value2\" (eg. name=\"Paris|Berlin\")",
450
+ "More info about Overpass syntax": "More info about Overpass syntax",
451
+ "For more complex needs, see": "For more complex needs, see",
452
+ "Choose data": "Choose data",
453
+ "Import helpers:": "Import helpers:",
454
+ "Choose the format": "Choose the format",
455
+ "Choose the layer": "Choose the layer",
456
+ "Layer name": "Layer name",
457
+ "Choose import mode": "Choose import mode",
458
+ "Copy into the layer": "Copy into the layer",
459
+ "Link to the layer as remote data": "Link to the layer as remote data",
460
+ "Condition": "Condition",
461
+ "key=value or key!=value": "key=value or key!=value",
462
+ "Are you sure you want to delete this rule?": "Are you sure you want to delete this rule?",
463
+ "empty rule": "empty rule",
464
+ "Conditional style rules": "Conditional style rules",
465
+ "Add rule": "Add rule",
466
+ "Browser: data": "Browser: data",
467
+ "Browser: layers": "Browser: layers",
468
+ "Browser: filters": "Browser: filters",
469
+ "Enable real-time collaboration": "Enable real-time collaboration",
470
+ "✅ Copied!": "✅ Copied!",
471
+ "Choose a dataset": "Choose a dataset",
472
+ "Choose this dataset": "Choose this dataset",
473
+ "GeoDataMine: thematic data from OpenStreetMap": "GeoDataMine: thematic data from OpenStreetMap",
474
+ "Choose a theme": "Choose a theme",
475
+ "Symplify all geometries to points": "Symplify all geometries to points",
476
+ "Choose this data": "Choose this data",
477
+ "Search admin boundary": "Search admin boundary",
478
+ "Please choose a theme and a boundary first.": "Please choose a theme and a boundary first.",
479
+ "Expression": "Expression",
480
+ "Geometry mode": "Geometry mode",
481
+ "Only geometry centers": "Only geometry centers",
482
+ "Search area": "Search area",
483
+ "Type area name, or let empty to load data in current map view": "Type area name, or let empty to load data in current map view",
484
+ "Please define an expression for the query first": "Please define an expression for the query first"
450
485
  }
@@ -48,16 +48,12 @@
48
48
  "by": "by",
49
49
  "Cache proxied request": "Cache proxied request",
50
50
  "Cancel edits": "Cancel edits",
51
- "Cancel": "Cancel",
52
51
  "Caption": "Caption",
53
52
  "Center map on your location": "Center map on your location",
54
53
  "Change map background": "Change map background",
55
54
  "Change tilelayers": "Change tilelayers",
56
55
  "Change": "Change",
57
- "Choose a preset": "Choose a preset",
58
56
  "Choose the data format": "Choose the data format",
59
- "Choose the format of the data to import": "Choose the format of the data to import",
60
- "Choose the layer to import in": "Choose the layer to import in",
61
57
  "Choropleth breakpoints": "Choropleth breakpoints",
62
58
  "Choropleth classes": "Choropleth classes",
63
59
  "Choropleth color palette": "Choropleth color palette",
@@ -87,7 +83,6 @@
87
83
  "Congratulations, your map has been created!": "Congratulations, your map has been created!",
88
84
  "Continue line": "Continue line",
89
85
  "Coordinates": "Coordinates",
90
- "Copy link": "Copy link",
91
86
  "copy": "copy",
92
87
  "Credits": "Credits",
93
88
  "Current map view": "Current map view",
@@ -152,7 +147,6 @@
152
147
  "Edit the title of the map": "Edit the title of the map",
153
148
  "Edit this feature": "Edit this feature",
154
149
  "Edit": "Edit",
155
- "Email": "Email",
156
150
  "Embed and link options": "Embed and link options",
157
151
  "Embed the map": "Embed the map",
158
152
  "Emoji & Character": "Emoji & Character",
@@ -200,7 +194,6 @@
200
194
  "Image: {{http://image.url.com}}": "Image: {{http://image.url.com}}",
201
195
  "Import data": "Import data",
202
196
  "Import in a new layer": "Import in a new layer",
203
- "Import": "Import",
204
197
  "Imports all umap data, including layers and settings.": "Imports all umap data, including layers and settings.",
205
198
  "Include full screen link?": "Include full screen link?",
206
199
  "Inherit": "Inherit",
@@ -311,7 +304,6 @@
311
304
  "Rename this property on all the features": "Rename this property on all the features",
312
305
  "Replace layer content": "Replace layer content",
313
306
  "Restore this version": "Restore this version",
314
- "Save anyway": "Save anyway",
315
307
  "Save current edits": "Save current edits",
316
308
  "Save map": "Save map",
317
309
  "Save this center and zoom": "Save this center and zoom",
@@ -320,12 +312,9 @@
320
312
  "Saved center and zoom": "Saved center and zoom",
321
313
  "Search location": "Search location",
322
314
  "Search": "Search",
323
- "Secret edit link copied to clipboard!": "Secret edit link copied to clipboard!",
324
315
  "Secret edit link:": "Secret edit link:",
325
- "See layers": "See layers",
326
316
  "See full screen": "See full screen",
327
317
  "See on OpenStreetMap": "See on OpenStreetMap",
328
- "Send me the link": "Send me the link",
329
318
  "Set it to false to hide this layer from the slideshow, the data browser, the popup navigation…": "Set it to false to hide this layer from the slideshow, the data browser, the popup navigation…",
330
319
  "settings": "settings",
331
320
  "Shape properties": "Shape properties",
@@ -398,9 +387,7 @@
398
387
  "Will be displayed in the bottom right corner of the map": "Will be displayed in the bottom right corner of the map",
399
388
  "Will be permanently visible in the bottom left corner of the map": "Will be permanently visible in the bottom left corner of the map",
400
389
  "Will be visible in the caption of the map": "Will be visible in the caption of the map",
401
- "Woops! Someone else seems to have edited the data. You can save anyway, but this will erase the changes made by others.": "Woops! Someone else seems to have edited the data. You can save anyway, but this will erase the changes made by others.",
402
390
  "yes": "yes",
403
- "Your map has been created! As you are not logged in, here is your secret link to edit the map, please keep it safe:": "Your map has been created! As you are not logged in, here is your secret link to edit the map, please keep it safe:",
404
391
  "Zoom in": "Zoom in",
405
392
  "Zoom level for automatic zooms": "Zoom level for automatic zooms",
406
393
  "Zoom out": "Zoom out",
@@ -444,7 +431,55 @@
444
431
  "Filter data": "Filter data",
445
432
  "Search map features…": "Search map features…",
446
433
  "Reset all": "Reset all",
447
- "Browser in data mode": "Browser in data mode",
448
- "Browser in layers mode": "Browser in layers mode",
449
- "Browser in filters mode": "Browser in filters mode"
434
+ "Open browser": "Open browser",
435
+ "Open caption": "Open caption",
436
+ "Your map has been created with an anonymous account!": "Your map has been created with an anonymous account!",
437
+ "Real-time collaboration": "Real-time collaboration",
438
+ "Cannot parse data": "Cannot parse data",
439
+ "Start typing...": "Start typing...",
440
+ "No result": "No result",
441
+ "Data browser": "Data browser",
442
+ "When providing an URL, uMap can copy the remote data in a layer, or add this URL as remote source of the layer. In that case, data will always be fetched from that URL, and thus be up to date, but it will not be possible to edit it inside uMap.": "When providing an URL, uMap can copy the remote data in a layer, or add this URL as remote source of the layer. In that case, data will always be fetched from that URL, and thus be up to date, but it will not be possible to edit it inside uMap.",
443
+ "Overpass supported expressions": "Overpass supported expressions",
444
+ "key (eg. building)": "key (eg. building)",
445
+ "!key (eg. !name)": "!key (eg. !name)",
446
+ "key=value (eg. building=yes)": "key=value (eg. building=yes)",
447
+ "key!=value (eg. building!=yes)": "key!=value (eg. building!=yes)",
448
+ "key~value (eg. name~Grisy)": "key~value (eg. name~Grisy)",
449
+ "key=\"value|value2\" (eg. name=\"Paris|Berlin\")": "key=\"value|value2\" (eg. name=\"Paris|Berlin\")",
450
+ "More info about Overpass syntax": "More info about Overpass syntax",
451
+ "For more complex needs, see": "For more complex needs, see",
452
+ "Choose data": "Choose data",
453
+ "Import helpers:": "Import helpers:",
454
+ "Choose the format": "Choose the format",
455
+ "Choose the layer": "Choose the layer",
456
+ "Layer name": "Layer name",
457
+ "Choose import mode": "Choose import mode",
458
+ "Copy into the layer": "Copy into the layer",
459
+ "Link to the layer as remote data": "Link to the layer as remote data",
460
+ "Condition": "Condition",
461
+ "key=value or key!=value": "key=value or key!=value",
462
+ "Are you sure you want to delete this rule?": "Are you sure you want to delete this rule?",
463
+ "empty rule": "empty rule",
464
+ "Conditional style rules": "Conditional style rules",
465
+ "Add rule": "Add rule",
466
+ "Browser: data": "Browser: data",
467
+ "Browser: layers": "Browser: layers",
468
+ "Browser: filters": "Browser: filters",
469
+ "Enable real-time collaboration": "Enable real-time collaboration",
470
+ "✅ Copied!": "✅ Copied!",
471
+ "Choose a dataset": "Choose a dataset",
472
+ "Choose this dataset": "Choose this dataset",
473
+ "GeoDataMine: thematic data from OpenStreetMap": "GeoDataMine: thematic data from OpenStreetMap",
474
+ "Choose a theme": "Choose a theme",
475
+ "Symplify all geometries to points": "Symplify all geometries to points",
476
+ "Choose this data": "Choose this data",
477
+ "Search admin boundary": "Search admin boundary",
478
+ "Please choose a theme and a boundary first.": "Please choose a theme and a boundary first.",
479
+ "Expression": "Expression",
480
+ "Geometry mode": "Geometry mode",
481
+ "Only geometry centers": "Only geometry centers",
482
+ "Search area": "Search area",
483
+ "Type area name, or let empty to load data in current map view": "Type area name, or let empty to load data in current map view",
484
+ "Please define an expression for the query first": "Please define an expression for the query first"
450
485
  }
@@ -48,16 +48,12 @@ const locale = {
48
48
  "by": "由",
49
49
  "Cache proxied request": "快取代理請求",
50
50
  "Cancel edits": "取消編輯",
51
- "Cancel": "取消",
52
51
  "Caption": "標題",
53
52
  "Center map on your location": "將您的位置設為地圖中心",
54
53
  "Change map background": "更改地圖背景",
55
54
  "Change tilelayers": "改變地圖磚圖層",
56
55
  "Change": "變動",
57
- "Choose a preset": "選擇一種預設值",
58
56
  "Choose the data format": "選擇資料格式",
59
- "Choose the format of the data to import": "選擇匯入的資料格式",
60
- "Choose the layer to import in": "選擇匯入圖層",
61
57
  "Choropleth breakpoints": "等時線圖點",
62
58
  "Choropleth classes": "等時線圖類型",
63
59
  "Choropleth color palette": "等時線圖色彩盤",
@@ -87,7 +83,6 @@ const locale = {
87
83
  "Congratulations, your map has been created!": "恭喜您的地圖已經新增完成",
88
84
  "Continue line": "連續線段",
89
85
  "Coordinates": "座標",
90
- "Copy link": "複製連結",
91
86
  "copy": "複製",
92
87
  "Credits": "工作人員名單",
93
88
  "Current map view": "目前地圖檢視",
@@ -152,7 +147,6 @@ const locale = {
152
147
  "Edit the title of the map": "編輯地圖標題",
153
148
  "Edit this feature": "編輯此圖徵",
154
149
  "Edit": "編輯",
155
- "Email": "電子郵件",
156
150
  "Embed and link options": "嵌入與連結選項",
157
151
  "Embed the map": "嵌入地圖",
158
152
  "Emoji & Character": "表情符號和字元",
@@ -200,7 +194,6 @@ const locale = {
200
194
  "Image: {{http://image.url.com}}": "圖像: {{http://image.url.com}}",
201
195
  "Import data": "匯入資料",
202
196
  "Import in a new layer": "匯入至新圖層",
203
- "Import": "匯入",
204
197
  "Imports all umap data, including layers and settings.": "匯入所有 umap 資料,包含圖層與設定。",
205
198
  "Include full screen link?": "是否包含全螢幕的連結?",
206
199
  "Inherit": "繼承",
@@ -311,7 +304,6 @@ const locale = {
311
304
  "Rename this property on all the features": "在所有特徵中重新命名該物件",
312
305
  "Replace layer content": "取代圖層內容",
313
306
  "Restore this version": "回復此版本",
314
- "Save anyway": "通通都儲存吧!",
315
307
  "Save current edits": "儲存近期的變更",
316
308
  "Save map": "儲存地圖",
317
309
  "Save this center and zoom": "保存地圖中心點位置與縮放大小",
@@ -320,12 +312,9 @@ const locale = {
320
312
  "Saved center and zoom": "儲存地圖中心點位置與縮放大小",
321
313
  "Search location": "搜尋地點",
322
314
  "Search": "搜尋",
323
- "Secret edit link copied to clipboard!": "複製私密編輯連結到剪貼簿!",
324
315
  "Secret edit link:": "祕密編輯連結:",
325
- "See layers": "See layers",
326
316
  "See full screen": "觀看全螢幕",
327
317
  "See on OpenStreetMap": "在開放街圖檢視",
328
- "Send me the link": "寄送連結給我",
329
318
  "Set it to false to hide this layer from the slideshow, the data browser, the popup navigation…": "設定為假時,在幻燈片時、資料檢視器和彈出式導航中可將此圖層隱藏...",
330
319
  "settings": "設定",
331
320
  "Shape properties": "形狀屬性",
@@ -398,9 +387,7 @@ const locale = {
398
387
  "Will be displayed in the bottom right corner of the map": "將會顯示在地圖的右下角",
399
388
  "Will be permanently visible in the bottom left corner of the map": "Will be permanently visible in the bottom left corner of the map",
400
389
  "Will be visible in the caption of the map": "標題將出現在地圖上",
401
- "Woops! Someone else seems to have edited the data. You can save anyway, but this will erase the changes made by others.": "糟糕,好像有人正在進行編輯,您仍可儲存資料,但您做的變更將被他人修改取代。",
402
390
  "yes": "是",
403
- "Your map has been created! As you are not logged in, here is your secret link to edit the map, please keep it safe:": "已經新增你的地圖!由於你並未登入,這是你的編輯地圖的祕密連結,請妥善保管:",
404
391
  "Zoom in": "放大",
405
392
  "Zoom level for automatic zooms": "自動縮放的比例大小",
406
393
  "Zoom out": "縮小",
@@ -444,9 +431,57 @@ const locale = {
444
431
  "Filter data": "Filter data",
445
432
  "Search map features…": "Search map features…",
446
433
  "Reset all": "Reset all",
447
- "Browser in data mode": "Browser in data mode",
448
- "Browser in layers mode": "Browser in layers mode",
449
- "Browser in filters mode": "Browser in filters mode"
434
+ "Open browser": "Open browser",
435
+ "Open caption": "Open caption",
436
+ "Your map has been created with an anonymous account!": "Your map has been created with an anonymous account!",
437
+ "Real-time collaboration": "Real-time collaboration",
438
+ "Cannot parse data": "Cannot parse data",
439
+ "Start typing...": "Start typing...",
440
+ "No result": "No result",
441
+ "Data browser": "Data browser",
442
+ "When providing an URL, uMap can copy the remote data in a layer, or add this URL as remote source of the layer. In that case, data will always be fetched from that URL, and thus be up to date, but it will not be possible to edit it inside uMap.": "When providing an URL, uMap can copy the remote data in a layer, or add this URL as remote source of the layer. In that case, data will always be fetched from that URL, and thus be up to date, but it will not be possible to edit it inside uMap.",
443
+ "Overpass supported expressions": "Overpass supported expressions",
444
+ "key (eg. building)": "key (eg. building)",
445
+ "!key (eg. !name)": "!key (eg. !name)",
446
+ "key=value (eg. building=yes)": "key=value (eg. building=yes)",
447
+ "key!=value (eg. building!=yes)": "key!=value (eg. building!=yes)",
448
+ "key~value (eg. name~Grisy)": "key~value (eg. name~Grisy)",
449
+ "key=\"value|value2\" (eg. name=\"Paris|Berlin\")": "key=\"value|value2\" (eg. name=\"Paris|Berlin\")",
450
+ "More info about Overpass syntax": "More info about Overpass syntax",
451
+ "For more complex needs, see": "For more complex needs, see",
452
+ "Choose data": "Choose data",
453
+ "Import helpers:": "Import helpers:",
454
+ "Choose the format": "Choose the format",
455
+ "Choose the layer": "Choose the layer",
456
+ "Layer name": "Layer name",
457
+ "Choose import mode": "Choose import mode",
458
+ "Copy into the layer": "Copy into the layer",
459
+ "Link to the layer as remote data": "Link to the layer as remote data",
460
+ "Condition": "Condition",
461
+ "key=value or key!=value": "key=value or key!=value",
462
+ "Are you sure you want to delete this rule?": "Are you sure you want to delete this rule?",
463
+ "empty rule": "empty rule",
464
+ "Conditional style rules": "Conditional style rules",
465
+ "Add rule": "Add rule",
466
+ "Browser: data": "Browser: data",
467
+ "Browser: layers": "Browser: layers",
468
+ "Browser: filters": "Browser: filters",
469
+ "Enable real-time collaboration": "Enable real-time collaboration",
470
+ "✅ Copied!": "✅ Copied!",
471
+ "Choose a dataset": "Choose a dataset",
472
+ "Choose this dataset": "Choose this dataset",
473
+ "GeoDataMine: thematic data from OpenStreetMap": "GeoDataMine: thematic data from OpenStreetMap",
474
+ "Choose a theme": "Choose a theme",
475
+ "Symplify all geometries to points": "Symplify all geometries to points",
476
+ "Choose this data": "Choose this data",
477
+ "Search admin boundary": "Search admin boundary",
478
+ "Please choose a theme and a boundary first.": "Please choose a theme and a boundary first.",
479
+ "Expression": "Expression",
480
+ "Geometry mode": "Geometry mode",
481
+ "Only geometry centers": "Only geometry centers",
482
+ "Search area": "Search area",
483
+ "Type area name, or let empty to load data in current map view": "Type area name, or let empty to load data in current map view",
484
+ "Please define an expression for the query first": "Please define an expression for the query first"
450
485
  }
451
486
  L.registerLocale("zh_TW", locale)
452
487
  L.setLocale("zh_TW")