umap-project 2.4.0b1__py3-none-any.whl → 2.4.1__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 (53) hide show
  1. umap/__init__.py +1 -1
  2. umap/locale/en/LC_MESSAGES/django.po +11 -11
  3. umap/locale/fr/LC_MESSAGES/django.mo +0 -0
  4. umap/locale/fr/LC_MESSAGES/django.po +12 -11
  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 -28
  8. umap/static/umap/css/importers.css +8 -1
  9. umap/static/umap/css/panel.css +0 -1
  10. umap/static/umap/img/16-white.svg +1 -3
  11. umap/static/umap/img/source/16-white.svg +2 -4
  12. umap/static/umap/js/modules/browser.js +5 -5
  13. umap/static/umap/js/modules/caption.js +1 -1
  14. umap/static/umap/js/modules/importer.js +20 -9
  15. umap/static/umap/js/modules/importers/datasets.js +1 -0
  16. umap/static/umap/js/modules/utils.js +3 -3
  17. umap/static/umap/js/umap.features.js +11 -3
  18. umap/static/umap/js/umap.js +47 -48
  19. umap/static/umap/js/umap.layer.js +11 -1
  20. umap/static/umap/js/umap.popup.js +1 -1
  21. umap/static/umap/locale/en.js +2 -1
  22. umap/static/umap/locale/en.json +2 -1
  23. umap/static/umap/locale/es.js +9 -8
  24. umap/static/umap/locale/es.json +9 -8
  25. umap/static/umap/locale/fr.js +16 -15
  26. umap/static/umap/locale/fr.json +16 -15
  27. umap/static/umap/locale/pt.js +61 -60
  28. umap/static/umap/locale/pt.json +61 -60
  29. umap/static/umap/map.css +14 -13
  30. umap/static/umap/unittests/utils.js +5 -5
  31. umap/static/umap/vars.css +2 -1
  32. umap/static/umap/vendors/dompurify/purify.es.js +59 -5
  33. umap/static/umap/vendors/dompurify/purify.es.mjs.map +1 -1
  34. umap/static/umap/vendors/formbuilder/Leaflet.FormBuilder.js +2 -2
  35. umap/tests/integration/test_browser.py +76 -3
  36. umap/tests/integration/test_edit_polygon.py +11 -0
  37. umap/tests/integration/test_import.py +47 -0
  38. umap/tests/integration/test_map.py +29 -0
  39. umap/tests/integration/test_view_marker.py +2 -2
  40. {umap_project-2.4.0b1.dist-info → umap_project-2.4.1.dist-info}/METADATA +5 -5
  41. {umap_project-2.4.0b1.dist-info → umap_project-2.4.1.dist-info}/RECORD +44 -53
  42. {umap_project-2.4.0b1.dist-info → umap_project-2.4.1.dist-info}/WHEEL +1 -1
  43. umap/.DS_Store +0 -0
  44. umap/static/.DS_Store +0 -0
  45. umap/static/umap/.DS_Store +0 -0
  46. umap/static/umap/favicons/.DS_Store +0 -0
  47. umap/static/umap/fonts/.DS_Store +0 -0
  48. umap/static/umap/img/.DS_Store +0 -0
  49. umap/static/umap/img/source/.DS_Store +0 -0
  50. umap/tests/.DS_Store +0 -0
  51. umap/tests/integration/.DS_Store +0 -0
  52. {umap_project-2.4.0b1.dist-info → umap_project-2.4.1.dist-info}/entry_points.txt +0 -0
  53. {umap_project-2.4.0b1.dist-info → umap_project-2.4.1.dist-info}/licenses/LICENSE +0 -0
umap/__init__.py CHANGED
@@ -1 +1 @@
1
- VERSION = "2.4.0b1"
1
+ VERSION = "2.4.1"
@@ -8,7 +8,7 @@ msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: PACKAGE VERSION\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2024-06-14 17:49+0000\n"
11
+ "POT-Creation-Date: 2024-06-21 19:58+0000\n"
12
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -553,49 +553,49 @@ msgstr ""
553
553
  msgid "Map editors updated with success!"
554
554
  msgstr ""
555
555
 
556
- #: views.py:883
556
+ #: views.py:882
557
557
  #, python-format
558
558
  msgid "The uMap edit link for your map: %(map_name)s"
559
559
  msgstr ""
560
560
 
561
- #: views.py:886
561
+ #: views.py:885
562
562
  #, python-format
563
563
  msgid "Here is your secret edit link: %(link)s"
564
564
  msgstr ""
565
565
 
566
- #: views.py:893
566
+ #: views.py:892
567
567
  #, python-format
568
568
  msgid "Can't send email to %(email)s"
569
569
  msgstr ""
570
570
 
