Translate "No integration" in device dashboard table (#11362)

This commit is contained in:
Philip Allgaier 2022-01-19 17:57:46 +01:00 committed by GitHub
parent 50bea33a19
commit 68dd818f7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -207,7 +207,9 @@ export class HaConfigDeviceDashboard extends LitElement {
entryLookup[entId].domain entryLookup[entId].domain
) )
.join(", ") .join(", ")
: "No integration", : this.hass.localize(
"ui.panel.config.devices.data_table.no_integration"
),
battery_entity: [ battery_entity: [
this._batteryEntity(device.id, deviceEntityLookup), this._batteryEntity(device.id, deviceEntityLookup),
this._batteryChargingEntity(device.id, deviceEntityLookup), this._batteryChargingEntity(device.id, deviceEntityLookup),

View File

@ -2265,7 +2265,8 @@
"area": "Area", "area": "Area",
"integration": "Integration", "integration": "Integration",
"battery": "Battery", "battery": "Battery",
"no_devices": "No devices" "no_devices": "No devices",
"no_integration": "No integration"
}, },
"delete": "Delete", "delete": "Delete",
"confirm_delete": "Are you sure you want to delete this device?", "confirm_delete": "Are you sure you want to delete this device?",