umap-project 2.9.0b0__py3-none-any.whl → 2.9.2__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 (205) hide show
  1. umap/__init__.py +1 -1
  2. umap/admin.py +15 -2
  3. umap/locale/br/LC_MESSAGES/django.mo +0 -0
  4. umap/locale/br/LC_MESSAGES/django.po +111 -67
  5. umap/locale/cs_CZ/LC_MESSAGES/django.mo +0 -0
  6. umap/locale/cs_CZ/LC_MESSAGES/django.po +112 -67
  7. umap/locale/el/LC_MESSAGES/django.mo +0 -0
  8. umap/locale/el/LC_MESSAGES/django.po +132 -87
  9. umap/locale/en/LC_MESSAGES/django.po +11 -10
  10. umap/locale/es/LC_MESSAGES/django.mo +0 -0
  11. umap/locale/es/LC_MESSAGES/django.po +117 -71
  12. umap/locale/fr/LC_MESSAGES/django.mo +0 -0
  13. umap/locale/fr/LC_MESSAGES/django.po +11 -10
  14. umap/locale/gl/LC_MESSAGES/django.mo +0 -0
  15. umap/locale/gl/LC_MESSAGES/django.po +219 -173
  16. umap/locale/it/LC_MESSAGES/django.mo +0 -0
  17. umap/locale/it/LC_MESSAGES/django.po +145 -100
  18. umap/locale/nl/LC_MESSAGES/django.mo +0 -0
  19. umap/locale/nl/LC_MESSAGES/django.po +198 -152
  20. umap/locale/pt/LC_MESSAGES/django.mo +0 -0
  21. umap/locale/pt/LC_MESSAGES/django.po +118 -73
  22. umap/locale/zh_TW/LC_MESSAGES/django.mo +0 -0
  23. umap/locale/zh_TW/LC_MESSAGES/django.po +112 -67
  24. umap/middleware.py +30 -1
  25. umap/models.py +20 -10
  26. umap/settings/base.py +2 -1
  27. umap/static/umap/base.css +4 -1
  28. umap/static/umap/css/bar.css +32 -0
  29. umap/static/umap/css/contextmenu.css +14 -2
  30. umap/static/umap/css/form.css +5 -10
  31. umap/static/umap/css/icon.css +39 -3
  32. umap/static/umap/css/panel.css +18 -1
  33. umap/static/umap/css/popup.css +0 -1
  34. umap/static/umap/img/16-white.svg +3 -3
  35. umap/static/umap/img/16.svg +1 -1
  36. umap/static/umap/img/24-white.svg +17 -16
  37. umap/static/umap/img/24.svg +29 -18
  38. umap/static/umap/img/providers/twitter-oauth2.png +0 -0
  39. umap/static/umap/img/source/16-white.svg +4 -4
  40. umap/static/umap/img/source/16.svg +1 -1
  41. umap/static/umap/img/source/24-white.svg +20 -18
  42. umap/static/umap/img/source/24.svg +30 -19
  43. umap/static/umap/js/modules/browser.js +2 -2
  44. umap/static/umap/js/modules/caption.js +4 -4
  45. umap/static/umap/js/modules/data/features.js +80 -32
  46. umap/static/umap/js/modules/data/layer.js +37 -50
  47. umap/static/umap/js/modules/form/builder.js +23 -22
  48. umap/static/umap/js/modules/form/fields.js +13 -5
  49. umap/static/umap/js/modules/formatter.js +6 -2
  50. umap/static/umap/js/modules/help.js +17 -23
  51. umap/static/umap/js/modules/importer.js +5 -2
  52. umap/static/umap/js/modules/permissions.js +6 -2
  53. umap/static/umap/js/modules/rendering/layers/classified.js +1 -1
  54. umap/static/umap/js/modules/rendering/map.js +1 -21
  55. umap/static/umap/js/modules/rendering/ui.js +20 -38
  56. umap/static/umap/js/modules/rules.js +1 -1
  57. umap/static/umap/js/modules/saving.js +5 -0
  58. umap/static/umap/js/modules/schema.js +4 -1
  59. umap/static/umap/js/modules/sync/engine.js +39 -14
  60. umap/static/umap/js/modules/sync/updaters.js +7 -6
  61. umap/static/umap/js/modules/sync/websocket.js +48 -40
  62. umap/static/umap/js/modules/ui/bar.js +84 -0
  63. umap/static/umap/js/modules/ui/base.js +11 -0
  64. umap/static/umap/js/modules/ui/contextmenu.js +9 -2
  65. umap/static/umap/js/modules/ui/panel.js +5 -1
  66. umap/static/umap/js/modules/umap.js +85 -44
  67. umap/static/umap/js/umap.controls.js +11 -341
  68. umap/static/umap/locale/am_ET.js +17 -5
  69. umap/static/umap/locale/am_ET.json +17 -5
  70. umap/static/umap/locale/ar.js +17 -5
  71. umap/static/umap/locale/ar.json +17 -5
  72. umap/static/umap/locale/ast.js +17 -5
  73. umap/static/umap/locale/ast.json +17 -5
  74. umap/static/umap/locale/bg.js +17 -5
  75. umap/static/umap/locale/bg.json +17 -5
  76. umap/static/umap/locale/br.js +20 -15
  77. umap/static/umap/locale/br.json +20 -15
  78. umap/static/umap/locale/ca.js +8 -4
  79. umap/static/umap/locale/ca.json +8 -4
  80. umap/static/umap/locale/cs_CZ.js +8 -4
  81. umap/static/umap/locale/cs_CZ.json +8 -4
  82. umap/static/umap/locale/da.js +17 -5
  83. umap/static/umap/locale/da.json +17 -5
  84. umap/static/umap/locale/de.js +8 -4
  85. umap/static/umap/locale/de.json +8 -4
  86. umap/static/umap/locale/el.js +54 -50
  87. umap/static/umap/locale/el.json +54 -50
  88. umap/static/umap/locale/en.js +9 -4
  89. umap/static/umap/locale/en.json +9 -4
  90. umap/static/umap/locale/en_US.json +17 -5
  91. umap/static/umap/locale/es.js +13 -9
  92. umap/static/umap/locale/es.json +13 -9
  93. umap/static/umap/locale/et.js +17 -5
  94. umap/static/umap/locale/et.json +17 -5
  95. umap/static/umap/locale/eu.js +8 -4
  96. umap/static/umap/locale/eu.json +8 -4
  97. umap/static/umap/locale/fa_IR.js +8 -4
  98. umap/static/umap/locale/fa_IR.json +8 -4
  99. umap/static/umap/locale/fi.js +17 -5
  100. umap/static/umap/locale/fi.json +17 -5
  101. umap/static/umap/locale/fr.js +9 -4
  102. umap/static/umap/locale/fr.json +9 -4
  103. umap/static/umap/locale/gl.js +13 -9
  104. umap/static/umap/locale/gl.json +13 -9
  105. umap/static/umap/locale/he.js +17 -5
  106. umap/static/umap/locale/he.json +17 -5
  107. umap/static/umap/locale/hr.js +17 -5
  108. umap/static/umap/locale/hr.json +17 -5
  109. umap/static/umap/locale/hu.js +8 -4
  110. umap/static/umap/locale/hu.json +8 -4
  111. umap/static/umap/locale/id.js +17 -5
  112. umap/static/umap/locale/id.json +17 -5
  113. umap/static/umap/locale/is.js +17 -5
  114. umap/static/umap/locale/is.json +17 -5
  115. umap/static/umap/locale/it.js +31 -27
  116. umap/static/umap/locale/it.json +31 -27
  117. umap/static/umap/locale/ja.js +17 -5
  118. umap/static/umap/locale/ja.json +17 -5
  119. umap/static/umap/locale/ko.js +17 -5
  120. umap/static/umap/locale/ko.json +17 -5
  121. umap/static/umap/locale/lt.js +17 -5
  122. umap/static/umap/locale/lt.json +17 -5
  123. umap/static/umap/locale/ms.js +8 -4
  124. umap/static/umap/locale/ms.json +8 -4
  125. umap/static/umap/locale/nl.js +132 -127
  126. umap/static/umap/locale/nl.json +132 -127
  127. umap/static/umap/locale/no.js +17 -5
  128. umap/static/umap/locale/no.json +17 -5
  129. umap/static/umap/locale/pl.js +8 -4
  130. umap/static/umap/locale/pl.json +8 -4
  131. umap/static/umap/locale/pl_PL.json +17 -5
  132. umap/static/umap/locale/pt.js +38 -33
  133. umap/static/umap/locale/pt.json +38 -33
  134. umap/static/umap/locale/pt_BR.js +17 -5
  135. umap/static/umap/locale/pt_BR.json +17 -5
  136. umap/static/umap/locale/pt_PT.js +8 -4
  137. umap/static/umap/locale/pt_PT.json +8 -4
  138. umap/static/umap/locale/ro.js +17 -5
  139. umap/static/umap/locale/ro.json +17 -5
  140. umap/static/umap/locale/ru.js +17 -5
  141. umap/static/umap/locale/ru.json +17 -5
  142. umap/static/umap/locale/sk_SK.js +17 -5
  143. umap/static/umap/locale/sk_SK.json +17 -5
  144. umap/static/umap/locale/sl.js +17 -5
  145. umap/static/umap/locale/sl.json +17 -5
  146. umap/static/umap/locale/sr.js +17 -5
  147. umap/static/umap/locale/sr.json +17 -5
  148. umap/static/umap/locale/sv.js +17 -5
  149. umap/static/umap/locale/sv.json +17 -5
  150. umap/static/umap/locale/th_TH.js +8 -4
  151. umap/static/umap/locale/th_TH.json +8 -4
  152. umap/static/umap/locale/tr.js +17 -5
  153. umap/static/umap/locale/tr.json +17 -5
  154. umap/static/umap/locale/uk_UA.js +17 -5
  155. umap/static/umap/locale/uk_UA.json +17 -5
  156. umap/static/umap/locale/vi.js +17 -5
  157. umap/static/umap/locale/vi.json +17 -5
  158. umap/static/umap/locale/vi_VN.json +17 -5
  159. umap/static/umap/locale/zh.js +17 -5
  160. umap/static/umap/locale/zh.json +17 -5
  161. umap/static/umap/locale/zh_CN.json +17 -5
  162. umap/static/umap/locale/zh_TW.Big5.json +17 -5
  163. umap/static/umap/locale/zh_TW.js +14 -10
  164. umap/static/umap/locale/zh_TW.json +14 -10
  165. umap/static/umap/map.css +17 -68
  166. umap/static/umap/nav.css +4 -0
  167. umap/static/umap/vars.css +1 -0
  168. umap/static/umap/vendors/dompurify/purify.es.js +138 -354
  169. umap/static/umap/vendors/dompurify/purify.es.mjs.map +1 -1
  170. umap/static/umap/vendors/editable/Leaflet.Editable.js +1 -0
  171. umap/sync/app.py +19 -13
  172. umap/sync/payloads.py +8 -1
  173. umap/templates/auth/user_form.html +2 -2
  174. umap/templates/umap/content_footer.html +1 -1
  175. umap/templates/umap/css.html +0 -2
  176. umap/templates/umap/js.html +0 -1
  177. umap/templates/umap/messages.html +5 -1
  178. umap/templates/umap/search_bar.html +1 -0
  179. umap/tests/integration/test_anonymous_owned_map.py +2 -2
  180. umap/tests/integration/test_basics.py +2 -5
  181. umap/tests/integration/test_categorized_layer.py +4 -8
  182. umap/tests/integration/test_choropleth.py +1 -1
  183. umap/tests/integration/test_conditional_rules.py +3 -3
  184. umap/tests/integration/test_draw_polygon.py +11 -19
  185. umap/tests/integration/test_draw_polyline.py +6 -14
  186. umap/tests/integration/test_edit_datalayer.py +10 -10
  187. umap/tests/integration/test_edit_map.py +27 -1
  188. umap/tests/integration/test_edit_marker.py +5 -5
  189. umap/tests/integration/test_edit_polygon.py +5 -5
  190. umap/tests/integration/test_features_id_generation.py +2 -6
  191. umap/tests/integration/test_import.py +93 -29
  192. umap/tests/integration/test_owned_map.py +1 -1
  193. umap/tests/integration/test_save.py +2 -2
  194. umap/tests/integration/test_tableeditor.py +7 -7
  195. umap/tests/integration/test_view_marker.py +10 -0
  196. umap/tests/integration/test_websocket_sync.py +128 -32
  197. umap/utils.py +4 -1
  198. umap/views.py +1 -10
  199. {umap_project-2.9.0b0.dist-info → umap_project-2.9.2.dist-info}/METADATA +13 -13
  200. {umap_project-2.9.0b0.dist-info → umap_project-2.9.2.dist-info}/RECORD +203 -205
  201. umap/static/umap/vendors/toolbar/leaflet.toolbar.css +0 -1
  202. umap/static/umap/vendors/toolbar/leaflet.toolbar.js +0 -1
  203. {umap_project-2.9.0b0.dist-info → umap_project-2.9.2.dist-info}/WHEEL +0 -0
  204. {umap_project-2.9.0b0.dist-info → umap_project-2.9.2.dist-info}/entry_points.txt +0 -0
  205. {umap_project-2.9.0b0.dist-info → umap_project-2.9.2.dist-info}/licenses/LICENSE +0 -0
