mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Update delete dashboard dialog (#13762)
This commit is contained in:
parent
087a897cbe
commit
bc62e9372b
@ -365,6 +365,7 @@ export class HaConfigLovelaceDashboards extends LitElement {
|
|||||||
"ui.panel.config.lovelace.dashboards.confirm_delete_text"
|
"ui.panel.config.lovelace.dashboards.confirm_delete_text"
|
||||||
),
|
),
|
||||||
confirmText: this.hass!.localize("ui.common.delete"),
|
confirmText: this.hass!.localize("ui.common.delete"),
|
||||||
|
destructive: true,
|
||||||
}))
|
}))
|
||||||
) {
|
) {
|
||||||
return false;
|
return false;
|
||||||
|
@ -1720,7 +1720,7 @@
|
|||||||
"add_dashboard": "Add dashboard"
|
"add_dashboard": "Add dashboard"
|
||||||
},
|
},
|
||||||
"confirm_delete_title": "Delete {dashboard_title}?",
|
"confirm_delete_title": "Delete {dashboard_title}?",
|
||||||
"confirm_delete_text": "Your dashboard will be permanently deleted.",
|
"confirm_delete_text": "This dashboard will be permanently deleted.",
|
||||||
"cant_edit_yaml": "Dashboards created in YAML cannot be edited from the UI. Change them in configuration.yaml.",
|
"cant_edit_yaml": "Dashboards created in YAML cannot be edited from the UI. Change them in configuration.yaml.",
|
||||||
"cant_edit_default": "The default dashboard, Overview, cannot be edited from the UI. You can hide it by setting another dashboard as default.",
|
"cant_edit_default": "The default dashboard, Overview, cannot be edited from the UI. You can hide it by setting another dashboard as default.",
|
||||||
"detail": {
|
"detail": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user