Themes: add toilet information in food and shops

This commit is contained in:
Pieter Vander Vennet 2025-04-21 04:10:51 +02:00
parent 92eca242ec
commit 3bc8eae6b1
9 changed files with 174 additions and 15 deletions

View file

@ -1827,7 +1827,11 @@
"labels": [
"level"
],
"condition": "repeat_on~*",
"condition": {
"and": [
"repeat_on~*"
]
},
"render": {
"en": "Multiple, identical objects can be found on floors {repeat_on}.",
"nl": "Er zijn verschillende, identieke objecten op verdiepingen {repeat_on}.",
@ -1842,7 +1846,11 @@
"labels": [
"level"
],
"condition": "repeat_on=",
"condition": {
"and": [
"repeat_on="
]
},
"question": {
"nl": "Op welke verdieping bevindt dit punt zich?",
"en": "On what level is this feature located?",
@ -2053,7 +2061,11 @@
"pl": "Czy w {title()} wolno palić?"
},
"#condition": "Based on https://en.wikipedia.org/wiki/List_of_smoking_bans",
"condition": "_country!~al|be",
"condition": {
"and": [
"_country!~al|be"
]
},
"mappings": [
{
"if": "smoking=yes",
@ -2401,7 +2413,11 @@
"labels": [
"internet-all"
],
"condition": "internet_access~.*wlan.*",
"condition": {
"and": [
"internet_access~.*wlan.*"
]
},
"question": {
"en": "What is the network name for the wireless internet access?",
"nl": "Wat is de netwerknaam voor de draadloze internettoegang?",
@ -3321,6 +3337,29 @@
"freeform": {
"key": "name"
}
},
{
"id": "has_toilets",
"question": {
"en": "Has {title()} toilets?",
"nl": "Heeft {title()} toiletten?"
},
"mappings": [
{
"if": "toilets=yes",
"then": {
"en": "Has toilets",
"nl": "Heeft toiletten"
}
},
{
"if": "toilets=no",
"then": {
"en": "Has no toilets",
"nl": "Heeft geenad toiletten"
}
}
]
}
],
"allowMove": false,