mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Update template time listener phrasing for core changes (#7450)
This commit is contained in:
parent
a78c00fb41
commit
5fa7cd9fa9
@ -228,11 +228,13 @@ class HaPanelDevTemplate extends LitElement {
|
|||||||
)}
|
)}
|
||||||
</ul>
|
</ul>
|
||||||
`
|
`
|
||||||
: html` <span class="all_listeners">
|
: !this._templateResult?.listeners.time
|
||||||
|
? html` <span class="all_listeners">
|
||||||
${this.hass.localize(
|
${this.hass.localize(
|
||||||
"ui.panel.developer-tools.tabs.templates.no_listeners"
|
"ui.panel.developer-tools.tabs.templates.no_listeners"
|
||||||
)}
|
)}
|
||||||
</span>`}
|
</span>`
|
||||||
|
: html``}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
@ -2961,9 +2961,9 @@
|
|||||||
"jinja_documentation": "Jinja2 template documentation",
|
"jinja_documentation": "Jinja2 template documentation",
|
||||||
"template_extensions": "Home Assistant template extensions",
|
"template_extensions": "Home Assistant template extensions",
|
||||||
"unknown_error_template": "Unknown error rendering template",
|
"unknown_error_template": "Unknown error rendering template",
|
||||||
"time": "This template updates every 60 seconds after the last state changed event.",
|
"time": "This template updates at the start of each minute.",
|
||||||
"all_listeners": "This template listens for all state changed events.",
|
"all_listeners": "This template listens for all state changed events.",
|
||||||
"no_listeners": "This template does not listen for any state changed events and will not update automatically.",
|
"no_listeners": "This template does not listen for any events and will not update automatically.",
|
||||||
"listeners": "This template listens for the following state changed events:",
|
"listeners": "This template listens for the following state changed events:",
|
||||||
"entity": "Entity",
|
"entity": "Entity",
|
||||||
"domain": "Domain"
|
"domain": "Domain"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user