571
- #: views.py:896
571
+ #: views.py:895
572
572
  #, python-format
573
573
  msgid "Email sent to %(email)s"
574
574
  msgstr ""
575
575
 
576
- #: views.py:907
576
+ #: views.py:906
577
577
  msgid "Only its owner can delete the map."
578
578
  msgstr ""
579
579
 
580
- #: views.py:910
580
+ #: views.py:909
581
581
  msgid "Map successfully deleted."
582
582
  msgstr ""
583
583
 
584
- #: views.py:936
584
+ #: views.py:935
585
585
  #, python-format
586
586
  msgid ""
587
587
  "Your map has been cloned! If you want to edit this map from another "
588
588
  "computer, please use this link: %(anonymous_url)s"
589
589
  msgstr ""
590
590
 
591
- #: views.py:941
591
+ #: views.py:940
592
592
  msgid "Congratulations, your map has been cloned!"
593
593
  msgstr ""
594
594
 
595
- #: views.py:1176
595
+ #: views.py:1175
596
596
  msgid "Layer successfully deleted."
597
597
  msgstr ""
598
598
 
599
- #: views.py:1198
599
+ #: views.py:1197
600
600
  msgid "Permissions updated with success!"
601
601
  msgstr ""
Binary file
@@ -8,6 +8,7 @@
8
8
  # Buggi, 2013
9
9
  # Buggi, 2013
10
10
  # Buggi, 2013
11
+ # Larlet David <david@larlet.fr>, 2024
11
12
  # Philippe Verdy, 2017
12
13
  # severin.menard <severin.menard@protonmail.com>, 2014
13
14
  # severin.menard <severin.menard@protonmail.com>, 2014
@@ -25,7 +26,7 @@ msgstr ""
25
26
  "Report-Msgid-Bugs-To: \n"
26
27
  "POT-Creation-Date: 2024-06-14 17:49+0000\n"
27
28
  "PO-Revision-Date: 2013-11-22 14:00+0000\n"
28
- "Last-Translator: yohanboniface <yohanboniface@free.fr>, 2013-2014,2018-2019,2023-2024\n"
29
+ "Last-Translator: Larlet David <david@larlet.fr>, 2024\n"
29
30
  "Language-Team: French (http://app.transifex.com/openstreetmap/umap/language/fr/)\n"
30
31
  "MIME-Version: 1.0\n"
31
32
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -267,7 +268,7 @@ msgstr "Exporter et partager votre carte"
267
268
  #: templates/umap/about_summary.html:37
268
269
  #, python-format
269
270
  msgid "And it's <a href=\"%(repo_url)s\">open source</a>!"
270
- msgstr "Et c'est <a href=\"%(repo_url)s\">open source</a>!"
271
+ msgstr "Et c'est <a href=\"%(repo_url)s\">open source</a> !"
271
272
 
272
273
  #: templates/umap/about_summary.html:48 templates/umap/navigation.html:38
273
274
  #: templates/umap/user_dashboard.html:42
@@ -290,11 +291,11 @@ msgid ""
290
291
  "Pro-tip: to easily find back your maps, <a href=\"%(login_url)s\" "
291
292
  "target=\"_blank\">create an account</a> or <a href=\"%(login_url)s\" "
292
293
  "target=\"_blank\">log in</a>."
293
- msgstr "Astuce: pour retrouver facilement vos cartes, <a href=\"%(login_url)s\" target=\"_blank\">créez un compte</a> ou <a href=\"%(login_url)s\" target=\"_blank\">identifiez-vous</a>."
294
+ msgstr "Astuce : pour retrouver facilement vos cartes, <a href=\"%(login_url)s\" target=\"_blank\">créez un compte</a> ou <a href=\"%(login_url)s\" target=\"_blank\">identifiez-vous</a>."
294
295
 
295
296
  #: templates/umap/components/alerts/alert.html:30
296
297
  msgid "Here is your secret link to edit the map, please keep it safe:"
297
- msgstr "Ceci est le lien d'édition secret, gardez-le en lieu sûr:"
298
+ msgstr "Ceci est le lien d'édition secret, gardez-le en lieu sûr :"
298
299
 
299
300
  #: templates/umap/components/alerts/alert.html:33
300
301
  msgid "Copy link"
@@ -302,7 +303,7 @@ msgstr "Copier le lien"
302
303
 
303
304
  #: templates/umap/components/alerts/alert.html:39
304
305
  msgid "Enter your email address to receive the secret link:"
305
- msgstr "Entrer une adresse mail pour recevoir le lien secret:"
306
+ msgstr "Entrez votre courriel pour recevoir le lien secret :"
306
307
 
307
308
  #: templates/umap/components/alerts/alert.html:41
