Small fixes to the entrances

This commit is contained in:
pietervdvn 2022-07-19 12:06:57 +02:00
parent 9319f93bf2
commit cb1e436b69

View file

@ -344,28 +344,25 @@
{ {
"id": "kerb-height", "id": "kerb-height",
"question": { "question": {
"en": "What is the height of this kerb?", "en": "What is the height of this kerb?"
"nl": "Hoe hoog is deze stoeprand?",
"de": "Wie hoch ist der Bordstein?"
}, },
"render": { "render": {
"en": "Kerb height: {kerb:height}", "en": "The kerb height of this door is {kerb:height}"
"nl": "Stoeprandhoogte: {kerb:height}",
"de": "Bordsteinhöhe: {kerb:height}"
}, },
"freeform": { "freeform": {
"key": "kerb:height", "key": "kerb:height",
"placeholder": { "placeholder": {
"en": "Height of the kerb", "en": "Height of the door kerb"
"nl": "Hoogte van de stoeprand",
"de": "Höhe des Bordsteins"
}, },
"type": "pnat" "type": "pnat"
}, },
"mappings": [ "mappings": [
{ {
"if": "kerb-height=", "if": "kerb-height=",
"then": "kerb-height=0" "then": {
"en": "This door does not have a kerb",
"nl": "Deze deur heeft geen drempel"
}
} }
] ]
} }
@ -403,5 +400,33 @@
"entrance=yes" "entrance=yes"
] ]
} }
],
"units": [
{
"appliesToKey": [
"kerb:height"
],
"applicableUnits": [
{
"canonicalDenomination": "m",
"alternativeDenomination": [
"meter"
],
"human": {
"en": "meter"
}
},
{
"canonicalDenomination": "cm",
"alternativeDenomination": [
"centimeter",
"cms"
],
"human": {
"en": "centimeter"
}
}
]
}
] ]
} }