diff --git a/hassio/src/addon-view/info/hassio-addon-info.ts b/hassio/src/addon-view/info/hassio-addon-info.ts index 3753b8a42d..3cc3d23010 100644 --- a/hassio/src/addon-view/info/hassio-addon-info.ts +++ b/hassio/src/addon-view/info/hassio-addon-info.ts @@ -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) { diff --git a/src/translations/en.json b/src/translations/en.json index 3751ef5866..21f081d1a4 100755 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -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",