mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 11:46:42 +00:00
Fix misleading use of "hidden" and "not shown" for disabled entities (#23449)
* Fix misleading use of "hidden" for disabled entities Entities can be either hidden (by turning off "Visible") or disabled (by turning off "Enabled"), The stings file uses the very misleading key "hidden_entities" for the count of disabled entities plus the words "not shown" which also pair with "hidden" instead of "disabled". This commit fixes this by using "disabled" for both the key and in the link shown here. * Replace "hidden_entities" with "disabled_entities" Entities can be either hidden (by turning off "Visible") or disabled (by turning off "Enabled"), The strings file uses the very misleading key "hidden_entities" for the count of disabled entities plus the words "not shown" which also pair with "hidden" instead of "disabled". This commit fixes this by using "disabled" for the key name as well. * Re-add accidentally deleted comma
This commit is contained in:
parent
01bec32fd6
commit
6fe4f94d55
@ -107,7 +107,7 @@ export class HaDeviceEntitiesCard extends LitElement {
|
|||||||
? html`
|
? html`
|
||||||
<button class="show-more" @click=${this._toggleShowHidden}>
|
<button class="show-more" @click=${this._toggleShowHidden}>
|
||||||
${this.hass.localize(
|
${this.hass.localize(
|
||||||
"ui.panel.config.devices.entities.hidden_entities",
|
"ui.panel.config.devices.entities.disabled_entities",
|
||||||
{ count: hiddenEntities.length }
|
{ count: hiddenEntities.length }
|
||||||
)}
|
)}
|
||||||
</button>
|
</button>
|
||||||
|
@ -4331,7 +4331,7 @@
|
|||||||
"add_entities_lovelace": "Add to dashboard",
|
"add_entities_lovelace": "Add to dashboard",
|
||||||
"none": "This device has no entities",
|
"none": "This device has no entities",
|
||||||
"show_less": "Show less",
|
"show_less": "Show less",
|
||||||
"hidden_entities": "+{count} {count, plural,\n one {entity}\n other {entities}\n} not shown",
|
"disabled_entities": "+{count} disabled {count, plural,\n one {entity}\n other {entities}\n}",
|
||||||
"hidden": "Hidden"
|
"hidden": "Hidden"
|
||||||
},
|
},
|
||||||
"confirm_rename_entity_ids": "Do you also want to rename the entity IDs of your entities?",
|
"confirm_rename_entity_ids": "Do you also want to rename the entity IDs of your entities?",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user