diff --git a/assets/layers/barrier/barrier.json b/assets/layers/barrier/barrier.json index 0e7eae8e32..cc56a31a7a 100644 --- a/assets/layers/barrier/barrier.json +++ b/assets/layers/barrier/barrier.json @@ -364,4 +364,4 @@ "width": "5" } ] -} +} \ No newline at end of file diff --git a/assets/layers/note_import/note_import.json b/assets/layers/note_import/note_import.json index 3640f252eb..0d4389a3ea 100644 --- a/assets/layers/note_import/note_import.json +++ b/assets/layers/note_import/note_import.json @@ -3,8 +3,9 @@ "description": "Te template for note note imports.", "source": { "osmTags": { - "and": ["id~*" - ] + "and": [ + "id~*" + ] }, "geoJson": "https://api.openstreetmap.org/api/0.6/notes.json?closed=7&bbox={x_min},{y_min},{x_max},{y_max}", "geoJsonZoomLevel": 12, diff --git a/langs/layers/en.json b/langs/layers/en.json index 9bf448acf2..62d6b950e7 100644 --- a/langs/layers/en.json +++ b/langs/layers/en.json @@ -3294,6 +3294,88 @@ } } }, + "note": { + "filter": { + "0": { + "options": { + "0": { + "question": "Should mention {search} in the first comment" + } + } + }, + "1": { + "options": { + "0": { + "question": "Should not mention {search} in the first comment" + } + } + }, + "2": { + "options": { + "0": { + "question": "Opened by {search}" + } + } + }, + "3": { + "options": { + "0": { + "question": "Not opened by {search}" + } + } + }, + "4": { + "options": { + "0": { + "question": "Opened before {search}" + } + } + }, + "5": { + "options": { + "0": { + "question": "Opened after {search}" + } + } + }, + "6": { + "options": { + "0": { + "question": "Opened by anonymous user" + } + } + }, + "7": { + "options": { + "0": { + "question": "Only show open notes" + } + } + } + }, + "name": "OpenStreetMap notes", + "tagRenderings": { + "report-contributor": { + "render": "Report {_first_user} as spam" + }, + "report-note": { + "render": "Report this note as spam or inappropriate" + } + }, + "title": { + "mappings": { + "0": { + "then": "Closed note" + } + }, + "render": "Note" + } + }, + "note_import": { + "title": { + "render": "Possible feature" + } + }, "observation_tower": { "description": "Towers with a panoramic view", "name": "Observation towers", diff --git a/langs/themes/en.json b/langs/themes/en.json index 1364ca3253..cd69694b49 100644 --- a/langs/themes/en.json +++ b/langs/themes/en.json @@ -944,66 +944,6 @@ "shortDescription": "This map shows the nature reserves of Natuurpunt", "title": "The map of Natuurpunt" }, - "notes": { - "layers": { - "0": { - "filter": { - "0": { - "options": { - "0": { - "question": "Should mention {search} in the first comment" - } - } - }, - "1": { - "options": { - "0": { - "question": "Should not mention {search} in the first comment" - } - } - }, - "2": { - "options": { - "0": { - "question": "Opened by {search}" - } - } - }, - "3": { - "options": { - "0": { - "question": "Not opened by {search}" - } - } - }, - "4": { - "options": { - "0": { - "question": "Opened by anonymous user" - } - } - } - }, - "name": "OpenStreetMap notes", - "tagRenderings": { - "report-contributor": { - "render": "Report {_first_user} as spam" - }, - "report-note": { - "render": "Report this note as spam or inappropriate" - } - }, - "title": { - "mappings": { - "0": { - "then": "Closed note" - } - }, - "render": "Note" - } - } - } - }, "observation_towers": { "description": "Publicly accessible towers to enjoy the view", "shortDescription": "Publicly accessible towers to enjoy the view",