From c101bdeceb19ee7d5cf102a10e9aad07a74d09c8 Mon Sep 17 00:00:00 2001 From: pgm-chardelv1 Date: Tue, 27 Jul 2021 15:47:53 +0200 Subject: [PATCH] Fix certain tags having no translations in the theme --- assets/themes/cycle_infra/cycle_infra.json | 26 +++++++++++++++++++++- langs/themes/en.json | 9 ++++++++ langs/themes/nl.json | 9 ++++++++ 3 files changed, 43 insertions(+), 1 deletion(-) diff --git a/assets/themes/cycle_infra/cycle_infra.json b/assets/themes/cycle_infra/cycle_infra.json index 7651fe5705..7131b6f9dc 100644 --- a/assets/themes/cycle_infra/cycle_infra.json +++ b/assets/themes/cycle_infra/cycle_infra.json @@ -518,6 +518,30 @@ "en": "This street is paved", "nl": "Deze straat is geplaveid" } + }, + { + "if": "surface=fine_gravel", + "then": { + "en": "This street is made from fine gravel", + "nl": "Deze straat is gemaakt van fijn grind" + }, + "hideInAnswer": true + }, + { + "if": "surface=cobblestone", + "then": { + "en": "This street is made from cobblestone", + "nl": "Deze straat is gemaakt van kasseien" + }, + "hideInAnswer": true + }, + { + "if": "surface=paving_stones", + "then": { + "en": "This street is made from paving stones", + "nl": "Deze straat is gemaakt van geplaveide stenen" + }, + "hideInAnswer": true } ], "question": { @@ -1144,7 +1168,7 @@ "icon": "./assets/themes/cycle_infra/street.svg", "width": "5", "color": { - "render": "#aaaaaa", + "render": "rgba(170, 170, 170, 0.7)", "mappings": [] }, "tagRenderings": [ diff --git a/langs/themes/en.json b/langs/themes/en.json index 9f17306cd0..c2c5e512a5 100644 --- a/langs/themes/en.json +++ b/langs/themes/en.json @@ -883,6 +883,15 @@ }, "4": { "then": "This street is paved" + }, + "5": { + "then": "This street is made from fine gravel" + }, + "6": { + "then": "This street is made from cobblestone" + }, + "7": { + "then": "This street is made from paving stones" } }, "question": "What is the surface of the street made from?" diff --git a/langs/themes/nl.json b/langs/themes/nl.json index 888016ee4b..77d44fc34f 100644 --- a/langs/themes/nl.json +++ b/langs/themes/nl.json @@ -745,6 +745,15 @@ }, "4": { "then": "Deze straat is geplaveid" + }, + "5": { + "then": "Deze straat is gemaakt van fijn grind" + }, + "6": { + "then": "Deze straat is gemaakt van kasseien" + }, + "7": { + "then": "Deze straat is gemaakt van geplaveide stenen" } }, "question": "Waaruit is het oppervlak van de straat gemaakt?"