308
309
  msgid "Email"
@@ -310,7 +311,7 @@ msgstr "Courriel"
310
311
 
311
312
  #: templates/umap/components/alerts/alert.html:42
312
313
  msgid "Send me the link"
313
- msgstr "Recevoir le lien"
314
+ msgstr "Envoyer le lien"
314
315
 
315
316
  #: templates/umap/components/alerts/alert.html:63
316
317
  msgid "See their edits in another tab"
@@ -337,7 +338,7 @@ msgid ""
337
338
  "need a stable instance, please use <a "
338
339
  "href=\"%(stable_url)s\">%(stable_url)s</a>. You can also host your own "
339
340
  "instance, it's <a href=\"%(repo_url)s\">open source</a>!"
340
- msgstr "Il s'agit d'un site de démonstration, utilisé pour les tests et validation avant diffusion. Si vous avez besoin d'une version stable, utilisez plutôt <a href=\"%(stable_url)s\">%(stable_url)s</a>. Vous pouvez aussi mettre en place votre propre version, c'est <a href=\"%(repo_url)s\">open source</a>!"
341
+ msgstr "Il s'agit d'un site de démonstration, utilisé pour les tests et validation avant diffusion. Si vous avez besoin d'une version stable, utilisez plutôt <a href=\"%(stable_url)s\">%(stable_url)s</a>. Vous pouvez aussi mettre en place votre propre version, c'est <a href=\"%(repo_url)s\">open source</a> !"
341
342
 
342
343
  #: templates/umap/home.html:11
343
344
  msgid "Map of the uMaps"
@@ -435,7 +436,7 @@ msgstr "fin"
435
436
  #: templates/umap/map_table.html:116
436
437
  #, python-format
437
438
  msgid "Lines per page: %(per_page)s"
438
- msgstr "Lignes par page: %(per_page)s"
439
+ msgstr "Lignes par page : %(per_page)s"
439
440
 
440
441
  #: templates/umap/map_table.html:121
441
442
  #, python-format
@@ -514,7 +515,7 @@ msgid "%(count)s map found:"
514
515
  msgid_plural "%(count)s maps found:"
515
516
  msgstr[0] "%(count)s carte trouvée:"
516
517
  msgstr[1] "%(count)s cartes trouvées:"
517
- msgstr[2] "%(count)s cartes trouvées:"
518
+ msgstr[2] "%(count)s cartes trouvées :"
518
519
 
519
520
  #: templates/umap/search.html:21
520
521
  msgid "No map found."
@@ -573,12 +574,12 @@ msgstr "Éditeurs de la carte mis à jour !"
573
574
  #: views.py:883
574
575
  #, python-format
575
576
  msgid "The uMap edit link for your map: %(map_name)s"
576
- msgstr "La lien d'édition uMap pour votre carte %(map_name)s"
577
+ msgstr "La lien d'édition uMap pour votre carte : %(map_name)s"
577
578
 
578
579
  #: views.py:886
579
580
  #, python-format
580
581
  msgid "Here is your secret edit link: %(link)s"
581
- msgstr "Voici votre lien d'édition secret: %(link)s"
582
+ msgstr "Voici votre lien d'édition secret : %(link)s"
582
583
 
583
584
  #: views.py:893
584
585
  #, python-format
Binary file
@@ -10,7 +10,7 @@ msgid ""
10
10
  msgstr ""
11
11
  "Project-Id-Version: uMap\n"
12
12
  "Report-Msgid-Bugs-To: \n"
13
- "POT-Creation-Date: 2024-04-24 19:16+0000\n"
13
+ "POT-Creation-Date: 2024-06-21 19:58+0000\n"
14
14
  "PO-Revision-Date: 2013-11-22 14:00+0000\n"
15
15
  "Last-Translator: lecalam, 2024\n"
16
16
  "Language-Team: Portuguese (http://app.transifex.com/openstreetmap/umap/language/pt/)\n"
@@ -28,7 +28,7 @@ msgstr "Unicamente editável através de hiperligação secreta"
28
28
  msgid "Everyone can edit"
29
29
  msgstr "Todos podem editar"
30
30
 
31
- #: forms.py:69 models.py:384
31
+ #: forms.py:69 models.py:389
32
32
  msgid "Inherit"
33
33
  msgstr "Herdado"
34
34
 
@@ -56,15 +56,15 @@ msgstr "Modelo de URL no formato de mosaicos OSM"
56
56
  msgid "Order of the tilelayers in the edit box"
57
57
  msgstr "Ordem das camadas de mosaicos na caixa de edição"
58
58
 
59
- #: models.py:147 models.py:385
59
+ #: models.py:147 models.py:390
60
60
  msgid "Everyone"
61
61
  msgstr "Todos"
