Compare commits

..

No commits in common. "eb50d8adf41b0653ab55a5c2a28b8e3ead83d3b4" and "52785e22ad093c4b6bf6c24a60d4017fd043ff0a" have entirely different histories.

8 changed files with 63 additions and 75 deletions

View file

@ -1,11 +1,5 @@
# Changelog # Changelog
## 2.8.2 - 2024-12-26
### Bug fixes
* fix create marker from search result by @yohanboniface in #2404
* fix startMarker/Polyline/Polygon on right click by @yohanboniface in #2403
## 2.8.1 - 2024-12-24 ## 2.8.1 - 2024-12-24
### Bug fixes ### Bug fixes

View file

@ -1 +1 @@
VERSION = "2.8.2" VERSION = "2.8.1"

Binary file not shown.

View file

@ -21,11 +21,11 @@ msgstr ""
#: admin.py:16 #: admin.py:16
msgid "CSV Export" msgid "CSV Export"
msgstr "CSV exportálás" msgstr ""
#: decorators.py:60 #: decorators.py:60
msgid "This map is not publicly available" msgid "This map is not publicly available"
msgstr "Ez a térkép nem nyilvános" msgstr ""
#: middleware.py:13 #: middleware.py:13
msgid "Site is readonly for maintenance" msgid "Site is readonly for maintenance"
@ -77,7 +77,7 @@ msgstr "Csak a tulajdonos"
#: models.py:184 #: models.py:184
msgid "Draft (private)" msgid "Draft (private)"
msgstr "Piszkozat (privát)" msgstr ""
#: models.py:185 #: models.py:185
msgid "Everyone (public)" msgid "Everyone (public)"
@ -93,7 +93,7 @@ msgstr "Blokkolva"
#: models.py:191 #: models.py:191
msgid "Deleted" msgid "Deleted"
msgstr "Törölve" msgstr ""
#: models.py:194 #: models.py:194
msgid "center" msgid "center"
@ -164,15 +164,15 @@ msgid ""
"<a href=\"https://discover.umap-project.org/support/faq/#map-statuses\" " "<a href=\"https://discover.umap-project.org/support/faq/#map-statuses\" "
"target=\"_blank\">Find out here the documentation</a> on how to manage maps" "target=\"_blank\">Find out here the documentation</a> on how to manage maps"
" permissions." " permissions."
msgstr "A térképekhez tartozó engedélyek kezeléséről szóló <a href=\"https://discover.umap-project.org/support/faq/#map-statuses\" target=\"_blank\">dokumentációt itt találod</a>." msgstr ""
#: templates/403.html:10 templates/404.html:8 #: templates/403.html:10 templates/404.html:8
msgid "← Go to the homepage" msgid "← Go to the homepage"
msgstr "← Ugrás a főoldalra" msgstr ""
#: templates/404.html:7 #: templates/404.html:7
msgid "404 Page Not Found" msgid "404 Page Not Found"
msgstr "404 hiba: ez az oldal nem található. Eltévedtél a térképek között" msgstr ""
#: templates/auth/user_detail.html:8 #: templates/auth/user_detail.html:8
#, python-format #, python-format
@ -224,11 +224,11 @@ msgstr "Belépés"
#: templates/registration/login.html:22 #: templates/registration/login.html:22
msgid "To save and easily find your maps, identify yourself." msgid "To save and easily find your maps, identify yourself."
msgstr "Azonosítsd magad, hogy el tudd menteni a térképet, és később könnyen megtaláld." msgstr ""
#: templates/registration/login.html:25 #: templates/registration/login.html:25
msgid "Please log in with your account:" msgid "Please log in with your account:"
msgstr "Jelentkezz be a fiókoddal:" msgstr ""
#: templates/registration/login.html:42 #: templates/registration/login.html:42
msgid "Username" msgid "Username"
@ -240,7 +240,7 @@ msgstr "Jelszó"
#: templates/registration/login.html:52 #: templates/registration/login.html:52
msgid "Please choose a provider:" msgid "Please choose a provider:"
msgstr "Válassz egy szolgáltatót:" msgstr ""
#: templates/umap/about_summary.html:12 #: templates/umap/about_summary.html:12
#, python-format #, python-format

View file

