Add missing translations to ha-device-entities-card (#5908)
parent
c9e8bd2e5d
commit
23c68d17e8
|
@ -72,7 +72,11 @@ export class HaDeviceEntitiesCard extends LitElement {
|
||||||
class="show-more"
|
class="show-more"
|
||||||
@click=${this._toggleShowDisabled}
|
@click=${this._toggleShowDisabled}
|
||||||
>
|
>
|
||||||
+${disabledEntities.length} disabled entities
|
${this.hass.localize(
|
||||||
|
"ui.panel.config.devices.entities.disabled_entities",
|
||||||
|
"count",
|
||||||
|
disabledEntities.length
|
||||||
|
)}
|
||||||
</button>
|
</button>
|
||||||
`
|
`
|
||||||
: html`
|
: html`
|
||||||
|
@ -83,7 +87,9 @@ export class HaDeviceEntitiesCard extends LitElement {
|
||||||
class="show-more"
|
class="show-more"
|
||||||
@click=${this._toggleShowDisabled}
|
@click=${this._toggleShowDisabled}
|
||||||
>
|
>
|
||||||
Hide disabled
|
${this.hass.localize(
|
||||||
|
"ui.panel.config.devices.entities.hide_disabled"
|
||||||
|
)}
|
||||||
</button>
|
</button>
|
||||||
`
|
`
|
||||||
: ""}
|
: ""}
|
||||||
|
|
|
@ -1230,7 +1230,9 @@
|
||||||
"entities": {
|
"entities": {
|
||||||
"entities": "Entities",
|
"entities": "Entities",
|
||||||
"add_entities_lovelace": "Add to Lovelace",
|
"add_entities_lovelace": "Add to Lovelace",
|
||||||
"none": "This device has no entities"
|
"none": "This device has no entities",
|
||||||
|
"hide_disabled": "Hide disabled",
|
||||||
|
"disabled_entities": "+{count} {count, plural,\n one {disabled entity}\n other {disabled entities}\n}"
|
||||||
},
|
},
|
||||||
"scripts": "Scripts",
|
"scripts": "Scripts",
|
||||||
"scenes": "Scenes",
|
"scenes": "Scenes",
|
||||||
|
|
Loading…
Reference in New Issue