forked from MapComplete/MapComplete
Add a few more questions to the toilet theme
This commit is contained in:
parent
4f456e8a7f
commit
9ba2777871
9 changed files with 178 additions and 63 deletions
|
@ -1,36 +1,36 @@
|
|||
{
|
||||
"id": "cluster_style",
|
||||
"description": "The style for the clustering in all themes.",
|
||||
"source": {
|
||||
"osmTags": "tileId~*"
|
||||
},
|
||||
"color": {
|
||||
"render": "#3c3",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "count>200",
|
||||
"then": "#f33"
|
||||
},
|
||||
{
|
||||
"if": "count>100",
|
||||
"then": "#c93"
|
||||
},
|
||||
{
|
||||
"if": "count>50",
|
||||
"then": "#cc3"
|
||||
}
|
||||
]
|
||||
},
|
||||
"width": {
|
||||
"render": "1"
|
||||
},
|
||||
"label": {
|
||||
"render": "<div class='rounded-full text-xl font-bold' style='width: 2rem; height: 2rem; background: white'>{count}</div>",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "count>99",
|
||||
"then": "<div class='rounded-full text-xl font-bold flex flex-col' style='width: 2.5rem; height: 2.5rem; background: white'>>99</div>"
|
||||
}
|
||||
]
|
||||
}
|
||||
"id": "cluster_style",
|
||||
"description": "The style for the clustering in all themes.",
|
||||
"source": {
|
||||
"osmTags": "tileId~*"
|
||||
},
|
||||
"color": {
|
||||
"render": "#3c3",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "count>200",
|
||||
"then": "#f33"
|
||||
},
|
||||
{
|
||||
"if": "count>100",
|
||||
"then": "#c93"
|
||||
},
|
||||
{
|
||||
"if": "count>50",
|
||||
"then": "#cc3"
|
||||
}
|
||||
]
|
||||
},
|
||||
"width": {
|
||||
"render": "1"
|
||||
},
|
||||
"label": {
|
||||
"render": "<div class='rounded-full text-xl font-bold' style='width: 2rem; height: 2rem; background: white'>{count}</div>",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "count>99",
|
||||
"then": "<div class='rounded-full text-xl font-bold flex flex-col' style='width: 2.5rem; height: 2.5rem; background: white'>>99</div>"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
|
@ -82,4 +82,4 @@
|
|||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
|
@ -407,6 +407,52 @@
|
|||
}
|
||||
],
|
||||
"id": "toilet-changing_table:location"
|
||||
},
|
||||
{
|
||||
"id": "toilet-handwashing",
|
||||
"question": {
|
||||
"en": "Do these toilets have a sink to wash your hands?",
|
||||
"nl": "Hebben deze toiletten een lavabo om de handen te wassen?"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "toilets:handwashing=yes",
|
||||
"then": {
|
||||
"en": "This toilets have a sink to wash your hands",
|
||||
"nl": "Deze toiletten hebben een lavabo waar men de handen kan wassen"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "toilets:handwashing=no",
|
||||
"then": {
|
||||
"en": "This toilets <b>don't</b> have a sink to wash your hands",
|
||||
"nl": "Deze toiletten hebben <b>geen</b> lavabo waar men de handen kan wassen"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "toilet-has-paper",
|
||||
"question": {
|
||||
"en": "Does one have to bring their own toilet paper to this toilet?",
|
||||
"nl": "Moet je je eigen toiletpappier meenemen naar deze toilet?"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "toilets:paper_supplied=yes",
|
||||
"then": {
|
||||
"en": "Toilet paper is equipped with toilet paper",
|
||||
"nl": "Deze toilet is voorzien van toiletpapier"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "toilets:paper_supplied=no",
|
||||
"then": {
|
||||
"en": "You have to bring your own toilet paper to this toilet",
|
||||
"nl": "Je moet je eigen toiletpapier meebrengen naar deze toilet"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"filter": [
|
||||
|
|
|
@ -170,4 +170,4 @@
|
|||
"color": {
|
||||
"render": "#FFC0CB"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -56,7 +56,8 @@
|
|||
"de": "Was ist die Mail-Adresse von {name}?",
|
||||
"pt_BR": "Qual o endereço de e-mail de {name}?",
|
||||
"pl": "Jaki jest adres e-mail do {name}?",
|
||||
"sv": "Vad är e-postadressen till {name}?"
|
||||
"sv": "Vad är e-postadressen till {name}?",
|
||||
"pt": "Qual é o endereço de e-mail de {name}?"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "email",
|
||||
|
@ -184,7 +185,8 @@
|
|||
"it": "C'è ancora qualche informazione importante che non è stato possibile fornire nelle domande precedenti? Aggiungila qui.<br/><span style='font-size: small'>Non ripetere informazioni già fornite</span>",
|
||||
"de": "Gibt es noch etwas, das die vorhergehenden Fragen nicht abgedeckt haben? Hier wäre Platz dafür.<br/><span style='font-size: small'>Bitte keine bereits erhobenen Informationen.</span>",
|
||||
"pl": "Czy jest jeszcze coś istotnego, czego nie mogłeś podać w poprzednich pytaniach? Dodaj to tutaj.<br/><span style='font-size: small'>Nie powtarzaj już podanych faktów</span>",
|
||||
"pt_BR": "Ainda há algo de relevante que não pôde dar nas perguntas anteriores? Adicione aqui.<br/><span style='font-size: small'> Não repita fatos já declarados</span>"
|
||||
"pt_BR": "Ainda há algo de relevante que não pôde dar nas perguntas anteriores? Adicione aqui.<br/><span style='font-size: small'> Não repita fatos já declarados</span>",
|
||||
"pt": "Ainda há algo de relevante que não tenha podido dar nas perguntas anteriores? Adicione-o aqui.<br/><span style='font-size: small'>Não repita factos já declarados</span>"
|
||||
},
|
||||
"render": "{description}",
|
||||
"freeform": {
|
||||
|
@ -266,7 +268,8 @@
|
|||
"fr": "À quel étage se situe l’élément ?",
|
||||
"pl": "Na jakim poziomie znajduje się ta funkcja?",
|
||||
"pt_BR": "Em que nível esse recurso está localizado?",
|
||||
"ru": "На каком этаже находится этот объект?"
|
||||
"ru": "На каком этаже находится этот объект?",
|
||||
"pt": "Em que nível se encontra este elemento?"
|
||||
},
|
||||
"render": {
|
||||
"en": "Located on the {level}th floor",
|
||||
|
@ -294,7 +297,8 @@
|
|||
"zh_Hant": "位於地下",
|
||||
"fr": "En sous-sol",
|
||||
"pl": "Znajduje się pod ziemią",
|
||||
"sv": "Ligger under jorden"
|
||||
"sv": "Ligger under jorden",
|
||||
"pt": "Está no subsolo"
|
||||
},
|
||||
"hideInAnswer": true
|
||||
},
|
||||
|
@ -309,7 +313,8 @@
|
|||
"zh_Hant": "位於 1 樓",
|
||||
"fr": "Rez-de-chaussée",
|
||||
"pl": "Znajduje się na parterze",
|
||||
"sv": "Ligger på bottenvåningen"
|
||||
"sv": "Ligger på bottenvåningen",
|
||||
"pt": "Está ao nível do rés-do-chão"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -324,7 +329,8 @@
|
|||
"zh_Hant": "位於 1 樓",
|
||||
"fr": "Rez-de-chaussée",
|
||||
"pl": "Znajduje się na parterze",
|
||||
"sv": "Ligger på bottenvåningen"
|
||||
"sv": "Ligger på bottenvåningen",
|
||||
"pt": "Está ao nível do rés-do-chão"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -338,7 +344,8 @@
|
|||
"zh_Hant": "位於 2 樓",
|
||||
"fr": "Premier étage",
|
||||
"pl": "Znajduje się na pierwszym piętrze",
|
||||
"sv": "Ligger på första våningen"
|
||||
"sv": "Ligger på första våningen",
|
||||
"pt": "Está no primeiro andar"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
@ -262,4 +262,4 @@
|
|||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue