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

Entity More Info dialog: Menu item still hard-coded as "Device info" (for services) #22831

Open
NoRi2909 opened this issue Nov 14, 2024 · 0 comments

Comments

@NoRi2909
Copy link
Contributor

NoRi2909 commented Nov 14, 2024

Describe the issue you are experiencing

With the introduction of services in addition to devices the info header was adapted to match the type of the page:

Screenshot 2024-11-14 22 40 19

"device_info": "{type} info",

To adapt to different grammar in translation separate "xxx_heading" string were added to fill the variable above:

"type": {
"device_heading": "Device",
"device": "device",
"service_heading": "Service",
"service": "service"

Note that these are necessary in German, e.g., where it's "Gerät" but "Geräte-Info".

Describe the behavior you expected

This should be adopted for the "Device Info" menu item in the More info dialog:

Screenshot 2024-11-14 22 37 58

"device_info": "Device info",

This should become

 {type} info

and use the respective device_heading and service_heading strings above for type

What version of Home Assistant Core has the issue?

core-2024.11.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant