From 6a44d887f79df34e706e5161effdd0f8b8e5349a Mon Sep 17 00:00:00 2001
From: Tor-Einar Skog <tor-einar.skog@nibio.no>
Date: Mon, 27 May 2024 09:39:30 +0200
Subject: [PATCH] Change legend "no inf. risk" -> "low inf. risk"

---
 mapfile/template.j2 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mapfile/template.j2 b/mapfile/template.j2
index 9370eac..b7759d2 100644
--- a/mapfile/template.j2
+++ b/mapfile/template.j2
@@ -113,7 +113,7 @@ LAYER
           \"legendItems\": [
           {
             \"classification\": 2,
-            \"legendLabel\": \"{{ language.no_risk }}\",
+            \"legendLabel\": \"{{ language.low_risk }}\",
             \"legendIconCSS\": \"width: 25px; background-color: #3ac47d;\"
           },
           {
@@ -136,7 +136,7 @@ LAYER
     # class using simple string comparison, equivalent to ([pixel] = 0)
   
     CLASS
-      NAME "No infection risk"
+      NAME "Low infection risk"
       EXPRESSION ([pixel] >= 2 AND [pixel] < 3) 
       STYLE
           COLOR 58 196 125
-- 
GitLab