From 7b3d07e5c489c0d139543cb7e5481e522b435b12 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Thu, 29 Jun 2023 01:43:48 +0200 Subject: [PATCH] Themes: make filters of public bookcase translatable --- .../public_bookcase/public_bookcase.json | 25 ++++++++++++++----- 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/assets/layers/public_bookcase/public_bookcase.json b/assets/layers/public_bookcase/public_bookcase.json index 6e9aa9666..3faca922a 100644 --- a/assets/layers/public_bookcase/public_bookcase.json +++ b/assets/layers/public_bookcase/public_bookcase.json @@ -22,7 +22,7 @@ "source": { "osmTags": "amenity=public_bookcase" }, - "minzoom": 10, + "minzoom": 7, "title": { "render": { "en": "Bookcase", @@ -478,7 +478,10 @@ "id": "kid-books", "options": [ { - "question": "Kinderboeken aanwezig?", + "question": { + "en": "Has children books", + "nl": "Kinderboeken aanwezig" + }, "osmTags": "books~i~.*children.*" } ] @@ -487,7 +490,10 @@ "id": "adult-books", "options": [ { - "question": "Boeken voor volwassenen aanwezig?", + "question": { + "en": "Has books for adults", + "nl": "Boeken voor volwassenen aanwezig" + }, "osmTags": "books~i~.*adults.*" } ] @@ -505,11 +511,17 @@ } }, { - "question": "Binnen?", + "question": { + "en": "Located indoors", + "nl": "Bevindt zich binnen" + }, "osmTags": "indoor=yes" }, { - "question": "Buiten?", + "question": { + "nl": "Bevindt zich buiten", + "en": "Located outdoors" + }, "osmTags": { "or": [ "indoor=no", @@ -518,7 +530,8 @@ } } ] - } + }, + "has_image" ], "mapRendering": [ {