From c39dbe1c00a9096af22de18be24044f20addd985 Mon Sep 17 00:00:00 2001 From: Flo Edelmann Date: Fri, 23 Oct 2020 19:38:46 +0200 Subject: [PATCH] Add mappings for material --- assets/themes/benches/benches.json | 56 ++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/assets/themes/benches/benches.json b/assets/themes/benches/benches.json index ca9e27b..e517258 100644 --- a/assets/themes/benches/benches.json +++ b/assets/themes/benches/benches.json @@ -108,6 +108,62 @@ "key": "material", "addExtraTags": [] }, + "mappings": [ + { + "if": { + "and": ["material=wood"] + }, + "then": { + "en": "Material: wood", + "de": "Material: Holz" + } + }, + { + "if": { + "and": ["material=metal"] + }, + "then": { + "en": "Material: metal", + "de": "Material: Metall" + } + }, + { + "if": { + "and": ["material=stone"] + }, + "then": { + "en": "Material: stone", + "de": "Material: Stein" + } + }, + { + "if": { + "and": ["material=concrete"] + }, + "then": { + "en": "Material: concrete", + "de": "Material: Beton" + } + }, + { + "if": { + "and": ["material=plastic"] + }, + "then": { + "en": "Material: plastic", + "de": "Material: Kunststoff" + } + }, + { + "if": { + "and": ["material=steel"] + }, + "then": { + "en": "Material: steel", + "de": "Material: Stahl" + } + } + ], "question": { "en": "What is the bench (seating) made from?", "de": "Aus welchem Material besteht die Sitzbank (Sitzfläche)?"