Skip to content

Commit

Permalink
Localize clear in entity filter (#18598)
Browse files Browse the repository at this point in the history
Localize �[H�[J in entity filter
  • Loading branch information
karwosts authored Nov 10, 2023
1 parent cd4f3a0 commit eb75389
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/panels/config/devices/ha-config-devices-dashboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,9 @@ export class HaConfigDeviceDashboard extends LitElement {
? html`<mwc-list-item @click=${this._clearFilter}
>${this.hass.localize("ui.components.data-table.filtering_by")}
${activeFilters.join(", ")}
<span class="clear">Clear</span></mwc-list-item
<span class="clear"
>${this.hass.localize("ui.common.clear")}</span
></mwc-list-item
>`
: ""}
<ha-check-list-item
Expand Down
4 changes: 3 additions & 1 deletion src/panels/config/entities/ha-config-entities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,9 @@ export class HaConfigEntities extends SubscribeMixin(LitElement) {
"ui.components.data-table.filtering_by"
)}
${activeFilters.join(", ")}
<span class="clear">Clear</span></mwc-list-item
<span class="clear"
>${this.hass.localize("ui.common.clear")}</span
></mwc-list-item
>`
: ""}
<ha-check-list-item
Expand Down

0 comments on commit eb75389

Please sign in to comment.