Update delete dashboard dialog (#13762)

This commit is contained in:
Paul Bottein 2022-09-16 13:40:41 +02:00 committed by GitHub
parent 087a897cbe
commit bc62e9372b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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;

View File

@ -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": {