mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Update delete blueprint dialog (#13770)
This commit is contained in:
parent
c5f4e8ffdd
commit
a97dfbb51f
@ -329,11 +329,16 @@ class HaBlueprintOverview extends LitElement {
|
|||||||
if (
|
if (
|
||||||
!(await showConfirmationDialog(this, {
|
!(await showConfirmationDialog(this, {
|
||||||
title: this.hass.localize(
|
title: this.hass.localize(
|
||||||
"ui.panel.config.blueprint.overview.confirm_delete_header"
|
"ui.panel.config.blueprint.overview.confirm_delete_title"
|
||||||
),
|
),
|
||||||
text: this.hass.localize(
|
text: this.hass.localize(
|
||||||
"ui.panel.config.blueprint.overview.confirm_delete_text"
|
"ui.panel.config.blueprint.overview.confirm_delete_text",
|
||||||
|
"name",
|
||||||
|
{ name: blueprint.name }
|
||||||
),
|
),
|
||||||
|
confirmText: this.hass!.localize("ui.common.delete"),
|
||||||
|
dismissText: this.hass!.localize("ui.common.cancel"),
|
||||||
|
destructive: true,
|
||||||
}))
|
}))
|
||||||
) {
|
) {
|
||||||
return;
|
return;
|
||||||
|
@ -2239,8 +2239,8 @@
|
|||||||
"automation": "Automation",
|
"automation": "Automation",
|
||||||
"script": "Script"
|
"script": "Script"
|
||||||
},
|
},
|
||||||
"confirm_delete_header": "Delete this blueprint?",
|
"confirm_delete_title": "Delete blueprint?",
|
||||||
"confirm_delete_text": "Are you sure you want to delete this blueprint?",
|
"confirm_delete_text": "{name} will be permanently deleted.",
|
||||||
"add_blueprint": "Import blueprint",
|
"add_blueprint": "Import blueprint",
|
||||||
"no_blueprints": "[%key:ui::panel::config::automation::editor::blueprint::no_blueprints%]",
|
"no_blueprints": "[%key:ui::panel::config::automation::editor::blueprint::no_blueprints%]",
|
||||||
"create_automation": "Create automation",
|
"create_automation": "Create automation",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user