From 52d041e50ab77f7e25338c83ba50cfe70c6b9126 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= <skunk@cg.tuwien.ac.at>
Date: Mon, 27 Aug 2018 10:09:37 +0200
Subject: [PATCH] emergency: fix descriptions and icons

---
 emergency.json | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/emergency.json b/emergency.json
index 2889d1efb..588c14dee 100644
--- a/emergency.json
+++ b/emergency.json
@@ -44,11 +44,12 @@
             "{% elseif tags.emergency %}",
             "{% set key = 'emergency' %}",
             "{% set value = tags.emergency %}",
-            "{% endif %}"
+            "{% endif %}",
+            "{% set kv = key ~ \"=\" ~ value %}"
         ],
-        "description": "{{ tagTrans('amenity', tags.amenity) }}",
+        "description": "{{ tagTrans(key, value) }}",
         "markerSign": [
-            "{% set data = const[tags.amenity] %}",
+            "{% set data = const[kv] %}",
             "{% if data %}",
             "{{ data.sign }}",
             "{% endif %}"