diff --git a/src/panels/config/integrations/ha-config-integration-page.ts b/src/panels/config/integrations/ha-config-integration-page.ts index b05b15b3ba..6ec67086f8 100644 --- a/src/panels/config/integrations/ha-config-integration-page.ts +++ b/src/panels/config/integrations/ha-config-integration-page.ts @@ -627,7 +627,11 @@ class HaConfigIntegrationPage extends SubscribeMixin(LitElement) { } if (devicesLine.length === 0) { - devicesLine = ["No devices or entities"]; + devicesLine = [ + this.hass.localize( + "ui.panel.config.integrations.config_entry.no_devices_or_entities" + ), + ]; } else if (devicesLine.length === 2) { devicesLine = [ devicesLine[0], diff --git a/src/translations/en.json b/src/translations/en.json index 7d80346d89..4e6590eb7e 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -3455,6 +3455,7 @@ "entities": "{count} {count, plural,\n one {entity}\n other {entities}\n}", "services": "{count} {count, plural,\n one {service}\n other {services}\n}", "entries": "{count} {count, plural,\n one {entry}\n other {entries}\n}", + "no_devices_or_entities": "No devices or entities", "rename": "Rename", "configure": "Configure", "system_options": "System options",