umap-project 2.6.0__py3-none-any.whl → 2.6.0b1__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.
- umap/__init__.py +1 -1
- umap/locale/fa_IR/LC_MESSAGES/django.mo +0 -0
- umap/locale/fa_IR/LC_MESSAGES/django.po +9 -9
- umap/locale/hu/LC_MESSAGES/django.mo +0 -0
- umap/locale/hu/LC_MESSAGES/django.po +18 -18
- umap/static/umap/js/modules/data/features.js +5 -10
- umap/static/umap/js/modules/data/layer.js +1 -1
- umap/static/umap/js/modules/rendering/ui.js +4 -25
- umap/static/umap/js/modules/rules.js +3 -16
- umap/static/umap/locale/en.js +1 -3
- umap/static/umap/locale/en.json +1 -3
- umap/static/umap/locale/eu.js +6 -8
- umap/static/umap/locale/eu.json +6 -8
- umap/static/umap/locale/fa_IR.js +12 -14
- umap/static/umap/locale/fa_IR.json +12 -14
- umap/static/umap/locale/fr.js +1 -3
- umap/static/umap/locale/fr.json +1 -3
- umap/static/umap/locale/hu.js +12 -14
- umap/static/umap/locale/hu.json +12 -14
- umap/static/umap/map.css +2 -2
- umap/static/umap/vars.css +0 -1
- umap/static/umap/vendors/editable/Leaflet.Editable.js +1937 -2079
- umap/static/umap/vendors/markercluster/MarkerCluster.Default.css +1 -1
- umap/tests/integration/test_browser.py +0 -20
- umap/tests/integration/test_conditional_rules.py +17 -102
- umap/tests/integration/test_draw_polygon.py +0 -28
- {umap_project-2.6.0.dist-info → umap_project-2.6.0b1.dist-info}/METADATA +6 -6
- {umap_project-2.6.0.dist-info → umap_project-2.6.0b1.dist-info}/RECORD +31 -31
- {umap_project-2.6.0.dist-info → umap_project-2.6.0b1.dist-info}/WHEEL +0 -0
- {umap_project-2.6.0.dist-info → umap_project-2.6.0b1.dist-info}/entry_points.txt +0 -0
- {umap_project-2.6.0.dist-info → umap_project-2.6.0b1.dist-info}/licenses/LICENSE +0 -0
umap/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
VERSION = "2.6.
|
|
1
|
+
VERSION = "2.6.0b1"
|
|
Binary file
|
|
@@ -12,7 +12,7 @@ msgid ""
|
|
|
12
12
|
msgstr ""
|
|
13
13
|
"Project-Id-Version: uMap\n"
|
|
14
14
|
"Report-Msgid-Bugs-To: \n"
|
|
15
|
-
"POT-Creation-Date: 2024-
|
|
15
|
+
"POT-Creation-Date: 2024-08-30 18:23+0000\n"
|
|
16
16
|
"PO-Revision-Date: 2013-11-22 14:00+0000\n"
|
|
17
17
|
"Last-Translator: imni <iriman@chmail.ir>, 2024\n"
|
|
18
18
|
"Language-Team: Persian (Iran) (http://app.transifex.com/openstreetmap/umap/language/fa_IR/)\n"
|
|
@@ -326,19 +326,19 @@ msgstr "این یک نمونهٔ نمایشی است که برای آزمایش
|
|
|
326
326
|
|
|
327
327
|
#: templates/umap/content_footer.html:5
|
|
328
328
|
msgid "An OpenStreetMap project"
|
|
329
|
-
msgstr "
|
|
329
|
+
msgstr ""
|
|
330
330
|
|
|
331
331
|
#: templates/umap/content_footer.html:6
|
|
332
332
|
msgid "version"
|
|
333
|
-
msgstr "
|
|
333
|
+
msgstr ""
|
|
334
334
|
|
|
335
335
|
#: templates/umap/content_footer.html:7
|
|
336
336
|
msgid "Hosted by"
|
|
337
|
-
msgstr "
|
|
337
|
+
msgstr ""
|
|
338
338
|
|
|
339
339
|
#: templates/umap/content_footer.html:8
|
|
340
340
|
msgid "Contact"
|
|
341
|
-
msgstr "
|
|
341
|
+
msgstr ""
|
|
342
342
|
|
|
343
343
|
#: templates/umap/content_footer.html:9 templates/umap/navigation.html:25
|
|
344
344
|
msgid "Help"
|
|
@@ -373,11 +373,11 @@ msgstr "الهام بگیرید، نقشهها را مرور کنید"
|
|
|
373
373
|
msgid "You are logged in. Continuing..."
|
|
374
374
|
msgstr "شما وارد شدهاید. ادامه..."
|
|
375
375
|
|
|
376
|
-
#: templates/umap/map_list.html:
|
|
376
|
+
#: templates/umap/map_list.html:10 views.py:433
|
|
377
377
|
msgid "by"
|
|
378
378
|
msgstr "ساختهٔ"
|
|
379
379
|
|
|
380
|
-
#: templates/umap/map_list.html:
|
|
380
|
+
#: templates/umap/map_list.html:18
|
|
381
381
|
msgid "More"
|
|
382
382
|
msgstr "بیشتر"
|
|
383
383
|
|
|
@@ -553,12 +553,12 @@ msgstr "جستجو"
|
|
|
553
553
|
#: templates/umap/team_detail.html:10
|
|
554
554
|
#, python-format
|
|
555
555
|
msgid "Browse %(current_team)s's maps"
|
|
556
|
-
msgstr "
|
|
556
|
+
msgstr ""
|
|
557
557
|
|
|
558
558
|
#: templates/umap/team_detail.html:22
|
|
559
559
|
#, python-format
|
|
560
560
|
msgid "%(current_team)s has no public maps."
|
|
561
|
-
msgstr "
|
|
561
|
+
msgstr ""
|
|
562
562
|
|
|
563
563
|
#: templates/umap/team_form.html:24
|
|
564
564
|
msgid "Delete this team"
|
|
Binary file
|
|
@@ -9,7 +9,7 @@ msgid ""
|
|
|
9
9
|
msgstr ""
|
|
10
10
|
"Project-Id-Version: uMap\n"
|
|
11
11
|
"Report-Msgid-Bugs-To: \n"
|
|
12
|
-
"POT-Creation-Date: 2024-
|
|
12
|
+
"POT-Creation-Date: 2024-08-30 18:23+0000\n"
|
|
13
13
|
"PO-Revision-Date: 2013-11-22 14:00+0000\n"
|
|
14
14
|
"Last-Translator: Gábor Babos <gabor.babos@gmail.com>, 2017-2019,2023-2024\n"
|
|
15
15
|
"Language-Team: Hungarian (http://app.transifex.com/openstreetmap/umap/language/hu/)\n"
|
|
@@ -65,7 +65,7 @@ msgstr "Mindenki"
|
|
|
65
65
|
|
|
66
66
|
#: models.py:168 models.py:174 models.py:425
|
|
67
67
|
msgid "Editors and team only"
|
|
68
|
-
msgstr "
|
|
68
|
+
msgstr ""
|
|
69
69
|
|
|
70
70
|
#: models.py:169 models.py:426
|
|
71
71
|
msgid "Owner only"
|
|
@@ -117,7 +117,7 @@ msgstr "szerkesztők"
|
|
|
117
117
|
|
|
118
118
|
#: models.py:207
|
|
119
119
|
msgid "team"
|
|
120
|
-
msgstr "
|
|
120
|
+
msgstr ""
|
|
121
121
|
|
|
122
122
|
#: models.py:213 models.py:447
|
|
123
123
|
msgid "edit status"
|
|
@@ -323,19 +323,19 @@ msgstr "Ez egy demonstrációs változat, amelyet tesztelésre és még nem nyil
|
|
|
323
323
|
|
|
324
324
|
#: templates/umap/content_footer.html:5
|
|
325
325
|
msgid "An OpenStreetMap project"
|
|
326
|
-
msgstr "
|
|
326
|
+
msgstr ""
|
|
327
327
|
|
|
328
328
|
#: templates/umap/content_footer.html:6
|
|
329
329
|
msgid "version"
|
|
330
|
-
msgstr "
|
|
330
|
+
msgstr ""
|
|
331
331
|
|
|
332
332
|
#: templates/umap/content_footer.html:7
|
|
333
333
|
msgid "Hosted by"
|
|
334
|
-
msgstr "
|
|
334
|
+
msgstr ""
|
|
335
335
|
|
|
336
336
|
#: templates/umap/content_footer.html:8
|
|
337
337
|
msgid "Contact"
|
|
338
|
-
msgstr "
|
|
338
|
+
msgstr ""
|
|
339
339
|
|
|
340
340
|
#: templates/umap/content_footer.html:9 templates/umap/navigation.html:25
|
|
341
341
|
msgid "Help"
|
|
@@ -356,7 +356,7 @@ msgstr "Saját profil"
|
|
|
356
356
|
|
|
357
357
|
#: templates/umap/dashboard_menu.html:13
|
|
358
358
|
msgid "My teams"
|
|
359
|
-
msgstr "
|
|
359
|
+
msgstr ""
|
|
360
360
|
|
|
361
361
|
#: templates/umap/home.html:14
|
|
362
362
|
msgid "Map of the uMaps"
|
|
@@ -370,11 +370,11 @@ msgstr "Szerezzen ihletet, böngésszen a térképek között!"
|
|
|
370
370
|
msgid "You are logged in. Continuing..."
|
|
371
371
|
msgstr "Be van jelentkezve. Továbblépés…"
|
|
372
372
|
|
|
373
|
-
#: templates/umap/map_list.html:
|
|
373
|
+
#: templates/umap/map_list.html:10 views.py:433
|
|
374
374
|
msgid "by"
|
|
375
375
|
msgstr "– készítette:"
|
|
376
376
|
|
|
377
|
-
#: templates/umap/map_list.html:
|
|
377
|
+
#: templates/umap/map_list.html:18
|
|
378
378
|
msgid "More"
|
|
379
379
|
msgstr "Még több"
|
|
380
380
|
|
|
@@ -550,20 +550,20 @@ msgstr "Keresés"
|
|
|
550
550
|
#: templates/umap/team_detail.html:10
|
|
551
551
|
#, python-format
|
|
552
552
|
msgid "Browse %(current_team)s's maps"
|
|
553
|
-
msgstr "
|
|
553
|
+
msgstr ""
|
|
554
554
|
|
|
555
555
|
#: templates/umap/team_detail.html:22
|
|
556
556
|
#, python-format
|
|
557
557
|
msgid "%(current_team)s has no public maps."
|
|
558
|
-
msgstr "
|
|
558
|
+
msgstr ""
|
|
559
559
|
|
|
560
560
|
#: templates/umap/team_form.html:24
|
|
561
561
|
msgid "Delete this team"
|
|
562
|
-
msgstr "
|
|
562
|
+
msgstr ""
|
|
563
563
|
|
|
564
564
|
#: templates/umap/team_form.html:47
|
|
565
565
|
msgid "Add user"
|
|
566
|
-
msgstr "
|
|
566
|
+
msgstr ""
|
|
567
567
|
|
|
568
568
|
#: templates/umap/user_dashboard.html:9 templates/umap/user_dashboard.html:25
|
|
569
569
|
msgid "Search my maps"
|
|
@@ -584,20 +584,20 @@ msgstr "Önnek még nincs térképe."
|
|
|
584
584
|
|
|
585
585
|
#: templates/umap/user_teams.html:17
|
|
586
586
|
msgid "Users"
|
|
587
|
-
msgstr "
|
|
587
|
+
msgstr ""
|
|
588
588
|
|
|
589
589
|
#: templates/umap/user_teams.html:48
|
|
590
590
|
msgid "New team"
|
|
591
|
-
msgstr "
|
|
591
|
+
msgstr ""
|
|
592
592
|
|
|
593
593
|
#: views.py:235
|
|
594
594
|
msgid "Cannot delete a team with more than one member"
|
|
595
|
-
msgstr "
|
|
595
|
+
msgstr ""
|
|
596
596
|
|
|
597
597
|
#: views.py:239
|
|
598
598
|
#, python-format
|
|
599
599
|
msgid "Team “%(name)s” has been deleted"
|
|
600
|
-
msgstr "
|
|
600
|
+
msgstr ""
|
|
601
601
|
|
|
602
602
|
#: views.py:438
|
|
603
603
|
msgid "View the map"
|
|
@@ -98,8 +98,8 @@ class Feature {
|
|
|
98
98
|
this.pushGeometry()
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
isOnScreen(
|
|
102
|
-
return this.ui?.isOnScreen(
|
|
101
|
+
isOnScreen() {
|
|
102
|
+
return this.ui?.isOnScreen()
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
pushGeometry() {
|
|
@@ -261,7 +261,7 @@ class Feature {
|
|
|
261
261
|
builder.helpers['properties.name'].input.focus()
|
|
262
262
|
})
|
|
263
263
|
this.map.editedFeature = this
|
|
264
|
-
if (!this.ui.isOnScreen(
|
|
264
|
+
if (!this.ui.isOnScreen()) this.zoomTo(event)
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
getAdvancedEditActions(container) {
|
|
@@ -508,12 +508,7 @@ class Feature {
|
|
|
508
508
|
|
|
509
509
|
matchFilter(filter, keys) {
|
|
510
510
|
filter = filter.toLowerCase()
|
|
511
|
-
|
|
512
|
-
// it will use the datalayer's name, so let's make the filtering
|
|
513
|
-
// consistent.
|
|
514
|
-
// Also, if the user has defined a labelKey with vars, let's
|
|
515
|
-
// compute before filtering
|
|
516
|
-
if (Utils.hasVar(keys) || keys === 'displayName') {
|
|
511
|
+
if (Utils.hasVar(keys)) {
|
|
517
512
|
return this.getDisplayName().toLowerCase().indexOf(filter) !== -1
|
|
518
513
|
}
|
|
519
514
|
keys = keys.split(',')
|
|
@@ -685,8 +680,8 @@ class Path extends Feature {
|
|
|
685
680
|
|
|
686
681
|
edit(event) {
|
|
687
682
|
if (this.map.editEnabled) {
|
|
683
|
+
if (!this.ui.editEnabled()) this.ui.enableEdit()
|
|
688
684
|
super.edit(event)
|
|
689
|
-
if (!this.ui.editEnabled()) this.ui.makeGeometryEditable()
|
|
690
685
|
}
|
|
691
686
|
}
|
|
692
687
|
|
|
@@ -1115,7 +1115,7 @@ export class DataLayer {
|
|
|
1115
1115
|
if (this.map.options.filterKey) return this.map.options.filterKey
|
|
1116
1116
|
if (this.getOption('labelKey')) return this.getOption('labelKey')
|
|
1117
1117
|
if (this.map.options.sortKey) return this.map.options.sortKey
|
|
1118
|
-
return '
|
|
1118
|
+
return 'name'
|
|
1119
1119
|
}
|
|
1120
1120
|
|
|
1121
1121
|
renderLegend(container) {
|
|
@@ -93,21 +93,13 @@ const FeatureMixin = {
|
|
|
93
93
|
getContextMenuItems: function (event) {
|
|
94
94
|
const permalink = this.feature.getPermalink()
|
|
95
95
|
let items = []
|
|
96
|
-
if (permalink)
|
|
96
|
+
if (permalink)
|
|
97
97
|
items.push({
|
|
98
98
|
text: translate('Permalink'),
|
|
99
99
|
callback: () => {
|
|
100
100
|
window.open(permalink)
|
|
101
101
|
},
|
|
102
102
|
})
|
|
103
|
-
}
|
|
104
|
-
items.push({
|
|
105
|
-
text: translate('Copy as GeoJSON'),
|
|
106
|
-
callback: () => {
|
|
107
|
-
L.Util.copyToClipboard(JSON.stringify(this.feature.toGeoJSON()))
|
|
108
|
-
this._map.tooltip.open({ content: L._('✅ Copied!') })
|
|
109
|
-
},
|
|
110
|
-
})
|
|
111
103
|
if (this._map.editEnabled && !this.feature.isReadOnly()) {
|
|
112
104
|
items = items.concat(this.getContextMenuEditItems(event))
|
|
113
105
|
}
|
|
@@ -156,6 +148,7 @@ const FeatureMixin = {
|
|
|
156
148
|
|
|
157
149
|
const PointMixin = {
|
|
158
150
|
isOnScreen: function (bounds) {
|
|
151
|
+
bounds = bounds || this._map.getBounds()
|
|
159
152
|
return bounds.contains(this.getCenter())
|
|
160
153
|
},
|
|
161
154
|
}
|
|
@@ -288,21 +281,6 @@ const PathMixin = {
|
|
|
288
281
|
}
|
|
289
282
|
},
|
|
290
283
|
|
|
291
|
-
makeGeometryEditable: function () {
|
|
292
|
-
if (this._map.editedFeature !== this.feature) {
|
|
293
|
-
this.disableEdit()
|
|
294
|
-
return
|
|
295
|
-
}
|
|
296
|
-
this._map.once('moveend', this.makeGeometryEditable, this)
|
|
297
|
-
const pointsCount = this._parts.reduce((acc, part) => acc + part.length, 0)
|
|
298
|
-
if (pointsCount > 100 && this._map.getZoom() < this._map.getMaxZoom()) {
|
|
299
|
-
this._map.tooltip.open({ content: L._('Please zoom in to edit the geometry') })
|
|
300
|
-
this.disableEdit()
|
|
301
|
-
} else {
|
|
302
|
-
this.enableEdit()
|
|
303
|
-
}
|
|
304
|
-
},
|
|
305
|
-
|
|
306
284
|
addInteractions: function () {
|
|
307
285
|
FeatureMixin.addInteractions.call(this)
|
|
308
286
|
this.on('editable:disable', this.onCommit)
|
|
@@ -398,7 +376,7 @@ const PathMixin = {
|
|
|
398
376
|
getContextMenuEditItems: function (event) {
|
|
399
377
|
const items = FeatureMixin.getContextMenuEditItems.call(this, event)
|
|
400
378
|
if (
|
|
401
|
-
this._map?.editedFeature !== this
|
|
379
|
+
this._map?.editedFeature !== this &&
|
|
402
380
|
this.feature.isSameClass(this._map.editedFeature)
|
|
403
381
|
) {
|
|
404
382
|
items.push({
|
|
@@ -442,6 +420,7 @@ const PathMixin = {
|
|
|
442
420
|
],
|
|
443
421
|
|
|
444
422
|
isOnScreen: function (bounds) {
|
|
423
|
+
bounds = bounds || this._map.getBounds()
|
|
445
424
|
return bounds.overlaps(this.getBounds())
|
|
446
425
|
},
|
|
447
426
|
}
|
|
@@ -3,8 +3,6 @@ import { translate } from './i18n.js'
|
|
|
3
3
|
import * as Utils from './utils.js'
|
|
4
4
|
import { AutocompleteDatalist } from './autocomplete.js'
|
|
5
5
|
|
|
6
|
-
const EMPTY_VALUES = ['', undefined, null]
|
|
7
|
-
|
|
8
6
|
class Rule {
|
|
9
7
|
get condition() {
|
|
10
8
|
return this._condition
|
|
@@ -77,22 +75,13 @@ class Rule {
|
|
|
77
75
|
if (vars.length !== 2) return
|
|
78
76
|
this.key = vars[0]
|
|
79
77
|
this.expected = vars[1]
|
|
80
|
-
if (EMPTY_VALUES.includes(this.expected)) {
|
|
81
|
-
this.cast = (v) => EMPTY_VALUES.includes(v)
|
|
82
|
-
}
|
|
83
78
|
// Special cases where we want to be lousy when checking isNaN without
|
|
84
79
|
// coercing to a Number first because we handle multiple types.
|
|
85
80
|
// See https://developer.mozilla.org/en-US/docs/Web/JavaScript/
|
|
86
81
|
// Reference/Global_Objects/Number/isNaN
|
|
87
82
|
// biome-ignore lint/suspicious/noGlobalIsNan: expected might not be a number.
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
} else if (['true', 'false'].includes(this.expected)) {
|
|
91
|
-
this.cast = (v) => {
|
|
92
|
-
if (`${v}`.toLowerCase() === 'true') return true
|
|
93
|
-
if (`${v}`.toLowerCase() === 'false') return false
|
|
94
|
-
}
|
|
95
|
-
}
|
|
83
|
+
if (!isNaN(this.expected)) this.cast = Number.parseFloat
|
|
84
|
+
else if (['true', 'false'].includes(this.expected)) this.cast = (v) => !!v
|
|
96
85
|
this.expected = this.cast(this.expected)
|
|
97
86
|
}
|
|
98
87
|
|
|
@@ -144,9 +133,7 @@ class Rule {
|
|
|
144
133
|
autocomplete.suggestions = [`${value}=`, `${value}!=`, `${value}>`, `${value}<`]
|
|
145
134
|
} else if (value.endsWith('=')) {
|
|
146
135
|
const key = value.split('!')[0].split('=')[0]
|
|
147
|
-
autocomplete.suggestions = this.map
|
|
148
|
-
.sortedValues(key)
|
|
149
|
-
.map((str) => `${value}${str || ''}`)
|
|
136
|
+
autocomplete.suggestions = this.map.sortedValues(key).map((str) => `${value}${str || ''}`)
|
|
150
137
|
}
|
|
151
138
|
})
|
|
152
139
|
this.map.editPanel.open({ content: container })
|
umap/static/umap/locale/en.js
CHANGED
|
@@ -504,9 +504,7 @@ const locale = {
|
|
|
504
504
|
"Property name to compute circles": "Property name to compute circles",
|
|
505
505
|
"Min circle radius": "Min circle radius",
|
|
506
506
|
"Max circle radius": "Max circle radius",
|
|
507
|
-
"Display the open browser control": "Display the open browser control"
|
|
508
|
-
"Copy as GeoJSON": "Copy as GeoJSON",
|
|
509
|
-
"Please zoom in to edit the geometry": "Please zoom in to edit the geometry"
|
|
507
|
+
"Display the open browser control": "Display the open browser control"
|
|
510
508
|
}
|
|
511
509
|
L.registerLocale("en", locale)
|
|
512
510
|
L.setLocale("en")
|
umap/static/umap/locale/en.json
CHANGED
|
@@ -504,7 +504,5 @@
|
|
|
504
504
|
"Property name to compute circles": "Property name to compute circles",
|
|
505
505
|
"Min circle radius": "Min circle radius",
|
|
506
506
|
"Max circle radius": "Max circle radius",
|
|
507
|
-
"Display the open browser control": "Display the open browser control"
|
|
508
|
-
"Copy as GeoJSON": "Copy as GeoJSON",
|
|
509
|
-
"Please zoom in to edit the geometry": "Please zoom in to edit the geometry"
|
|
507
|
+
"Display the open browser control": "Display the open browser control"
|
|
510
508
|
}
|
umap/static/umap/locale/eu.js
CHANGED
|
@@ -498,15 +498,13 @@ const locale = {
|
|
|
498
498
|
"Expression is empty": "Esamoldea hutsa dago",
|
|
499
499
|
"OK": "Ados",
|
|
500
500
|
"Cancel": "Utzi",
|
|
501
|
-
"Attach map to a team": "
|
|
502
|
-
"Display the polygon inverted": "
|
|
503
|
-
"Proportional circles": "
|
|
501
|
+
"Attach map to a team": "Attach map to a team",
|
|
502
|
+
"Display the polygon inverted": "Display the polygon inverted",
|
|
503
|
+
"Proportional circles": "Proportional circles",
|
|
504
504
|
"Property name to compute circles": "Property name to compute circles",
|
|
505
|
-
"Min circle radius": "
|
|
506
|
-
"Max circle radius": "
|
|
507
|
-
"Display the open browser control": "Display the open browser control"
|
|
508
|
-
"Copy as GeoJSON": "Kopiatu GeoJSON gisa",
|
|
509
|
-
"Please zoom in to edit the geometry": "Mesedez, handitu geometria editatzeko"
|
|
505
|
+
"Min circle radius": "Min circle radius",
|
|
506
|
+
"Max circle radius": "Max circle radius",
|
|
507
|
+
"Display the open browser control": "Display the open browser control"
|
|
510
508
|
}
|
|
511
509
|
L.registerLocale("eu", locale)
|
|
512
510
|
L.setLocale("eu")
|
umap/static/umap/locale/eu.json
CHANGED
|
@@ -498,13 +498,11 @@
|
|
|
498
498
|
"Expression is empty": "Esamoldea hutsa dago",
|
|
499
499
|
"OK": "Ados",
|
|
500
500
|
"Cancel": "Utzi",
|
|
501
|
-
"Attach map to a team": "
|
|
502
|
-
"Display the polygon inverted": "
|
|
503
|
-
"Proportional circles": "
|
|
501
|
+
"Attach map to a team": "Attach map to a team",
|
|
502
|
+
"Display the polygon inverted": "Display the polygon inverted",
|
|
503
|
+
"Proportional circles": "Proportional circles",
|
|
504
504
|
"Property name to compute circles": "Property name to compute circles",
|
|
505
|
-
"Min circle radius": "
|
|
506
|
-
"Max circle radius": "
|
|
507
|
-
"Display the open browser control": "Display the open browser control"
|
|
508
|
-
"Copy as GeoJSON": "Kopiatu GeoJSON gisa",
|
|
509
|
-
"Please zoom in to edit the geometry": "Mesedez, handitu geometria editatzeko"
|
|
505
|
+
"Min circle radius": "Min circle radius",
|
|
506
|
+
"Max circle radius": "Max circle radius",
|
|
507
|
+
"Display the open browser control": "Display the open browser control"
|
|
510
508
|
}
|
umap/static/umap/locale/fa_IR.js
CHANGED
|
@@ -160,7 +160,7 @@ const locale = {
|
|
|
160
160
|
"fill color": "رنگ پرکردن",
|
|
161
161
|
"fill opacity": "شفافیت پرشدگی",
|
|
162
162
|
"fill": "پرکردن",
|
|
163
|
-
"Fit all data": "
|
|
163
|
+
"Fit all data": "Fit all data",
|
|
164
164
|
"Format": "قالب",
|
|
165
165
|
"From zoom": "از زوم",
|
|
166
166
|
"full backup": "پشتیبان کامل",
|
|
@@ -218,7 +218,7 @@ const locale = {
|
|
|
218
218
|
"Link to…": "پیوند به…",
|
|
219
219
|
"Link with text: [[http://example.com|text of the link]]": "پیوند با متن:\n[[http://example.com|text of the link]]",
|
|
220
220
|
"Long credits": "یادکردهای بلند",
|
|
221
|
-
"Longitude": "
|
|
221
|
+
"Longitude": "عرض جغرافیایی",
|
|
222
222
|
"Make main shape": "شکل اصلی را ایجاد کنید",
|
|
223
223
|
"Manage layers": "مدیریت لایهها",
|
|
224
224
|
"Manual": "دستی",
|
|
@@ -237,7 +237,7 @@ const locale = {
|
|
|
237
237
|
"max zoom": "بیشینهٔ بزرگنمایی",
|
|
238
238
|
"Measure distances": "اندازهگیری مسافتها",
|
|
239
239
|
"Merge lines": "ادغام خطوط",
|
|
240
|
-
"mi": "
|
|
240
|
+
"mi": "مایل",
|
|
241
241
|
"miles": "مایل",
|
|
242
242
|
"min zoom": "کمینهٔ بزرگنمایی",
|
|
243
243
|
"More controls": "دکمههای بیشتر",
|
|
@@ -304,7 +304,7 @@ const locale = {
|
|
|
304
304
|
"Save this center and zoom": "ذخیرهسازی این مرکزیت و بزرگنمایی",
|
|
305
305
|
"Save this location as new feature": "این مکان را به عنوان عنصر جدید ذخیره کنید",
|
|
306
306
|
"Save": "ذخیره",
|
|
307
|
-
"Saved center and zoom": "مرکزیت و بزرگنمایی
|
|
307
|
+
"Saved center and zoom": "مرکزیت و بزرگنمایی ذخیره شد",
|
|
308
308
|
"Search location": "جستجوی مکان",
|
|
309
309
|
"Search": "جستجو",
|
|
310
310
|
"Secret edit link:": "پیوند محرمانه برای ویرایش:",
|
|
@@ -354,14 +354,14 @@ const locale = {
|
|
|
354
354
|
"Type char or paste emoji": "نویسهای بنویسید یا شکلکی بچسبانید",
|
|
355
355
|
"Type of layer": "نوع لایه",
|
|
356
356
|
"Unable to detect format of file {filename}": "قالب فایل {filename} تشخیص داده نشد",
|
|
357
|
-
"Untitled layer": "لایهٔ
|
|
358
|
-
"Untitled map": "نقشهٔ
|
|
357
|
+
"Untitled layer": "لایهٔ بدون عنوان",
|
|
358
|
+
"Untitled map": "نقشهٔ بدون عنوان",
|
|
359
359
|
"Update permissions and editors": "روزآمدسازی مجوزها و ویرایشگران",
|
|
360
360
|
"Update permissions": "روزآمدسازی مجوزها",
|
|
361
361
|
"Update who can see and edit the map": "چه کسی میتواند نقشه را ببیند و ویرایش کند",
|
|
362
362
|
"Url": "نشانی اینترنتی",
|
|
363
363
|
"URL": "URL",
|
|
364
|
-
"Use current bounds": "
|
|
364
|
+
"Use current bounds": "از کرانهای فعلی استفاده شود",
|
|
365
365
|
"Use placeholders with feature properties between brackets, eg. {name}, they will be dynamically replaced by the corresponding values.": "هر کدام از ویژگیهای عنصر را بین آکولاد قرار دهید و جانگهدار بسازید. مثال: {name}. این جانگهدارها به طور پویا به مقدار متناظرشان تغییر میکنند.",
|
|
366
366
|
"User content credits": "یادکردهای محتوای کاربر",
|
|
367
367
|
"User interface options": "گزینههای رابط کاربری",
|
|
@@ -500,13 +500,11 @@ const locale = {
|
|
|
500
500
|
"Cancel": "لغو",
|
|
501
501
|
"Attach map to a team": "Attach map to a team",
|
|
502
502
|
"Display the polygon inverted": "Display the polygon inverted",
|
|
503
|
-
"Proportional circles": "
|
|
504
|
-
"Property name to compute circles": "
|
|
505
|
-
"Min circle radius": "
|
|
506
|
-
"Max circle radius": "
|
|
507
|
-
"Display the open browser control": "
|
|
508
|
-
"Copy as GeoJSON": "Copy as GeoJSON",
|
|
509
|
-
"Please zoom in to edit the geometry": "لطفاً برای ویرایش هندسه زوم کنید"
|
|
503
|
+
"Proportional circles": "Proportional circles",
|
|
504
|
+
"Property name to compute circles": "Property name to compute circles",
|
|
505
|
+
"Min circle radius": "Min circle radius",
|
|
506
|
+
"Max circle radius": "Max circle radius",
|
|
507
|
+
"Display the open browser control": "Display the open browser control"
|
|
510
508
|
}
|
|
511
509
|
L.registerLocale("fa_IR", locale)
|
|
512
510
|
L.setLocale("fa_IR")
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
"fill color": "رنگ پرکردن",
|
|
161
161
|
"fill opacity": "شفافیت پرشدگی",
|
|
162
162
|
"fill": "پرکردن",
|
|
163
|
-
"Fit all data": "
|
|
163
|
+
"Fit all data": "Fit all data",
|
|
164
164
|
"Format": "قالب",
|
|
165
165
|
"From zoom": "از زوم",
|
|
166
166
|
"full backup": "پشتیبان کامل",
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
"Link to…": "پیوند به…",
|
|
219
219
|
"Link with text: [[http://example.com|text of the link]]": "پیوند با متن:\n[[http://example.com|text of the link]]",
|
|
220
220
|
"Long credits": "یادکردهای بلند",
|
|
221
|
-
"Longitude": "
|
|
221
|
+
"Longitude": "عرض جغرافیایی",
|
|
222
222
|
"Make main shape": "شکل اصلی را ایجاد کنید",
|
|
223
223
|
"Manage layers": "مدیریت لایهها",
|
|
224
224
|
"Manual": "دستی",
|
|
@@ -237,7 +237,7 @@
|
|
|
237
237
|
"max zoom": "بیشینهٔ بزرگنمایی",
|
|
238
238
|
"Measure distances": "اندازهگیری مسافتها",
|
|
239
239
|
"Merge lines": "ادغام خطوط",
|
|
240
|
-
"mi": "
|
|
240
|
+
"mi": "مایل",
|
|
241
241
|
"miles": "مایل",
|
|
242
242
|
"min zoom": "کمینهٔ بزرگنمایی",
|
|
243
243
|
"More controls": "دکمههای بیشتر",
|
|
@@ -304,7 +304,7 @@
|
|
|
304
304
|
"Save this center and zoom": "ذخیرهسازی این مرکزیت و بزرگنمایی",
|
|
305
305
|
"Save this location as new feature": "این مکان را به عنوان عنصر جدید ذخیره کنید",
|
|
306
306
|
"Save": "ذخیره",
|
|
307
|
-
"Saved center and zoom": "مرکزیت و بزرگنمایی
|
|
307
|
+
"Saved center and zoom": "مرکزیت و بزرگنمایی ذخیره شد",
|
|
308
308
|
"Search location": "جستجوی مکان",
|
|
309
309
|
"Search": "جستجو",
|
|
310
310
|
"Secret edit link:": "پیوند محرمانه برای ویرایش:",
|
|
@@ -354,14 +354,14 @@
|
|
|
354
354
|
"Type char or paste emoji": "نویسهای بنویسید یا شکلکی بچسبانید",
|
|
355
355
|
"Type of layer": "نوع لایه",
|
|
356
356
|
"Unable to detect format of file {filename}": "قالب فایل {filename} تشخیص داده نشد",
|
|
357
|
-
"Untitled layer": "لایهٔ
|
|
358
|
-
"Untitled map": "نقشهٔ
|
|
357
|
+
"Untitled layer": "لایهٔ بدون عنوان",
|
|
358
|
+
"Untitled map": "نقشهٔ بدون عنوان",
|
|
359
359
|
"Update permissions and editors": "روزآمدسازی مجوزها و ویرایشگران",
|
|
360
360
|
"Update permissions": "روزآمدسازی مجوزها",
|
|
361
361
|
"Update who can see and edit the map": "چه کسی میتواند نقشه را ببیند و ویرایش کند",
|
|
362
362
|
"Url": "نشانی اینترنتی",
|
|
363
363
|
"URL": "URL",
|
|
364
|
-
"Use current bounds": "
|
|
364
|
+
"Use current bounds": "از کرانهای فعلی استفاده شود",
|
|
365
365
|
"Use placeholders with feature properties between brackets, eg. {name}, they will be dynamically replaced by the corresponding values.": "هر کدام از ویژگیهای عنصر را بین آکولاد قرار دهید و جانگهدار بسازید. مثال: {name}. این جانگهدارها به طور پویا به مقدار متناظرشان تغییر میکنند.",
|
|
366
366
|
"User content credits": "یادکردهای محتوای کاربر",
|
|
367
367
|
"User interface options": "گزینههای رابط کاربری",
|
|
@@ -500,11 +500,9 @@
|
|
|
500
500
|
"Cancel": "لغو",
|
|
501
501
|
"Attach map to a team": "Attach map to a team",
|
|
502
502
|
"Display the polygon inverted": "Display the polygon inverted",
|
|
503
|
-
"Proportional circles": "
|
|
504
|
-
"Property name to compute circles": "
|
|
505
|
-
"Min circle radius": "
|
|
506
|
-
"Max circle radius": "
|
|
507
|
-
"Display the open browser control": "
|
|
508
|
-
"Copy as GeoJSON": "Copy as GeoJSON",
|
|
509
|
-
"Please zoom in to edit the geometry": "لطفاً برای ویرایش هندسه زوم کنید"
|
|
503
|
+
"Proportional circles": "Proportional circles",
|
|
504
|
+
"Property name to compute circles": "Property name to compute circles",
|
|
505
|
+
"Min circle radius": "Min circle radius",
|
|
506
|
+
"Max circle radius": "Max circle radius",
|
|
507
|
+
"Display the open browser control": "Display the open browser control"
|
|
510
508
|
}
|
umap/static/umap/locale/fr.js
CHANGED
|
@@ -504,9 +504,7 @@ const locale = {
|
|
|
504
504
|
"Property name to compute circles": "Nom de la propriété pour calculer les cercles",
|
|
505
505
|
"Min circle radius": "Rayon minimum",
|
|
506
506
|
"Max circle radius": "Rayon maximum",
|
|
507
|
-
"Display the open browser control": "Afficher le bouton d'ouverture de l'explorateur"
|
|
508
|
-
"Copy as GeoJSON": "Copier le GeoJSON",
|
|
509
|
-
"Please zoom in to edit the geometry": "Zoomer pour éditer la géométrie"
|
|
507
|
+
"Display the open browser control": "Afficher le bouton d'ouverture de l'explorateur"
|
|
510
508
|
}
|
|
511
509
|
L.registerLocale("fr", locale)
|
|
512
510
|
L.setLocale("fr")
|
umap/static/umap/locale/fr.json
CHANGED
|
@@ -504,7 +504,5 @@
|
|
|
504
504
|
"Property name to compute circles": "Nom de la propriété pour calculer les cercles",
|
|
505
505
|
"Min circle radius": "Rayon minimum",
|
|
506
506
|
"Max circle radius": "Rayon maximum",
|
|
507
|
-
"Display the open browser control": "Afficher le bouton d'ouverture de l'explorateur"
|
|
508
|
-
"Copy as GeoJSON": "Copier le GeoJSON",
|
|
509
|
-
"Please zoom in to edit the geometry": "Zoomer pour éditer la géométrie"
|
|
507
|
+
"Display the open browser control": "Afficher le bouton d'ouverture de l'explorateur"
|
|
510
508
|
}
|