umap-project 3.0.4__py3-none-any.whl → 3.0.5__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/el/LC_MESSAGES/django.mo +0 -0
- umap/locale/el/LC_MESSAGES/django.po +136 -56
- umap/locale/en/LC_MESSAGES/django.po +18 -18
- umap/locale/es/LC_MESSAGES/django.mo +0 -0
- umap/locale/es/LC_MESSAGES/django.po +136 -56
- umap/locale/nl/LC_MESSAGES/django.mo +0 -0
- umap/locale/nl/LC_MESSAGES/django.po +1 -1
- umap/models.py +1 -0
- umap/settings/base.py +1 -0
- umap/static/umap/css/bar.css +1 -1
- umap/static/umap/css/tooltip.css +13 -0
- umap/static/umap/js/modules/autocomplete.js +7 -8
- umap/static/umap/js/modules/browser.js +89 -94
- umap/static/umap/js/modules/caption.js +6 -4
- umap/static/umap/js/modules/data/features.js +1 -19
- umap/static/umap/js/modules/data/layer.js +100 -61
- umap/static/umap/js/modules/facets.js +1 -1
- umap/static/umap/js/modules/form/fields.js +1 -1
- umap/static/umap/js/modules/importer.js +1 -1
- umap/static/umap/js/modules/managers.js +46 -0
- umap/static/umap/js/modules/permissions.js +1 -1
- umap/static/umap/js/modules/rendering/controls.js +251 -0
- umap/static/umap/js/modules/rendering/layers/heat.js +5 -0
- umap/static/umap/js/modules/rendering/map.js +21 -10
- umap/static/umap/js/modules/rendering/ui.js +0 -1
- umap/static/umap/js/modules/rules.js +56 -46
- umap/static/umap/js/modules/schema.js +5 -1
- umap/static/umap/js/modules/share.js +2 -2
- umap/static/umap/js/modules/slideshow.js +1 -1
- umap/static/umap/js/modules/sync/engine.js +23 -9
- umap/static/umap/js/modules/ui/bar.js +2 -2
- umap/static/umap/js/modules/ui/base.js +13 -0
- umap/static/umap/js/modules/umap.js +69 -111
- umap/static/umap/js/umap.controls.js +0 -310
- umap/static/umap/js/umap.core.js +0 -40
- umap/static/umap/locale/am_ET.js +8 -3
- umap/static/umap/locale/am_ET.json +8 -3
- umap/static/umap/locale/ar.js +8 -3
- umap/static/umap/locale/ar.json +8 -3
- umap/static/umap/locale/ast.js +8 -3
- umap/static/umap/locale/ast.json +8 -3
- umap/static/umap/locale/bg.js +8 -3
- umap/static/umap/locale/bg.json +8 -3
- umap/static/umap/locale/br.js +8 -3
- umap/static/umap/locale/br.json +8 -3
- umap/static/umap/locale/ca.js +20 -17
- umap/static/umap/locale/ca.json +20 -17
- umap/static/umap/locale/cs_CZ.js +5 -2
- umap/static/umap/locale/cs_CZ.json +5 -2
- umap/static/umap/locale/da.js +8 -3
- umap/static/umap/locale/da.json +8 -3
- umap/static/umap/locale/de.js +5 -2
- umap/static/umap/locale/de.json +5 -2
- umap/static/umap/locale/el.js +92 -87
- umap/static/umap/locale/el.json +92 -87
- umap/static/umap/locale/en.js +5 -2
- umap/static/umap/locale/en.json +5 -2
- umap/static/umap/locale/en_US.json +8 -3
- umap/static/umap/locale/es.js +18 -15
- umap/static/umap/locale/es.json +18 -15
- umap/static/umap/locale/et.js +8 -3
- umap/static/umap/locale/et.json +8 -3
- umap/static/umap/locale/eu.js +5 -2
- umap/static/umap/locale/eu.json +5 -2
- umap/static/umap/locale/fa_IR.js +5 -2
- umap/static/umap/locale/fa_IR.json +5 -2
- umap/static/umap/locale/fi.js +8 -3
- umap/static/umap/locale/fi.json +8 -3
- umap/static/umap/locale/fr.js +5 -2
- umap/static/umap/locale/fr.json +5 -2
- umap/static/umap/locale/gl.js +5 -2
- umap/static/umap/locale/gl.json +5 -2
- umap/static/umap/locale/he.js +8 -3
- umap/static/umap/locale/he.json +8 -3
- umap/static/umap/locale/hr.js +8 -3
- umap/static/umap/locale/hr.json +8 -3
- umap/static/umap/locale/hu.js +5 -2
- umap/static/umap/locale/hu.json +5 -2
- umap/static/umap/locale/id.js +8 -3
- umap/static/umap/locale/id.json +8 -3
- umap/static/umap/locale/is.js +8 -3
- umap/static/umap/locale/is.json +8 -3
- umap/static/umap/locale/it.js +5 -2
- umap/static/umap/locale/it.json +5 -2
- umap/static/umap/locale/ja.js +8 -3
- umap/static/umap/locale/ja.json +8 -3
- umap/static/umap/locale/ko.js +8 -3
- umap/static/umap/locale/ko.json +8 -3
- umap/static/umap/locale/lt.js +8 -3
- umap/static/umap/locale/lt.json +8 -3
- umap/static/umap/locale/ms.js +8 -3
- umap/static/umap/locale/ms.json +8 -3
- umap/static/umap/locale/nl.js +7 -4
- umap/static/umap/locale/nl.json +7 -4
- umap/static/umap/locale/no.js +8 -3
- umap/static/umap/locale/no.json +8 -3
- umap/static/umap/locale/pl.js +8 -3
- umap/static/umap/locale/pl.json +8 -3
- umap/static/umap/locale/pl_PL.json +8 -3
- umap/static/umap/locale/pt.js +5 -2
- umap/static/umap/locale/pt.json +5 -2
- umap/static/umap/locale/pt_BR.js +8 -3
- umap/static/umap/locale/pt_BR.json +8 -3
- umap/static/umap/locale/pt_PT.js +5 -2
- umap/static/umap/locale/pt_PT.json +5 -2
- umap/static/umap/locale/ro.js +8 -3
- umap/static/umap/locale/ro.json +8 -3
- umap/static/umap/locale/ru.js +8 -3
- umap/static/umap/locale/ru.json +8 -3
- umap/static/umap/locale/sk_SK.js +8 -3
- umap/static/umap/locale/sk_SK.json +8 -3
- umap/static/umap/locale/sl.js +8 -3
- umap/static/umap/locale/sl.json +8 -3
- umap/static/umap/locale/sr.js +8 -3
- umap/static/umap/locale/sr.json +8 -3
- umap/static/umap/locale/sv.js +8 -3
- umap/static/umap/locale/sv.json +8 -3
- umap/static/umap/locale/th_TH.js +8 -3
- umap/static/umap/locale/th_TH.json +8 -3
- umap/static/umap/locale/tr.js +8 -3
- umap/static/umap/locale/tr.json +8 -3
- umap/static/umap/locale/uk_UA.js +8 -3
- umap/static/umap/locale/uk_UA.json +8 -3
- umap/static/umap/locale/vi.js +8 -3
- umap/static/umap/locale/vi.json +8 -3
- umap/static/umap/locale/vi_VN.json +8 -3
- umap/static/umap/locale/zh.js +8 -3
- umap/static/umap/locale/zh.json +8 -3
- umap/static/umap/locale/zh_CN.json +8 -3
- umap/static/umap/locale/zh_TW.Big5.json +8 -3
- umap/static/umap/locale/zh_TW.js +5 -2
- umap/static/umap/locale/zh_TW.json +5 -2
- umap/static/umap/map.css +9 -31
- umap/static/umap/vendors/togeojson/togeojson.es.js +350 -177
- umap/static/umap/vendors/togeojson/togeojson.es.mjs.map +1 -1
- umap/templates/umap/design_system.html +355 -0
- umap/tests/base.py +2 -2
- umap/tests/fixtures/heatmap_data.json +1044 -0
- umap/tests/integration/test_browser.py +3 -3
- umap/tests/integration/test_conditional_rules.py +2 -2
- umap/tests/integration/test_datalayer.py +0 -1
- umap/tests/integration/test_edit_map.py +7 -7
- umap/tests/integration/test_facets_browser.py +2 -2
- umap/tests/integration/test_heatmap.py +41 -0
- umap/tests/integration/test_import.py +58 -1
- umap/tests/integration/test_map.py +7 -8
- umap/tests/integration/test_optimistic_merge.py +12 -4
- umap/tests/integration/test_querystring.py +1 -1
- umap/tests/integration/test_remote_data.py +79 -0
- umap/tests/integration/test_websocket_sync.py +2 -2
- umap/urls.py +1 -0
- umap/views.py +7 -0
- {umap_project-3.0.4.dist-info → umap_project-3.0.5.dist-info}/METADATA +8 -8
- {umap_project-3.0.4.dist-info → umap_project-3.0.5.dist-info}/RECORD +158 -152
- {umap_project-3.0.4.dist-info → umap_project-3.0.5.dist-info}/WHEEL +0 -0
- {umap_project-3.0.4.dist-info → umap_project-3.0.5.dist-info}/entry_points.txt +0 -0
- {umap_project-3.0.4.dist-info → umap_project-3.0.5.dist-info}/licenses/LICENSE +0 -0
|
@@ -17,7 +17,7 @@ msgid ""
|
|
|
17
17
|
msgstr ""
|
|
18
18
|
"Project-Id-Version: uMap\n"
|
|
19
19
|
"Report-Msgid-Bugs-To: \n"
|
|
20
|
-
"POT-Creation-Date: 2025-
|
|
20
|
+
"POT-Creation-Date: 2025-04-11 15:30+0000\n"
|
|
21
21
|
"PO-Revision-Date: 2013-11-22 14:00+0000\n"
|
|
22
22
|
"Last-Translator: Ignacio L'Episcopo, 2024-2025\n"
|
|
23
23
|
"Language-Team: Spanish (http://app.transifex.com/openstreetmap/umap/language/es/)\n"
|
|
@@ -44,137 +44,205 @@ msgstr "Sitio en modo solo lectura por mantenimiento"
|
|
|
44
44
|
msgid ""
|
|
45
45
|
"Using “%(name)s” to authenticate is deprecated and will be removed soon. "
|
|
46
46
|
"Please configure another provider below before losing access to your account"
|
|
47
|
-
" and maps."
|
|
48
|
-
msgstr ""
|
|
47
|
+
" and maps. Then, please logout and login again with the new provider."
|
|
48
|
+
msgstr "El uso de “%(name)s” para autenticar está obsoleto y se eliminará pronto. Por favor, configura otro proveedor a continuación antes de perder acceso a tu cuenta y mapas. Luego, cierra sesión e inicia sesión nuevamente con el nuevo proveedor."
|
|
49
49
|
|
|
50
|
-
#: models.py:
|
|
50
|
+
#: models.py:61 models.py:80
|
|
51
51
|
msgid "name"
|
|
52
52
|
msgstr "nombre"
|
|
53
53
|
|
|
54
|
-
#: models.py:
|
|
54
|
+
#: models.py:63 models.py:493
|
|
55
55
|
msgid "description"
|
|
56
56
|
msgstr "descripción"
|
|
57
57
|
|
|
58
|
-
#: models.py:
|
|
58
|
+
#: models.py:111
|
|
59
59
|
msgid "details"
|
|
60
60
|
msgstr "detalles"
|
|
61
61
|
|
|
62
|
-
#: models.py:
|
|
62
|
+
#: models.py:112
|
|
63
63
|
msgid "Link to a page where the licence is detailed."
|
|
64
64
|
msgstr "Enlace a una página donde se detalla la licencia."
|
|
65
65
|
|
|
66
|
-
#: models.py:
|
|
66
|
+
#: models.py:122
|
|
67
67
|
msgid "URL template using OSM tile format"
|
|
68
68
|
msgstr "Plantilla de URL usando el formato de teselas OSM"
|
|
69
69
|
|
|
70
|
-
#: models.py:
|
|
70
|
+
#: models.py:128
|
|
71
71
|
msgid "Order of the tilelayers in the edit box"
|
|
72
72
|
msgstr "Orden de las capas de teselas en el cuadro de edición"
|
|
73
73
|
|
|
74
|
-
#: models.py:
|
|
74
|
+
#: models.py:176 models.py:487
|
|
75
75
|
msgid "Only editable with secret edit link"
|
|
76
76
|
msgstr "Solo editable con enlace secreto de edición"
|
|
77
77
|
|
|
78
|
-
#: models.py:
|
|
78
|
+
#: models.py:177 models.py:488
|
|
79
79
|
msgid "Everyone can edit"
|
|
80
80
|
msgstr "Todos pueden editar"
|
|
81
81
|
|
|
82
|
-
#: models.py:
|
|
82
|
+
#: models.py:180 models.py:481
|
|
83
83
|
msgid "Everyone"
|
|
84
84
|
msgstr "Todos"
|
|
85
85
|
|
|
86
|
-
#: models.py:
|
|
86
|
+
#: models.py:181 models.py:190 models.py:482
|
|
87
87
|
msgid "Editors and team only"
|
|
88
88
|
msgstr "Solo editores y equipo"
|
|
89
89
|
|
|
90
|
-
#: models.py:
|
|
90
|
+
#: models.py:182 models.py:483
|
|
91
91
|
msgid "Owner only"
|
|
92
92
|
msgstr "Solo el propietario"
|
|
93
93
|
|
|
94
|
-
#: models.py:
|
|
94
|
+
#: models.py:185
|
|
95
95
|
msgid "Draft (private)"
|
|
96
96
|
msgstr "Borrador (privado)"
|
|
97
97
|
|
|
98
|
-
#: models.py:
|
|
98
|
+
#: models.py:186
|
|
99
99
|
msgid "Everyone (public)"
|
|
100
100
|
msgstr "Todos (público)"
|
|
101
101
|
|
|
102
|
-
#: models.py:
|
|
102
|
+
#: models.py:189
|
|
103
103
|
msgid "Anyone with link"
|
|
104
104
|
msgstr "Cualquiera con el enlace"
|
|
105
105
|
|
|
106
|
-
#: models.py:
|
|
106
|
+
#: models.py:191
|
|
107
107
|
msgid "Blocked"
|
|
108
108
|
msgstr "Bloqueado"
|
|
109
109
|
|
|
110
|
-
#: models.py:
|
|
110
|
+
#: models.py:192 models.py:477
|
|
111
111
|
msgid "Deleted"
|
|
112
112
|
msgstr "Eliminado"
|
|
113
113
|
|
|
114
|
-
#: models.py:
|
|
114
|
+
#: models.py:195
|
|
115
115
|
msgid "center"
|
|
116
116
|
msgstr "centro"
|
|
117
117
|
|
|
118
|
-
#: models.py:
|
|
118
|
+
#: models.py:196
|
|
119
119
|
msgid "zoom"
|
|
120
120
|
msgstr "zoom"
|
|
121
121
|
|
|
122
|
-
#: models.py:
|
|
122
|
+
#: models.py:198
|
|
123
123
|
msgid "locate"
|
|
124
124
|
msgstr "localizar"
|
|
125
125
|
|
|
126
|
-
#: models.py:
|
|
126
|
+
#: models.py:198
|
|
127
127
|
msgid "Locate user on load?"
|
|
128
128
|
msgstr "¿Localizar al usuario al cargar?"
|
|
129
129
|
|
|
130
|
-
#: models.py:
|
|
130
|
+
#: models.py:202
|
|
131
131
|
msgid "Choose the map licence."
|
|
132
132
|
msgstr "Elige la licencia del mapa."
|
|
133
133
|
|
|
134
|
-
#: models.py:
|
|
134
|
+
#: models.py:203
|
|
135
135
|
msgid "licence"
|
|
136
136
|
msgstr "licencia"
|
|
137
137
|
|
|
138
|
-
#: models.py:
|
|
138
|
+
#: models.py:214
|
|
139
139
|
msgid "owner"
|
|
140
140
|
msgstr "propietario"
|
|
141
141
|
|
|
142
|
-
#: models.py:
|
|
142
|
+
#: models.py:218
|
|
143
143
|
msgid "editors"
|
|
144
144
|
msgstr "editores"
|
|
145
145
|
|
|
146
|
-
#: models.py:
|
|
146
|
+
#: models.py:224
|
|
147
147
|
msgid "team"
|
|
148
148
|
msgstr "equipo"
|
|
149
149
|
|
|
150
|
-
#: models.py:
|
|
150
|
+
#: models.py:230 models.py:509
|
|
151
151
|
msgid "edit status"
|
|
152
152
|
msgstr "estado de edición"
|
|
153
153
|
|
|
154
|
-
#: models.py:
|
|
154
|
+
#: models.py:235 models.py:514
|
|
155
155
|
msgid "share status"
|
|
156
156
|
msgstr "estado de compartir"
|
|
157
157
|
|
|
158
|
-
#: models.py:
|
|
158
|
+
#: models.py:238 models.py:504
|
|
159
159
|
msgid "settings"
|
|
160
160
|
msgstr "ajustes"
|
|
161
161
|
|
|
162
|
-
#: models.py:
|
|
162
|
+
#: models.py:410
|
|
163
163
|
msgid "Clone of"
|
|
164
164
|
msgstr "Clon de"
|
|
165
165
|
|
|
166
|
-
#: models.py:
|
|
166
|
+
#: models.py:476 models.py:480 models.py:486
|
|
167
167
|
msgid "Inherit"
|
|
168
168
|
msgstr "Heredar"
|
|
169
169
|
|
|
170
|
-
#: models.py:
|
|
170
|
+
#: models.py:499
|
|
171
171
|
msgid "display on load"
|
|
172
172
|
msgstr "mostrar al cargar"
|
|
173
173
|
|
|
174
|
-
#: models.py:
|
|
174
|
+
#: models.py:500
|
|
175
175
|
msgid "Display this layer on load."
|
|
176
176
|
msgstr "Mostrar esta capa al cargar."
|
|
177
177
|
|
|
178
|
+
#: settings/base.py:295
|
|
179
|
+
msgid "Art and Culture"
|
|
180
|
+
msgstr "Arte y cultura"
|
|
181
|
+
|
|
182
|
+
#: settings/base.py:296
|
|
183
|
+
msgid "Cycling"
|
|
184
|
+
msgstr "Ciclismo"
|
|
185
|
+
|
|
186
|
+
#: settings/base.py:297
|
|
187
|
+
msgid "Business"
|
|
188
|
+
msgstr "Negocios"
|
|
189
|
+
|
|
190
|
+
#: settings/base.py:298
|
|
191
|
+
msgid "Environment"
|
|
192
|
+
msgstr "Medio ambiente"
|
|
193
|
+
|
|
194
|
+
#: settings/base.py:299
|
|
195
|
+
msgid "Education"
|
|
196
|
+
msgstr "Educación"
|
|
197
|
+
|
|
198
|
+
#: settings/base.py:300
|
|
199
|
+
msgid "Food and Agriculture"
|
|
200
|
+
msgstr "Alimentos y agricultura"
|
|
201
|
+
|
|
202
|
+
#: settings/base.py:301
|
|
203
|
+
msgid "Geopolitics"
|
|
204
|
+
msgstr "Geopolítica"
|
|
205
|
+
|
|
206
|
+
#: settings/base.py:302
|
|
207
|
+
msgid "Health"
|
|
208
|
+
msgstr "Salud"
|
|
209
|
+
|
|
210
|
+
#: settings/base.py:303
|
|
211
|
+
msgid "Hiking"
|
|
212
|
+
msgstr "Senderismo"
|
|
213
|
+
|
|
214
|
+
#: settings/base.py:304
|
|
215
|
+
msgid "History"
|
|
216
|
+
msgstr "Historia"
|
|
217
|
+
|
|
218
|
+
#: settings/base.py:305
|
|
219
|
+
msgid "Public sector"
|
|
220
|
+
msgstr "Sector público"
|
|
221
|
+
|
|
222
|
+
#: settings/base.py:306
|
|
223
|
+
msgid "Science"
|
|
224
|
+
msgstr "Ciencia"
|
|
225
|
+
|
|
226
|
+
#: settings/base.py:307
|
|
227
|
+
msgid "Shopping"
|
|
228
|
+
msgstr "Compras"
|
|
229
|
+
|
|
230
|
+
#: settings/base.py:308
|
|
231
|
+
msgid "Sport and Leisure"
|
|
232
|
+
msgstr "Deporte y ocio"
|
|
233
|
+
|
|
234
|
+
#: settings/base.py:309
|
|
235
|
+
msgid "Travel"
|
|
236
|
+
msgstr "Viajes"
|
|
237
|
+
|
|
238
|
+
#: settings/base.py:310
|
|
239
|
+
msgid "Transports"
|
|
240
|
+
msgstr "Transporte"
|
|
241
|
+
|
|
242
|
+
#: settings/base.py:311
|
|
243
|
+
msgid "Tourism"
|
|
244
|
+
msgstr "Turismo"
|
|
245
|
+
|
|
178
246
|
#: templates/403.html:8
|
|
179
247
|
msgid ""
|
|
180
248
|
"<a href=\"https://discover.umap-project.org/support/faq/#map-statuses\" "
|
|
@@ -427,7 +495,7 @@ msgstr "Mis equipos"
|
|
|
427
495
|
msgid "Map of the uMaps"
|
|
428
496
|
msgstr "Mapa de los uMaps"
|
|
429
497
|
|
|
430
|
-
#: templates/umap/home.html:
|
|
498
|
+
#: templates/umap/home.html:25
|
|
431
499
|
msgid "Get inspired, browse maps"
|
|
432
500
|
msgstr "Inspírate, navega por los mapas"
|
|
433
501
|
|
|
@@ -435,11 +503,15 @@ msgstr "Inspírate, navega por los mapas"
|
|
|
435
503
|
msgid "You are logged in. Continuing..."
|
|
436
504
|
msgstr "Has iniciado sesión. Continuando..."
|
|
437
505
|
|
|
438
|
-
#: templates/umap/map_list.html:
|
|
506
|
+
#: templates/umap/map_list.html:18 views.py:444
|
|
439
507
|
msgid "by"
|
|
440
508
|
msgstr "por"
|
|
441
509
|
|
|
442
|
-
#: templates/umap/map_list.html:
|
|
510
|
+
#: templates/umap/map_list.html:22
|
|
511
|
+
msgid "See the map"
|
|
512
|
+
msgstr "Ver el mapa"
|
|
513
|
+
|
|
514
|
+
#: templates/umap/map_list.html:28
|
|
443
515
|
msgid "More"
|
|
444
516
|
msgstr "Más"
|
|
445
517
|
|
|
@@ -599,11 +671,15 @@ msgstr[0] "%(count)s mapa encontrado:"
|
|
|
599
671
|
msgstr[1] "%(count)s mapas encontrados:"
|
|
600
672
|
msgstr[2] "%(count)s mapas encontrados:"
|
|
601
673
|
|
|
602
|
-
#: templates/umap/search.html:
|
|
674
|
+
#: templates/umap/search.html:30
|
|
603
675
|
msgid "No map found."
|
|
604
676
|
msgstr "No se ha encontrado ningún mapa."
|
|
605
677
|
|
|
606
|
-
#: templates/umap/search.html:
|
|
678
|
+
#: templates/umap/search.html:36
|
|
679
|
+
msgid "Latest created maps in category"
|
|
680
|
+
msgstr "Últimos mapas creados en la categoría"
|
|
681
|
+
|
|
682
|
+
#: templates/umap/search.html:43
|
|
607
683
|
msgid "Latest created maps"
|
|
608
684
|
msgstr "Últimos mapas creados"
|
|
609
685
|
|
|
@@ -611,7 +687,11 @@ msgstr "Últimos mapas creados"
|
|
|
611
687
|
msgid "Search maps"
|
|
612
688
|
msgstr "Buscar mapas"
|
|
613
689
|
|
|
614
|
-
#: templates/umap/search_bar.html:
|
|
690
|
+
#: templates/umap/search_bar.html:14
|
|
691
|
+
msgid "Any category"
|
|
692
|
+
msgstr "Cualquier categoría"
|
|
693
|
+
|
|
694
|
+
#: templates/umap/search_bar.html:19
|
|
615
695
|
msgid "Search"
|
|
616
696
|
msgstr "Buscar"
|
|
617
697
|
|
|
@@ -675,70 +755,70 @@ msgstr "Usuarios"
|
|
|
675
755
|
msgid "New team"
|
|
676
756
|
msgstr "Nuevo equipo"
|
|
677
757
|
|
|
678
|
-
#: views.py:
|
|
758
|
+
#: views.py:235
|
|
679
759
|
msgid "Cannot delete a team with more than one member"
|
|
680
760
|
msgstr "No se puede eliminar un equipo con más de un miembro"
|
|
681
761
|
|
|
682
|
-
#: views.py:
|
|
762
|
+
#: views.py:239
|
|
683
763
|
#, python-format
|
|
684
764
|
msgid "Team “%(name)s” has been deleted"
|
|
685
765
|
msgstr "El equipo “%(name)s” ha sido eliminado"
|
|
686
766
|
|
|
687
|
-
#: views.py:
|
|
767
|
+
#: views.py:449
|
|
688
768
|
msgid "View the map"
|
|
689
769
|
msgstr "Ver el mapa"
|
|
690
770
|
|
|
691
|
-
#: views.py:
|
|
771
|
+
#: views.py:845
|
|
692
772
|
msgid "See full screen"
|
|
693
773
|
msgstr "Ver en pantalla completa"
|
|
694
774
|
|
|
695
|
-
#: views.py:
|
|
775
|
+
#: views.py:988
|
|
696
776
|
msgid "Map editors updated with success!"
|
|
697
777
|
msgstr "¡Los editores del mapas han sido actualizados con éxito!"
|
|
698
778
|
|
|
699
|
-
#: views.py:
|
|
779
|
+
#: views.py:1024
|
|
700
780
|
#, python-format
|
|
701
781
|
msgid "The uMap edit link for your map: %(map_name)s"
|
|
702
782
|
msgstr "El enlace de edición de uMap para tu mapa: %(map_name)s"
|
|
703
783
|
|
|
704
|
-
#: views.py:
|
|
784
|
+
#: views.py:1027
|
|
705
785
|
#, python-format
|
|
706
786
|
msgid "Here is your secret edit link: %(link)s"
|
|
707
787
|
msgstr "Aquí está tu enlace secreto de edición: %(link)s"
|
|
708
788
|
|
|
709
|
-
#: views.py:
|
|
789
|
+
#: views.py:1034
|
|
710
790
|
#, python-format
|
|
711
791
|
msgid "Can't send email to %(email)s"
|
|
712
792
|
msgstr "No se puede enviar correo electrónico a %(email)s"
|
|
713
793
|
|
|
714
|
-
#: views.py:
|
|
794
|
+
#: views.py:1037
|
|
715
795
|
#, python-format
|
|
716
796
|
msgid "Email sent to %(email)s"
|
|
717
797
|
msgstr "Correo electrónico enviado a %(email)s"
|
|
718
798
|
|
|
719
|
-
#: views.py:
|
|
799
|
+
#: views.py:1048
|
|
720
800
|
msgid "Only its owner can delete the map."
|
|
721
801
|
msgstr "Sólo el propietario puede borrar el mapa."
|
|
722
802
|
|
|
723
|
-
#: views.py:
|
|
803
|
+
#: views.py:1054
|
|
724
804
|
msgid "Map successfully deleted."
|
|
725
805
|
msgstr "Mapa eliminado correctamente."
|
|
726
806
|
|
|
727
|
-
#: views.py:
|
|
807
|
+
#: views.py:1080
|
|
728
808
|
#, python-format
|
|
729
809
|
msgid ""
|
|
730
810
|
"Your map has been cloned! If you want to edit this map from another "
|
|
731
811
|
"computer, please use this link: %(anonymous_url)s"
|
|
732
812
|
msgstr "¡Tu mapa ha sido clonado! Si quieres editar este mapa desde otro ordenador, usa este enlace: %(anonymous_url)s"
|
|
733
813
|
|
|
734
|
-
#: views.py:
|
|
814
|
+
#: views.py:1085
|
|
735
815
|
msgid "Congratulations, your map has been cloned!"
|
|
736
816
|
msgstr "¡Enhorabuena! ¡Tu mapa ha sido clonado!"
|
|
737
817
|
|
|
738
|
-
#: views.py:
|
|
818
|
+
#: views.py:1339
|
|
739
819
|
msgid "Layer successfully deleted."
|
|
740
820
|
msgstr "Se eliminó la capa con éxito."
|
|
741
821
|
|
|
742
|
-
#: views.py:
|
|
822
|
+
#: views.py:1361
|
|
743
823
|
msgid "Permissions updated with success!"
|
|
744
824
|
msgstr "¡Permisos actualizados con éxito!"
|
|
Binary file
|
umap/models.py
CHANGED
|
@@ -551,6 +551,7 @@ class DataLayer(NamedModel):
|
|
|
551
551
|
if self.old_id:
|
|
552
552
|
metadata["old_id"] = self.old_id
|
|
553
553
|
metadata["id"] = self.pk
|
|
554
|
+
metadata["rank"] = self.rank
|
|
554
555
|
metadata["permissions"] = {"edit_status": self.edit_status}
|
|
555
556
|
metadata["editMode"] = "advanced" if self.can_edit(request) else "disabled"
|
|
556
557
|
metadata["_referenceVersion"] = self.reference_version
|
umap/settings/base.py
CHANGED
|
@@ -19,6 +19,7 @@ env = environ.Env()
|
|
|
19
19
|
|
|
20
20
|
INTERNAL_IPS = env.list("INTERNAL_IPS", default=["127.0.0.1"])
|
|
21
21
|
ALLOWED_HOSTS = env.list("ALLOWED_HOSTS", default=["*"])
|
|
22
|
+
CSRF_TRUSTED_ORIGINS = env.list("CSRF_TRUSTED_ORIGINS", default=[])
|
|
22
23
|
ADMINS = tuple(parseaddr(email) for email in env.list("ADMINS", default=[]))
|
|
23
24
|
ASGI_APPLICATION = "umap.asgi.application"
|
|
24
25
|
|
umap/static/umap/css/bar.css
CHANGED
umap/static/umap/css/tooltip.css
CHANGED
|
@@ -59,3 +59,16 @@
|
|
|
59
59
|
.tooltip-accent li:last-of-type {
|
|
60
60
|
margin-bottom: 0;
|
|
61
61
|
}
|
|
62
|
+
|
|
63
|
+
.umap-tooltip-container.tooltip-right:before {
|
|
64
|
+
right: 100%;
|
|
65
|
+
top: calc(50% - var(--arrow-size));
|
|
66
|
+
border: solid transparent;
|
|
67
|
+
content: " ";
|
|
68
|
+
height: 0;
|
|
69
|
+
width: 0;
|
|
70
|
+
position: absolute;
|
|
71
|
+
pointer-events: none;
|
|
72
|
+
border-right-color: var(--tooltip-color);
|
|
73
|
+
border-width: var(--arrow-size);
|
|
74
|
+
}
|
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
import { translate } from './i18n.js'
|
|
8
8
|
import { Request, ServerRequest } from './request.js'
|
|
9
9
|
import { escapeHTML, generateId } from './utils.js'
|
|
10
|
+
import * as Utils from './utils.js'
|
|
10
11
|
|
|
11
12
|
export class BaseAutocomplete {
|
|
12
13
|
constructor(parent, options) {
|
|
@@ -291,10 +292,9 @@ class BaseServerAjax extends BaseAjax {
|
|
|
291
292
|
export const SingleMixin = (Base) =>
|
|
292
293
|
class extends Base {
|
|
293
294
|
initSelectedContainer() {
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
)
|
|
295
|
+
const el = Utils.loadTemplate('<div class="umap-singleresult"></div>')
|
|
296
|
+
this.input.parentNode.insertBefore(el, this.input.nextSibling)
|
|
297
|
+
return el
|
|
298
298
|
}
|
|
299
299
|
|
|
300
300
|
displaySelected(result) {
|
|
@@ -322,10 +322,9 @@ export const SingleMixin = (Base) =>
|
|
|
322
322
|
export const MultipleMixin = (Base) =>
|
|
323
323
|
class extends Base {
|
|
324
324
|
initSelectedContainer() {
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
)
|
|
325
|
+
const el = Utils.loadTemplate('<ul class="umap-multiresult"></ul>')
|
|
326
|
+
this.input.parentNode.insertBefore(el, this.input.nextSibling)
|
|
327
|
+
return el
|
|
329
328
|
}
|
|
330
329
|
|
|
331
330
|
displaySelected(result) {
|