From 041c6eab352a4d00cb2bdeacce1bd12d7fd12149 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Tue, 18 May 2021 00:45:28 +0200 Subject: [PATCH] Add ground floor and first floor as options in defibrillator theme --- Models/Constants.ts | 2 +- assets/layers/defibrillator/defibrillator.json | 18 +++++++++++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/Models/Constants.ts b/Models/Constants.ts index 48b852e23d..907b3ac409 100644 --- a/Models/Constants.ts +++ b/Models/Constants.ts @@ -2,7 +2,7 @@ import { Utils } from "../Utils"; export default class Constants { - public static vNumber = "0.7.2k"; + public static vNumber = "0.7.2l"; // The user journey states thresholds when a new feature gets unlocked public static userJourney = { diff --git a/assets/layers/defibrillator/defibrillator.json b/assets/layers/defibrillator/defibrillator.json index 3c990d486f..9f805c0f3a 100644 --- a/assets/layers/defibrillator/defibrillator.json +++ b/assets/layers/defibrillator/defibrillator.json @@ -226,7 +226,23 @@ "fr": "Ce défibrillateur est à l'étage {level}", "nl": "De defibrillator bevindt zicht op verdieping {level}", "de": "Dieser Defibrallator befindet sich im {level}. Stockwerk" - } + }, + "mappings": [ + { + "if": "level=0", + "then": { + "en": "This defibrillator is on the ground floor", + "nl": "Deze defibrillator bevindt zich gelijkvloers" + } + }, + { + "if": "level=1", + "then": { + "en": "This defibrillator is on the first floor", + "nl": "Deze defibrillator is op de eerste verdieping" + } + } + ] }, { "render": {