From e2f20ecd48b2bb1a07d4bb1267ad8cf9d7447fa8 Mon Sep 17 00:00:00 2001 From: Christopher Altona Date: Thu, 30 Jun 2022 02:15:53 +0000 Subject: [PATCH] Update to use translations --- src/panels/history/ha-panel-history.ts | 20 ++++++++++---------- src/translations/en.json | 5 +++++ 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/src/panels/history/ha-panel-history.ts b/src/panels/history/ha-panel-history.ts index 453e1eb7e2..0f36274ccc 100644 --- a/src/panels/history/ha-panel-history.ts +++ b/src/panels/history/ha-panel-history.ts @@ -158,13 +158,13 @@ class HaPanelHistory extends SubscribeMixin(LitElement) { @click=${this._showAll} .disabled=${this._isLoading} .path=${mdiExpandAll} - .label=${"Show All"} + .label=${this.hass.localize("ui.panel.history.add_all")} > ` : this._targetPickerValue === undefined - ? html`
- Select what you would like to see history for above + ? html` ` : html`