Themes(entrance): add question about reference numbers

This commit is contained in:
Pieter Vander Vennet 2025-03-16 22:48:54 +01:00
parent 1dd78563ef
commit 1933b8a7be
12 changed files with 143 additions and 23 deletions

View file

@ -33,17 +33,17 @@
"minzoom": 14, "minzoom": 14,
"title": { "title": {
"render": { "render": {
"en": "Entrance", "en": "Entrance {ref}",
"nl": "Ingang", "nl": "Ingang {ref}",
"ca": "Entrada", "ca": "Entrada {ref}",
"da": "Indgang", "da": "Indgang {ref}",
"de": "Eingang", "de": "Eingang {ref}",
"es": "Entrada", "es": "Entrada {ref}",
"fr": "Entrée", "fr": "Entrée {ref}",
"pa_PK": "دروازہ", "pa_PK": "دروازہ{ref}",
"pl": "Wejście", "pl": "Wejście {ref}",
"cs": "Vchod", "cs": "Vchod {ref}",
"cy": "Mynedfa" "cy": "Mynedfa {ref}"
} }
}, },
"pointRendering": [ "pointRendering": [
@ -68,7 +68,16 @@
] ]
} }
} }
] ],
"label": {
"mappings": [
{
"if": "ref~*",
"then": "{ref}"
}
]
},
"labelCssClasses": "rounded bg-white px-2"
} }
], ],
"lineRendering": [], "lineRendering": [],
@ -578,6 +587,29 @@
} }
} }
] ]
},
{
"id": "ref",
"question": {
"en": "Does this door have a reference number?",
"nl": "Heeft deze toegang een referentienummer?"
},
"render": {
"en": "This door has <b>{ref}</b> as reference number",
"nl": "Deze deur heeft <b>{ref}</b> als referentienummer"
},
"mappings": [
{
"if": "ref=",
"then": {
"en": "No reference number",
"nl": "Geen referentienummer"
}
}
],
"freeform": {
"key": "ref"
}
} }
], ],
"filter": [ "filter": [

View file

@ -5245,7 +5245,7 @@
} }
}, },
"title": { "title": {
"render": "Entrada" "render": "Entrada {ref}"
} }
}, },
"etymology": { "etymology": {

View file

@ -5049,7 +5049,7 @@
} }
}, },
"title": { "title": {
"render": "Vchod" "render": "Vchod {ref}"
} }
}, },
"etymology": { "etymology": {

View file

@ -356,7 +356,7 @@
"entrance": { "entrance": {
"name": "Mynedfa", "name": "Mynedfa",
"title": { "title": {
"render": "Mynedfa" "render": "Mynedfa {ref}"
} }
}, },
"extinguisher": { "extinguisher": {

View file

@ -1564,7 +1564,7 @@
} }
}, },
"title": { "title": {
"render": "Indgang" "render": "Indgang {ref}"
} }
}, },
"etymology": { "etymology": {

View file

@ -5204,7 +5204,7 @@
} }
}, },
"title": { "title": {
"render": "Eingang" "render": "Eingang {ref}"
} }
}, },
"etymology": { "etymology": {

View file

@ -5321,13 +5321,22 @@
"question": "What is the height of this kerb?", "question": "What is the height of this kerb?",
"render": "The kerb height of this door is {kerb:height}" "render": "The kerb height of this door is {kerb:height}"
}, },
"ref": {
"mappings": {
"0": {
"then": "No reference number"
}
},
"question": "Does this door have a reference number?",
"render": "This door has <b>{ref}</b> as reference number"
},
"width": { "width": {
"question": "What is the width of this door/entrance?", "question": "What is the width of this door/entrance?",
"render": "This door has a width of {canonical(width)}" "render": "This door has a width of {canonical(width)}"
} }
}, },
"title": { "title": {
"render": "Entrance" "render": "Entrance {ref}"
} }
}, },
"etymology": { "etymology": {
@ -12133,6 +12142,26 @@
"question": "How much does one have to pay for these toilets?", "question": "How much does one have to pay for these toilets?",
"render": "The fee is {charge}" "render": "The fee is {charge}"
}, },
"toilet-drying": {
"mappings": {
"0": {
"then": "Electric hand dryers are available for drying hands."
},
"1": {
"then": "Paper towels are available for drying hands."
},
"2": {
"then": "A towel roll cabinet is available for drying hands"
},
"3": {
"then": "A fabric towel available to dry your hands."
},
"4": {
"then": "There are no hand drying facilities available."
}
},
"question": "Do these toilets have a device to dry your hands?"
},
"toilet-handwashing": { "toilet-handwashing": {
"mappings": { "mappings": {
"0": { "0": {
@ -12162,6 +12191,21 @@
} }
} }
}, },
"toilet-supervised": {
"mappings": {
"0": {
"then": "There is a person supervising these toilets during (most of) the opening hours"
},
"1": {
"then": "There is a person supervising these toilets, but they are present only during certain times of the opening hours"
},
"2": {
"then": "These toilets are not supervised"
}
},
"question": "Is this toilets supervised by a person?",
"questionHint": "This is typically a person tasked with keeping the toilets clean and collecting the fee"
},
"toilets-changing-table": { "toilets-changing-table": {
"mappings": { "mappings": {
"0": { "0": {

View file

@ -4903,7 +4903,7 @@
} }
}, },
"title": { "title": {
"render": "Entrada" "render": "Entrada {ref}"
} }
}, },
"etymology": { "etymology": {

View file

@ -3467,7 +3467,7 @@
} }
}, },
"title": { "title": {
"render": "Entrée" "render": "Entrée {ref}"
} }
}, },
"etymology": { "etymology": {

View file

@ -4990,13 +4990,22 @@
"question": "Hoe hoog is de drempel?", "question": "Hoe hoog is de drempel?",
"render": "De drempel bij deze deur is {kerb:height}" "render": "De drempel bij deze deur is {kerb:height}"
}, },
"ref": {
"mappings": {
"0": {
"then": "Geen referentienummer"
}
},
"question": "Heeft deze toegang een referentienummer?",
"render": "Deze deur heeft <b>{ref}</b> als referentienummer"
},
"width": { "width": {
"question": "Wat is de breedte van deze deur/toegang?", "question": "Wat is de breedte van deze deur/toegang?",
"render": "Deze deur heeft een breedte van {canonical(width)}" "render": "Deze deur heeft een breedte van {canonical(width)}"
} }
}, },
"title": { "title": {
"render": "Ingang" "render": "Ingang {ref}"
} }
}, },
"etymology": { "etymology": {
@ -9757,6 +9766,26 @@
"question": "Hoeveel moet men betalen om deze toiletten te gebruiken?", "question": "Hoeveel moet men betalen om deze toiletten te gebruiken?",
"render": "De toiletten gebruiken kost {charge}" "render": "De toiletten gebruiken kost {charge}"
}, },
"toilet-drying": {
"mappings": {
"0": {
"then": "Elektrische handdrogers zijn beschikbaar om handen te drogen."
},
"1": {
"then": "Papieren wegwerphanddoeken zijn beschikbaar om handen te drogen."
},
"2": {
"then": "Een apparaat met een handdoekrol is beschikbaar om handen te drogen"
},
"3": {
"then": "Een stoffen handdoek is beschikbaar om handen te drogen."
},
"4": {
"then": "Er zijn geen handdroogvoorzieningen beschikbaar."
}
},
"question": "Hebben deze toiletten een apparaat om je handen te drogen?"
},
"toilet-handwashing": { "toilet-handwashing": {
"mappings": { "mappings": {
"0": { "0": {
@ -9786,6 +9815,21 @@
} }
} }
}, },
"toilet-supervised": {
"mappings": {
"0": {
"then": "Er is een persoon die toezicht houdt op deze toiletten"
},
"1": {
"then": "Er is een persoon die toezicht houdt op deze toiletten, maar deze is slechts op enkele vaste momenten aanwezig"
},
"2": {
"then": "Er is geen persoon die toezicht houdt"
}
},
"question": "Is er toezicht op deze toilet?",
"questionHint": "Deze persoon houdt typisch de toiletten proper en int het toiletgeld"
},
"toilets-changing-table": { "toilets-changing-table": {
"mappings": { "mappings": {
"0": { "0": {

View file

@ -151,7 +151,7 @@
"entrance": { "entrance": {
"name": "دروازہ", "name": "دروازہ",
"title": { "title": {
"render": "دروازہ" "render": "دروازہ{ref}"
} }
}, },
"food": { "food": {

View file

@ -1881,7 +1881,7 @@
} }
}, },
"title": { "title": {
"render": "Wejście" "render": "Wejście {ref}"
} }
}, },
"etymology": { "etymology": {