Add missing localizations to ha-script-trace.ts (#23418)

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
Norbert Rittel 2024-12-24 09:55:09 +01:00 committed by GitHub
parent fb72e1fb9c
commit 00c1dfa1d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -178,7 +178,9 @@ export class HaScriptTrace extends LitElement {
<ha-icon-button <ha-icon-button
.disabled=${this._traces[this._traces.length - 1].run_id === .disabled=${this._traces[this._traces.length - 1].run_id ===
this._runId} this._runId}
label="Older trace" .label=${this.hass!.localize(
"ui.panel.config.automation.trace.older_trace"
)}
@click=${this._pickOlderTrace} @click=${this._pickOlderTrace}
.path=${mdiRayEndArrow} .path=${mdiRayEndArrow}
></ha-icon-button> ></ha-icon-button>
@ -198,7 +200,9 @@ export class HaScriptTrace extends LitElement {
</select> </select>
<ha-icon-button <ha-icon-button
.disabled=${this._traces[0].run_id === this._runId} .disabled=${this._traces[0].run_id === this._runId}
label="Newer trace" .label=${this.hass!.localize(
"ui.panel.config.automation.trace.newer_trace"
)}
@click=${this._pickNewerTrace} @click=${this._pickNewerTrace}
.path=${mdiRayStartArrow} .path=${mdiRayStartArrow}
></ha-icon-button> ></ha-icon-button>