From f8f1e913bc4a2ceed01e8145889e30b120474c64 Mon Sep 17 00:00:00 2001 From: lolodomo Date: Sat, 29 Jun 2024 16:23:57 +0200 Subject: [PATCH] Fix default setup (transform + Basic UI) (#1666) Signed-off-by: Laurent Garnier --- .../src/main/resources/conf/services/basicui.cfg | 6 ++++-- .../openhab-demo/src/main/resources/conf/transform/en.map | 3 ++- .../openhab/src/main/resources/conf/transform/de.map | 1 + .../openhab/src/main/resources/conf/transform/en.map | 4 ++-- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/distributions/openhab-demo/src/main/resources/conf/services/basicui.cfg b/distributions/openhab-demo/src/main/resources/conf/services/basicui.cfg index 3fedf9e895..41a448a654 100644 --- a/distributions/openhab-demo/src/main/resources/conf/services/basicui.cfg +++ b/distributions/openhab-demo/src/main/resources/conf/services/basicui.cfg @@ -1,5 +1,7 @@ # Defining the default sitemap to use defaultSitemap=demo -# The icon type to use, either png or svg -iconType=svg +# If enabled, any SVG icon provided by the openHAB icon server will automatically be converted to an +# inline SVG in the WEB page, allowing control of its color with the sitemap widget property "iconcolor" +# in the case where the SVG icon sets "currentColor" as the fill color +inlineSvg=false diff --git a/distributions/openhab-demo/src/main/resources/conf/transform/en.map b/distributions/openhab-demo/src/main/resources/conf/transform/en.map index 9bf5165ce9..2ad5cf1050 100644 --- a/distributions/openhab-demo/src/main/resources/conf/transform/en.map +++ b/distributions/openhab-demo/src/main/resources/conf/transform/en.map @@ -2,4 +2,5 @@ OPEN=open CLOSED=closed ON=on OFF=off -NULL=unknown +NULL=undefined +UNDEF=unknown diff --git a/distributions/openhab/src/main/resources/conf/transform/de.map b/distributions/openhab/src/main/resources/conf/transform/de.map index 8cc1579f98..d77d4d17ff 100644 --- a/distributions/openhab/src/main/resources/conf/transform/de.map +++ b/distributions/openhab/src/main/resources/conf/transform/de.map @@ -1,3 +1,4 @@ CLOSED=zu OPEN=offen NULL=undefiniert +UNDEF=unbekannt diff --git a/distributions/openhab/src/main/resources/conf/transform/en.map b/distributions/openhab/src/main/resources/conf/transform/en.map index bd08f17316..d7e4c5947e 100644 --- a/distributions/openhab/src/main/resources/conf/transform/en.map +++ b/distributions/openhab/src/main/resources/conf/transform/en.map @@ -1,4 +1,4 @@ CLOSED=closed OPEN=open -NULL=unknown - \ No newline at end of file +NULL=undefined +UNDEF=unknown