Small automation editor fixes (#19160)

This commit is contained in:
Bram Kragten 2023-12-28 15:32:31 +01:00 committed by GitHub
parent b180a587bf
commit b11563d618
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 15 deletions

View File

@ -328,7 +328,7 @@ class HaAutomationPicker extends LitElement {
>
</ha-button-related-filter-menu>
${!this.automations.length
? html` <div class="empty" slot="empty">
? html`<div class="empty" slot="empty">
<ha-svg-icon .path=${mdiRobotHappy}></ha-svg-icon>
<h1>
${this.hass.localize(
@ -338,7 +338,9 @@ class HaAutomationPicker extends LitElement {
<p>
${this.hass.localize(
"ui.panel.config.automation.picker.empty_text_1"
)}<br />
)}
</p>
<p>
${this.hass.localize(
"ui.panel.config.automation.picker.empty_text_2"
)}
@ -349,9 +351,7 @@ class HaAutomationPicker extends LitElement {
rel="noreferrer"
>
<ha-button>
${this.hass.localize(
"ui.panel.config.automation.picker.learn_more"
)}
${this.hass.localize("ui.panel.config.common.learn_more")}
</ha-button>
</a>
</div>`
@ -513,7 +513,9 @@ class HaAutomationPicker extends LitElement {
target="_blank"
rel="noreferrer"
>
${this.hass.localize("ui.panel.config.common.learn_more")}
${this.hass.localize(
"ui.panel.config.automation.picker.learn_more"
)}
</a>
</p>
`,

View File

@ -265,9 +265,7 @@ class HaSceneDashboard extends LitElement {
rel="noreferrer"
>
<ha-button>
${this.hass.localize(
"ui.panel.config.scene.picker.learn_more"
)}
${this.hass.localize("ui.panel.config.common.learn_more")}
</ha-button>
</a>
</div>`
@ -370,7 +368,7 @@ class HaSceneDashboard extends LitElement {
target="_blank"
rel="noreferrer"
>
${this.hass.localize("ui.panel.config.common.learn_more")}
${this.hass.localize("ui.panel.config.scene.picker.learn_more")}
</a>
</p>
`,

View File

@ -294,9 +294,7 @@ class HaScriptPicker extends LitElement {
rel="noreferrer"
>
<ha-button>
${this.hass.localize(
"ui.panel.config.script.picker.learn_more"
)}
${this.hass.localize("ui.panel.config.common.learn_more")}
</ha-button>
</a>
</div>`
@ -420,7 +418,7 @@ class HaScriptPicker extends LitElement {
target="_blank"
rel="noreferrer"
>
${this.hass.localize("ui.panel.config.common.learn_more")}
${this.hass.localize("ui.panel.config.script.picker.learn_more")}
</a>
</p>
`,

View File

@ -2759,7 +2759,7 @@
"preset_mode": "Preset mode"
},
"description": {
"picker": "If something happens to a device. Great way to start."
"picker": "If a device is in a certain state. Great way to start."
}
},
"not": {