Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix misleading use of "hidden" and "not shown" for disabled entities #23449

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

NoRi2909
Copy link
Contributor

@NoRi2909 NoRi2909 commented Dec 25, 2024

Proposed change

Entities can be just hidden (by turning off "Visible") or completely disabled (by turning off "Enabled"). For hidden entities this is added to the entity name in the Device info page, disabled entities are moved into the collapsed "not shown" section:

image

Unfortunately the strings file uses the very misleading key "hidden_entities" for the count of disabled entities plus those words "not shown" which also sound much more like "hidden" instead of "disabled".

This results in many completely wrong translations of "not shown" as "hidden". It was the case in German, it still is in Dutch ("entiteiten verborgen") or Italian ("entità nascoste"), e.g.

Screenshot 2024-12-25 09 40 04

This PR fixes this by using "disabled" for both the key and in the link shown in the above section. This will automatically remove the wrong use of "hidden" here in all translations.

Personal note: I was completely confused when I started with Home Assistant in German because of that wrong translation of "not shown" as "hidden". It cost me a considerable amount of time to figure out that this was just a misleading wording here and "hidden" entities don't land in that section.

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (thank you!)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue or discussion:
  • Link to documentation pull request:

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

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.
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.
@NoRi2909 NoRi2909 marked this pull request as ready for review December 25, 2024 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant