Add tactile_paving=contrasted () and color

This commit is contained in:
Robin van der Linde 2025-02-21 00:28:46 +01:00
parent e130629a70
commit 8354dfa7d6
Signed by untrusted user: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D

View file

@ -258,6 +258,14 @@
"es": "Este bordillo no tiene pavimento táctil."
}
},
{
"if": "tactile_paving=contrasted",
"then": {
"en": "This kerb has tactile paving, which has a contrasting colour to the surrounding pavement.",
"nl": "Deze stoeprand heeft voelbare bestrating, die een contrasterende kleur heeft ten opzichte van de omliggende bestrating."
},
"hideInAnswer": true
},
{
"if": "tactile_paving=incorrect",
"then": {
@ -276,6 +284,56 @@
],
"condition": "_geometry:type=Point"
},
{
"id": "tactile-paving-colour",
"question": {
"en": "What is the colour of the tactile paving?",
"nl": "Wat is de kleur van de voelbare bestrating?"
},
"mappings": [
{
"if": "tactile_paving:colour=yellow",
"then": {
"en": "The tactile paving is yellow.",
"nl": "De voelbare bestrating is geel."
}
},
{
"if": "tactile_paving:colour=red",
"then": {
"en": "The tactile paving is red.",
"nl": "De voelbare bestrating is rood."
}
},
{
"if": "tactile_paving:colour=white",
"then": {
"en": "The tactile paving is white.",
"nl": "De voelbare bestrating is wit."
}
},
{
"if": "tactile_paving:colour=grey",
"then": {
"en": "The tactile paving is grey.",
"nl": "De voelbare bestrating is grijs."
}
}
],
"freeform": {
"key": "tactile_paving:colour",
"type": "color",
"placeholder": {
"en": "Colour of the tactile paving",
"nl": "Kleur van de voelbare bestrating"
}
},
"render": {
"en": "The tactile paving is coloured {tactile_paving:colour}.",
"nl": "De voelbare bestrating is {tactile_paving:colour} gekleurd."
},
"condition": "_geometry:type=Point"
},
{
"id": "kerb-height",
"question": {
@ -439,4 +497,4 @@
"es": "un bordillo",
"ca": "un kerb"
}
}
}