@@ -19,7 +19,6 @@ const locale = {
19
19
  "Add a new property": "Додати новий параметр",
20
20
  "Add a polygon to the current multi": "Add a polygon to the current multi",
21
21
  "Add image URL": "Add image URL",
22
- "Add": "Add",
23
22
  "Advanced actions": "Додаткові дії",
24
23
  "Advanced properties": "Розширенні параметри",
25
24
  "All data and settings of the map": "All data and settings of the map",
@@ -120,7 +119,6 @@ const locale = {
120
119
  "Display the locate control": "Показувати кнопку визначення місцезнаходження",
121
120
  "Display the measure control": "Показувати інструменти вимірювання",
122
121
  "Display the search control": "Показувати засоби для пошуку",
123
- "Display the star map button": "Display the star map button",
124
122
  "Display the tile layers control": "Показувати перемикач шарів",
125
123
  "Display the zoom control": "Показувати елементи керування масштабуванням",
126
124
  "Do you want to display a caption bar?": "Показувати рядок заголовку?",
@@ -301,7 +299,6 @@ const locale = {
301
299
  "Restore this version": "Відновити цю версію",
302
300
  "Save current edits": "Зберегти поточні правки",
303
301
  "Save map": "Save map",
304
- "Save this center and zoom": "Зберегти такі центрування та масштаб",
305
302
  "Save this location as new feature": "Зберегти місце розташування як новий об’єкт",
306
303
  "Save": "Зберегти",
307
304
  "Saved center and zoom": "Saved center and zoom",
@@ -516,11 +513,26 @@ const locale = {
516
513
  "show/hide all layers": "show/hide all layers",
517
514
  "zoom to data extent": "zoom to data extent",
518
515
  "download visible data": "download visible data",
519
- "{connectedPeers} peer(s) currently connected to this map": "{connectedPeers} peer(s) currently connected to this map",
520
516
  "Import helpers": "Import helpers",
521
517
  "Import helpers will fill the URL field for you.": "Import helpers will fill the URL field for you.",
522
518
  "Wikipedia": "Wikipedia",
523
- "Save draft": "Save draft"
519
+ "Save draft": "Save draft",
520
+ "No data has been found for import": "No data has been found for import",
521
+ "Successfully imported {count} feature(s)": "Successfully imported {count} feature(s)",
522
+ "Disconnected": "Disconnected",
523
+ "You must be logged in": "You must be logged in",
524
+ "on hover": "on hover",
525
+ "Cannot load remote data for layer \"{layer}\" with url \"{url}\"": "Cannot load remote data for layer \"{layer}\" with url \"{url}\"",
526
+ "Cannot parse remote data for layer \"{layer}\" with url \"{url}\"": "Cannot parse remote data for layer \"{layer}\" with url \"{url}\"",
527
+ "Import failed: invalid data": "Import failed: invalid data",
528
+ "Anonymous": "Anonymous",
529
+ "created at {date}": "created at {date}",
530
+ "modified at {date}": "modified at {date}",
531
+ "Default zoom": "Default zoom",
532
+ "Default latitude": "Default latitude",
533
+ "Default longitude": "Default longitude",
534
+ "Edit map default view": "Edit map default view",
535
+ "Use current center and zoom": "Use current center and zoom"
524
536
  }
525
537
  L.registerLocale("uk_UA", locale)
526
538
  L.setLocale("uk_UA")
@@ -19,7 +19,6 @@
19
19
  "Add a new property": "Додати новий параметр",
20
20
  "Add a polygon to the current multi": "Add a polygon to the current multi",
21
21
  "Add image URL": "Add image URL",
22
- "Add": "Add",
23
22
  "Advanced actions": "Додаткові дії",
24
23
  "Advanced properties": "Розширенні параметри",
25
24
  "All data and settings of the map": "All data and settings of the map",
@@ -120,7 +119,6 @@
120
119
  "Display the locate control": "Показувати кнопку визначення місцезнаходження",
121
120
  "Display the measure control": "Показувати інструменти вимірювання",
122
121
  "Display the search control": "Показувати засоби для пошуку",
123
- "Display the star map button": "Display the star map button",
124
122
  "Display the tile layers control": "Показувати перемикач шарів",
125
123
  "Display the zoom control": "Показувати елементи керування масштабуванням",
126
124
  "Do you want to display a caption bar?": "Показувати рядок заголовку?",
@@ -301,7 +299,6 @@
301
299
  "Restore this version": "Відновити цю версію",
302
300
  "Save current edits": "Зберегти поточні правки",
303
301
  "Save map": "Save map",
304
- "Save this center and zoom": "Зберегти такі центрування та масштаб",
305
302
  "Save this location as new feature": "Зберегти місце розташування як новий об’єкт",
306
303
  "Save": "Зберегти",
307
304
  "Saved center and zoom": "Saved center and zoom",
@@ -516,9 +513,24 @@
516
513
  "show/hide all layers": "show/hide all layers",
517
514
  "zoom to data extent": "zoom to data extent",
518
515
  "download visible data": "download visible data",
519
- "{connectedPeers} peer(s) currently connected to this map": "{connectedPeers} peer(s) currently connected to this map",
520
516
  "Import helpers": "Import helpers",
521
517
  "Import helpers will fill the URL field for you.": "Import helpers will fill the URL field for you.",
522
518
  "Wikipedia": "Wikipedia",
523
- "Save draft": "Save draft"
519
+ "Save draft": "Save draft",
520
+ "No data has been found for import": "No data has been found for import",
521
+ "Successfully imported {count} feature(s)": "Successfully imported {count} feature(s)",
522
+ "Disconnected": "Disconnected",
523
+ "You must be logged in": "You must be logged in",
524
+ "on hover": "on hover",
525
+ "Cannot load remote data for layer \"{layer}\" with url \"{url}\"": "Cannot load remote data for layer \"{layer}\" with url \"{url}\"",
526
+ "Cannot parse remote data for layer \"{layer}\" with url \"{url}\"": "Cannot parse remote data for layer \"{layer}\" with url \"{url}\"",
527
+ "Import failed: invalid data": "Import failed: invalid data",
528
+ "Anonymous": "Anonymous",
529
+ "created at {date}": "created at {date}",
530
+ "modified at {date}": "modified at {date}",
531
+ "Default zoom": "Default zoom",
532
+ "Default latitude": "Default latitude",
533
+ "Default longitude": "Default longitude",
534
+ "Edit map default view": "Edit map default view",
535
+ "Use current center and zoom": "Use current center and zoom"
524
536
  }
@@ -19,7 +19,6 @@ const locale = {
19
19
  "Add a new property": "Add a new property",
20
20
  "Add a polygon to the current multi": "Add a polygon to the current multi",
21
21
  "Add image URL": "Add image URL",
22
- "Add": "Add",
23
22
  "Advanced actions": "Hoat động nâng cao",
24
23
  "Advanced properties": "Thuộc tính nâng cao",
25
24
  "All data and settings of the map": "All data and settings of the map",
@@ -120,7 +119,6 @@ const locale = {
120
119
  "Display the locate control": "Display the locate control",
121
120
  "Display the measure control": "Display the measure control",
122
121
  "Display the search control": "Display the search control",
123
- "Display the star map button": "Display the star map button",
124
122
  "Display the tile layers control": "Display the tile layers control",
125
123
  "Display the zoom control": "Display the zoom control",
126
124
  "Do you want to display a caption bar?": "Do you want to display a caption bar?",
@@ -301,7 +299,6 @@ const locale = {
301
299
  "Restore this version": "Restore this version",
302
300
  "Save current edits": "Save current edits",
303
301
  "Save map": "Save map",
304
- "Save this center and zoom": "Save this center and zoom",
305
302
  "Save this location as new feature": "Save this location as new feature",
306
303
  "Save": "Save",
307
304
  "Saved center and zoom": "Saved center and zoom",
@@ -516,11 +513,26 @@ const locale = {
516
513
  "show/hide all layers": "show/hide all layers",
517
514
  "zoom to data extent": "zoom to data extent",
518
515
  "download visible data": "download visible data",
519
- "{connectedPeers} peer(s) currently connected to this map": "{connectedPeers} peer(s) currently connected to this map",
520
516
  "Import helpers": "Import helpers",
521
517
  "Import helpers will fill the URL field for you.": "Import helpers will fill the URL field for you.",
522
518
  "Wikipedia": "Wikipedia",
523
- "Save draft": "Save draft"
519
+ "Save draft": "Save draft",
520
+ "No data has been found for import": "No data has been found for import",
521
+ "Successfully imported {count} feature(s)": "Successfully imported {count} feature(s)",
522
+ "Disconnected": "Disconnected",
523
+ "You must be logged in": "You must be logged in",
524
+ "on hover": "on hover",
525
+ "Cannot load remote data for layer \"{layer}\" with url \"{url}\"": "Cannot load remote data for layer \"{layer}\" with url \"{url}\"",
526
+ "Cannot parse remote data for layer \"{layer}\" with url \"{url}\"": "Cannot parse remote data for layer \"{layer}\" with url \"{url}\"",
527
+ "Import failed: invalid data": "Import failed: invalid data",
528
+ "Anonymous": "Anonymous",
529
+ "created at {date}": "created at {date}",
530
+ "modified at {date}": "modified at {date}",
531
+ "Default zoom": "Default zoom",
532
+ "Default latitude": "Default latitude",
533
+ "Default longitude": "Default longitude",
534
+ "Edit map default view": "Edit map default view",
535
+ "Use current center and zoom": "Use current center and zoom"
524
536
  }
525
537
  L.registerLocale("vi", locale)
526
538
  L.setLocale("vi")
@@ -19,7 +19,6 @@
19
19
  "Add a new property": "Add a new property",
20
20
  "Add a polygon to the current multi": "Add a polygon to the current multi",
21
21
  "Add image URL": "Add image URL",
22
- "Add": "Add",
23
22
  "Advanced actions": "Hoat động nâng cao",
24
23
  "Advanced properties": "Thuộc tính nâng cao",
25
24
  "All data and settings of the map": "All data and settings of the map",
@@ -120,7 +119,6 @@
120
119
  "Display the locate control": "Display the locate control",
121
120
  "Display the measure control": "Display the measure control",
122
121
  "Display the search control": "Display the search control",
123
- "Display the star map button": "Display the star map button",
124
122
  "Display the tile layers control": "Display the tile layers control",
125
123
  "Display the zoom control": "Display the zoom control",
126
124
  "Do you want to display a caption bar?": "Do you want to display a caption bar?",
@@ -301,7 +299,6 @@
301
299
  "Restore this version": "Restore this version",
302
300
  "Save current edits": "Save current edits",
303
301
  "Save map": "Save map",
304
- "Save this center and zoom": "Save this center and zoom",
305
302
  "Save this location as new feature": "Save this location as new feature",
306
303
  "Save": "Save",
307
304
  "Saved center and zoom": "Saved center and zoom",
@@ -516,9 +513,24 @@
516
513
  "show/hide all layers": "show/hide all layers",
517
514
  "zoom to data extent": "zoom to data extent",
518
515
  "download visible data": "download visible data",
519
- "{connectedPeers} peer(s) currently connected to this map": "{connectedPeers} peer(s) currently connected to this map",
520
516
  "Import helpers": "Import helpers",
521
517
  "Import helpers will fill the URL field for you.": "Import helpers will fill the URL field for you.",
522
518
  "Wikipedia": "Wikipedia",
523
- "Save draft": "Save draft"
519
+ "Save draft": "Save draft",
520
+ "No data has been found for import": "No data has been found for import",
521
+ "Successfully imported {count} feature(s)": "Successfully imported {count} feature(s)",
522
+ "Disconnected": "Disconnected",
523
+ "You must be logged in": "You must be logged in",
524
+ "on hover": "on hover",
525
+ "Cannot load remote data for layer \"{layer}\" with url \"{url}\"": "Cannot load remote data for layer \"{layer}\" with url \"{url}\"",
526
+ "Cannot parse remote data for layer \"{layer}\" with url \"{url}\"": "Cannot parse remote data for layer \"{layer}\" with url \"{url}\"",
527
+ "Import failed: invalid data": "Import failed: invalid data",
528
+ "Anonymous": "Anonymous",
529
+ "created at {date}": "created at {date}",
530
+ "modified at {date}": "modified at {date}",
531
+ "Default zoom": "Default zoom",
532
+ "Default latitude": "Default latitude",
533
+ "Default longitude": "Default longitude",
534
+ "Edit map default view": "Edit map default view",
535
+ "Use current center and zoom": "Use current center and zoom"
524
536
  }
@@ -19,7 +19,6 @@
19
19
  "Add a new property": "Add a new property",
20
20
  "Add a polygon to the current multi": "Add a polygon to the current multi",
21
21
  "Add image URL": "Add image URL",
22
- "Add": "Add",
23
22
  "Advanced actions": "Advanced actions",
24
23
  "Advanced properties": "Advanced properties",
25
24
  "All data and settings of the map": "All data and settings of the map",
@@ -120,7 +119,6 @@
120
119
  "Display the locate control": "Display the locate control",
121
120
  "Display the measure control": "Display the measure control",
122
121
  "Display the search control": "Display the search control",
123
- "Display the star map button": "Display the star map button",
124
122
  "Display the tile layers control": "Display the tile layers control",
125
123
  "Display the zoom control": "Display the zoom control",
126
124
  "Do you want to display a caption bar?": "Do you want to display a caption bar?",
@@ -301,7 +299,6 @@
301
299
  "Restore this version": "Restore this version",
302
300
  "Save current edits": "Save current edits",
303
301
  "Save map": "Save map",
304
- "Save this center and zoom": "Save this center and zoom",
305
302
  "Save this location as new feature": "Save this location as new feature",
306
303
  "Save": "Save",
307
304
  "Saved center and zoom": "Saved center and zoom",
@@ -516,9 +513,24 @@
516
513
  "show/hide all layers": "show/hide all layers",
517
514
  "zoom to data extent": "zoom to data extent",
518
515
  "download visible data": "download visible data",
519
- "{connectedPeers} peer(s) currently connected to this map": "{connectedPeers} peer(s) currently connected to this map",
520
516
  "Import helpers": "Import helpers",
521
517
  "Import helpers will fill the URL field for you.": "Import helpers will fill the URL field for you.",
522
518
  "Wikipedia": "Wikipedia",
523
- "Save draft": "Save draft"
519
+ "Save draft": "Save draft",
520
+ "No data has been found for import": "No data has been found for import",
521
+ "Successfully imported {count} feature(s)": "Successfully imported {count} feature(s)",
522
+ "Disconnected": "Disconnected",
523
+ "You must be logged in": "You must be logged in",
524
+ "on hover": "on hover",
525
+ "Cannot load remote data for layer \"{layer}\" with url \"{url}\"": "Cannot load remote data for layer \"{layer}\" with url \"{url}\"",
526
+ "Cannot parse remote data for layer \"{layer}\" with url \"{url}\"": "Cannot parse remote data for layer \"{layer}\" with url \"{url}\"",
527
+ "Import failed: invalid data": "Import failed: invalid data",
528
+ "Anonymous": "Anonymous",
529
+ "created at {date}": "created at {date}",
530
+ "modified at {date}": "modified at {date}",
531
+ "Default zoom": "Default zoom",
532
+ "Default latitude": "Default latitude",
533
+ "Default longitude": "Default longitude",
534
+ "Edit map default view": "Edit map default view",
535
+ "Use current center and zoom": "Use current center and zoom"
524
536
  }
@@ -19,7 +19,6 @@ const locale = {
19
19
  "Add a new property": "添加属性",
20
20
  "Add a polygon to the current multi": "Add a polygon to the current multi",
21
21
  "Add image URL": "Add image URL",
22
- "Add": "Add",
23
22
  "Advanced actions": "高级操作",
24
23
  "Advanced properties": "高级属性",
25
24
  "All data and settings of the map": "All data and settings of the map",
@@ -120,7 +119,6 @@ const locale = {
120
119
  "Display the locate control": "Display the locate control",
121
120
  "Display the measure control": "Display the measure control",
122
121
  "Display the search control": "Display the search control",
123
- "Display the star map button": "Display the star map button",
124
122
  "Display the tile layers control": "Display the tile layers control",
125
123
  "Display the zoom control": "Display the zoom control",
126
124
  "Do you want to display a caption bar?": "Do you want to display a caption bar?",
@@ -301,7 +299,6 @@ const locale = {
301
299
  "Restore this version": "Restore this version",
302
300
  "Save current edits": "保存当前编辑内容",
303
301
  "Save map": "Save map",
304
- "Save this center and zoom": "保存地图中心与比例尺",
305
302
  "Save this location as new feature": "Save this location as new feature",
306
303
  "Save": "保存",
307
304
  "Saved center and zoom": "Saved center and zoom",
@@ -516,11 +513,26 @@ const locale = {
516
513
  "show/hide all layers": "show/hide all layers",
517
514
  "zoom to data extent": "zoom to data extent",
518
515
  "download visible data": "download visible data",
519
- "{connectedPeers} peer(s) currently connected to this map": "{connectedPeers} peer(s) currently connected to this map",
520
516
  "Import helpers": "Import helpers",
521
517
  "Import helpers will fill the URL field for you.": "Import helpers will fill the URL field for you.",
522
518
  "Wikipedia": "Wikipedia",
523
- "Save draft": "Save draft"
519
+ "Save draft": "Save draft",
520
+ "No data has been found for import": "No data has been found for import",
521
+ "Successfully imported {count} feature(s)": "Successfully imported {count} feature(s)",
522
+ "Disconnected": "Disconnected",
523
+ "You must be logged in": "You must be logged in",
524
+ "on hover": "on hover",
525
+ "Cannot load remote data for layer \"{layer}\" with url \"{url}\"": "Cannot load remote data for layer \"{layer}\" with url \"{url}\"",
526
+ "Cannot parse remote data for layer \"{layer}\" with url \"{url}\"": "Cannot parse remote data for layer \"{layer}\" with url \"{url}\"",
527
+ "Import failed: invalid data": "Import failed: invalid data",
528
+ "Anonymous": "Anonymous",
529
+ "created at {date}": "created at {date}",
530
+ "modified at {date}": "modified at {date}",
531
+ "Default zoom": "Default zoom",
532
+ "Default latitude": "Default latitude",
533
+ "Default longitude": "Default longitude",
534
+ "Edit map default view": "Edit map default view",
535
+ "Use current center and zoom": "Use current center and zoom"
524
536
  }
525
537
  L.registerLocale("zh", locale)
526
538
  L.setLocale("zh")
@@ -19,7 +19,6 @@
19
19
  "Add a new property": "添加属性",
20
20
  "Add a polygon to the current multi": "Add a polygon to the current multi",
21
21
  "Add image URL": "Add image URL",
22
- "Add": "Add",
23
22
  "Advanced actions": "高级操作",
24
23
  "Advanced properties": "高级属性",
25
24
  "All data and settings of the map": "All data and settings of the map",
@@ -120,7 +119,6 @@
120
119
  "Display the locate control": "Display the locate control",
121
120
  "Display the measure control": "Display the measure control",
122
121
  "Display the search control": "Display the search control",
123
- "Display the star map button": "Display the star map button",
124
122
  "Display the tile layers control": "Display the tile layers control",
125
123
  "Display the zoom control": "Display the zoom control",
126
124
  "Do you want to display a caption bar?": "Do you want to display a caption bar?",
@@ -301,7 +299,6 @@
301
299
  "Restore this version": "Restore this version",
302
300
  "Save current edits": "保存当前编辑内容",
303
301
  "Save map": "Save map",
304
- "Save this center and zoom": "保存地图中心与比例尺",
305
302
  "Save this location as new feature": "Save this location as new feature",
306
303
  "Save": "保存",
307
304
  "Saved center and zoom": "Saved center and zoom",
@@ -516,9 +513,24 @@
516
513
  "show/hide all layers": "show/hide all layers",
517
514
  "zoom to data extent": "zoom to data extent",
518
515
  "download visible data": "download visible data",
519
- "{connectedPeers} peer(s) currently connected to this map": "{connectedPeers} peer(s) currently connected to this map",
520
516
  "Import helpers": "Import helpers",
521
517
  "Import helpers will fill the URL field for you.": "Import helpers will fill the URL field for you.",
522
518
  "Wikipedia": "Wikipedia",
523
- "Save draft": "Save draft"
519
+ "Save draft": "Save draft",
520
+ "No data has been found for import": "No data has been found for import",
521
+ "Successfully imported {count} feature(s)": "Successfully imported {count} feature(s)",
522
+ "Disconnected": "Disconnected",
523
+ "You must be logged in": "You must be logged in",
524
+ "on hover": "on hover",
525
+ "Cannot load remote data for layer \"{layer}\" with url \"{url}\"": "Cannot load remote data for layer \"{layer}\" with url \"{url}\"",
526
+ "Cannot parse remote data for layer \"{layer}\" with url \"{url}\"": "Cannot parse remote data for layer \"{layer}\" with url \"{url}\"",
527
+ "Import failed: invalid data": "Import failed: invalid data",
528
+ "Anonymous": "Anonymous",
529
+ "created at {date}": "created at {date}",
530
+ "modified at {date}": "modified at {date}",
531
+ "Default zoom": "Default zoom",
532
+ "Default latitude": "Default latitude",
533
+ "Default longitude": "Default longitude",
534
+ "Edit map default view": "Edit map default view",
535
+ "Use current center and zoom": "Use current center and zoom"
524
536
  }
@@ -19,7 +19,6 @@
19
19
  "Add a new property": "Add a new property",
20
20
  "Add a polygon to the current multi": "Add a polygon to the current multi",
21
21
  "Add image URL": "Add image URL",
22
- "Add": "Add",
23
22
  "Advanced actions": "Advanced actions",
24
23
  "Advanced properties": "Advanced properties",
25
24
  "All data and settings of the map": "All data and settings of the map",
@@ -120,7 +119,6 @@
120
119
  "Display the locate control": "Display the locate control",
121
120
  "Display the measure control": "Display the measure control",
122
121
  "Display the search control": "Display the search control",
123
- "Display the star map button": "Display the star map button",
124
122
  "Display the tile layers control": "Display the tile layers control",
125
123
  "Display the zoom control": "Display the zoom control",
126
124
  "Do you want to display a caption bar?": "Do you want to display a caption bar?",
@@ -301,7 +299,6 @@
301
299
  "Restore this version": "Restore this version",
302
300
  "Save current edits": "Save current edits",
303
301
  "Save map": "Save map",
304
- "Save this center and zoom": "Save this center and zoom",
305
302
  "Save this location as new feature": "Save this location as new feature",
306
303
  "Save": "Save",
307
304
  "Saved center and zoom": "Saved center and zoom",
@@ -516,9 +513,24 @@
516
513
  "show/hide all layers": "show/hide all layers",
517
514
  "zoom to data extent": "zoom to data extent",
518
515
  "download visible data": "download visible data",
519
- "{connectedPeers} peer(s) currently connected to this map": "{connectedPeers} peer(s) currently connected to this map",
520
516
  "Import helpers": "Import helpers",
521
517
  "Import helpers will fill the URL field for you.": "Import helpers will fill the URL field for you.",
522
518
  "Wikipedia": "Wikipedia",
523
- "Save draft": "Save draft"
519
+ "Save draft": "Save draft",
520
+ "No data has been found for import": "No data has been found for import",
521
+ "Successfully imported {count} feature(s)": "Successfully imported {count} feature(s)",
522
+ "Disconnected": "Disconnected",
523
+ "You must be logged in": "You must be logged in",
524
+ "on hover": "on hover",
525
+ "Cannot load remote data for layer \"{layer}\" with url \"{url}\"": "Cannot load remote data for layer \"{layer}\" with url \"{url}\"",
526
+ "Cannot parse remote data for layer \"{layer}\" with url \"{url}\"": "Cannot parse remote data for layer \"{layer}\" with url \"{url}\"",
527
+ "Import failed: invalid data": "Import failed: invalid data",
528
+ "Anonymous": "Anonymous",
529
+ "created at {date}": "created at {date}",
530
+ "modified at {date}": "modified at {date}",
531
+ "Default zoom": "Default zoom",
532
+ "Default latitude": "Default latitude",
533
+ "Default longitude": "Default longitude",
534
+ "Edit map default view": "Edit map default view",
535
+ "Use current center and zoom": "Use current center and zoom"
524
536
  }
@@ -19,7 +19,6 @@
19
19
  "Add a new property": "Add a new property",
20
20
  "Add a polygon to the current multi": "Add a polygon to the current multi",
21
21
  "Add image URL": "Add image URL",
22
- "Add": "Add",
23
22
  "Advanced actions": "Advanced actions",
24
23
  "Advanced properties": "Advanced properties",
25
24
  "All data and settings of the map": "All data and settings of the map",
@@ -120,7 +119,6 @@
120
119
  "Display the locate control": "Display the locate control",
121
120
  "Display the measure control": "Display the measure control",
122
121
  "Display the search control": "Display the search control",
123
- "Display the star map button": "Display the star map button",
124
122
  "Display the tile layers control": "Display the tile layers control",
125
123
  "Display the zoom control": "Display the zoom control",
126
124
  "Do you want to display a caption bar?": "Do you want to display a caption bar?",
@@ -301,7 +299,6 @@
301
299
  "Restore this version": "Restore this version",
302
300
  "Save current edits": "Save current edits",
303
301
  "Save map": "Save map",
304
- "Save this center and zoom": "Save this center and zoom",
305
302
  "Save this location as new feature": "Save this location as new feature",
306
303
  "Save": "Save",
307
304
  "Saved center and zoom": "Saved center and zoom",
@@ -516,9 +513,24 @@
516
513
  "show/hide all layers": "show/hide all layers",
517
514
  "zoom to data extent": "zoom to data extent",
518
515
  "download visible data": "download visible data",
519
- "{connectedPeers} peer(s) currently connected to this map": "{connectedPeers} peer(s) currently connected to this map",
520
516
  "Import helpers": "Import helpers",
521
517
  "Import helpers will fill the URL field for you.": "Import helpers will fill the URL field for you.",
522
518
  "Wikipedia": "Wikipedia",
523
- "Save draft": "Save draft"
519
+ "Save draft": "Save draft",
520
+ "No data has been found for import": "No data has been found for import",
521
+ "Successfully imported {count} feature(s)": "Successfully imported {count} feature(s)",
522
+ "Disconnected": "Disconnected",
523
+ "You must be logged in": "You must be logged in",
524
+ "on hover": "on hover",
525
+ "Cannot load remote data for layer \"{layer}\" with url \"{url}\"": "Cannot load remote data for layer \"{layer}\" with url \"{url}\"",
526
+ "Cannot parse remote data for layer \"{layer}\" with url \"{url}\"": "Cannot parse remote data for layer \"{layer}\" with url \"{url}\"",
527
+ "Import failed: invalid data": "Import failed: invalid data",
528
+ "Anonymous": "Anonymous",
529
+ "created at {date}": "created at {date}",
530
+ "modified at {date}": "modified at {date}",
531
+ "Default zoom": "Default zoom",
532
+ "Default latitude": "Default latitude",
533
+ "Default longitude": "Default longitude",
534
+ "Edit map default view": "Edit map default view",
535
+ "Use current center and zoom": "Use current center and zoom"
524
536
  }
@@ -299,7 +299,6 @@ const locale = {
299
299
  "Restore this version": "回復此版本",
300
300
  "Save current edits": "儲存近期的變更",
301
301
  "Save map": "儲存地圖",
302
- "Save this center and zoom": "保存地圖中心點位置與縮放大小",
303
302
  "Save this location as new feature": "將地點存為新的圖徵",
304
303
  "Save": "儲存",
305
304
  "Saved center and zoom": "儲存地圖中心點位置與縮放大小",
@@ -520,15 +519,20 @@ const locale = {
520
519
  "Save draft": "儲存草稿",
521
520
  "No data has been found for import": "匯入時沒有找到資料",
522
521
  "Successfully imported {count} feature(s)": "成功匯入 {count} 圖徵",
523
- "Disconnected": "Disconnected",
524
- "You must be logged in": "You must be logged in",
525
- "Created at {date}": "Created at {date}",
526
- "Modified at {date}": "Modified at {date}",
527
- "on hover": "on hover",
528
- "Cannot load remote data for layer \"{layer}\" with url \"{url}\"": "Cannot load remote data for layer \"{layer}\" with url \"{url}\"",
529
- "Cannot parse remote data for layer \"{layer}\" with url \"{url}\"": "Cannot parse remote data for layer \"{layer}\" with url \"{url}\"",
530
- "Import failed: invalid data": "Import failed: invalid data",
531
- "Anonymous": "Anonymous"
522
+ "Disconnected": "已經離線了",
523
+ "You must be logged in": "你必須登入",
524
+ "on hover": "滑動過去時",
525
+ "Cannot load remote data for layer \"{layer}\" with url \"{url}\"": "無法用網址 \"{url}\" 為圖層 \"{layer}\"\" 載入遠端資料",
526
+ "Cannot parse remote data for layer \"{layer}\" with url \"{url}\"": "無法用網址 \"{url}\" 為圖層 \"{layer}\" 解析遠端資料",
527
+ "Import failed: invalid data": "匯入失敗:無效的資料",
528
+ "Anonymous": "暱名",
529
+ "created at {date}": "created at {date}",
530
+ "modified at {date}": "modified at {date}",
531
+ "Default zoom": "Default zoom",
532
+ "Default latitude": "Default latitude",
533
+ "Default longitude": "Default longitude",
534
+ "Edit map default view": "Edit map default view",
535
+ "Use current center and zoom": "Use current center and zoom"
532
536
  }
533
537
  L.registerLocale("zh_TW", locale)
534
538
  L.setLocale("zh_TW")
@@ -299,7 +299,6 @@
299
299
  "Restore this version": "回復此版本",
300
300
  "Save current edits": "儲存近期的變更",
301
301
  "Save map": "儲存地圖",
302
- "Save this center and zoom": "保存地圖中心點位置與縮放大小",
303
302
  "Save this location as new feature": "將地點存為新的圖徵",
304
303
  "Save": "儲存",
305
304
  "Saved center and zoom": "儲存地圖中心點位置與縮放大小",
@@ -520,13 +519,18 @@
520
519
  "Save draft": "儲存草稿",
521
520
  "No data has been found for import": "匯入時沒有找到資料",
522
521
  "Successfully imported {count} feature(s)": "成功匯入 {count} 圖徵",
523
- "Disconnected": "Disconnected",
524
- "You must be logged in": "You must be logged in",
525
- "Created at {date}": "Created at {date}",
526
- "Modified at {date}": "Modified at {date}",
527
- "on hover": "on hover",
528
- "Cannot load remote data for layer \"{layer}\" with url \"{url}\"": "Cannot load remote data for layer \"{layer}\" with url \"{url}\"",
529
- "Cannot parse remote data for layer \"{layer}\" with url \"{url}\"": "Cannot parse remote data for layer \"{layer}\" with url \"{url}\"",
530
- "Import failed: invalid data": "Import failed: invalid data",
531
- "Anonymous": "Anonymous"
522
+ "Disconnected": "已經離線了",
523
+ "You must be logged in": "你必須登入",
524
+ "on hover": "滑動過去時",
525
+ "Cannot load remote data for layer \"{layer}\" with url \"{url}\"": "無法用網址 \"{url}\" 為圖層 \"{layer}\"\" 載入遠端資料",
526
+ "Cannot parse remote data for layer \"{layer}\" with url \"{url}\"": "無法用網址 \"{url}\" 為圖層 \"{layer}\" 解析遠端資料",
527
+ "Import failed: invalid data": "匯入失敗:無效的資料",
528
+ "Anonymous": "暱名",
529
+ "created at {date}": "created at {date}",
530
+ "modified at {date}": "modified at {date}",
531
+ "Default zoom": "Default zoom",
532
+ "Default latitude": "Default latitude",
533
+ "Default longitude": "Default longitude",
534
+ "Edit map default view": "Edit map default view",
535
+ "Use current center and zoom": "Use current center and zoom"
532
536
  }