mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Update delete person dialog (#13763)
This commit is contained in:
parent
dcfcd54f10
commit
7ffd30643a
@ -233,10 +233,16 @@ class HaConfigPerson extends LitElement {
|
||||
removeEntry: async () => {
|
||||
if (
|
||||
!(await showConfirmationDialog(this, {
|
||||
title: this.hass!.localize("ui.panel.config.person.confirm_delete"),
|
||||
text: this.hass!.localize("ui.panel.config.person.confirm_delete2"),
|
||||
title: this.hass!.localize(
|
||||
"ui.panel.config.person.confirm_delete_title",
|
||||
{ name: entry!.name }
|
||||
),
|
||||
text: this.hass!.localize(
|
||||
"ui.panel.config.person.confirm_delete_text"
|
||||
),
|
||||
dismissText: this.hass!.localize("ui.common.cancel"),
|
||||
confirmText: this.hass!.localize("ui.common.delete"),
|
||||
destructive: true,
|
||||
}))
|
||||
) {
|
||||
return false;
|
||||
|
@ -2749,8 +2749,8 @@
|
||||
"no_persons_created_yet": "Looks like you have not added any people yet.",
|
||||
"create_person": "Create Person",
|
||||
"add_person": "Add Person",
|
||||
"confirm_delete": "Are you sure you want to delete this person?",
|
||||
"confirm_delete2": "All devices belonging to this person will become unassigned.",
|
||||
"confirm_delete_title": "Delete {name}?",
|
||||
"confirm_delete_text": "This person will be permanently deleted and all devices belonging to this person will become unassigned.",
|
||||
"person_not_found_title": "Person Not Found",
|
||||
"person_not_found": "We couldn't find the person you were trying to edit.",
|
||||
"detail": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user