mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Update Uninstall add-on dialog (#13898)
This commit is contained in:
parent
4a07d3d39b
commit
61d09072a7
@ -1024,10 +1024,13 @@ class HassioAddonInfo extends LitElement {
|
||||
button.progress = true;
|
||||
|
||||
const confirmed = await showConfirmationDialog(this, {
|
||||
title: this.addon.name,
|
||||
text: "Are you sure you want to uninstall this add-on?",
|
||||
confirmText: "uninstall add-on",
|
||||
dismissText: "no",
|
||||
title: this.supervisor.localize("dialog.uninstall_addon.title", {
|
||||
name: this.addon.name,
|
||||
}),
|
||||
text: this.supervisor.localize("dialog.uninstall_addon.text"),
|
||||
confirmText: this.supervisor.localize("dialog.uninstall_addon.uninstall"),
|
||||
dismissText: this.supervisor.localize("common.cancel"),
|
||||
destructive: true,
|
||||
});
|
||||
|
||||
if (!confirmed) {
|
||||
|
@ -5133,6 +5133,11 @@
|
||||
"text": "To use the new saved configuration this add-on must be restarted.",
|
||||
"restart": "Restart"
|
||||
},
|
||||
"uninstall_addon": {
|
||||
"title": "Uninstall {name}?",
|
||||
"text": "Its configuration will be permanently deleted.",
|
||||
"uninstall": "Uninstall"
|
||||
},
|
||||
"hardware": {
|
||||
"title": "Hardware",
|
||||
"search": "Search hardware",
|
||||
|
Loading…
x
Reference in New Issue
Block a user