mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +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;
|
button.progress = true;
|
||||||
|
|
||||||
const confirmed = await showConfirmationDialog(this, {
|
const confirmed = await showConfirmationDialog(this, {
|
||||||
title: this.addon.name,
|
title: this.supervisor.localize("dialog.uninstall_addon.title", {
|
||||||
text: "Are you sure you want to uninstall this add-on?",
|
name: this.addon.name,
|
||||||
confirmText: "uninstall add-on",
|
}),
|
||||||
dismissText: "no",
|
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) {
|
if (!confirmed) {
|
||||||
|
@ -5133,6 +5133,11 @@
|
|||||||
"text": "To use the new saved configuration this add-on must be restarted.",
|
"text": "To use the new saved configuration this add-on must be restarted.",
|
||||||
"restart": "Restart"
|
"restart": "Restart"
|
||||||
},
|
},
|
||||||
|
"uninstall_addon": {
|
||||||
|
"title": "Uninstall {name}?",
|
||||||
|
"text": "Its configuration will be permanently deleted.",
|
||||||
|
"uninstall": "Uninstall"
|
||||||
|
},
|
||||||
"hardware": {
|
"hardware": {
|
||||||
"title": "Hardware",
|
"title": "Hardware",
|
||||||
"search": "Search hardware",
|
"search": "Search hardware",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user