diff --git a/src/panels/lovelace/hui-editor.ts b/src/panels/lovelace/hui-editor.ts index 1ea0d97f64..fd6dcf2722 100644 --- a/src/panels/lovelace/hui-editor.ts +++ b/src/panels/lovelace/hui-editor.ts @@ -231,14 +231,15 @@ class LovelaceFullConfigEditor extends LitElement { if (!value) { showConfirmationDialog(this, { title: this.hass.localize( - "ui.panel.lovelace.editor.raw_editor.confirm_remove_config_title" + "ui.panel.lovelace.editor.raw_editor.confirm_delete_config_title" ), text: this.hass.localize( - "ui.panel.lovelace.editor.raw_editor.confirm_remove_config_text" + "ui.panel.lovelace.editor.raw_editor.confirm_delete_config_text" ), - confirmText: this.hass.localize("ui.common.remove"), + confirmText: this.hass.localize("ui.common.delete"), dismissText: this.hass.localize("ui.common.cancel"), confirm: () => this._removeConfig(), + destructive: true, }); return; } diff --git a/src/translations/en.json b/src/translations/en.json index f9957b3c5c..7f17d450d5 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -5492,8 +5492,8 @@ "saved": "Saved", "reload": "Reload", "lovelace_changed": "Your dashboard was updated, do you want to load the updated config in the editor and lose your current changes?", - "confirm_remove_config_title": "Are you sure you want to remove your dashboard configuration?", - "confirm_remove_config_text": "We will automatically generate your dashboard views with your areas and devices if you remove your dashboard configuration.", + "confirm_delete_config_title": "Delete dashboard configuration?", + "confirm_delete_config_text": "This dashboard will be permanently deleted. The dashboard will be automatically regenerated to display your areas, devices and entities.", "confirm_unsaved_changes": "You have unsaved changes, are you sure you want to exit?", "confirm_unsaved_comments": "Your configuration might contains comment(s), these will not be saved. Do you want to continue?", "error_parse_yaml": "Unable to parse YAML: {error}",