mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Update delete and disable integration dialog (#13772)
This commit is contained in:
parent
0ba4a07b92
commit
e1e3f9d925
@ -634,9 +634,16 @@ export class HaIntegrationCard extends LitElement {
|
||||
const entryId = configEntry.entry_id;
|
||||
|
||||
const confirmed = await showConfirmationDialog(this, {
|
||||
text: this.hass.localize(
|
||||
"ui.panel.config.integrations.config_entry.disable.disable_confirm"
|
||||
title: this.hass.localize(
|
||||
"ui.panel.config.integrations.config_entry.disable_confirm_title",
|
||||
{ title: configEntry.title }
|
||||
),
|
||||
text: this.hass.localize(
|
||||
"ui.panel.config.integrations.config_entry.disable_confirm_text"
|
||||
),
|
||||
confirmText: this.hass!.localize("ui.common.disable"),
|
||||
dismissText: this.hass!.localize("ui.common.cancel"),
|
||||
destructive: true,
|
||||
});
|
||||
|
||||
if (!confirmed) {
|
||||
@ -692,10 +699,16 @@ export class HaIntegrationCard extends LitElement {
|
||||
const entryId = configEntry.entry_id;
|
||||
|
||||
const confirmed = await showConfirmationDialog(this, {
|
||||
text: this.hass.localize(
|
||||
"ui.panel.config.integrations.config_entry.delete_confirm",
|
||||
title: this.hass.localize(
|
||||
"ui.panel.config.integrations.config_entry.delete_confirm_title",
|
||||
{ title: configEntry.title }
|
||||
),
|
||||
text: this.hass.localize(
|
||||
"ui.panel.config.integrations.config_entry.delete_confirm_text"
|
||||
),
|
||||
confirmText: this.hass!.localize("ui.common.delete"),
|
||||
dismissText: this.hass!.localize("ui.common.cancel"),
|
||||
destructive: true,
|
||||
});
|
||||
|
||||
if (!confirmed) {
|
||||
|
@ -2857,13 +2857,16 @@
|
||||
"download_diagnostics": "Download diagnostics",
|
||||
"known_issues": "Known issues",
|
||||
"delete": "Delete",
|
||||
"delete_confirm": "Are you sure you want to delete the {title} integration?",
|
||||
"delete_confirm_title": "Delete {title}?",
|
||||
"delete_confirm_text": "Its devices and entities will be permantly deleted.",
|
||||
"reload": "Reload",
|
||||
"restart_confirm": "Restart Home Assistant to finish removing this integration",
|
||||
"reload_confirm": "The integration was reloaded",
|
||||
"reload_restart_confirm": "Restart Home Assistant to finish reloading this integration",
|
||||
"disable_restart_confirm": "Restart Home Assistant to finish disabling this integration",
|
||||
"enable_restart_confirm": "Restart Home Assistant to finish enabling this integration",
|
||||
"disable_confirm_title": "Disable {title}?",
|
||||
"disable_confirm_text": "Its devices and entities will be disabled.",
|
||||
"disable_error": "Enabling or disabling of the integration failed",
|
||||
"manuf": "by {manufacturer}",
|
||||
"via": "Connected via",
|
||||
@ -2884,8 +2887,7 @@
|
||||
"user": "user",
|
||||
"integration": "integration",
|
||||
"device": "device"
|
||||
},
|
||||
"disable_confirm": "Are you sure you want to disable this config entry? Its devices and entities will be disabled."
|
||||
}
|
||||
},
|
||||
"provided_by_custom_integration": "Provided by a custom integration",
|
||||
"depends_on_cloud": "Depends on the cloud",
|
||||
|
Loading…
x
Reference in New Issue
Block a user