Add a missing translation (#17351)

This commit is contained in:
karwosts 2023-07-19 09:11:20 -07:00 committed by GitHub
parent f8fcf304d4
commit e6a3bd4b8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -627,7 +627,11 @@ class HaConfigIntegrationPage extends SubscribeMixin(LitElement) {
} }
if (devicesLine.length === 0) { 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) { } else if (devicesLine.length === 2) {
devicesLine = [ devicesLine = [
devicesLine[0], devicesLine[0],

View File

@ -3455,6 +3455,7 @@
"entities": "{count} {count, plural,\n one {entity}\n other {entities}\n}", "entities": "{count} {count, plural,\n one {entity}\n other {entities}\n}",
"services": "{count} {count, plural,\n one {service}\n other {services}\n}", "services": "{count} {count, plural,\n one {service}\n other {services}\n}",
"entries": "{count} {count, plural,\n one {entry}\n other {entries}\n}", "entries": "{count} {count, plural,\n one {entry}\n other {entries}\n}",
"no_devices_or_entities": "No devices or entities",
"rename": "Rename", "rename": "Rename",
"configure": "Configure", "configure": "Configure",
"system_options": "System options", "system_options": "System options",