From e6a3bd4b8c5be0603c3f70dd093a4c1062617a10 Mon Sep 17 00:00:00 2001 From: karwosts <32912880+karwosts@users.noreply.github.com> Date: Wed, 19 Jul 2023 09:11:20 -0700 Subject: [PATCH] Add a missing translation (#17351) --- .../config/integrations/ha-config-integration-page.ts | 6 +++++- src/translations/en.json | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) 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",