@ -349,19 +349,19 @@ export default class Umap extends ServerStored {
if (this.properties.enableMarkerDraw) { if (this.properties.enableMarkerDraw) {
items.push({ items.push({
label: this.help.displayLabel('DRAW_MARKER'), label: this.help.displayLabel('DRAW_MARKER'),
action: () => this._leafletMap.editTools.startMarker(), action: () => this._leafletMap.startMarker(event),
}) })
} }
if (this.properties.enablePolylineDraw) { if (this.properties.enablePolylineDraw) {
items.push({ items.push({
label: this.help.displayLabel('DRAW_POLYGON'), label: this.help.displayLabel('DRAW_POLYGON'),
action: () => this._leafletMap.editTools.startPolygon(), action: () => this._leafletMap.startPolygon(event),
}) })
} }
if (this.properties.enablePolygonDraw) { if (this.properties.enablePolygonDraw) {
items.push({ items.push({
label: this.help.displayLabel('DRAW_LINE'), label: this.help.displayLabel('DRAW_LINE'),
action: () => this._leafletMap.editTools.startPolyline(), action: () => this._leafletMap.startPolyline(event),
}) })
} }
items.push('-') items.push('-')

View file

@ -800,7 +800,7 @@ U.Search = L.PhotonSearch.extend({
}) })
L.DomEvent.on(edit, 'mousedown', (e) => { L.DomEvent.on(edit, 'mousedown', (e) => {
L.DomEvent.stop(e) L.DomEvent.stop(e)
const datalayer = this.map._umap.defaultEditDataLayer() const datalayer = this.map.defaultEditDataLayer()
const layer = datalayer.makeFeature(feature) const layer = datalayer.makeFeature(feature)
layer.isDirty = true layer.isDirty = true
layer.edit() layer.edit()

View file

@ -183,12 +183,12 @@ const locale = {
"Icon shape": "Ikon alakja", "Icon shape": "Ikon alakja",
"Icon symbol": "Ikonszimbólum", "Icon symbol": "Ikonszimbólum",
"If false, the polygon or line will act as a part of the underlying map.": "Ha hamis, a sokszög vagy vonal az alapul szolgáló térkép részeként viselkedik.", "If false, the polygon or line will act as a part of the underlying map.": "Ha hamis, a sokszög vagy vonal az alapul szolgáló térkép részeként viselkedik.",
"Iframe with custom height (in px): {{{https://iframe.url.com|height}}}": "iFrame egyedi magassággal (képpont): {{{https://iframe.url.com|height}}}", "Iframe with custom height (in px): {{{https://iframe.url.com|height}}}": "Iframe with custom height (in px): {{{https://iframe.url.com|height}}}",
"Iframe with custom height and width (in px): {{{https://iframe.url.com|height*width}}}": "iFrame egyedi magassággal és szélességgel (képpont): {{{https://iframe.url.com|height*width}}}", "Iframe with custom height and width (in px): {{{https://iframe.url.com|height*width}}}": "Iframe with custom height and width (in px): {{{https://iframe.url.com|height*width}}}",
"iframe": "iFrame", "iframe": "iframe",
"Iframe: {{{https://iframe.url.com}}}": "iFrame: {{{https://iframe.url.com}}}", "Iframe: {{{https://iframe.url.com}}}": "Iframe: {{{https://iframe.url.com}}}",
"Image with custom width (in px): {{https://image.url.com|width}}": "Kép egyedi szélességgel (képpont): {{https://image.url.com|width}}", "Image with custom width (in px): {{https://image.url.com|width}}": "Image with custom width (in px): {{https://image.url.com|width}}",
"Image: {{https://image.url.com}}": "Kép: {{https://image.url.com}}", "Image: {{https://image.url.com}}": "Image: {{https://image.url.com}}",
"Import data": "Adatok importálása", "Import data": "Adatok importálása",
"Import in a new layer": "Importálás új rétegbe", "Import in a new layer": "Importálás új rétegbe",
"Imports all umap data, including layers and settings.": "Minden uMap-adatot (többek között a rétegeket és a beállításokat is) importálja.", "Imports all umap data, including layers and settings.": "Minden uMap-adatot (többek között a rétegeket és a beállításokat is) importálja.",
@ -216,7 +216,7 @@ const locale = {
"Limit bounds": "Térkép szélei", "Limit bounds": "Térkép szélei",
"Link to view the map": "Link a térkép megtekintéséhez", "Link to view the map": "Link a térkép megtekintéséhez",
"Link to…": "Link…", "Link to…": "Link…",
"Link with text: [[https://example.com|text of the link]]": "Link szöveggel: [[https://peldaul.hu|a link példaszövege]]", "Link with text: [[https://example.com|text of the link]]": "Link with text: [[https://example.com|text of the link]]",
"Long credits": "Alkotók részletesen", "Long credits": "Alkotók részletesen",
"Longitude": "Hosszúság", "Longitude": "Hosszúság",
"Make main shape": "Legyen főalakzat", "Make main shape": "Legyen főalakzat",
@ -320,7 +320,7 @@ const locale = {
"Show this layer in the caption": "Réteg megjelenítése a címsávban", "Show this layer in the caption": "Réteg megjelenítése a címsávban",
"Show/hide layer": "Réteg megjelenítése/elrejtése", "Show/hide layer": "Réteg megjelenítése/elrejtése",
"Side panel": "Oldalsó panel", "Side panel": "Oldalsó panel",
"Simple link: [[https://example.com]]": "Egyszerű link: [[https://peldaul.hu]]", "Simple link: [[https://example.com]]": "Simple link: [[https://example.com]]",
"Simplify": "Egyszerűsítés", "Simplify": "Egyszerűsítés",
"Skipping unknown geometry.type: {type}": "Ismeretlen ({type}) alakzattípus kihagyása", "Skipping unknown geometry.type: {type}": "Ismeretlen ({type}) alakzattípus kihagyása",
"Slideshow": "Diavetítés", "Slideshow": "Diavetítés",
@ -505,25 +505,22 @@ const locale = {
"Display the open browser control": "'Böngésző megnyitása' vezérlő megjelenítése", "Display the open browser control": "'Böngésző megnyitása' vezérlő megjelenítése",
"Copy as GeoJSON": "Másolás GeoJSON-ként", "Copy as GeoJSON": "Másolás GeoJSON-ként",
"Please zoom in to edit the geometry": "Az alakzat szerkesztéséhez nagyítson", "Please zoom in to edit the geometry": "Az alakzat szerkesztéséhez nagyítson",
"New map": "Új térkép", "New map": "New map",
"My maps": "Térképeim", "My maps": "My maps",
"My teams": "Csoportjaim", "My teams": "My teams",
"My profile": "Profilom", "My profile": "My profile",
"Type new owner's username": "Add meg az új tulajdonos felhasználónevét", "Type new owner's username": "Type new owner's username",
"Type editor's username": "Add meg a szerkesztő felhasználónevét", "Type editor's username": "Type editor's username",
"Map": "Térkép", "Map": "Map",
"Manage collaborators": "Együttműködők kezelése", "Manage collaborators": "Manage collaborators",
"show/hide all layers": "összes réteg megjelenítése/elrejtése", "show/hide all layers": "show/hide all layers",
"zoom to data extent": "nagyítás az adatok kiterjedésére", "zoom to data extent": "zoom to data extent",
"download visible data": "látható adatok letöltése", "download visible data": "download visible data",
"{connectedPeers} peer(s) currently connected to this map": "Jelenleg {connectedPeers} társ kapcsolódik ehhez a térképhez", "{connectedPeers} peer(s) currently connected to this map": "{connectedPeers} peer(s) currently connected to this map",
"Import helpers": "Importálássegítők", "Import helpers": "Import helpers",
"Import helpers will fill the URL field for you.": "Az importálássegítők kitöltik neked az URL-mezőt.", "Import helpers will fill the URL field for you.": "Import helpers will fill the URL field for you.",
"Wikipedia": "Wikipédia", "Wikipedia": "Wikipedia",
"Save draft": "Piszkozat mentése", "Save draft": "Save draft"
"No data has been found for import": "Nem található adat az importáláshoz",
"Successfully imported {count} feature(s)": "{count} objektum sikeresen importálva",
"Disconnected": "Kapcsolat megszakadt"
} }
L.registerLocale("hu", locale) L.registerLocale("hu", locale)
L.setLocale("hu") L.setLocale("hu")

View file

@ -183,12 +183,12 @@
"Icon shape": "Ikon alakja", "Icon shape": "Ikon alakja",
"Icon symbol": "Ikonszimbólum", "Icon symbol": "Ikonszimbólum",
"If false, the polygon or line will act as a part of the underlying map.": "Ha hamis, a sokszög vagy vonal az alapul szolgáló térkép részeként viselkedik.", "If false, the polygon or line will act as a part of the underlying map.": "Ha hamis, a sokszög vagy vonal az alapul szolgáló térkép részeként viselkedik.",
"Iframe with custom height (in px): {{{https://iframe.url.com|height}}}": "iFrame egyedi magassággal (képpont): {{{https://iframe.url.com|height}}}", "Iframe with custom height (in px): {{{https://iframe.url.com|height}}}": "Iframe with custom height (in px): {{{https://iframe.url.com|height}}}",
"Iframe with custom height and width (in px): {{{https://iframe.url.com|height*width}}}": "iFrame egyedi magassággal és szélességgel (képpont): {{{https://iframe.url.com|height*width}}}", "Iframe with custom height and width (in px): {{{https://iframe.url.com|height*width}}}": "Iframe with custom height and width (in px): {{{https://iframe.url.com|height*width}}}",
"iframe": "iFrame", "iframe": "iframe",
"Iframe: {{{https://iframe.url.com}}}": "iFrame: {{{https://iframe.url.com}}}", "Iframe: {{{https://iframe.url.com}}}": "Iframe: {{{https://iframe.url.com}}}",
"Image with custom width (in px): {{https://image.url.com|width}}": "Kép egyedi szélességgel (képpont): {{https://image.url.com|width}}", "Image with custom width (in px): {{https://image.url.com|width}}": "Image with custom width (in px): {{https://image.url.com|width}}",
"Image: {{https://image.url.com}}": "Kép: {{https://image.url.com}}", "Image: {{https://image.url.com}}": "Image: {{https://image.url.com}}",
"Import data": "Adatok importálása", "Import data": "Adatok importálása",
"Import in a new layer": "Importálás új rétegbe", "Import in a new layer": "Importálás új rétegbe",
"Imports all umap data, including layers and settings.": "Minden uMap-adatot (többek között a rétegeket és a beállításokat is) importálja.", "Imports all umap data, including layers and settings.": "Minden uMap-adatot (többek között a rétegeket és a beállításokat is) importálja.",
@ -216,7 +216,7 @@
"Limit bounds": "Térkép szélei", "Limit bounds": "Térkép szélei",
"Link to view the map": "Link a térkép megtekintéséhez", "Link to view the map": "Link a térkép megtekintéséhez",
"Link to…": "Link…", "Link to…": "Link…",
"Link with text: [[https://example.com|text of the link]]": "Link szöveggel: [[https://peldaul.hu|a link példaszövege]]", "Link with text: [[https://example.com|text of the link]]": "Link with text: [[https://example.com|text of the link]]",
"Long credits": "Alkotók részletesen", "Long credits": "Alkotók részletesen",
"Longitude": "Hosszúság", "Longitude": "Hosszúság",
"Make main shape": "Legyen főalakzat", "Make main shape": "Legyen főalakzat",
@ -320,7 +320,7 @@
"Show this layer in the caption": "Réteg megjelenítése a címsávban", "Show this layer in the caption": "Réteg megjelenítése a címsávban",
"Show/hide layer": "Réteg megjelenítése/elrejtése", "Show/hide layer": "Réteg megjelenítése/elrejtése",
"Side panel": "Oldalsó panel", "Side panel": "Oldalsó panel",
"Simple link: [[https://example.com]]": "Egyszerű link: [[https://peldaul.hu]]", "Simple link: [[https://example.com]]": "Simple link: [[https://example.com]]",
"Simplify": "Egyszerűsítés", "Simplify": "Egyszerűsítés",
"Skipping unknown geometry.type: {type}": "Ismeretlen ({type}) alakzattípus kihagyása", "Skipping unknown geometry.type: {type}": "Ismeretlen ({type}) alakzattípus kihagyása",
"Slideshow": "Diavetítés", "Slideshow": "Diavetítés",
@ -505,23 +505,20 @@
"Display the open browser control": "'Böngésző megnyitása' vezérlő megjelenítése", "Display the open browser control": "'Böngésző megnyitása' vezérlő megjelenítése",
"Copy as GeoJSON": "Másolás GeoJSON-ként", "Copy as GeoJSON": "Másolás GeoJSON-ként",
"Please zoom in to edit the geometry": "Az alakzat szerkesztéséhez nagyítson", "Please zoom in to edit the geometry": "Az alakzat szerkesztéséhez nagyítson",
"New map": "Új térkép", "New map": "New map",
"My maps": "Térképeim", "My maps": "My maps",
"My teams": "Csoportjaim", "My teams": "My teams",
"My profile": "Profilom", "My profile": "My profile",
"Type new owner's username": "Add meg az új tulajdonos felhasználónevét", "Type new owner's username": "Type new owner's username",
"Type editor's username": "Add meg a szerkesztő felhasználónevét", "Type editor's username": "Type editor's username",
"Map": "Térkép", "Map": "Map",
"Manage collaborators": "Együttműködők kezelése", "Manage collaborators": "Manage collaborators",
"show/hide all layers": "összes réteg megjelenítése/elrejtése", "show/hide all layers": "show/hide all layers",
"zoom to data extent": "nagyítás az adatok kiterjedésére", "zoom to data extent": "zoom to data extent",
"download visible data": "látható adatok letöltése", "download visible data": "download visible data",
"{connectedPeers} peer(s) currently connected to this map": "Jelenleg {connectedPeers} társ kapcsolódik ehhez a térképhez", "{connectedPeers} peer(s) currently connected to this map": "{connectedPeers} peer(s) currently connected to this map",
"Import helpers": "Importálássegítők", "Import helpers": "Import helpers",
"Import helpers will fill the URL field for you.": "Az importálássegítők kitöltik neked az URL-mezőt.", "Import helpers will fill the URL field for you.": "Import helpers will fill the URL field for you.",
"Wikipedia": "Wikipédia", "Wikipedia": "Wikipedia",
"Save draft": "Piszkozat mentése", "Save draft": "Save draft"
"No data has been found for import": "Nem található adat az importáláshoz",
"Successfully imported {count} feature(s)": "{count} objektum sikeresen importálva",
"Disconnected": "Kapcsolat megszakadt"
} }