diff --git a/src/panels/config/zwave/zwave-log.js b/src/panels/config/zwave/zwave-log.js old mode 100644 new mode 100755 index f14dd09493..50b0b4516c --- a/src/panels/config/zwave/zwave-log.js +++ b/src/panels/config/zwave/zwave-log.js @@ -3,6 +3,7 @@ import "@polymer/paper-checkbox/paper-checkbox"; import "@polymer/paper-input/paper-input"; import { html } from "@polymer/polymer/lib/utils/html-tag"; import { PolymerElement } from "@polymer/polymer/polymer-element"; +import LocalizeMixin from "../../../mixins/localize-mixin"; import { EventsMixin } from "../../../mixins/events-mixin"; import isPwa from "../../../common/config/is_pwa"; @@ -11,7 +12,7 @@ import "../../../components/ha-card"; let registeredDialog = false; -class OzwLog extends EventsMixin(PolymerElement) { +class OzwLog extends LocalizeMixin(EventsMixin(PolymerElement)) { static get template() { return html` - OZW Log - + + [[localize('ui.panel.config.zwave.ozw_log.header')]] + + + [[localize('ui.panel.config.zwave.ozw_log.introduction')]] + +
diff --git a/src/translations/en.json b/src/translations/en.json old mode 100644 new mode 100755 index 7f14d4aa52..ea9f6769cc --- a/src/translations/en.json +++ b/src/translations/en.json @@ -1263,6 +1263,10 @@ "header": "Z-Wave Network Management", "introduction": "Run commands that affect the Z-Wave network. You won't get feedback on whether most commands succeeded, but you can check the OZW Log to try to find out." }, + "ozw_log": { + "header": "OZW Log", + "introduction": "View the log. 0 is the minimum (loads entire log) and 1000 is the maximum. Load will show a static log and tail will auto update with the last specified number of lines of the log." + }, "network_status": { "network_stopped": "Z-Wave Network Stopped", "network_starting": "Starting Z-Wave Network...",