umap-project 2.0.1__py3-none-any.whl → 2.0.3__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/en/LC_MESSAGES/django.po +33 -28
- umap/locale/fr/LC_MESSAGES/django.mo +0 -0
- umap/locale/fr/LC_MESSAGES/django.po +33 -28
- umap/locale/hu/LC_MESSAGES/django.mo +0 -0
- umap/locale/hu/LC_MESSAGES/django.po +48 -43
- umap/locale/ms/LC_MESSAGES/django.mo +0 -0
- umap/locale/ms/LC_MESSAGES/django.po +20 -20
- umap/locale/zh_TW/LC_MESSAGES/django.mo +0 -0
- umap/locale/zh_TW/LC_MESSAGES/django.po +12 -12
- umap/management/commands/import_pictograms.py +1 -1
- umap/static/umap/base.css +6 -6
- umap/static/umap/content.css +14 -14
- umap/static/umap/js/umap.forms.js +2 -2
- umap/static/umap/js/umap.js +4 -10
- umap/static/umap/js/umap.popup.js +1 -1
- umap/static/umap/js/umap.share.js +2 -0
- umap/static/umap/locale/hu.js +8 -1
- umap/static/umap/locale/hu.json +8 -1
- umap/static/umap/locale/ms.js +28 -21
- umap/static/umap/locale/ms.json +28 -21
- umap/static/umap/locale/zh_TW.js +8 -1
- umap/static/umap/locale/zh_TW.json +8 -1
- umap/static/umap/map.css +9 -9
- umap/static/umap/nav.css +1 -1
- umap/static/umap/test/index.html +16 -13
- umap/static/umap/vars.css +13 -0
- umap/static/umap/vendors/leaflet/leaflet-src.esm.js +7054 -7054
- umap/storage.py +3 -2
- umap/templates/registration/login.html +40 -40
- umap/templates/umap/css.html +1 -1
- umap/templates/umap/js.html +26 -15
- umap/templates/umap/map_detail.html +5 -7
- umap/templates/umap/map_fragment.html +1 -1
- umap/templates/umap/map_init.html +10 -3
- umap/templates/umap/map_table.html +18 -17
- umap/templates/umap/user_dashboard.html +7 -8
- umap/tests/conftest.py +0 -2
- umap/tests/integration/test_anonymous_owned_map.py +32 -2
- umap/tests/integration/test_collaborative_editing.py +57 -1
- umap/tests/integration/test_map_preview.py +8 -0
- umap/tests/integration/test_querystring.py +14 -0
- umap/tests/integration/test_share.py +19 -1
- umap/tests/integration/test_statics.py +6 -3
- umap/tests/test_map_views.py +3 -3
- umap/views.py +16 -10
- {umap_project-2.0.1.dist-info → umap_project-2.0.3.dist-info}/METADATA +4 -4
- {umap_project-2.0.1.dist-info → umap_project-2.0.3.dist-info}/RECORD +51 -58
- {umap_project-2.0.1.dist-info → umap_project-2.0.3.dist-info}/WHEEL +1 -1
- umap/.DS_Store +0 -0
- umap/static/.DS_Store +0 -0
- umap/static/umap/.DS_Store +0 -0
- umap/static/umap/favicons/.DS_Store +0 -0
- umap/static/umap/fonts/.DS_Store +0 -0
- umap/templates/umap/map_messages.html +0 -12
- umap/tests/.DS_Store +0 -0
- umap/tests/integration/.DS_Store +0 -0
- {umap_project-2.0.1.dist-info → umap_project-2.0.3.dist-info}/entry_points.txt +0 -0
- {umap_project-2.0.1.dist-info → umap_project-2.0.3.dist-info}/licenses/LICENSE +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# This file is distributed under the same license as the PACKAGE package.
|
|
4
4
|
#
|
|
5
5
|
# Translators:
|
|
6
|
-
# Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi (MNH48) <admin@mnh48.moe>, 2021,2023
|
|
6
|
+
# Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi (MNH48) <admin@mnh48.moe>, 2021,2023-2024
|
|
7
7
|
# Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi (MNH48) <admin@mnh48.moe>, 2021
|
|
8
8
|
msgid ""
|
|
9
9
|
msgstr ""
|
|
@@ -11,7 +11,7 @@ msgstr ""
|
|
|
11
11
|
"Report-Msgid-Bugs-To: \n"
|
|
12
12
|
"POT-Creation-Date: 2024-02-15 13:53+0000\n"
|
|
13
13
|
"PO-Revision-Date: 2013-11-22 14:00+0000\n"
|
|
14
|
-
"Last-Translator: Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi (MNH48) <admin@mnh48.moe>, 2021,2023\n"
|
|
14
|
+
"Last-Translator: Yaya - Nurul Azeera Hidayah @ Muhammad Nur Hidayat Yasuyoshi (MNH48) <admin@mnh48.moe>, 2021,2023-2024\n"
|
|
15
15
|
"Language-Team: Malay (http://app.transifex.com/openstreetmap/umap/language/ms/)\n"
|
|
16
16
|
"MIME-Version: 1.0\n"
|
|
17
17
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
@@ -155,7 +155,7 @@ msgstr "%(current_user)s tidak mempunyai peta."
|
|
|
155
155
|
|
|
156
156
|
#: templates/auth/user_form.html:6
|
|
157
157
|
msgid "My Maps"
|
|
158
|
-
msgstr ""
|
|
158
|
+
msgstr "Peta Saya"
|
|
159
159
|
|
|
160
160
|
#: templates/auth/user_form.html:7
|
|
161
161
|
msgid "My Profile"
|
|
@@ -305,15 +305,15 @@ msgstr "Nama"
|
|
|
305
305
|
|
|
306
306
|
#: templates/umap/map_table.html:7
|
|
307
307
|
msgid "Preview"
|
|
308
|
-
msgstr ""
|
|
308
|
+
msgstr "Pralihat"
|
|
309
309
|
|
|
310
310
|
#: templates/umap/map_table.html:8
|
|
311
311
|
msgid "Who can see"
|
|
312
|
-
msgstr ""
|
|
312
|
+
msgstr "Siapa boleh lihat"
|
|
313
313
|
|
|
314
314
|
#: templates/umap/map_table.html:9
|
|
315
315
|
msgid "Who can edit"
|
|
316
|
-
msgstr ""
|
|
316
|
+
msgstr "Siapa boleh sunting"
|
|
317
317
|
|
|
318
318
|
#: templates/umap/map_table.html:10
|
|
319
319
|
msgid "Last save"
|
|
@@ -329,7 +329,7 @@ msgstr "Tindakan"
|
|
|
329
329
|
|
|
330
330
|
#: templates/umap/map_table.html:25 templates/umap/map_table.html:27
|
|
331
331
|
msgid "Open preview"
|
|
332
|
-
msgstr ""
|
|
332
|
+
msgstr "Buka pralihat"
|
|
333
333
|
|
|
334
334
|
#: templates/umap/map_table.html:46 templates/umap/map_table.html:48
|
|
335
335
|
msgid "Share"
|
|
@@ -345,42 +345,42 @@ msgstr "Muat turun"
|
|
|
345
345
|
|
|
346
346
|
#: templates/umap/map_table.html:63 templates/umap/map_table.html:65
|
|
347
347
|
msgid "Clone"
|
|
348
|
-
msgstr ""
|
|
348
|
+
msgstr "Klon"
|
|
349
349
|
|
|
350
350
|
#: templates/umap/map_table.html:73 templates/umap/map_table.html:75
|
|
351
351
|
msgid "Delete"
|
|
352
|
-
msgstr ""
|
|
352
|
+
msgstr "Padam"
|
|
353
353
|
|
|
354
354
|
#: templates/umap/map_table.html:88
|
|
355
355
|
msgid "first"
|
|
356
|
-
msgstr ""
|
|
356
|
+
msgstr "pertama"
|
|
357
357
|
|
|
358
358
|
#: templates/umap/map_table.html:89
|
|
359
359
|
msgid "previous"
|
|
360
|
-
msgstr ""
|
|
360
|
+
msgstr "sebelumnya"
|
|
361
361
|
|
|
362
362
|
#: templates/umap/map_table.html:98
|
|
363
363
|
#, python-format
|
|
364
364
|
msgid "Page %(maps_number)s of %(num_pages)s"
|
|
365
|
-
msgstr ""
|
|
365
|
+
msgstr "Halaman %(maps_number)s daripada %(num_pages)s"
|
|
366
366
|
|
|
367
367
|
#: templates/umap/map_table.html:104
|
|
368
368
|
msgid "next"
|
|
369
|
-
msgstr ""
|
|
369
|
+
msgstr "seterusnya"
|
|
370
370
|
|
|
371
371
|
#: templates/umap/map_table.html:105
|
|
372
372
|
msgid "last"
|
|
373
|
-
msgstr ""
|
|
373
|
+
msgstr "terakhir"
|
|
374
374
|
|
|
375
375
|
#: templates/umap/map_table.html:113
|
|
376
376
|
#, python-format
|
|
377
377
|
msgid "Lines per page: %(per_page)s"
|
|
378
|
-
msgstr ""
|
|
378
|
+
msgstr "Baris per halaman: %(per_page)s"
|
|
379
379
|
|
|
380
380
|
#: templates/umap/map_table.html:118
|
|
381
381
|
#, python-format
|
|
382
382
|
msgid "%(count)s maps"
|
|
383
|
-
msgstr ""
|
|
383
|
+
msgstr "%(count)s peta"
|
|
384
384
|
|
|
385
385
|
#: templates/umap/navigation.html:10 templates/umap/user_dashboard.html:4
|
|
386
386
|
msgid "My Dashboard"
|
|
@@ -477,7 +477,7 @@ msgstr "Gelintar peta saya"
|
|
|
477
477
|
#: templates/umap/user_dashboard.html:11
|
|
478
478
|
#, python-format
|
|
479
479
|
msgid "My Maps (%(count)s)"
|
|
480
|
-
msgstr ""
|
|
480
|
+
msgstr "Peta Saya (%(count)s)"
|
|
481
481
|
|
|
482
482
|
#: templates/umap/user_dashboard.html:13
|
|
483
483
|
msgid "My profile"
|
|
@@ -485,12 +485,12 @@ msgstr "Profil saya"
|
|
|
485
485
|
|
|
486
486
|
#: templates/umap/user_dashboard.html:21 templates/umap/user_dashboard.html:23
|
|
487
487
|
msgid "Map’s title"
|
|
488
|
-
msgstr ""
|
|
488
|
+
msgstr "Tajuk peta"
|
|
489
489
|
|
|
490
490
|
#: templates/umap/user_dashboard.html:32
|
|
491
491
|
#, python-format
|
|
492
492
|
msgid "Download %(count)s maps"
|
|
493
|
-
msgstr ""
|
|
493
|
+
msgstr "Muat turun %(count)s peta"
|
|
494
494
|
|
|
495
495
|
#: templates/umap/user_dashboard.html:42
|
|
496
496
|
msgid "You have no map yet."
|
|
@@ -502,7 +502,7 @@ msgstr "Lihat peta"
|
|
|
502
502
|
|
|
503
503
|
#: views.py:704
|
|
504
504
|
msgid "See full screen"
|
|
505
|
-
msgstr ""
|
|
505
|
+
msgstr "Lihat skrin penuh"
|
|
506
506
|
|
|
507
507
|
#: views.py:803
|
|
508
508
|
msgid "Map editors updated with success!"
|
|
Binary file
|
|
@@ -161,7 +161,7 @@ msgstr "%(current_user)s 沒有任何地圖。"
|
|
|
161
161
|
|
|
162
162
|
#: templates/auth/user_form.html:6
|
|
163
163
|
msgid "My Maps"
|
|
164
|
-
msgstr ""
|
|
164
|
+
msgstr "我的地圖"
|
|
165
165
|
|
|
166
166
|
#: templates/auth/user_form.html:7
|
|
167
167
|
msgid "My Profile"
|
|
@@ -315,11 +315,11 @@ msgstr "預纜"
|
|
|
315
315
|
|
|
316
316
|
#: templates/umap/map_table.html:8
|
|
317
317
|
msgid "Who can see"
|
|
318
|
-
msgstr ""
|
|
318
|
+
msgstr "誰可以檢視"
|
|
319
319
|
|
|
320
320
|
#: templates/umap/map_table.html:9
|
|
321
321
|
msgid "Who can edit"
|
|
322
|
-
msgstr ""
|
|
322
|
+
msgstr "誰可以編輯"
|
|
323
323
|
|
|
324
324
|
#: templates/umap/map_table.html:10
|
|
325
325
|
msgid "Last save"
|
|
@@ -351,11 +351,11 @@ msgstr "下載"
|
|
|
351
351
|
|
|
352
352
|
#: templates/umap/map_table.html:63 templates/umap/map_table.html:65
|
|
353
353
|
msgid "Clone"
|
|
354
|
-
msgstr ""
|
|
354
|
+
msgstr "複製"
|
|
355
355
|
|
|
356
356
|
#: templates/umap/map_table.html:73 templates/umap/map_table.html:75
|
|
357
357
|
msgid "Delete"
|
|
358
|
-
msgstr ""
|
|
358
|
+
msgstr "刪除"
|
|
359
359
|
|
|
360
360
|
#: templates/umap/map_table.html:88
|
|
361
361
|
msgid "first"
|
|
@@ -368,7 +368,7 @@ msgstr "先前"
|
|
|
368
368
|
#: templates/umap/map_table.html:98
|
|
369
369
|
#, python-format
|
|
370
370
|
msgid "Page %(maps_number)s of %(num_pages)s"
|
|
371
|
-
msgstr ""
|
|
371
|
+
msgstr "%(num_pages)s頁的%(maps_number)s"
|
|
372
372
|
|
|
373
373
|
#: templates/umap/map_table.html:104
|
|
374
374
|
msgid "next"
|
|
@@ -381,12 +381,12 @@ msgstr "最後"
|
|
|
381
381
|
#: templates/umap/map_table.html:113
|
|
382
382
|
#, python-format
|
|
383
383
|
msgid "Lines per page: %(per_page)s"
|
|
384
|
-
msgstr ""
|
|
384
|
+
msgstr "每頁行數:%(per_page)s"
|
|
385
385
|
|
|
386
386
|
#: templates/umap/map_table.html:118
|
|
387
387
|
#, python-format
|
|
388
388
|
msgid "%(count)s maps"
|
|
389
|
-
msgstr ""
|
|
389
|
+
msgstr "%(count)s地圖"
|
|
390
390
|
|
|
391
391
|
#: templates/umap/navigation.html:10 templates/umap/user_dashboard.html:4
|
|
392
392
|
msgid "My Dashboard"
|
|
@@ -483,7 +483,7 @@ msgstr "搜尋我的地圖"
|
|
|
483
483
|
#: templates/umap/user_dashboard.html:11
|
|
484
484
|
#, python-format
|
|
485
485
|
msgid "My Maps (%(count)s)"
|
|
486
|
-
msgstr ""
|
|
486
|
+
msgstr "我的地圖 (%(count)s)"
|
|
487
487
|
|
|
488
488
|
#: templates/umap/user_dashboard.html:13
|
|
489
489
|
msgid "My profile"
|
|
@@ -491,12 +491,12 @@ msgstr "我的個人檔案"
|
|
|
491
491
|
|
|
492
492
|
#: templates/umap/user_dashboard.html:21 templates/umap/user_dashboard.html:23
|
|
493
493
|
msgid "Map’s title"
|
|
494
|
-
msgstr ""
|
|
494
|
+
msgstr "地圖標題"
|
|
495
495
|
|
|
496
496
|
#: templates/umap/user_dashboard.html:32
|
|
497
497
|
#, python-format
|
|
498
498
|
msgid "Download %(count)s maps"
|
|
499
|
-
msgstr ""
|
|
499
|
+
msgstr "下載%(count)s地圖"
|
|
500
500
|
|
|
501
501
|
#: templates/umap/user_dashboard.html:42
|
|
502
502
|
msgid "You have no map yet."
|
|
@@ -508,7 +508,7 @@ msgstr "檢視地圖"
|
|
|
508
508
|
|
|
509
509
|
#: views.py:704
|
|
510
510
|
msgid "See full screen"
|
|
511
|
-
msgstr ""
|
|
511
|
+
msgstr "檢視全螢幕"
|
|
512
512
|
|
|
513
513
|
#: views.py:803
|
|
514
514
|
msgid "Map editors updated with success!"
|
|
@@ -62,6 +62,6 @@ class Command(BaseCommand):
|
|
|
62
62
|
if path.name != self.path.name: # Subfolders only
|
|
63
63
|
picto.category = path.name
|
|
64
64
|
picto.attribution = self.attribution
|
|
65
|
-
with (
|
|
65
|
+
with (filename).open("rb") as f:
|
|
66
66
|
picto.pictogram.save(filename.name, File(f), save=True)
|
|
67
67
|
self.stdout.write(f"✔ Imported pictogram {filename}.")
|
umap/static/umap/base.css
CHANGED
|
@@ -31,7 +31,7 @@ hr {
|
|
|
31
31
|
-moz-border-left-colors: none;
|
|
32
32
|
-moz-border-right-colors: none;
|
|
33
33
|
-moz-border-top-colors: none;
|
|
34
|
-
border-color:
|
|
34
|
+
border-color: var(--color-lightGray);
|
|
35
35
|
border-image: none;
|
|
36
36
|
border-style: solid;
|
|
37
37
|
border-width: 1px 0 0;
|
|
@@ -223,7 +223,7 @@ button.flat,
|
|
|
223
223
|
padding: 7px 7px;
|
|
224
224
|
margin-bottom: 14px;
|
|
225
225
|
background: #393F3F;
|
|
226
|
-
color:
|
|
226
|
+
color: var(--color-lightGray);
|
|
227
227
|
font-size: 10px;
|
|
228
228
|
border-radius: 0 2px;
|
|
229
229
|
}
|
|
@@ -264,7 +264,7 @@ input + .error {
|
|
|
264
264
|
padding: 7px 7px;
|
|
265
265
|
margin-top: -14px;
|
|
266
266
|
margin-bottom: 14px;
|
|
267
|
-
background:
|
|
267
|
+
background: var(--color-lightGray);
|
|
268
268
|
color: #fff;
|
|
269
269
|
background-color: #cc0000;
|
|
270
270
|
font-size: 11px;
|
|
@@ -685,7 +685,7 @@ input[type=hidden].blur + [type="button"] {
|
|
|
685
685
|
position: absolute;
|
|
686
686
|
bottom: 0;
|
|
687
687
|
padding: 0 10px;
|
|
688
|
-
border-left: 1px solid
|
|
688
|
+
border-left: 1px solid var(--color-lightGray);
|
|
689
689
|
overflow-x: auto;
|
|
690
690
|
z-index: 1010;
|
|
691
691
|
background-color: #fff;
|
|
@@ -698,7 +698,7 @@ input[type=hidden].blur + [type="button"] {
|
|
|
698
698
|
}
|
|
699
699
|
#umap-ui-container.dark {
|
|
700
700
|
border-left: 1px solid #222;
|
|
701
|
-
background-color:
|
|
701
|
+
background-color: var(--color-darkGray);
|
|
702
702
|
color: #efefef;
|
|
703
703
|
}
|
|
704
704
|
#umap-ui-container.fullwidth {
|
|
@@ -913,7 +913,7 @@ input:invalid {
|
|
|
913
913
|
color: #eeeeec;
|
|
914
914
|
padding: 0 7px;
|
|
915
915
|
line-height: 32px;
|
|
916
|
-
background-color:
|
|
916
|
+
background-color: var(--color-darkGray);
|
|
917
917
|
}
|
|
918
918
|
.dark .umap-close-link:hover {
|
|
919
919
|
background-color: #2e3436;
|
umap/static/umap/content.css
CHANGED
|
@@ -150,12 +150,12 @@ h2.section {
|
|
|
150
150
|
}
|
|
151
151
|
h2.tabs {
|
|
152
152
|
text-transform: uppercase;
|
|
153
|
-
color:
|
|
153
|
+
color: var(--color-darkBlue);
|
|
154
154
|
text-align: left;
|
|
155
155
|
padding-top: 28px;
|
|
156
156
|
}
|
|
157
157
|
h2.tabs a {
|
|
158
|
-
color:
|
|
158
|
+
color: var(--color-darkBlue);
|
|
159
159
|
text-decoration: underline;
|
|
160
160
|
text-decoration-thickness: 3px;
|
|
161
161
|
text-decoration-skip-ink: none;
|
|
@@ -164,7 +164,7 @@ h2.tabs a {
|
|
|
164
164
|
}
|
|
165
165
|
h2.tabs a:not(.selected) {
|
|
166
166
|
font-weight: normal;
|
|
167
|
-
color:
|
|
167
|
+
color: var(--color-darkBlue);
|
|
168
168
|
text-decoration: none;
|
|
169
169
|
margin-right: 0;
|
|
170
170
|
}
|
|
@@ -205,8 +205,8 @@ body.content #umap-ui-container {
|
|
|
205
205
|
|
|
206
206
|
input[type="submit"],
|
|
207
207
|
.button {
|
|
208
|
-
background-color:
|
|
209
|
-
color:
|
|
208
|
+
background-color: var(--button-primary-background);
|
|
209
|
+
color: var(--button-primary-color);
|
|
210
210
|
}
|
|
211
211
|
.button-primary {
|
|
212
212
|
font-weight: bold;
|
|
@@ -215,8 +215,8 @@ input[type="submit"],
|
|
|
215
215
|
background-color: #35537c;
|
|
216
216
|
}
|
|
217
217
|
.wrapper .neutral, .wrapper input[type="submit"].neutral {
|
|
218
|
-
background-color:
|
|
219
|
-
color:
|
|
218
|
+
background-color: var(--button-neutral-background);
|
|
219
|
+
color: var(--button-neutral-color);
|
|
220
220
|
}
|
|
221
221
|
.wrapper.somber {
|
|
222
222
|
background-color: #2E3641;
|
|
@@ -399,7 +399,7 @@ ul.umap-autocomplete {
|
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
401
|
.table-header form input {
|
|
402
|
-
border: 2px solid
|
|
402
|
+
border: 2px solid var(--color-darkBlue);
|
|
403
403
|
border-radius: 0;
|
|
404
404
|
padding: .5rem 1rem;
|
|
405
405
|
margin-bottom: 0;
|
|
@@ -410,7 +410,7 @@ ul.umap-autocomplete {
|
|
|
410
410
|
width: 30ch;
|
|
411
411
|
}
|
|
412
412
|
.table-header form input[type="submit"] {
|
|
413
|
-
background-color:
|
|
413
|
+
background-color: var(--color-darkBlue);
|
|
414
414
|
color: white;
|
|
415
415
|
font-weight: bold;
|
|
416
416
|
}
|
|
@@ -419,8 +419,8 @@ ul.umap-autocomplete {
|
|
|
419
419
|
width: inherit;
|
|
420
420
|
display: inline;
|
|
421
421
|
padding: .5rem 1rem;
|
|
422
|
-
border: 2px solid
|
|
423
|
-
color:
|
|
422
|
+
border: 2px solid var(--color-darkBlue);
|
|
423
|
+
color: var(--color-darkBlue);
|
|
424
424
|
font-weight: bold;
|
|
425
425
|
background-color: initial;
|
|
426
426
|
margin-bottom: 0;
|
|
@@ -443,7 +443,7 @@ ul.umap-autocomplete {
|
|
|
443
443
|
.table-wrapper table a,
|
|
444
444
|
.table-wrapper table thead tr th,
|
|
445
445
|
.table-wrapper table th[scope="row"] {
|
|
446
|
-
color:
|
|
446
|
+
color: var(--color-darkBlue);
|
|
447
447
|
text-align: left;
|
|
448
448
|
padding-left: 2px;
|
|
449
449
|
}
|
|
@@ -469,7 +469,7 @@ ul.umap-autocomplete {
|
|
|
469
469
|
.table-wrapper table input[type="submit"] {
|
|
470
470
|
display: inline;
|
|
471
471
|
background-color: transparent;
|
|
472
|
-
color:
|
|
472
|
+
color: var(--color-darkBlue);
|
|
473
473
|
padding: 0;
|
|
474
474
|
width: inherit;
|
|
475
475
|
height: 1rem;
|
|
@@ -527,7 +527,7 @@ dialog::backdrop {
|
|
|
527
527
|
padding: 1rem;
|
|
528
528
|
}
|
|
529
529
|
.pagination a {
|
|
530
|
-
color:
|
|
530
|
+
color: var(--color-darkBlue);
|
|
531
531
|
text-decoration: underline;
|
|
532
532
|
}
|
|
533
533
|
|
|
@@ -672,9 +672,9 @@ L.FormBuilder.IconUrl = L.FormBuilder.BlurInput.extend({
|
|
|
672
672
|
},
|
|
673
673
|
|
|
674
674
|
addCategory: function (items, name) {
|
|
675
|
-
const parent = L.DomUtil.create('div', 'umap-pictogram-category')
|
|
676
|
-
grid = L.DomUtil.create('div', 'umap-pictogram-grid', parent)
|
|
675
|
+
const parent = L.DomUtil.create('div', 'umap-pictogram-category')
|
|
677
676
|
if (name) L.DomUtil.add('h6', '', parent, name)
|
|
677
|
+
const grid = L.DomUtil.create('div', 'umap-pictogram-grid', parent)
|
|
678
678
|
let status = false
|
|
679
679
|
for (let item of items) {
|
|
680
680
|
status = this.addIconPreview(item, grid) || status
|
umap/static/umap/js/umap.js
CHANGED
|
@@ -125,18 +125,12 @@ U.Map = L.Map.extend({
|
|
|
125
125
|
// To be used in javascript APIs
|
|
126
126
|
if (geojson.properties.lang) L.lang = geojson.properties.lang
|
|
127
127
|
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
: true
|
|
128
|
+
this.setOptionsFromQueryString(geojson.properties)
|
|
129
|
+
// Prevent default creation of controls
|
|
130
|
+
const zoomControl = geojson.properties.zoomControl
|
|
131
|
+
const fullscreenControl = geojson.properties.fullscreenControl
|
|
133
132
|
geojson.properties.zoomControl = false
|
|
134
|
-
const fullscreenControl =
|
|
135
|
-
typeof geojson.properties.fullscreenControl !== 'undefined'
|
|
136
|
-
? geojson.properties.fullscreenControl
|
|
137
|
-
: true
|
|
138
133
|
geojson.properties.fullscreenControl = false
|
|
139
|
-
this.setOptionsFromQueryString(geojson.properties)
|
|
140
134
|
|
|
141
135
|
L.Map.prototype.initialize.call(this, el, geojson.properties)
|
|
142
136
|
U.DEFAULT_ICON_URL = this.options.default_iconUrl
|
|
@@ -324,7 +324,7 @@ U.PopupTemplate.OSM = U.PopupTemplate.Default.extend({
|
|
|
324
324
|
L.DomUtil.element('a', { href: `mailto:${email}`, textContent: email })
|
|
325
325
|
)
|
|
326
326
|
}
|
|
327
|
-
const id = props['@id']
|
|
327
|
+
const id = props['@id'] || props['id']
|
|
328
328
|
if (id) {
|
|
329
329
|
L.DomUtil.add(
|
|
330
330
|
'div',
|
|
@@ -226,6 +226,8 @@ U.IframeExporter = L.Evented.extend({
|
|
|
226
226
|
const datalayers = []
|
|
227
227
|
if (this.options.viewCurrentFeature && this.map.currentFeature) {
|
|
228
228
|
this.queryString.feature = this.map.currentFeature.getSlug()
|
|
229
|
+
} else {
|
|
230
|
+
delete this.queryString.feature
|
|
229
231
|
}
|
|
230
232
|
if (this.options.keepCurrentDatalayers) {
|
|
231
233
|
this.map.eachDataLayer((datalayer) => {
|
umap/static/umap/locale/hu.js
CHANGED
|
@@ -431,7 +431,14 @@ const locale = {
|
|
|
431
431
|
"Type a place name or coordinates": "Helynév vagy koordináták megadása",
|
|
432
432
|
"copy": "másolás",
|
|
433
433
|
"full backup": "teljes biztonsági másolat",
|
|
434
|
-
"settings": "beállítások"
|
|
434
|
+
"settings": "beállítások",
|
|
435
|
+
"Action not allowed :(": "Nem engedélyezett művelet :(",
|
|
436
|
+
"Bring feature to center": "Objektum középre hozása",
|
|
437
|
+
"Current map view": "Jelenlegi térképnézet",
|
|
438
|
+
"Features in this layer: {count}": "Objektumok ezen a rétegen: {count}",
|
|
439
|
+
"Filter": "Szűrő",
|
|
440
|
+
"Problem in the response": "Hiba a válaszban",
|
|
441
|
+
"Recent": "Legutóbbi"
|
|
435
442
|
}
|
|
436
443
|
L.registerLocale("hu", locale)
|
|
437
444
|
L.setLocale("hu")
|
umap/static/umap/locale/hu.json
CHANGED
|
@@ -431,5 +431,12 @@
|
|
|
431
431
|
"Type a place name or coordinates": "Helynév vagy koordináták megadása",
|
|
432
432
|
"copy": "másolás",
|
|
433
433
|
"full backup": "teljes biztonsági másolat",
|
|
434
|
-
"settings": "beállítások"
|
|
434
|
+
"settings": "beállítások",
|
|
435
|
+
"Action not allowed :(": "Nem engedélyezett művelet :(",
|
|
436
|
+
"Bring feature to center": "Objektum középre hozása",
|
|
437
|
+
"Current map view": "Jelenlegi térképnézet",
|
|
438
|
+
"Features in this layer: {count}": "Objektumok ezen a rétegen: {count}",
|
|
439
|
+
"Filter": "Szűrő",
|
|
440
|
+
"Problem in the response": "Hiba a válaszban",
|
|
441
|
+
"Recent": "Legutóbbi"
|
|
435
442
|
}
|
umap/static/umap/locale/ms.js
CHANGED
|
@@ -123,7 +123,7 @@ const locale = {
|
|
|
123
123
|
"Continue line (Ctrl+Click)": "Garis sambung (Ctrl+Klik)",
|
|
124
124
|
"Coordinates": "Koordinat",
|
|
125
125
|
"Credits": "Penghargaan",
|
|
126
|
-
"Current view instead of default map view?": "
|
|
126
|
+
"Current view instead of default map view?": "Paparan semasa menggantikan paparan peta lalai?",
|
|
127
127
|
"Custom background": "Latar belakang tersuai",
|
|
128
128
|
"Data is browsable": "Data boleh layar",
|
|
129
129
|
"Default interaction options": "Pilihan interaksi lalai",
|
|
@@ -158,7 +158,7 @@ const locale = {
|
|
|
158
158
|
"Error in the tilelayer URL": "Ralat dalam URL lapisan jubin",
|
|
159
159
|
"Exit Fullscreen": "Keluar Skrin Penuh",
|
|
160
160
|
"Extract shape to separate feature": "Sarikan bentuk untuk memisahkan sifat",
|
|
161
|
-
"Fetch data each time map view changes.": "Ambil data setiap kali
|
|
161
|
+
"Fetch data each time map view changes.": "Ambil data setiap kali paparan peta berubah.",
|
|
162
162
|
"Filter keys": "Kekunci tapisan",
|
|
163
163
|
"Format": "Format",
|
|
164
164
|
"From zoom": "Dari zum",
|
|
@@ -232,7 +232,7 @@ const locale = {
|
|
|
232
232
|
"See all": "Lihat semua",
|
|
233
233
|
"See data layers": "Lihat lapisan data",
|
|
234
234
|
"See full screen": "Lihat skrin penuh",
|
|
235
|
-
"Set it to false to hide this layer from the slideshow, the data browser, the popup navigation…": "Tetapkan ke
|
|
235
|
+
"Set it to false to hide this layer from the slideshow, the data browser, the popup navigation…": "Tetapkan ke 'false' untuk menyembunyikan lapisan ini daripada persembahan slaid, pelayar data, navigasi timbul…",
|
|
236
236
|
"Shape properties": "Ciri-ciri bentuk",
|
|
237
237
|
"Short credits": "Penghargaan pendek",
|
|
238
238
|
"Show/hide layer": "Tunjuk/sembunyi lapisan",
|
|
@@ -412,26 +412,33 @@ const locale = {
|
|
|
412
412
|
"Symbol": "Simbol",
|
|
413
413
|
"Type char or paste emoji": "Taip aksara atau tampal emoji",
|
|
414
414
|
"URL": "URL",
|
|
415
|
-
"If false, the polygon or line will act as a part of the underlying map.": "
|
|
416
|
-
"Save map": "
|
|
417
|
-
"Toggle edit mode": "
|
|
418
|
-
"All data and settings of the map": "
|
|
419
|
-
"Embed and link options": "
|
|
420
|
-
"Go to \"{coords}\"": "
|
|
421
|
-
"Link to view the map": "
|
|
415
|
+
"If false, the polygon or line will act as a part of the underlying map.": "Jika tetapkan ke 'false', poligon atau garisan akan bertindak sebagai sebahagian daripada peta di bawah.",
|
|
416
|
+
"Save map": "Simpan peta",
|
|
417
|
+
"Toggle edit mode": "Togol mod suntingan",
|
|
418
|
+
"All data and settings of the map": "Semua data dan tetapan peta",
|
|
419
|
+
"Embed and link options": "Pilihan benaman dan pautan",
|
|
420
|
+
"Go to \"{coords}\"": "Pergi ke \"{coords}\"",
|
|
421
|
+
"Link to view the map": "Pautan untuk melihat peta",
|
|
422
422
|
"No.": "No.",
|
|
423
|
-
"Only visible layers' data": "
|
|
424
|
-
"Open share & download panel": "
|
|
423
|
+
"Only visible layers' data": "Data lapisan yang kelihatan sahaja",
|
|
424
|
+
"Open share & download panel": "Buka panel kongsi & muat turun",
|
|
425
425
|
"OpenStreetMap": "OpenStreetMap",
|
|
426
|
-
"See on OpenStreetMap": "
|
|
427
|
-
"Share and download": "
|
|
428
|
-
"Share this link to open a customized map view": "
|
|
429
|
-
"Short link": "
|
|
430
|
-
"Street": "
|
|
431
|
-
"Type a place name or coordinates": "
|
|
432
|
-
"copy": "
|
|
433
|
-
"full backup": "
|
|
434
|
-
"settings": "
|
|
426
|
+
"See on OpenStreetMap": "Lihat di OpenStreetMap",
|
|
427
|
+
"Share and download": "Kongsi dan muat turun",
|
|
428
|
+
"Share this link to open a customized map view": "Kongsi pautan ini untuk buka paparan peta tersuai",
|
|
429
|
+
"Short link": "Pautan pendek",
|
|
430
|
+
"Street": "Jalan",
|
|
431
|
+
"Type a place name or coordinates": "Taip koordinat atau nama tempat",
|
|
432
|
+
"copy": "salin",
|
|
433
|
+
"full backup": "sandaran penuh",
|
|
434
|
+
"settings": "tetapan",
|
|
435
|
+
"Action not allowed :(": "Tindakan tidak dibenarkan :(",
|
|
436
|
+
"Bring feature to center": "Bawa sifat ke tengah",
|
|
437
|
+
"Current map view": "Paparan peta semasa",
|
|
438
|
+
"Features in this layer: {count}": "Sifat dalam lapisan ini: {count}",
|
|
439
|
+
"Filter": "Tapis",
|
|
440
|
+
"Problem in the response": "Masalah dalam tindak balas",
|
|
441
|
+
"Recent": "Terbaru"
|
|
435
442
|
}
|
|
436
443
|
L.registerLocale("ms", locale)
|
|
437
444
|
L.setLocale("ms")
|
umap/static/umap/locale/ms.json
CHANGED
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
"Continue line (Ctrl+Click)": "Garis sambung (Ctrl+Klik)",
|
|
124
124
|
"Coordinates": "Koordinat",
|
|
125
125
|
"Credits": "Penghargaan",
|
|
126
|
-
"Current view instead of default map view?": "
|
|
126
|
+
"Current view instead of default map view?": "Paparan semasa menggantikan paparan peta lalai?",
|
|
127
127
|
"Custom background": "Latar belakang tersuai",
|
|
128
128
|
"Data is browsable": "Data boleh layar",
|
|
129
129
|
"Default interaction options": "Pilihan interaksi lalai",
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
"Error in the tilelayer URL": "Ralat dalam URL lapisan jubin",
|
|
159
159
|
"Exit Fullscreen": "Keluar Skrin Penuh",
|
|
160
160
|
"Extract shape to separate feature": "Sarikan bentuk untuk memisahkan sifat",
|
|
161
|
-
"Fetch data each time map view changes.": "Ambil data setiap kali
|
|
161
|
+
"Fetch data each time map view changes.": "Ambil data setiap kali paparan peta berubah.",
|
|
162
162
|
"Filter keys": "Kekunci tapisan",
|
|
163
163
|
"Format": "Format",
|
|
164
164
|
"From zoom": "Dari zum",
|
|
@@ -232,7 +232,7 @@
|
|
|
232
232
|
"See all": "Lihat semua",
|
|
233
233
|
"See data layers": "Lihat lapisan data",
|
|
234
234
|
"See full screen": "Lihat skrin penuh",
|
|
235
|
-
"Set it to false to hide this layer from the slideshow, the data browser, the popup navigation…": "Tetapkan ke
|
|
235
|
+
"Set it to false to hide this layer from the slideshow, the data browser, the popup navigation…": "Tetapkan ke 'false' untuk menyembunyikan lapisan ini daripada persembahan slaid, pelayar data, navigasi timbul…",
|
|
236
236
|
"Shape properties": "Ciri-ciri bentuk",
|
|
237
237
|
"Short credits": "Penghargaan pendek",
|
|
238
238
|
"Show/hide layer": "Tunjuk/sembunyi lapisan",
|
|
@@ -412,24 +412,31 @@
|
|
|
412
412
|
"Symbol": "Simbol",
|
|
413
413
|
"Type char or paste emoji": "Taip aksara atau tampal emoji",
|
|
414
414
|
"URL": "URL",
|
|
415
|
-
"If false, the polygon or line will act as a part of the underlying map.": "
|
|
416
|
-
"Save map": "
|
|
417
|
-
"Toggle edit mode": "
|
|
418
|
-
"All data and settings of the map": "
|
|
419
|
-
"Embed and link options": "
|
|
420
|
-
"Go to \"{coords}\"": "
|
|
421
|
-
"Link to view the map": "
|
|
415
|
+
"If false, the polygon or line will act as a part of the underlying map.": "Jika tetapkan ke 'false', poligon atau garisan akan bertindak sebagai sebahagian daripada peta di bawah.",
|
|
416
|
+
"Save map": "Simpan peta",
|
|
417
|
+
"Toggle edit mode": "Togol mod suntingan",
|
|
418
|
+
"All data and settings of the map": "Semua data dan tetapan peta",
|
|
419
|
+
"Embed and link options": "Pilihan benaman dan pautan",
|
|
420
|
+
"Go to \"{coords}\"": "Pergi ke \"{coords}\"",
|
|
421
|
+
"Link to view the map": "Pautan untuk melihat peta",
|
|
422
422
|
"No.": "No.",
|
|
423
|
-
"Only visible layers' data": "
|
|
424
|
-
"Open share & download panel": "
|
|
423
|
+
"Only visible layers' data": "Data lapisan yang kelihatan sahaja",
|
|
424
|
+
"Open share & download panel": "Buka panel kongsi & muat turun",
|
|
425
425
|
"OpenStreetMap": "OpenStreetMap",
|
|
426
|
-
"See on OpenStreetMap": "
|
|
427
|
-
"Share and download": "
|
|
428
|
-
"Share this link to open a customized map view": "
|
|
429
|
-
"Short link": "
|
|
430
|
-
"Street": "
|
|
431
|
-
"Type a place name or coordinates": "
|
|
432
|
-
"copy": "
|
|
433
|
-
"full backup": "
|
|
434
|
-
"settings": "
|
|
426
|
+
"See on OpenStreetMap": "Lihat di OpenStreetMap",
|
|
427
|
+
"Share and download": "Kongsi dan muat turun",
|
|
428
|
+
"Share this link to open a customized map view": "Kongsi pautan ini untuk buka paparan peta tersuai",
|
|
429
|
+
"Short link": "Pautan pendek",
|
|
430
|
+
"Street": "Jalan",
|
|
431
|
+
"Type a place name or coordinates": "Taip koordinat atau nama tempat",
|
|
432
|
+
"copy": "salin",
|
|
433
|
+
"full backup": "sandaran penuh",
|
|
434
|
+
"settings": "tetapan",
|
|
435
|
+
"Action not allowed :(": "Tindakan tidak dibenarkan :(",
|
|
436
|
+
"Bring feature to center": "Bawa sifat ke tengah",
|
|
437
|
+
"Current map view": "Paparan peta semasa",
|
|
438
|
+
"Features in this layer: {count}": "Sifat dalam lapisan ini: {count}",
|
|
439
|
+
"Filter": "Tapis",
|
|
440
|
+
"Problem in the response": "Masalah dalam tindak balas",
|
|
441
|
+
"Recent": "Terbaru"
|
|
435
442
|
}
|
umap/static/umap/locale/zh_TW.js
CHANGED
|
@@ -431,7 +431,14 @@ const locale = {
|
|
|
431
431
|
"Type a place name or coordinates": "輸入地點名稱或是座標",
|
|
432
432
|
"copy": "複製",
|
|
433
433
|
"full backup": " 完全備份",
|
|
434
|
-
"settings": "設定"
|
|
434
|
+
"settings": "設定",
|
|
435
|
+
"Action not allowed :(": "未被允許的動作 :(",
|
|
436
|
+
"Bring feature to center": "置中圖徵",
|
|
437
|
+
"Current map view": "目前地圖檢視",
|
|
438
|
+
"Features in this layer: {count}": "這個圖層的圖徵數:{count}",
|
|
439
|
+
"Filter": "篩選器",
|
|
440
|
+
"Problem in the response": "回應的問題",
|
|
441
|
+
"Recent": "目前"
|
|
435
442
|
}
|
|
436
443
|
L.registerLocale("zh_TW", locale)
|
|
437
444
|
L.setLocale("zh_TW")
|