Add title mappings

This commit is contained in:
Robin van der Linde 2021-07-14 14:16:00 +02:00
parent 2de8e98deb
commit 213eb3fdef

View file

@ -606,7 +606,23 @@
"render": { "render": {
"en": "Barrier", "en": "Barrier",
"nl": "Barrière" "nl": "Barrière"
} },
"mappings": [
{
"if": "barrier=bollard",
"then": {
"en": "Bollard",
"nl": "Paaltje"
}
},
{
"if": "barrier=cycle_barrier",
"then": {
"en": "Cycling Barrier",
"nl": "Fietshekjes"
}
}
]
}, },
"icon": "./assets/svg/barrier.svg", "icon": "./assets/svg/barrier.svg",
"width": "5", "width": "5",
@ -633,20 +649,6 @@
} }
] ]
}, },
{
"render": {
"en": "Maximum width: {maxwidth:physical} m",
"nl": "Maximumbreedte: {maxwidth:physical} m"
},
"question": {
"en": "How wide is the gap left over besides the barrier?",
"nl": "Hoe breed is de ruimte naast de barrière?"
},
"freeform": {
"key": "maxwidth:physical",
"type": "pfloat"
}
},
{ {
"question": { "question": {
"en": "What kind of bollard is this?", "en": "What kind of bollard is this?",
@ -690,6 +692,20 @@
} }
} }
] ]
},
{
"render": {
"en": "Maximum width: {maxwidth:physical} m",
"nl": "Maximumbreedte: {maxwidth:physical} m"
},
"question": {
"en": "How wide is the gap left over besides the barrier?",
"nl": "Hoe breed is de ruimte naast de barrière?"
},
"freeform": {
"key": "maxwidth:physical",
"type": "pfloat"
}
} }
] ]
}, },