62
62
 
63
- #: models.py:148 models.py:154 models.py:386
63
+ #: models.py:148 models.py:154 models.py:391
64
64
  msgid "Editors only"
65
65
  msgstr "Apenas editores"
66
66
 
67
- #: models.py:149 models.py:387
67
+ #: models.py:149 models.py:392
68
68
  msgid "Owner only"
69
69
  msgstr "Apenas o proprietário"
70
70
 
@@ -112,7 +112,7 @@ msgstr "proprietário"
112
112
  msgid "editors"
113
113
  msgstr "editores"
114
114
 
115
- #: models.py:186 models.py:408
115
+ #: models.py:186 models.py:413
116
116
  msgid "edit status"
117
117
  msgstr "editar estado"
118
118
 
@@ -120,25 +120,25 @@ msgstr "editar estado"
120
120
  msgid "share status"
121
121
  msgstr "partilhar estado"
122
122
 
123
- #: models.py:194 models.py:403
123
+ #: models.py:194 models.py:408
124
124
  msgid "settings"
125
125
  msgstr "parâmetros"
126
126
 
127
- #: models.py:325
127
+ #: models.py:330
128
128
  msgid "Clone of"
129
129
  msgstr "Clone de"
130
130
 
131
- #: models.py:394
131
+ #: models.py:399
132
132
  msgid "description"
133
133
  msgstr "descrição"
134
134
 
135
- #: models.py:398
135
+ #: models.py:403
136
136
  msgid "display on load"
137
137
  msgstr "mostrar no início"
138
138
 
139
- #: models.py:399
139
+ #: models.py:404
140
140
  msgid "Display this layer on load."
141
- msgstr "Apresentar esta camada ao carregar."
141
+ msgstr "Mostrar esta camada ao carregar."
142
142
 
143
143
  #: templates/404.html:6
144
144
  msgid "Take me to the home page"
@@ -229,19 +229,19 @@ msgstr "Escolha as camadas do mapa"
229
229
 
230
230
  #: templates/umap/about_summary.html:22
231
231
  msgid "Add POIs: markers, lines, polygons..."
232
- msgstr "Adicionar POIs: marcadores, linhas, polígonos..."
232
+ msgstr "Adicione POIs: marcadores, linhas, polígonos..."
233
233
 
234
234
  #: templates/umap/about_summary.html:23
235
235
  msgid "Manage POIs colours and icons"
236
- msgstr "Gerir as cores dos POI e ícones"
236
+ msgstr "Altere as cores dos POI e ícones"
237
237
 
238
238
  #: templates/umap/about_summary.html:24
239
239
  msgid "Manage map options: display a minimap, locate user on load…"
240
- msgstr "Gerir diversas opções: mostrar um minimapa, localizar o utilizador ao carregar..."
240
+ msgstr "Configure diversas opções: mostrar um minimapa, localizar o utilizador ao carregar..."
241
241
 
242
242
  #: templates/umap/about_summary.html:25
243
243
  msgid "Batch import geostructured data (geojson, gpx, kml, osm...)"
244
- msgstr "Importação em massa de dados geográficos (geojson, gpx, kml, osm...)"
244
+ msgstr "Importe dados geo-estruturados em lote (geojson, gpx, kml, osm...)"
245
245
 
246
246
  #: templates/umap/about_summary.html:26
247
247
  msgid "Choose the license for your data"
@@ -249,7 +249,7 @@ msgstr "Escolha uma licença para os seus dados"
249
249
 
250
250
  #: templates/umap/about_summary.html:27
251
251
  msgid "Embed and share your map"
252
- msgstr "Exportar e partilhar o seu mapa"
252
+ msgstr "Exporte e partilhe o seu mapa"
253
253
 
254
254
  #: templates/umap/about_summary.html:37
255
255
  #, python-format
@@ -265,13 +265,59 @@ msgstr "Criar um mapa"
265
265
  msgid "Play with the demo"
266
266
  msgstr "Testar a demo"
267
267
 
