diff --git a/src/panels/config/hardware/ha-config-hardware.ts b/src/panels/config/hardware/ha-config-hardware.ts index 2d225bca1c..f04b06e039 100644 --- a/src/panels/config/hardware/ha-config-hardware.ts +++ b/src/panels/config/hardware/ha-config-hardware.ts @@ -376,10 +376,11 @@ class HaConfigHardware extends SubscribeMixin(LitElement) { private async _hostReboot(): Promise { const confirmed = await showConfirmationDialog(this, { - title: this.hass.localize("ui.panel.config.hardware.reboot_host"), - text: this.hass.localize("ui.panel.config.hardware.reboot_host_confirm"), - confirmText: this.hass.localize("ui.panel.config.hardware.reboot_host"), + title: this.hass.localize("ui.panel.config.hardware.reboot_host_title"), + text: this.hass.localize("ui.panel.config.hardware.reboot_host_text"), + confirmText: this.hass.localize("ui.panel.config.hardware.reboot"), dismissText: this.hass.localize("ui.common.cancel"), + destructive: true, }); if (!confirmed) { @@ -408,12 +409,11 @@ class HaConfigHardware extends SubscribeMixin(LitElement) { private async _hostShutdown(): Promise { const confirmed = await showConfirmationDialog(this, { - title: this.hass.localize("ui.panel.config.hardware.shutdown_host"), - text: this.hass.localize( - "ui.panel.config.hardware.shutdown_host_confirm" - ), - confirmText: this.hass.localize("ui.panel.config.hardware.shutdown_host"), + title: this.hass.localize("ui.panel.config.hardware.shutdown_host_title"), + text: this.hass.localize("ui.panel.config.hardware.shutdown_host_text"), + confirmText: this.hass.localize("ui.panel.config.hardware.shutdown"), dismissText: this.hass.localize("ui.common.cancel"), + destructive: true, }); if (!confirmed) { diff --git a/src/translations/en.json b/src/translations/en.json index f700139aa1..64b3974457 100755 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -1622,14 +1622,18 @@ }, "processor": "Processor", "memory": "Memory", - "reboot_host": "Reboot host", - "rebooting_host": "Rebooting host", - "reboot_host_confirm": "Are you sure you want to reboot your host?", - "failed_to_reboot_host": "Failed to reboot host", - "shutdown_host": "Shutdown host", - "host_shutting_down": "Host shutting down", - "shutdown_host_confirm": "Are you sure you want to shutdown your host?", - "failed_to_shutdown_host": "Failed to shutdown host", + "rebooting_host": "Rebooting system", + "reboot": "Reboot", + "reboot_host": "Reboot system", + "reboot_host_title": "Reboot system?", + "reboot_host_text": "This will reboot the complete system which includes the Core and all Add-ons.", + "failed_to_reboot_host": "Failed to reboot system", + "host_shutting_down": "system shutting down", + "shutdown": "Shutdown", + "shutdown_host": "Shutdown system", + "shutdown_host_title": "Shutdown system?", + "shutdown_host_text": "This will shutdown the complete system which includes the Core and all Add-ons.", + "failed_to_shutdown_host": "Failed to shutdown system", "board": "Board", "documentation": "Documentation", "documentation_description": "Find extra information about your device"