Add mappings for colour (and use Brithish English)

This commit is contained in:
Flo Edelmann 2020-10-23 19:39:14 +02:00
parent c39dbe1c00
commit b43a7edbcd

View file

@ -171,16 +171,90 @@
}, },
{ {
"render": { "render": {
"en": "Color: {colour}", "en": "Colour: {colour}",
"de": "Farbe: {colour}" "de": "Farbe: {colour}"
}, },
"question": { "question": {
"en": "Which color does this bench have?", "en": "Which colour does this bench have?",
"de": "Welche Farbe hat diese Sitzbank?" "de": "Welche Farbe hat diese Sitzbank?"
}, },
"freeform": { "freeform": {
"key": "colour" "key": "colour"
},
"mappings": [
{
"if": {
"and": ["colour=brown"]
},
"then": {
"en": "Colour: brown",
"de": "Farbe: braun"
} }
},
{
"if": {
"and": ["colour=green"]
},
"then": {
"en": "Colour: green",
"de": "Farbe: grün"
}
},
{
"if": {
"and": ["colour=gray"]
},
"then": {
"en": "Colour: gray",
"de": "Farbe: grau"
}
},
{
"if": {
"and": ["colour=white"]
},
"then": {
"en": "Colour: white",
"de": "Farbe: weiß"
}
},
{
"if": {
"and": ["colour=red"]
},
"then": {
"en": "Colour: red",
"de": "Farbe: rot"
}
},
{
"if": {
"and": ["colour=black"]
},
"then": {
"en": "Colour: black",
"de": "Farbe: schwarz"
}
},
{
"if": {
"and": ["colour=blue"]
},
"then": {
"en": "Colour: blue",
"de": "Farbe: blau"
}
},
{
"if": {
"and": ["colour=yellow"]
},
"then": {
"en": "Colour: yellow",
"de": "Farbe: gelb"
}
}
]
} }
], ],
"hideUnderlayingFeaturesMinPercentage": 0, "hideUnderlayingFeaturesMinPercentage": 0,