home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.93k stars 30.15k forks source link

Withings reconfig translations aren't being formatted properly #126836

Closed rccoleman closed 1 week ago

rccoleman commented 1 week ago

The problem

I received a notification that my Withings scale needed needed to be reauthenticated and the dialogs to do that all had broken English translations (just showed the key and produced the errors in the HA logs below). The reauthorization works fine and this just appears to be a cosmetic issue.

What version of Home Assistant Core has the issue?

core-2024.10b0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Withings

Link to integration documentation on our website

https://www.home-assistant.io/integrations/withings

Diagnostics information

config_entry-withings-45794ff51c43b7b4cfaeefeb4815e794.json

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2024-09-26 08:07:14.908 ERROR (MainThread) [frontend.js.modern.202409250] Failed to format translation for key 'component.withings.config.step.reauth_confirm.title' in language 'en'. Error: The intl string context variable "name" was not provided to the string "Authentication expired for {name}"
2024-09-26 08:07:19.530 ERROR (MainThread) [frontend.js.modern.202409250] Failed to format translation for key 'component.withings.config.step.reauth_confirm.title' in language 'en'. Error: The intl string context variable "name" was not provided to the string "Authentication expired for {name}"
2024-09-26 08:07:19.963 ERROR (MainThread) [frontend.js.modern.202409250] Failed to format translation for key 'component.withings.config.step.reauth_confirm.title' in language 'en'. Error: The intl string context variable "name" was not provided to the string "Authentication expired for {name}"

Additional information

No response

home-assistant[bot] commented 1 week ago

Hey there @joostlek, mind taking a look at this issue as it has been labeled with an integration (withings) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `withings` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign withings` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


withings documentation withings source (message by IssueLinks)