Add missing translations for unhealthy Supervisor issues (#150036)

This commit is contained in:
Stefan Agner
2025-08-06 10:07:36 +02:00
committed by Franck Nijhof
parent a548e13da5
commit 52984f2fd1
2 changed files with 42 additions and 32 deletions

View File

@@ -86,9 +86,11 @@ UNSUPPORTED_REASONS = {
UNSUPPORTED_SKIP_REPAIR = {"privileged"} UNSUPPORTED_SKIP_REPAIR = {"privileged"}
UNHEALTHY_REASONS = { UNHEALTHY_REASONS = {
"docker", "docker",
"supervisor", "duplicate_os_installation",
"setup", "oserror_bad_message",
"privileged", "privileged",
"setup",
"supervisor",
"untrusted", "untrusted",
} }

View File

@@ -116,35 +116,43 @@
}, },
"unhealthy": { "unhealthy": {
"title": "Unhealthy system - {reason}", "title": "Unhealthy system - {reason}",
"description": "System is currently unhealthy due to {reason}. Use the link to learn more and how to fix this." "description": "System is currently unhealthy due to {reason}. For troubleshooting information, select Learn more."
}, },
"unhealthy_docker": { "unhealthy_docker": {
"title": "Unhealthy system - Docker misconfigured", "title": "Unhealthy system - Docker misconfigured",
"description": "System is currently unhealthy because Docker is configured incorrectly. Use the link to learn more and how to fix this." "description": "System is currently unhealthy because Docker is configured incorrectly. For troubleshooting information, select Learn more."
}, },
"unhealthy_supervisor": { "unhealthy_duplicate_os_installation": {
"title": "Unhealthy system - Supervisor update failed", "description": "System is currently unhealthy because it has detected multiple Home Assistant OS installations. For troubleshooting information, select Learn more.",
"description": "System is currently unhealthy because an attempt to update Supervisor to the latest version has failed. Use the link to learn more and how to fix this." "title": "Unhealthy system - Duplicate Home Assistant OS installation"
}, },
"unhealthy_setup": { "unhealthy_oserror_bad_message": {
"title": "Unhealthy system - Setup failed", "description": "System is currently unhealthy because the operating system has reported an OS error: Bad message. For troubleshooting information, select Learn more.",
"description": "System is currently unhealthy because setup failed to complete. There are a number of reasons this can occur, use the link to learn more and how to fix this." "title": "Unhealthy system - Operating System error: Bad message"
}, },
"unhealthy_privileged": { "unhealthy_privileged": {
"title": "Unhealthy system - Not privileged", "title": "Unhealthy system - Not privileged",
"description": "System is currently unhealthy because it does not have privileged access to the docker runtime. Use the link to learn more and how to fix this." "description": "System is currently unhealthy because it does not have privileged access to the docker runtime. For troubleshooting information, select Learn more."
},
"unhealthy_setup": {
"title": "Unhealthy system - Setup failed",
"description": "System is currently unhealthy because setup failed to complete. There are a number of reasons this can occur, For troubleshooting information, select Learn more."
},
"unhealthy_supervisor": {
"title": "Unhealthy system - Supervisor update failed",
"description": "System is currently unhealthy because an attempt to update Supervisor to the latest version has failed. For troubleshooting information, select Learn more."
}, },
"unhealthy_untrusted": { "unhealthy_untrusted": {
"title": "Unhealthy system - Untrusted code", "title": "Unhealthy system - Untrusted code",
"description": "System is currently unhealthy because it has detected untrusted code or images in use. Use the link to learn more and how to fix this." "description": "System is currently unhealthy because it has detected untrusted code or images in use. For troubleshooting information, select Learn more."
}, },
"unsupported": { "unsupported": {
"title": "Unsupported system - {reason}", "title": "Unsupported system - {reason}",
"description": "System is unsupported due to {reason}. Use the link to learn more and how to fix this." "description": "System is unsupported due to {reason}. For troubleshooting information, select Learn more."
}, },
"unsupported_apparmor": { "unsupported_apparmor": {
"title": "Unsupported system - AppArmor issues", "title": "Unsupported system - AppArmor issues",
"description": "System is unsupported because AppArmor is working incorrectly and add-ons are running in an unprotected and insecure way. Use the link to learn more and how to fix this." "description": "System is unsupported because AppArmor is working incorrectly and add-ons are running in an unprotected and insecure way. For troubleshooting information, select Learn more."
}, },
"unsupported_cgroup_version": { "unsupported_cgroup_version": {
"title": "Unsupported system - CGroup version", "title": "Unsupported system - CGroup version",
@@ -152,23 +160,23 @@
}, },
"unsupported_connectivity_check": { "unsupported_connectivity_check": {
"title": "Unsupported system - Connectivity check disabled", "title": "Unsupported system - Connectivity check disabled",
"description": "System is unsupported because Home Assistant cannot determine when an Internet connection is available. Use the link to learn more and how to fix this." "description": "System is unsupported because Home Assistant cannot determine when an Internet connection is available. For troubleshooting information, select Learn more."
}, },
"unsupported_content_trust": { "unsupported_content_trust": {
"title": "Unsupported system - Content-trust check disabled", "title": "Unsupported system - Content-trust check disabled",
"description": "System is unsupported because Home Assistant cannot verify content being run is trusted and not modified by attackers. Use the link to learn more and how to fix this." "description": "System is unsupported because Home Assistant cannot verify content being run is trusted and not modified by attackers. For troubleshooting information, select Learn more."
}, },
"unsupported_dbus": { "unsupported_dbus": {
"title": "Unsupported system - D-Bus issues", "title": "Unsupported system - D-Bus issues",
"description": "System is unsupported because D-Bus is working incorrectly. Many things fail without this as Supervisor cannot communicate with the host. Use the link to learn more and how to fix this." "description": "System is unsupported because D-Bus is working incorrectly. Many things fail without this as Supervisor cannot communicate with the host. For troubleshooting information, select Learn more."
}, },
"unsupported_dns_server": { "unsupported_dns_server": {
"title": "Unsupported system - DNS server issues", "title": "Unsupported system - DNS server issues",
"description": "System is unsupported because the provided DNS server does not work correctly and the fallback DNS option has been disabled. Use the link to learn more and how to fix this." "description": "System is unsupported because the provided DNS server does not work correctly and the fallback DNS option has been disabled. For troubleshooting information, select Learn more."
}, },
"unsupported_docker_configuration": { "unsupported_docker_configuration": {
"title": "Unsupported system - Docker misconfigured", "title": "Unsupported system - Docker misconfigured",
"description": "System is unsupported because the Docker daemon is running in an unexpected way. Use the link to learn more and how to fix this." "description": "System is unsupported because the Docker daemon is running in an unexpected way. For troubleshooting information, select Learn more."
}, },
"unsupported_docker_version": { "unsupported_docker_version": {
"title": "Unsupported system - Docker version", "title": "Unsupported system - Docker version",
@@ -176,15 +184,15 @@
}, },
"unsupported_job_conditions": { "unsupported_job_conditions": {
"title": "Unsupported system - Protections disabled", "title": "Unsupported system - Protections disabled",
"description": "System is unsupported because one or more job conditions have been disabled which protect from unexpected failures and breakages. Use the link to learn more and how to fix this." "description": "System is unsupported because one or more job conditions have been disabled which protect from unexpected failures and breakages. For troubleshooting information, select Learn more."
}, },
"unsupported_lxc": { "unsupported_lxc": {
"title": "Unsupported system - LXC detected", "title": "Unsupported system - LXC detected",
"description": "System is unsupported because it is being run in an LXC virtual machine. Use the link to learn more and how to fix this." "description": "System is unsupported because it is being run in an LXC virtual machine. For troubleshooting information, select Learn more."
}, },
"unsupported_network_manager": { "unsupported_network_manager": {
"title": "Unsupported system - Network Manager issues", "title": "Unsupported system - Network Manager issues",
"description": "System is unsupported because Network Manager is missing, inactive or misconfigured. Use the link to learn more and how to fix this." "description": "System is unsupported because Network Manager is missing, inactive or misconfigured. For troubleshooting information, select Learn more."
}, },
"unsupported_os": { "unsupported_os": {
"title": "Unsupported system - Operating System", "title": "Unsupported system - Operating System",
@@ -192,43 +200,43 @@
}, },
"unsupported_os_agent": { "unsupported_os_agent": {
"title": "Unsupported system - OS-Agent issues", "title": "Unsupported system - OS-Agent issues",
"description": "System is unsupported because OS-Agent is missing, inactive or misconfigured. Use the link to learn more and how to fix this." "description": "System is unsupported because OS-Agent is missing, inactive or misconfigured. For troubleshooting information, select Learn more."
}, },
"unsupported_restart_policy": { "unsupported_restart_policy": {
"title": "Unsupported system - Container restart policy", "title": "Unsupported system - Container restart policy",
"description": "System is unsupported because a Docker container has a restart policy set which could cause issues on startup. Use the link to learn more and how to fix this." "description": "System is unsupported because a Docker container has a restart policy set which could cause issues on startup. For troubleshooting information, select Learn more."
}, },
"unsupported_software": { "unsupported_software": {
"title": "Unsupported system - Unsupported software", "title": "Unsupported system - Unsupported software",
"description": "System is unsupported because additional software outside the Home Assistant ecosystem has been detected. Use the link to learn more and how to fix this." "description": "System is unsupported because additional software outside the Home Assistant ecosystem has been detected. For troubleshooting information, select Learn more."
}, },
"unsupported_source_mods": { "unsupported_source_mods": {
"title": "Unsupported system - Supervisor source modifications", "title": "Unsupported system - Supervisor source modifications",
"description": "System is unsupported because Supervisor source code has been modified. Use the link to learn more and how to fix this." "description": "System is unsupported because Supervisor source code has been modified. For troubleshooting information, select Learn more."
}, },
"unsupported_supervisor_version": { "unsupported_supervisor_version": {
"title": "Unsupported system - Supervisor version", "title": "Unsupported system - Supervisor version",
"description": "System is unsupported because an out-of-date version of Supervisor is in use and auto-update has been disabled. Use the link to learn more and how to fix this." "description": "System is unsupported because an out-of-date version of Supervisor is in use and auto-update has been disabled. For troubleshooting information, select Learn more."
}, },
"unsupported_systemd": { "unsupported_systemd": {
"title": "Unsupported system - Systemd issues", "title": "Unsupported system - Systemd issues",
"description": "System is unsupported because Systemd is missing, inactive or misconfigured. Use the link to learn more and how to fix this." "description": "System is unsupported because Systemd is missing, inactive or misconfigured. For troubleshooting information, select Learn more."
}, },
"unsupported_systemd_journal": { "unsupported_systemd_journal": {
"title": "Unsupported system - Systemd Journal issues", "title": "Unsupported system - Systemd Journal issues",
"description": "System is unsupported because Systemd Journal and/or the gateway service is missing, inactive or misconfigured. Use the link to learn more and how to fix this." "description": "System is unsupported because Systemd Journal and/or the gateway service is missing, inactive or misconfigured. For troubleshooting information, select Learn more."
}, },
"unsupported_systemd_resolved": { "unsupported_systemd_resolved": {
"title": "Unsupported system - Systemd-Resolved issues", "title": "Unsupported system - Systemd-Resolved issues",
"description": "System is unsupported because Systemd Resolved is missing, inactive or misconfigured. Use the link to learn more and how to fix this." "description": "System is unsupported because Systemd Resolved is missing, inactive or misconfigured. For troubleshooting information, select Learn more."
}, },
"unsupported_virtualization_image": { "unsupported_virtualization_image": {
"title": "Unsupported system - Incorrect OS image for virtualization", "title": "Unsupported system - Incorrect OS image for virtualization",
"description": "System is unsupported because the Home Assistant OS image in use is not intended for use in a virtualized environment. Use the link to learn more and how to fix this." "description": "System is unsupported because the Home Assistant OS image in use is not intended for use in a virtualized environment. For troubleshooting information, select Learn more."
}, },
"unsupported_os_version": { "unsupported_os_version": {
"title": "Unsupported system - Home Assistant OS version", "title": "Unsupported system - Home Assistant OS version",
"description": "System is unsupported because the Home Assistant OS version in use is not supported. Use the link to learn more and how to fix this." "description": "System is unsupported because the Home Assistant OS version in use is not supported. For troubleshooting information, select Learn more."
} }
}, },
"entity": { "entity": {