diff --git a/src/panels/config/areas/ha-config-area-page.ts b/src/panels/config/areas/ha-config-area-page.ts index c211dccd9b..00c0f99a4d 100644 --- a/src/panels/config/areas/ha-config-area-page.ts +++ b/src/panels/config/areas/ha-config-area-page.ts @@ -610,13 +610,15 @@ class HaConfigAreaPage extends SubscribeMixin(LitElement) { if ( !(await showConfirmationDialog(this, { title: this.hass.localize( - "ui.panel.config.areas.delete.confirmation_title" + "ui.panel.config.areas.delete.confirmation_title", + { name: entry!.name } ), text: this.hass.localize( "ui.panel.config.areas.delete.confirmation_text" ), dismissText: this.hass.localize("ui.common.cancel"), confirmText: this.hass.localize("ui.common.delete"), + destructive: true, })) ) { return false; diff --git a/src/translations/en.json b/src/translations/en.json index 84c1a70332..4bc1820a41 100755 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -1313,8 +1313,8 @@ "no_linked_entities": "There are no entities linked to this area." }, "delete": { - "confirmation_title": "Are you sure you want to delete this area?", - "confirmation_text": "This user will be permanently deleted." + "confirmation_title": "Delete {name}?", + "confirmation_text": "This area will be permanently deleted and all devices belonging to this area will become unassigned." } }, "backup": {