umap-project 2.4.0b2__py3-none-any.whl → 2.4.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 (129) hide show
  1. umap/__init__.py +1 -1
  2. umap/locale/el/LC_MESSAGES/django.po +145 -90
  3. umap/locale/en/LC_MESSAGES/django.po +3 -3
  4. umap/locale/eu/LC_MESSAGES/django.po +145 -89
  5. umap/locale/pt/LC_MESSAGES/django.mo +0 -0
  6. umap/locale/pt/LC_MESSAGES/django.po +87 -37
  7. umap/static/umap/base.css +20 -6
  8. umap/static/umap/content.css +2 -2
  9. umap/static/umap/css/dialog.css +1 -1
  10. umap/static/umap/css/importers.css +2 -0
  11. umap/static/umap/css/panel.css +2 -2
  12. umap/static/umap/css/tooltip.css +1 -1
  13. umap/static/umap/img/16-white.svg +1 -3
  14. umap/static/umap/img/source/16-white.svg +2 -4
  15. umap/static/umap/js/components/alerts/alert.css +1 -1
  16. umap/static/umap/js/components/alerts/alert.js +1 -1
  17. umap/static/umap/js/modules/autocomplete.js +4 -4
  18. umap/static/umap/js/modules/browser.js +11 -11
  19. umap/static/umap/js/modules/caption.js +5 -5
  20. umap/static/umap/js/modules/dompurify.js +2 -3
  21. umap/static/umap/js/modules/facets.js +16 -10
  22. umap/static/umap/js/modules/global.js +16 -16
  23. umap/static/umap/js/modules/help.js +2 -2
  24. umap/static/umap/js/modules/importer.js +6 -6
  25. umap/static/umap/js/modules/importers/geodatamine.js +4 -4
  26. umap/static/umap/js/modules/importers/overpass.js +2 -2
  27. umap/static/umap/js/modules/orderable.js +2 -2
  28. umap/static/umap/js/modules/request.js +1 -1
  29. umap/static/umap/js/modules/rules.js +13 -10
  30. umap/static/umap/js/modules/sync/engine.js +3 -3
  31. umap/static/umap/js/modules/sync/updaters.js +10 -11
  32. umap/static/umap/js/modules/sync/websocket.js +1 -1
  33. umap/static/umap/js/modules/ui/dialog.js +1 -1
  34. umap/static/umap/js/modules/ui/panel.js +1 -1
  35. umap/static/umap/js/modules/ui/tooltip.js +6 -6
  36. umap/static/umap/js/modules/urls.js +1 -2
  37. umap/static/umap/js/modules/utils.js +19 -19
  38. umap/static/umap/js/umap.controls.js +26 -28
  39. umap/static/umap/js/umap.core.js +19 -15
  40. umap/static/umap/js/umap.datalayer.permissions.js +15 -18
  41. umap/static/umap/js/umap.features.js +102 -120
  42. umap/static/umap/js/umap.forms.js +46 -74
  43. umap/static/umap/js/umap.icon.js +17 -22
  44. umap/static/umap/js/umap.js +126 -131
  45. umap/static/umap/js/umap.layer.js +159 -167
  46. umap/static/umap/js/umap.permissions.js +6 -9
  47. umap/static/umap/js/umap.popup.js +20 -20
  48. umap/static/umap/js/umap.share.js +9 -15
  49. umap/static/umap/js/umap.slideshow.js +12 -14
  50. umap/static/umap/js/umap.tableeditor.js +5 -5
  51. umap/static/umap/locale/am_ET.json +5 -2
  52. umap/static/umap/locale/ar.json +5 -2
  53. umap/static/umap/locale/ast.json +5 -2
  54. umap/static/umap/locale/bg.json +5 -2
  55. umap/static/umap/locale/br.json +5 -2
  56. umap/static/umap/locale/ca.json +5 -2
  57. umap/static/umap/locale/cs_CZ.json +5 -2
  58. umap/static/umap/locale/da.json +5 -2
  59. umap/static/umap/locale/de.json +5 -2
  60. umap/static/umap/locale/el.json +10 -7
  61. umap/static/umap/locale/en.js +2 -1
  62. umap/static/umap/locale/en.json +5 -2
  63. umap/static/umap/locale/en_US.json +5 -2
  64. umap/static/umap/locale/es.js +9 -8
  65. umap/static/umap/locale/es.json +12 -9
  66. umap/static/umap/locale/et.json +5 -2
  67. umap/static/umap/locale/fa_IR.json +5 -2
  68. umap/static/umap/locale/fi.json +5 -2
  69. umap/static/umap/locale/fr.js +2 -1
  70. umap/static/umap/locale/fr.json +5 -2
  71. umap/static/umap/locale/gl.json +5 -2
  72. umap/static/umap/locale/he.json +5 -2
  73. umap/static/umap/locale/hr.json +5 -2
  74. umap/static/umap/locale/hu.json +5 -2
  75. umap/static/umap/locale/id.json +5 -2
  76. umap/static/umap/locale/is.json +5 -2
  77. umap/static/umap/locale/it.json +5 -2
  78. umap/static/umap/locale/ja.json +5 -2
  79. umap/static/umap/locale/ko.json +5 -2
  80. umap/static/umap/locale/lt.json +5 -2
  81. umap/static/umap/locale/ms.json +5 -2
  82. umap/static/umap/locale/nl.json +5 -2
  83. umap/static/umap/locale/no.json +5 -2
  84. umap/static/umap/locale/pl.json +5 -2
  85. umap/static/umap/locale/pl_PL.json +5 -2
  86. umap/static/umap/locale/pt.js +61 -60
  87. umap/static/umap/locale/pt.json +64 -61
  88. umap/static/umap/locale/pt_BR.json +5 -2
  89. umap/static/umap/locale/pt_PT.json +5 -2
  90. umap/static/umap/locale/ro.json +5 -2
  91. umap/static/umap/locale/ru.json +5 -2
  92. umap/static/umap/locale/sk_SK.json +5 -2
  93. umap/static/umap/locale/sl.json +5 -2
  94. umap/static/umap/locale/sr.json +5 -2
  95. umap/static/umap/locale/sv.json +5 -2
  96. umap/static/umap/locale/th_TH.json +5 -2
  97. umap/static/umap/locale/tr.json +5 -2
  98. umap/static/umap/locale/uk_UA.json +5 -2
  99. umap/static/umap/locale/vi.json +5 -2
  100. umap/static/umap/locale/vi_VN.json +5 -2
  101. umap/static/umap/locale/zh.json +5 -2
  102. umap/static/umap/locale/zh_CN.json +5 -2
  103. umap/static/umap/locale/zh_TW.Big5.json +5 -2
  104. umap/static/umap/locale/zh_TW.json +5 -2
  105. umap/static/umap/map.css +22 -22
  106. umap/static/umap/unittests/utils.js +5 -5
  107. umap/static/umap/vars.css +12 -1
  108. umap/storage.py +1 -1
  109. umap/tests/integration/test_browser.py +76 -3
  110. umap/tests/integration/test_edit_polygon.py +11 -0
  111. umap/tests/integration/test_map.py +29 -0
  112. umap/tests/integration/test_map_preview.py +36 -2
  113. umap/tests/integration/test_view_marker.py +2 -2
  114. umap/tests/test_views.py +2 -2
  115. umap/views.py +3 -2
  116. {umap_project-2.4.0b2.dist-info → umap_project-2.4.2.dist-info}/METADATA +3 -3
  117. {umap_project-2.4.0b2.dist-info → umap_project-2.4.2.dist-info}/RECORD +120 -129
  118. {umap_project-2.4.0b2.dist-info → umap_project-2.4.2.dist-info}/WHEEL +1 -1
  119. umap/.DS_Store +0 -0
  120. umap/static/.DS_Store +0 -0
  121. umap/static/umap/.DS_Store +0 -0
  122. umap/static/umap/favicons/.DS_Store +0 -0
  123. umap/static/umap/fonts/.DS_Store +0 -0
  124. umap/static/umap/img/.DS_Store +0 -0
  125. umap/static/umap/img/source/.DS_Store +0 -0
  126. umap/tests/.DS_Store +0 -0
  127. umap/tests/integration/.DS_Store +0 -0
  128. {umap_project-2.4.0b2.dist-info → umap_project-2.4.2.dist-info}/entry_points.txt +0 -0
  129. {umap_project-2.4.0b2.dist-info → umap_project-2.4.2.dist-info}/licenses/LICENSE +0 -0