268
- #: templates/umap/content.html:22
268
+ #: templates/umap/components/alerts/alert.html:14
269
+ #: templates/umap/components/alerts/alert.html:49
270
+ #: templates/umap/components/alerts/alert.html:71
271
+ msgid "Close"
272
+ msgstr "Fechar"
273
+
274
+ #: templates/umap/components/alerts/alert.html:27
275
+ #, python-format
276
+ msgid ""
277
+ "Pro-tip: to easily find back your maps, <a href=\"%(login_url)s\" "
278
+ "target=\"_blank\">create an account</a> or <a href=\"%(login_url)s\" "
279
+ "target=\"_blank\">log in</a>."
280
+ msgstr "Sugestão: para voltar a encontrar facilmente os seus mapas, <a href=\"%(login_url)s\" target=\"_blank\">crie uma conta</a> ou <a href=\"%(login_url)s\" target=\"_blank\">inicie a sessão</a>."
281
+
282
+ #: templates/umap/components/alerts/alert.html:30
283
+ msgid "Here is your secret link to edit the map, please keep it safe:"
284
+ msgstr "Aqui está a sua hiperligação secreta para editar o mapa, por favor mantenha-a segura:"
285
+
286
+ #: templates/umap/components/alerts/alert.html:33
287
+ msgid "Copy link"
288
+ msgstr "Copiar hiperligação"
289
+
290
+ #: templates/umap/components/alerts/alert.html:39
291
+ msgid "Enter your email address to receive the secret link:"
292
+ msgstr "Introduza o seu endereço de e-mail para receber a hiperligação secreta:"
293
+
294
+ #: templates/umap/components/alerts/alert.html:41
295
+ msgid "Email"
296
+ msgstr "E-mail"
297
+
298
+ #: templates/umap/components/alerts/alert.html:42
299
+ msgid "Send me the link"
300
+ msgstr "Envie-me a hiperligação"
301
+
302
+ #: templates/umap/components/alerts/alert.html:63
303
+ msgid "See their edits in another tab"
304
+ msgstr "Ver as edições deles noutro separador"
305
+
306
+ #: templates/umap/components/alerts/alert.html:64
307
+ msgid "Keep your changes and loose theirs"
308
+ msgstr "Manter as minhas mudanças e perder as deles"
309
+
310
+ #: templates/umap/components/alerts/alert.html:65
311
+ msgid "Keep their changes and loose yours"
312
+ msgstr "Manter as mudanças deles e perder as minhas"
313
+
314
+ #: templates/umap/content.html:24
269
315
  msgid ""
270
316
  "This instance of uMap is currently in read only mode, no creation/edit is "
271
317
  "allowed."
272
318
  msgstr "Esta instância do uMap está atualmente em modo só de leitura, não sendo permitida a criação/edição."
273
319
 
274
- #: templates/umap/content.html:30
320
+ #: templates/umap/content.html:32
275
321
  #, python-format
276
322
  msgid ""
277
323
  "This is a demo instance, used for tests and pre-rolling releases. If you "
@@ -280,11 +326,11 @@ msgid ""
280
326
  "instance, it's <a href=\"%(repo_url)s\">open source</a>!"
281
327
  msgstr "Esta é uma versão de demonstração, utilizada para testes e pré-lançamentos. Se precisar de uma versão estável, por favor utilize <a href=\"%(stable_url)s\">%(stable_url)s</a>. Pode também alojar a sua própria instância, e é em <a href=\"%(repo_url)s\">código aberto</a>!"
282
328
 
283
- #: templates/umap/home.html:8
329
+ #: templates/umap/home.html:11
284
330
  msgid "Map of the uMaps"
285
331
  msgstr "Mapa dos uMaps"
286
332
 
287
- #: templates/umap/home.html:14
333
+ #: templates/umap/home.html:17
288
334
  msgid "Get inspired, browse maps"
289
335
  msgstr "Inspire-se, explore os mapas"
290
336
 
@@ -292,7 +338,7 @@ msgstr "Inspire-se, explore os mapas"
292
338
  msgid "You are logged in. Continuing..."
293
339
  msgstr "Sucesso na identificação. Continuando..."
294
340
 
295
- #: templates/umap/map_list.html:9 views.py:349
341
+ #: templates/umap/map_list.html:9 views.py:348
296
342
  msgid "by"
297
343
  msgstr "por"
298
344
 
@@ -449,7 +495,7 @@ msgstr "Alteração da palavra-passe bem sucedida"
449
495
  msgid "Your password was changed."
450
496
  msgstr "A sua palavra-passe foi alterada"
451
497
 
452
- #: templates/umap/search.html:10
498
+ #: templates/umap/search.html:13
453
499
  #, python-format
454
500
  msgid "%(count)s map found:"
455
501
  msgid_plural "%(count)s maps found:"
@@ -457,11 +503,11 @@ msgstr[0] "%(count)s mapa encontrado:"
457
503
  msgstr[1] "%(count)s mapas encontrados:"
458
504
  msgstr[2] "%(count)s mapas encontrados:"
459
505
 
460
- #: templates/umap/search.html:18
506
+ #: templates/umap/search.html:21
461
507
  msgid "No map found."
462
508
  msgstr "Não foi encontrado nenhum mapa."
463
509
 
464
- #: templates/umap/search.html:21
510
+ #: templates/umap/search.html:24
465
511
  msgid "Latest created maps"
466
512
  msgstr "Últimos mapas criados"
467
513
 
