diff --git a/bundles/org.openhab.ui.basic/snippets-src/main.html b/bundles/org.openhab.ui.basic/snippets-src/main.html index 6a7c2ba489..8257f62a2b 100644 --- a/bundles/org.openhab.ui.basic/snippets-src/main.html +++ b/bundles/org.openhab.ui.basic/snippets-src/main.html @@ -49,7 +49,7 @@
@@ -59,7 +59,7 @@ diff --git a/bundles/org.openhab.ui.basic/src/main/java/org/openhab/ui/basic/internal/render/PageRenderer.java b/bundles/org.openhab.ui.basic/src/main/java/org/openhab/ui/basic/internal/render/PageRenderer.java index b981cf962c..2db55c136b 100644 --- a/bundles/org.openhab.ui.basic/src/main/java/org/openhab/ui/basic/internal/render/PageRenderer.java +++ b/bundles/org.openhab.ui.basic/src/main/java/org/openhab/ui/basic/internal/render/PageRenderer.java @@ -97,6 +97,7 @@ public StringBuilder processPage(String id, String sitemap, String label, EList< snippet = snippet.replaceAll("%main.offline-msg%", localizeText("@text/main.offline-msg")); snippet = snippet.replaceAll("%main.long-polling-mode-msg%", localizeText("@text/main.long-polling-mode-msg")); snippet = snippet.replaceAll("%id%", id); + snippet = snippet.replaceAll("%popup.button.close%", localizeText("@text/popup.button.close")); // if the label contains a value span, we remove this span as // the title of a page/layer cannot deal with this diff --git a/bundles/org.openhab.ui.basic/src/main/resources/OH-INF/i18n/basic.properties b/bundles/org.openhab.ui.basic/src/main/resources/OH-INF/i18n/basic.properties index 34c30f21f8..899ecefd11 100644 --- a/bundles/org.openhab.ui.basic/src/main/resources/OH-INF/i18n/basic.properties +++ b/bundles/org.openhab.ui.basic/src/main/resources/OH-INF/i18n/basic.properties @@ -63,3 +63,7 @@ sitemaps-list.available-sitemaps = Available sitemaps # preferences preferences.title = Preferences + +# pop-up + +popup.button.close = Close