@@ -14,8 +14,8 @@ U.Popup = L.Popup.extend({
14
14
  },
15
15
 
16
16
  format: function () {
17
- const mode = this.feature.getOption('popupTemplate') || 'Default',
18
- klass = U.PopupTemplate[mode] || U.PopupTemplate.Default
17
+ const mode = this.feature.getOption('popupTemplate') || 'Default'
18
+ const klass = U.PopupTemplate[mode] || U.PopupTemplate.Default
19
19
  this.content = new klass(this.feature, this.container)
20
20
  this.content.render()
21
21
  const els = this.container.querySelectorAll('img,iframe')
@@ -84,11 +84,11 @@ U.Popup.Panel = U.Popup.extend({
84
84
  }
85
85
  },
86
86
 
87
- update: function () {},
88
- _updateLayout: function () {},
89
- _updatePosition: function () {},
90
- _adjustPan: function () {},
91
- _animateZoom: function () {},
87
+ update: () => {},
88
+ _updateLayout: () => {},
89
+ _updatePosition: () => {},
90
+ _adjustPan: () => {},
91
+ _animateZoom: () => {},
92
92
  })
93
93
  U.Popup.SimplePanel = U.Popup.Panel // Retrocompat.
94
94
 
@@ -102,12 +102,12 @@ U.PopupTemplate.Default = L.Class.extend({
102
102
  this.container = container
103
103
  },
104
104
 
105
- renderTitle: function () {},
105
+ renderTitle: () => {},
106
106
 
107
107
  renderBody: function () {
108
108
  const template = this.feature.getOption('popupContentTemplate')
109
109
  const target = this.feature.getOption('outlinkTarget')
110
- const container = L.DomUtil.create('div', 'umap-popup-container')
110
+ const container = L.DomUtil.create('div', 'umap-popup-container text')
111
111
  let content = ''
112
112
  let properties
113
113
  let center
@@ -125,12 +125,12 @@ U.PopupTemplate.Default = L.Class.extend({
125
125
 
126
126
  renderFooter: function () {
127
127
  if (this.feature.hasPopupFooter()) {
128
- const footer = L.DomUtil.create('ul', 'umap-popup-footer', this.container),
129
- previousLi = L.DomUtil.create('li', 'previous', footer),
130
- zoomLi = L.DomUtil.create('li', 'zoom', footer),
131
- nextLi = L.DomUtil.create('li', 'next', footer),
132
- next = this.feature.getNext(),
133
- prev = this.feature.getPrevious()
128
+ const footer = L.DomUtil.create('ul', 'umap-popup-footer', this.container)
129
+ const previousLi = L.DomUtil.create('li', 'previous', footer)
130
+ const zoomLi = L.DomUtil.create('li', 'zoom', footer)
131
+ const nextLi = L.DomUtil.create('li', 'next', footer)
132
+ const next = this.feature.getNext()
133
+ const prev = this.feature.getPrevious()
134
134
  // Fixme: remove me when this is merged and released
135
135
  // https://github.com/Leaflet/Leaflet/pull/9052
136
136
  L.DomEvent.disableClickPropagation(footer)
@@ -181,7 +181,7 @@ U.PopupTemplate.BaseWithTitle = U.PopupTemplate.Default.extend({
181
181
  })
182
182
 
183
183
  U.PopupTemplate.Table = U.PopupTemplate.BaseWithTitle.extend({
184
- formatRow: function (key, value) {
184
+ formatRow: (key, value) => {
185
185
  if (value.indexOf('http') === 0) {
186
186
  value = `<a href="${value}" target="_blank">${value}</a>`
187
187
  }
@@ -240,8 +240,8 @@ U.PopupTemplate.GeoRSSLink = U.PopupTemplate.Default.extend({
240
240
  },
241
241
 
242
242
  renderBody: function () {
243
- const title = this.renderTitle(this),
244
- a = L.DomUtil.add('a')
243
+ const title = this.renderTitle(this)
244
+ const a = L.DomUtil.add('a')
245
245
  a.href = this.feature.properties.link
246
246
  a.target = '_blank'
247
247
  a.appendChild(title)
@@ -268,7 +268,7 @@ U.PopupTemplate.OSM = U.PopupTemplate.Default.extend({
268
268
  const color = this.feature.getDynamicOption('color')
269
269
  title.style.backgroundColor = color
270
270
  const iconUrl = this.feature.getDynamicOption('iconUrl')
271
- let icon = U.Icon.makeIconElement(iconUrl, title)
271
+ const icon = U.Icon.makeIconElement(iconUrl, title)
272
272
  L.DomUtil.addClass(icon, 'icon')
273
273
  U.Icon.setIconContrast(icon, title, iconUrl, color)
274
274
  if (L.DomUtil.contrastedColor(title, color)) title.style.color = 'white'
@@ -323,7 +323,7 @@ U.PopupTemplate.OSM = U.PopupTemplate.Default.extend({
323
323
  L.DomUtil.element('a', { href: `mailto:${email}`, textContent: email })
324
324
  )
325
325
  }
326
- const id = props['@id'] || props['id']
326
+ const id = props['@id'] || props.id
327
327
  if (id) {
328
328
  L.DomUtil.add(
329
329
  'div',
@@ -1,35 +1,29 @@
1
1
  U.Share = L.Class.extend({
2
2
  EXPORT_TYPES: {
3
3
  geojson: {
4
- formatter: function (map) {
5
- return JSON.stringify(map.toGeoJSON(), null, 2)
6
- },
4
+ formatter: (map) => JSON.stringify(map.toGeoJSON(), null, 2),
7
5
  ext: '.geojson',
8
6
  filetype: 'application/json',
9
7
  },
10
8
  gpx: {
11
- formatter: function (map) {
12
- return togpx(map.toGeoJSON())
13
- },
9
+ formatter: (map) => togpx(map.toGeoJSON()),
14
10
  ext: '.gpx',
15
11
  filetype: 'application/gpx+xml',
16
12
  },
17
13
  kml: {
18
- formatter: function (map) {
19
- return tokml(map.toGeoJSON())
20
- },
14
+ formatter: (map) => tokml(map.toGeoJSON()),
21
15
  ext: '.kml',
22
16
  filetype: 'application/vnd.google-earth.kml+xml',
23
17
  },
24
18
  csv: {
25
- formatter: function (map) {
19
+ formatter: (map) => {
26
20
  const table = []
27
21
  map.eachFeature((feature) => {
28
- const row = feature.toGeoJSON()['properties'],
29
- center = feature.getCenter()
30
- delete row['_umap_options']
31
- row['Latitude'] = center.lat
32
- row['Longitude'] = center.lng
22
+ const row = feature.toGeoJSON().properties
23
+ const center = feature.getCenter()
24
+ delete row._umap_options
25
+ row.Latitude = center.lat
26
+ row.Longitude = center.lng
33
27
  table.push(row)
34
28
  })
35
29
  return csv2geojson.dsv.csvFormat(table)
@@ -15,8 +15,6 @@ U.Slideshow = L.Class.extend({
15
15
 
16
16
  // current feature
17
17
  let current = null
18
-
19
- const self = this
20
18
  try {
21
19
  Object.defineProperty(this, 'current', {
22
20
  get: function () {
@@ -26,7 +24,7 @@ U.Slideshow = L.Class.extend({
26
24
  }
27
25
  return current
28
26
  },
29
- set: function (feature) {
27
+ set: (feature) => {
30
28
  current = feature
31
29
  },
32
30
  })
@@ -35,9 +33,9 @@ U.Slideshow = L.Class.extend({
35
33
  }
36
34
  try {
37
35
  Object.defineProperty(this, 'next', {
38
- get: function () {
36
+ get: () => {
39
37
  if (!current) {
40
- return self.current
38
+ return this.current
41
39
  }
42
40
  return current.getNext()
43
41
  },
@@ -69,10 +67,10 @@ U.Slideshow = L.Class.extend({
69
67
  },
70
68
 
71
69
  timeSpinner: function () {
72
- const time = parseInt(this.options.delay, 10)
70
+ const time = Number.parseInt(this.options.delay, 10)
73
71
  if (!time) return
74
- const css = `rotation ${time / 1000}s infinite linear`,
75
- spinners = document.querySelectorAll('.umap-slideshow-toolbox .play .spinner')
72
+ const css = `rotation ${time / 1000}s infinite linear`
73
+ const spinners = document.querySelectorAll('.umap-slideshow-toolbox .play .spinner')
76
74
  for (let i = 0; i < spinners.length; i++) {
77
75
  spinners[i].style.animation = css
78
76
  spinners[i].style['-webkit-animation'] = css
@@ -81,7 +79,7 @@ U.Slideshow = L.Class.extend({
81
79
  }
82
80
  },
83
81
 
84
- resetSpinners: function () {
82
+ resetSpinners: () => {
85
83
  // Make that animnation is coordinated with user actions
86
84
  const spinners = document.querySelectorAll('.umap-slideshow-toolbox .play .spinner')
87
85
 
@@ -140,11 +138,11 @@ U.Slideshow = L.Class.extend({
140
138
  },
141
139
 
142
140
  renderToolbox: function (container) {
143
- const box = L.DomUtil.create('ul', 'umap-slideshow-toolbox'),
144
- play = L.DomUtil.create('li', 'play', box),
145
- stop = L.DomUtil.create('li', 'stop', box),
146
- prev = L.DomUtil.create('li', 'prev', box),
147
- next = L.DomUtil.create('li', 'next', box)
141
+ const box = L.DomUtil.create('ul', 'umap-slideshow-toolbox')
142
+ const play = L.DomUtil.create('li', 'play', box)
143
+ const stop = L.DomUtil.create('li', 'stop', box)
144
+ const prev = L.DomUtil.create('li', 'prev', box)
145
+ const next = L.DomUtil.create('li', 'next', box)
148
146
  L.DomUtil.create('div', 'spinner', play)
149
147
  play.title = L._('Start slideshow')
150
148
  stop.title = L._('Stop slideshow')
@@ -15,10 +15,10 @@ U.TableEditor = L.Class.extend({
15
15
  },
16
16
 
17
17
  renderHeader: function (property) {
18
- const container = L.DomUtil.create('div', 'tcell', this.header),
19
- title = L.DomUtil.add('span', '', container, property),
20
- del = L.DomUtil.create('i', 'umap-delete', container),
21
- rename = L.DomUtil.create('i', 'umap-edit', container)
18
+ const container = L.DomUtil.create('div', 'tcell', this.header)
19
+ const title = L.DomUtil.add('span', '', container, property)
20
+ const del = L.DomUtil.create('i', 'umap-delete', container)
21
+ const rename = L.DomUtil.create('i', 'umap-edit', container)
22
22
  del.title = L._('Delete this property on all the features')
23
23
  rename.title = L._('Rename this property on all the features')
24
24
  const doDelete = function () {
@@ -81,7 +81,7 @@ U.TableEditor = L.Class.extend({
81
81
  this.properties = this.datalayer._propertiesIndex
82
82
  },
83
83
 
84
- validateName: function (name) {
84
+ validateName: (name) => {
85
85
  if (name.indexOf('.') !== -1) {
86
86
  U.Alert.error(L._('Invalide property name: {name}', { name: name }))
87
87
  return false
@@ -102,7 +102,6 @@
102
102
  "Define link to open in a new window on polygon click.": "Define link to open in a new window on polygon click.",
103
103
  "define": "define",
104
104
  "Delay between two transitions when in play mode": "Delay between two transitions when in play mode",
105
- "Delete all layers": "Delete all layers",
106
105
  "Delete layer": "Delete layer",
107
106
  "Delete this feature": "ይህንን ፊቸር ሰርዝ",
108
107
  "Delete this property on all the features": "በሁሉም ፊቸሮች ላይ ይህንን ባህርይ ሰርዝ",
@@ -481,5 +480,9 @@
481
480
  "Only geometry centers": "Only geometry centers",
482
481
  "Search area": "Search area",
483
482
  "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"
483
+ "Please define an expression for the query first": "Please define an expression for the query first",
484
+ "Data successfully imported!": "Data successfully imported!",
485
+ "My Dashboard ({username})": "My Dashboard ({username})",
486
+ "Clear data": "Clear data",
487
+ "Remove layers": "Remove layers"
485
488
  }
@@ -102,7 +102,6 @@
102
102
  "Define link to open in a new window on polygon click.": "Define link to open in a new window on polygon click.",
103
103
  "define": "حدّد",
104
104
  "Delay between two transitions when in play mode": "Delay between two transitions when in play mode",
105
- "Delete all layers": "حذف كل الطبقات",
106
105
  "Delete layer": "حذف طبقة",
107
106
  "Delete this feature": "حذف هذه الخاصية",
108
107
  "Delete this property on all the features": "Delete this property on all the features",
@@ -481,5 +480,9 @@
481
480
  "Only geometry centers": "Only geometry centers",
482
481
  "Search area": "Search area",
483
482
  "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"
483
+ "Please define an expression for the query first": "Please define an expression for the query first",
484
+ "Data successfully imported!": "Data successfully imported!",
485
+ "My Dashboard ({username})": "My Dashboard ({username})",
486
+ "Clear data": "Clear data",
487
+ "Remove layers": "Remove layers"
485
488
  }
@@ -102,7 +102,6 @@
102
102
  "Define link to open in a new window on polygon click.": "Define link to open in a new window on polygon click.",
103
103
  "define": "define",
104
104
  "Delay between two transitions when in play mode": "Delay between two transitions when in play mode",
105
- "Delete all layers": "Delete all layers",
106
105
  "Delete layer": "Delete layer",
107
106
  "Delete this feature": "Delete this feature",
108
107
  "Delete this property on all the features": "Delete this property on all the features",
@@ -481,5 +480,9 @@
481
480
  "Only geometry centers": "Only geometry centers",
482
481
  "Search area": "Search area",
483
482
  "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"
483
+ "Please define an expression for the query first": "Please define an expression for the query first",
484
+ "Data successfully imported!": "Data successfully imported!",
485
+ "My Dashboard ({username})": "My Dashboard ({username})",
486
+ "Clear data": "Clear data",
487
+ "Remove layers": "Remove layers"
485
488
  }
@@ -102,7 +102,6 @@
102
102
  "Define link to open in a new window on polygon click.": "Define link to open in a new window on polygon click.",
103
103
  "define": "define",
104
104
  "Delay between two transitions when in play mode": "Delay between two transitions when in play mode",
105
- "Delete all layers": "Delete all layers",
106
105
  "Delete layer": "Delete layer",
107
106
  "Delete this feature": "Изтриване на тази функция",
108
107
  "Delete this property on all the features": "Delete this property on all the features",
@@ -481,5 +480,9 @@
481
480
  "Only geometry centers": "Only geometry centers",
482
481
  "Search area": "Search area",
483
482
  "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"
483
+ "Please define an expression for the query first": "Please define an expression for the query first",
484
+ "Data successfully imported!": "Data successfully imported!",
485
+ "My Dashboard ({username})": "My Dashboard ({username})",
486
+ "Clear data": "Clear data",
487
+ "Remove layers": "Remove layers"
485
488
  }
@@ -102,7 +102,6 @@
102
102
  "Define link to open in a new window on polygon click.": "Define link to open in a new window on polygon click.",
103
103
  "define": "termenañ",
104
104
  "Delay between two transitions when in play mode": "Dale etre daou dremen pa vez e mod lenn",
105
- "Delete all layers": "Dilemel kement gwiskad",
106
105
  "Delete layer": "Dilemel ar gwiskad",
107
106
  "Delete this feature": "Dilemel an elfenn-mañ",
108
107
  "Delete this property on all the features": "Dilemel ar perzh-mañ",
@@ -481,5 +480,9 @@
481
480
  "Only geometry centers": "Only geometry centers",
482
481
  "Search area": "Search area",
483
482
  "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"
483
+ "Please define an expression for the query first": "Please define an expression for the query first",
484
+ "Data successfully imported!": "Data successfully imported!",
485
+ "My Dashboard ({username})": "My Dashboard ({username})",
486
+ "Clear data": "Clear data",
487
+ "Remove layers": "Remove layers"
485
488
  }
@@ -102,7 +102,6 @@
102
102
  "Define link to open in a new window on polygon click.": "Define link to open in a new window on polygon click.",
103
103
  "define": "define",
104
104
  "Delay between two transitions when in play mode": "Delay between two transitions when in play mode",
105
- "Delete all layers": "Delete all layers",
106
105
  "Delete layer": "Delete layer",
107
106
  "Delete this feature": "Suprimeix aquesta característica",
108
107
  "Delete this property on all the features": "Suprimeix aquesta propietat a totes les característiques",
@@ -481,5 +480,9 @@
481
480
  "Only geometry centers": "Only geometry centers",
482
481
  "Search area": "Search area",
483
482
  "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"
483
+ "Please define an expression for the query first": "Please define an expression for the query first",
484
+ "Data successfully imported!": "Data successfully imported!",
485
+ "My Dashboard ({username})": "My Dashboard ({username})",
486
+ "Clear data": "Clear data",
487
+ "Remove layers": "Remove layers"
485
488
  }
@@ -102,7 +102,6 @@
102
102
  "Define link to open in a new window on polygon click.": "Definice odkazu, který se otevře v novém okně po kliknutí na polygon.",
103
103
  "define": "definovat",
104
104
  "Delay between two transitions when in play mode": "Zpoždění mezi dvěma předěly v přehrávacím módu",
105
- "Delete all layers": "Vymazat všechny vrstvy",
106
105
  "Delete layer": "Vymazat vrstvu",
107
106
  "Delete this feature": "Vymazat objekt",
108
107
  "Delete this property on all the features": "Smazat tuto vlastnost na všech objektech",
@@ -481,5 +480,9 @@
481
480
  "Only geometry centers": "Only geometry centers",
482
481
  "Search area": "Search area",
483
482
  "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"
483
+ "Please define an expression for the query first": "Please define an expression for the query first",
484
+ "Data successfully imported!": "Data successfully imported!",
485
+ "My Dashboard ({username})": "My Dashboard ({username})",
486
+ "Clear data": "Clear data",
487
+ "Remove layers": "Remove layers"
485
488
  }
@@ -102,7 +102,6 @@
102
102
  "Define link to open in a new window on polygon click.": "Definer link der åbnes i et nyt vindue ved klik på polygon.",
103
103
  "define": "definer",
104
104
  "Delay between two transitions when in play mode": "Forsinkelse mellem to transitioner, når i afspilningstilstand",
105
- "Delete all layers": "Slet alle lag",
106
105
  "Delete layer": "Slet lag",
107
106
  "Delete this feature": "Slet dette objekt",
108
107
  "Delete this property on all the features": "Slet denne egenskab på alle objekter",
@@ -481,5 +480,9 @@
481
480
  "Only geometry centers": "Only geometry centers",
482
481
  "Search area": "Search area",
483
482
  "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"
483
+ "Please define an expression for the query first": "Please define an expression for the query first",
484
+ "Data successfully imported!": "Data successfully imported!",
485
+ "My Dashboard ({username})": "My Dashboard ({username})",
486
+ "Clear data": "Clear data",
487
+ "Remove layers": "Remove layers"
485
488
  }
@@ -102,7 +102,6 @@
102
102
  "Define link to open in a new window on polygon click.": "Definiere einen externen Link, der sich beim Klick auf die Fläche in einem neuen Fenster öffnet.",
103
103
  "define": "festlegen",
104
104
  "Delay between two transitions when in play mode": "Verzögerung zwischen zwei Übergängen im Abspielmodus",
105
- "Delete all layers": "Alle Ebenen löschen",
106
105
  "Delete layer": "Ebene löschen",
107
106
  "Delete this feature": "Dieses Element löschen",
108
107
  "Delete this property on all the features": "Dieses Merkmal bei allen Elementen löschen",
@@ -481,5 +480,9 @@
481
480
  "Only geometry centers": "Only geometry centers",
482
481
  "Search area": "Search area",
483
482
  "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"
483
+ "Please define an expression for the query first": "Please define an expression for the query first",
484
+ "Data successfully imported!": "Data successfully imported!",
485
+ "My Dashboard ({username})": "My Dashboard ({username})",
486
+ "Clear data": "Clear data",
487
+ "Remove layers": "Remove layers"
485
488
  }
@@ -1,18 +1,18 @@
1
1
  {
2
2
  " (area: {measure})": "(περιοχή: {measure})",
3
3
  " (length: {measure})": "(μήκος: {measure})",
4
- "# one hash for main heading": "# για επικεφαλίδα πρώτου επιπέδου",
5
- "## two hashes for second heading": "## για επικεφαλίδα δευτέρου επιπέδου",
6
- "### three hashes for third heading": "### για επικεφαλίδα τρίτου επιπέδου",
4
+ "# one hash for main heading": "# ένα hash για επικεφαλίδα πρώτου επιπέδου",
5
+ "## two hashes for second heading": "## δύο hash για επικεφαλίδα δευτέρου επιπέδου",
6
+ "### three hashes for third heading": "### τρία hash για επικεφαλίδα τρίτου επιπέδου",
7
7
  "**double star for bold**": "**διπλό αστερίσκο για έντονα**",
8
- "*single star for italic*": "*single star for italic*",
8
+ "*single star for italic*": "*μονό αστερίσκο για πλάγια*",
9
9
  "--- for a horizontal rule": "--- για οριζόντιο χάρακα",
10
10
  "1 day": "1 μέρα",
11
11
  "1 hour": "1 ώρα",
12
12
  "5 min": "5 λεπτά",
13
13
  "A comma separated list of numbers that defines the stroke dash pattern. Ex.: \"5, 10, 15\".": "Μια λίστα αριθμών διαχωρισμένων με κόμμα που καθορίζει το μοτίβο της παύλας. Π.χ.: \"5, 10, 15\".",
14
14
  "About": "Σχετικά",
15
- "Action not allowed :(": "Action not allowed :(",
15
+ "Action not allowed :(": "Μη επιτρεπόμενη ενέργεια :(",
16
16
  "Activate slideshow mode": "Ενεργοποίηση λειτουργίας παρουσίασης",
17
17
  "Add a layer": "Προσθήκη επιπέδου",
18
18
  "Add a line to the current multi": "Προσθήκη γραμμής στο παρόν πολυδεδομένο",
@@ -102,7 +102,6 @@
102
102
  "Define link to open in a new window on polygon click.": "Προσδιορισμός συνδέσμου για άνοιγμα σε νέο παράθυρο με κλικ στο πολύγωνο",
103
103
  "define": "Ορισμός",
104
104
  "Delay between two transitions when in play mode": "Καθυστέρηση μεταξύ μεταβάσεων κατά την παρουσίαση",
105
- "Delete all layers": "Διαγραφή όλων των επιπέδων",
106
105
  "Delete layer": "Διαγραφή επιπέδου",
107
106
  "Delete this feature": "Διαγραφή αυτού του στοιχείου",
108
107
  "Delete this property on all the features": "Διαγραφή αυτής της ιδιότητας από όλα τα στοιχεία",
@@ -481,5 +480,9 @@
481
480
  "Only geometry centers": "Only geometry centers",
482
481
  "Search area": "Search area",
483
482
  "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"
483
+ "Please define an expression for the query first": "Please define an expression for the query first",
484
+ "Data successfully imported!": "Data successfully imported!",
485
+ "My Dashboard ({username})": "My Dashboard ({username})",
486
+ "Clear data": "Clear data",
487
+ "Remove layers": "Remove layers"
485
488
  }
@@ -481,7 +481,8 @@ const locale = {
481
481
  "Only geometry centers": "Only geometry centers",
482
482
  "Search area": "Search area",
483
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"
484
+ "Please define an expression for the query first": "Please define an expression for the query first",
485
+ "Data successfully imported!": "Data successfully imported!"
485
486
  }
486
487
  L.registerLocale("en", locale)
487
488
  L.setLocale("en")
@@ -102,7 +102,6 @@
102
102
  "Define link to open in a new window on polygon click.": "Define link to open in a new window on polygon click.",
103
103
  "define": "define",
104
104
  "Delay between two transitions when in play mode": "Delay between two transitions when in play mode",
105
- "Delete all layers": "Delete all layers",
106
105
  "Delete layer": "Delete layer",
107
106
  "Delete this feature": "Delete this feature",
108
107
  "Delete this property on all the features": "Delete this property on all the features",
@@ -481,5 +480,9 @@
481
480
  "Only geometry centers": "Only geometry centers",
482
481
  "Search area": "Search area",
483
482
  "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"
483
+ "Please define an expression for the query first": "Please define an expression for the query first",
484
+ "Data successfully imported!": "Data successfully imported!",
485
+ "My Dashboard ({username})": "My Dashboard ({username})",
486
+ "Clear data": "Clear data",
487
+ "Remove layers": "Remove layers"
485
488
  }
@@ -102,7 +102,6 @@
102
102
  "Define link to open in a new window on polygon click.": "Define link to open in a new window on polygon click.",
103
103
  "define": "define",
104
104
  "Delay between two transitions when in play mode": "Delay between two transitions when in play mode",
105
- "Delete all layers": "Delete all layers",
106
105
  "Delete layer": "Delete layer",
107
106
  "Delete this feature": "Delete this feature",
108
107
  "Delete this property on all the features": "Delete this property on all features",
@@ -481,5 +480,9 @@
481
480
  "Only geometry centers": "Only geometry centers",
482
481
  "Search area": "Search area",
483
482
  "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"
483
+ "Please define an expression for the query first": "Please define an expression for the query first",
484
+ "Data successfully imported!": "Data successfully imported!",
485
+ "My Dashboard ({username})": "My Dashboard ({username})",
486
+ "Clear data": "Clear data",
487
+ "Remove layers": "Remove layers"
485
488
  }
@@ -12,13 +12,13 @@ const locale = {
12
12
  "5 min": "5 min",
13
13
  "A comma separated list of numbers that defines the stroke dash pattern. Ex.: \"5, 10, 15\".": "Una lista de números separados por comas que define el patrón de trazos. Por ejemplo: \"5, 10, 15\".",
14
14
  "About": "Acerca de",
15
- "Action not allowed :(": "Action not allowed :(",
15
+ "Action not allowed :(": "Acción no permitida :(",
16
16
  "Activate slideshow mode": "Activar el modo presentación de diapositivas",
17
17
  "Add a layer": "Añadir una capa",
18
18
  "Add a line to the current multi": "Añadir una línea para el multi elemento actual",
19
19
  "Add a new property": "Añadir una nueva propiedad",
20
20
  "Add a polygon to the current multi": "Añadir un polígono al multi elemento actual",
21
- "Add image URL": "Add image URL",
21
+ "Add image URL": "Añadir URL de la imagen",
22
22
  "Add": "Añadir",
23
23
  "Advanced actions": "Acciones avanzadas",
24
24
  "Advanced properties": "Propiedades avanzadas",
@@ -83,7 +83,7 @@ const locale = {
83
83
  "Congratulations, your map has been created!": "Enhorabuena, ¡su mapa ha sido creado!",
84
84
  "Continue line": "Línea continua",
85
85
  "Coordinates": "Coordenadas",
86
- "copy": "copy",
86
+ "copy": "copiar",
87
87
  "Credits": "Créditos",
88
88
  "Current map view": "Current map view",
89
89
  "Current view instead of default map view?": "¿Vista actual en lugar de la vista del mapa predeterminada?",
@@ -185,7 +185,7 @@ const locale = {
185
185
  "icon opacity": "opacidad del icono",
186
186
  "Icon shape": "Forma de icono",
187
187
  "Icon symbol": "Símbolo del icono",
188
- "If false, the polygon or line will act as a part of the underlying map.": "If false, the polygon or line will act as a part of the underlying map.",
188
+ "If false, the polygon or line will act as a part of the underlying map.": "Si está desactivado el polígono o la línea será como una parte del mapa subyacente.",
189
189
  "Iframe with custom height (in px): {{{http://iframe.url.com|height}}}": "Iframe con altura personalizada (en píxeles): {{{http://iframe.url.com|altura}}}",
190
190
  "Iframe with custom height and width (in px): {{{http://iframe.url.com|height*width}}}": "Iframe con alto y ancho (en px) personalizado: {{{http://iframe.url.com|height*width}}}",
191
191
  "iframe": "iframe",
@@ -305,7 +305,7 @@ const locale = {
305
305
  "Replace layer content": "Reemplaza el contenido de la capa",
306
306
  "Restore this version": "Restaurar esta versión",
307
307
  "Save current edits": "Guardar las ediciones actuales",
308
- "Save map": "Save map",
308
+ "Save map": "Guardar el mapa",
309
309
  "Save this center and zoom": "Guardar este centrado y acercamiento",
310
310
  "Save this location as new feature": "Guardar esta ubicación como nuevo elemento",
311
311
  "Save": "Guardar",
@@ -344,7 +344,7 @@ const locale = {
344
344
  "Table": "Tabla",
345
345
  "Text color for the cluster label": "Color del texto para la etiqueta clúster",
346
346
  "Text formatting": "Formato de texto",
347
- "The name of the property to use as feature label (eg.: \"nom\"). You can also use properties inside brackets to use more than one or mix with static content (eg.: \"&lcub;name&rcub; in &lcub;place&rcub;\")": "The name of the property to use as feature label (eg.: \"nom\"). You can also use properties inside brackets to use more than one or mix with static content (eg.: \"&lcub;name&rcub; in &lcub;place&rcub;\")",
347
+ "The name of the property to use as feature label (eg.: \"nom\"). You can also use properties inside brackets to use more than one or mix with static content (eg.: \"&lcub;name&rcub; in &lcub;place&rcub;\")": "El nombre de la propiedad a utilizar como etiqueta de la característica (ej.: \"nombre\"). También puede utilizar propiedades entre llaves para utilizar más de una o mezclarlas con contenido estático (p. ej.: \"&lcub;nombre&rcub; en &lcub;lugar&rcub;\").",
348
348
  "The name of the property to use as feature unique identifier.": "El nombre de la propiedad a utilizar como identificador único del elemento.",
349
349
  "The zoom and center have been modified.": "Se han modificado el zoom y el centro.",
350
350
  "TMS format": "formato TMS",
@@ -409,7 +409,7 @@ const locale = {
409
409
  "{distance}&#8239;NM": "{distancia} NM",
410
410
  "{distance}&#8239;yd": "{distancia} yd",
411
411
  "Edit map name and caption": "Edit map name and caption",
412
- "Map advanced properties": "Map advanced properties",
412
+ "Map advanced properties": "Propiedades avanzadas del mapa",
413
413
  "Edit map details": "Edit map details",
414
414
  "Back to browser": "Back to browser",
415
415
  "Toggle size": "Toggle size",
@@ -481,7 +481,8 @@ const locale = {
481
481
  "Only geometry centers": "Only geometry centers",
482
482
  "Search area": "Search area",
483
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"
484
+ "Please define an expression for the query first": "Please define an expression for the query first",
485
+ "Data successfully imported!": "Data successfully imported!"
485
486
  }
486
487
  L.registerLocale("es", locale)
487
488
  L.setLocale("es")