@@ -499,57 +545,61 @@ msgstr "Descarregar %(count)s mapas"
499
545
  msgid "You have no map yet."
500
546
  msgstr "Ainda não tem nenhum mapa."
501
547
 
502
- #: views.py:354
548
+ #: views.py:353
503
549
  msgid "View the map"
504
550
  msgstr "Ver o mapa"
505
551
 
506
- #: views.py:716
552
+ #: views.py:718
507
553
  msgid "See full screen"
508
554
  msgstr "Ver em ecrã inteiro"
509
555
 
510
- #: views.py:817
556
+ #: views.py:846
511
557
  msgid "Map editors updated with success!"
512
558
  msgstr "Os editores do mapa foram atualizados com sucesso!"
513
559
 
514
- #: views.py:854
560
+ #: views.py:882
515
561
  #, python-format
516
562
  msgid "The uMap edit link for your map: %(map_name)s"
517
563
  msgstr "A hiperligação de edição do uMap para o seu mapa: %(map_name)s"
518
564
 
519
- #: views.py:857
565
+ #: views.py:885
520
566
  #, python-format
521
567
  msgid "Here is your secret edit link: %(link)s"
522
568
  msgstr "Aqui está a hiperligação de edição secreta: %(link)s"
523
569
 
524
- #: views.py:864
570
+ #: views.py:892
525
571
  #, python-format
526
572
  msgid "Can't send email to %(email)s"
527
573
  msgstr "Não é possível enviar o email para %(email)s"
528
574
 
529
- #: views.py:867
575
+ #: views.py:895
530
576
  #, python-format
531
577
  msgid "Email sent to %(email)s"
532
578
  msgstr "Email enviado para %(email)s"
533
579
 
534
- #: views.py:878
580
+ #: views.py:906
535
581
  msgid "Only its owner can delete the map."
536
582
  msgstr "Só o proprietário pode eliminar o mapa."
537
583
 
538
- #: views.py:906
584
+ #: views.py:909
585
+ msgid "Map successfully deleted."
586
+ msgstr "Mapa eliminado com sucesso."
587
+
588
+ #: views.py:935
539
589
  #, python-format
540
590
  msgid ""
541
591
  "Your map has been cloned! If you want to edit this map from another "
542
592
  "computer, please use this link: %(anonymous_url)s"
543
593
  msgstr "O seu mapa foi clonado! Se quiser editar este mapa noutro computador, por favor utilize esta hiperligação: %(anonymous_url)s"
544
594
 
545
- #: views.py:911
595
+ #: views.py:940
546
596
  msgid "Congratulations, your map has been cloned!"
547
597
  msgstr "Parabéns, o seu mapa foi clonado!"
548
598
 
549
- #: views.py:1146
599
+ #: views.py:1175
550
600
  msgid "Layer successfully deleted."
551
601
  msgstr "Camada eliminada com sucesso."
552
602
 
553
- #: views.py:1168
603
+ #: views.py:1197
554
604
  msgid "Permissions updated with success!"
555
605
  msgstr "Permissões atualizadas com sucesso!"
umap/static/umap/base.css CHANGED
@@ -61,16 +61,22 @@ kbd {
61
61
  white-space: nowrap;
62
62
  }
63
63
  h3 {
64
- font-size: 1.2rem;
64
+ font-size: 1rem;
65
65
  }
66
66
  h4 {
67
- font-size: 1.1rem;
67
+ font-size: 0.9rem;
68
+ }
69
+ h5 {
70
+ font-size: 0.8rem;
71
+ }
72
+ h6 {
73
+ font-size: 0.7rem;
68
74
  }
69
75
  hgroup > * {
70
76
  margin-bottom: 0;
71
77
  }
72
78
  hgroup {
73
- margin-bottom: var(--box-space);
79
+ margin-bottom: var(--box-margin);
74
80
  }
