Layer reformatting/translation generation

This commit is contained in:
Pieter Vander Vennet 2021-12-05 21:02:55 +01:00
parent 7757e898ba
commit 3cada0b678
9 changed files with 167 additions and 15 deletions

View file

@ -127,7 +127,6 @@
"iconSize": "50,50,center",
"icon": {
"render": "./assets/layers/address/housenumber_blank.svg",
"mappings": [
{
"if": {
@ -146,7 +145,8 @@
]
},
"location": [
"point","centroid"
"point",
"centroid"
]
},
{

View file

@ -215,7 +215,8 @@
"then": {
"en": "This door revolves automatically all the time"
}
},{
},
{
"if": "automatic_door=serviced_on_button_press",
"then": {
"en": "This door will be opened by staff when requested by <b>pressing a button</b"
@ -235,7 +236,7 @@
"en": "This door has a width of {canonical(width)} meter"
},
"question": {
"en":"What is the width of this door/entrance?"
"en": "What is the width of this door/entrance?"
},
"freeform": {
"key": "width",
@ -267,7 +268,9 @@
"preferredBackground": "photo",
"snapToLayer": "walls_and_buildings"
},
"tags": ["entrance=yes"]
"tags": [
"entrance=yes"
]
}
]
}

View file

@ -80,6 +80,6 @@
],
"description": {
"en": "A layer showing touristical, road side information boards (e.g. giving information about the landscape, a building, a feature, a map, ...)",
"nl":"Deze laag toont informatieborden in de publieke ruimte die uitleg geven over een bezienswaardigheid (bv. uitleg over het landschap, een ruine, een kaart van de omgeving, ...)"
"nl": "Deze laag toont informatieborden in de publieke ruimte die uitleg geven over een bezienswaardigheid (bv. uitleg over het landschap, een ruine, een kaart van de omgeving, ...)"
}
}

View file

@ -692,7 +692,7 @@
"render": {
"en": "<h3>Length overview</h3>{histogram(_length_hist)}",
"fr": "<h3>Résumé de longueur</h3>{histogram(_length_hist)}",
"de": "<h3>Längenübersicht</h3>{histogram(_length_hist)}",
"de": "<h3>Längenübersicht</h3>{histogramm(_length_hist)}",
"it": "<h3>Riassunto della lunghezza</h3>{histogram(_length_hist)}"
},
"condition": "_length_hist!~\\[\\]",

View file

@ -1,22 +1,24 @@
{
"id": "entrances",
"title": {
"en":"Entrances"
"en": "Entrances"
},
"icon": "./assets/layers/entrance/door.svg",
"description": {
"en":"A map showing all entrances, which surveys for important aspects for wheelchair users"
"en": "A map showing all entrances, which surveys for important aspects for wheelchair users"
},
"shortDescription": {"en":
"Survey entrances to help wheelchair routing"
"shortDescription": {
"en": "Survey entrances to help wheelchair routing"
},
"language": ["en"],
"language": [
"en"
],
"version": "2021-12-04",
"maintainer": "MapComplete",
"layers": [
"entrance"
],
"startZoom": 15,
"startLat": 51.0490,
"startLat": 51.049,
"startLon": 3.7297
}

View file

@ -51,7 +51,6 @@
"passAllFeatures": true
}
},
{
"id": "OSM-buildings",
"name": "All OSM-buildings",
@ -291,7 +290,7 @@
],
"#": "Pass all the features in order to render the address in the layer below",
"passAllFeatures": true
},
},
"address",
{
"id": "All OSM objects",