From f9701b2363f0c24435e99b876e547146dd8eab53 Mon Sep 17 00:00:00 2001 From: Jan-Philipp Benecke Date: Wed, 27 Nov 2024 07:26:48 +0100 Subject: [PATCH] Use "No traces found" automation translation in ha-script-trace (#23010) --- src/panels/config/script/ha-script-trace.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/panels/config/script/ha-script-trace.ts b/src/panels/config/script/ha-script-trace.ts index 471aac8663..be1ac70464 100644 --- a/src/panels/config/script/ha-script-trace.ts +++ b/src/panels/config/script/ha-script-trace.ts @@ -209,7 +209,11 @@ export class HaScriptTrace extends LitElement { ${this._traces === undefined ? html`
Loading…
` : this._traces.length === 0 - ? html`
No traces found
` + ? html`
+ ${this.hass!.localize( + "ui.panel.config.automation.trace.no_traces_found" + )} +
` : this._trace === undefined ? "" : html`