75
81
  hgroup > :not(:first-child):last-child {
76
82
  font-weight: normal;
@@ -179,8 +185,11 @@ input[type="range"] {
179
185
  margin-bottom: 5px;
180
186
  width: 100%;
181
187
  }
188
+ input[type="radio"] {
189
+ margin-right: var(--text-margin);
190
+ }
182
191
  input[type="checkbox"] {
183
- margin: 0 5px;
192
+ margin: 0 var(--text-margin);
184
193
  vertical-align: middle;
185
194
  appearance: none;
186
195
  }
@@ -200,28 +209,6 @@ input[type=checkbox]:checked:after {
200
209
  content: '✓';
201
210
  color: var(--color-darkGray);
202
211
  }
203
- label input[type="radio"] {
204
- appearance: none;
205
- margin-right: 10px;
206
- background: var(--color-darkGray);
207
- }
208
- input[type="radio"]:after {
209
- display: inline-block;
210
- content: '⦾';
211
- width: 16px;
212
- height: 16px;
213
- border-radius: 50%;
214
- cursor: pointer;
215
- text-align: center;
216
- vertical-align: bottom;
217
- font-size: 1.2rem;
218
- line-height: 0.7;
219
- }
220
- label input[type="radio"]:checked:after {
221
- background-color: var(--color-lightCyan);
222
- color: var(--color-darkGray);
223
- content: '⦿';
224
- }
225
212
 
226
213
  input[data-modified=true] {
227
214
  background-color: var(--color-lightCyan);
@@ -333,7 +320,7 @@ label {
333
320
  width: 100%;
334
321
  }
335
322
  label + label {
336
- margin-top: var(--box-space);
323
+ margin-top: var(--box-margin);
337
324
  }
338
325
  .content label {
339
326
  font-weight: bold;
@@ -395,7 +382,7 @@ details summary {
395
382
  border: 1px solid var(--color-darkGray);
396
383
  }
397
384
  fieldset legend {
398
- font-size: 1rem;
385
+ font-size: .9rem;
399
386
  padding: 0 5px;
400
387
  }
401
388
 
@@ -800,6 +787,11 @@ input[type=hidden].blur + [type="button"] {
800
787
  /* Various */
801
788
  /* *********** */
802
789
 
790
+ .text {
791
+ word-break: break-word;
792
+ white-space: pre-line;
793
+ }
794
+
803
795
  .umap-dragover:before {
804
796
  content: ' ';
805
797
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="arcs">%3Cpath d="M3 15v4c0 1.1.9 2 2 2h14a2 2 0 0 0 2-2v-4M17 9l-5 5-5-5M12 12.8V2.5"/>%3C/svg>');
@@ -1,6 +1,13 @@
1
+ .importers h3 {
2
+ font-size: 1rem;
3
+ }
4
+ .importers h4 {
5
+ font-size: .9rem;
6
+ }
7
+
1
8
  .importers ul [type=button] {
2
9
  background: none;
3
- font-size: 1rem;
10
+ font-size: 0.75rem;
4
11
  border: none;
5
12
  width: initial;
6
13
  display: inline-block;
@@ -52,7 +52,6 @@
52
52
  .panel .counter {
53
53
  display: block;
54
54
  margin-top: var(--panel-gutter);
55
- font-weight: bold;
56
55
  }
57
56
  @media all and (orientation:landscape) {
58
57
  .panel {
@@ -22,6 +22,7 @@
22
22
  </rdf:RDF>
23
23
  </metadata>
24
24
  <g id="layer1" transform="translate(0 -812.36)">
25
+ <path id="path6" transform="translate(0 812.36)" d="m106.59 43.849c-3.1009-0.58252-5.5294-2.8635-6.3194-5.9353-0.23482-0.91317-0.29424-2.2415-0.14177-3.1695 0.51108-3.1108 2.8336-5.668 5.8628-6.455 3.7298-0.96909 7.5978 0.86166 9.2444 4.3755 0.52616 1.1228 0.76105 2.332 0.7086 3.6477-0.0496 1.2454-0.28677 2.1826-0.82249 3.2508-1.0498 2.0933-2.8894 3.5595-5.2481 4.1831-0.49134 0.1299-0.73215 0.15444-1.689 0.17211-0.81094 0.01498-1.2469-4e-3 -1.5952-0.06942zm2.4397-5.8477v-3.0462h-2.0509v6.0923h2.0509zm-0.53434-4.5639c0.33094-0.09915 0.70763-0.44461 0.87372-0.80128 0.4662-1.0012-0.2615-2.1447-1.3648-2.1447-0.44164 0-0.73107 0.12392-1.0653 0.45609-0.42453 0.42196-0.54914 0.93769-0.37666 1.5589 0.0814 0.29328 0.60383 0.8291 0.89905 0.92215 0.28553 0.09 0.74987 0.09398 1.034 0.0089z" fill="#f2f2f2" stroke="#999" stroke-width=".25" style="paint-order:fill markers stroke"/>
25
26
  <text id="text4457" x="5.7867966" y="897.80786" fill="#000000" font-family="sans-serif" letter-spacing="0px" word-spacing="0px" style="line-height:0%" xml:space="preserve"><tspan id="tspan4459" x="5.7867966" y="897.80786" font-family="sans-serif" font-size="40px" style="line-height:1.25"> </tspan></text>
26
27
  <g id="g3001" transform="translate(-23.256 -119.39)">
27
28
  <path id="path3014" d="m35.256 935.75c-4.4124 0-8.0001 3.5878-8.0001 8.0001 0 4.4124 3.5878 8.0001 8.0001 8.0001s8.0001-3.5878 8.0001-8.0001c0-4.4124-3.5878-8.0001-8.0001-8.0001zm0 1.0003c3.8719 0 6.9999 3.1279 6.9999 6.9999 0 3.8719-3.1279 6.9999-6.9999 6.9999s-6.9999-3.128-6.9999-6.9999c0-3.8719 3.1279-6.9999 6.9999-6.9999z" color="#000000" color-rendering="auto" fill="#f2f2f2" image-rendering="auto" shape-rendering="auto" solid-color="#000000" stroke="#999" stroke-width=".25" style="isolation:auto;mix-blend-mode:normal;text-decoration-color:#000000;text-decoration-line:none;text-decoration-style:solid;text-indent:0;text-transform:none;white-space:normal"/>
@@ -44,8 +45,6 @@
44
45
  </g>
45
46
  <path id="path3684-2" d="m63.714 890.36-1.1428 1.1428 2.2857 2.2858 1.1428-1.1429zm-1.7143 1.7143-6.2857 6.2857 2.2857 2.2857 6.2857-6.2857zm-6.2857 6.2857-1.7143 4 4-1.7143z" fill="#b3b3b3"/>
46
47
  <path id="table-5-8-8-6-1" d="m54 914.36v1h1v-1zm2 0v1h10v-1zm-2 2v1h1v-1zm2 0v1h10v-1zm-2 2v1h1v-1zm2 0v1h10v-1zm-2 2v1h1v-1zm2 0v1h10v-1zm-2 2v1h1v-1zm2 0v1h10v-1zm-2 2v1h1v-1zm2 0v1h10v-1z" fill="#f2f2f2"/>
47
- <circle id="path3764" cx="108" cy="844.36" r="1.5" fill="#f2f2f2" stroke="#999" stroke-width=".25"/>
48
- <path id="rect4274" d="m107 847.36h2v6h-2z" fill="#f2f2f2" stroke="#999" stroke-width=".25"/>
49
48
  <g id="g4717" transform="translate(-54.789 -114.48)">
50
49
  <path id="path3862" transform="translate(-1.2108 854.84)" d="m141.27 173.42-6.7559 2.6797 0.95313 6.3457 5.8711 3.127 4.1484-7.873zm-1.4473 2.4883 2.9902 1.6016-0.5918 2.4316-3.3574 1.5039-1.7383-3.8106z" fill="#f2f2f2" fill-rule="evenodd" stroke="#999" stroke-width=".25"/>
51
50
  </g>
@@ -117,7 +116,6 @@
117
116
  <path id="path4353-1-6-1-3-3-9-6" transform="matrix(1.9 0 0 1.9 -245.02 606.04)" d="m222.11 179.64-1.0488 1.0488 1.582 1.5801-1.582 1.582 1.0488 1.0469 1.582-1.5801 1.5801 1.5801 1.0488-1.0469-1.582-1.582 1.582-1.5801-1.0488-1.0488-1.5801 1.5801z" color="#000000" color-rendering="auto" fill="#f2f2f2" fill-rule="evenodd" image-rendering="auto" shape-rendering="auto" solid-color="#000000" stroke="none" style="isolation:auto;mix-blend-mode:normal;text-decoration-color:#000000;text-decoration-line:none;text-decoration-style:solid;text-indent:0;text-transform:none;white-space:normal"/>
118
117
  </g>
119
118
  </g>
120
- <path id="path3014-4" d="m108 840.36c-4.4124 0-8.0001 3.5878-8.0001 8.0001 0 4.4124 3.5878 8.0001 8.0001 8.0001s8.0001-3.5878 8.0001-8.0001c0-4.4124-3.5878-8.0001-8.0001-8.0001zm0 1.0003c3.8719 0 6.9999 3.1279 6.9999 6.9999 0 3.8719-3.1279 6.9999-6.9999 6.9999s-6.9999-3.128-6.9999-6.9999c0-3.8719 3.1279-6.9999 6.9999-6.9999z" color="#000000" color-rendering="auto" fill="#f2f2f2" image-rendering="auto" shape-rendering="auto" solid-color="#000000" stroke="#999" stroke-width=".25" style="isolation:auto;mix-blend-mode:normal;text-decoration-color:#000000;text-decoration-line:none;text-decoration-style:solid;text-indent:0;text-transform:none;white-space:normal"/>
121
119
  <rect id="rect4237" x="77" y="889.36" width="2" height="2" fill="#f2f2f2"/>
122
120
  <rect id="rect4239" x="81" y="889.36" width="2" height="2" fill="#f2f2f2"/>
123
121
  <rect id="rect4241" x="85" y="889.36" width="2" height="2" fill="#f2f2f2"/>