Compare commits

..
1 Commits
Author SHA1 Message Date
Petar Petrov 5938fd88f3 Use "remove" wording when removing devices 2026-11-10 20:01:04 +02:00
3 changed files with 11 additions and 6 deletions

No files matched your search

@@ -1173,6 +1173,9 @@ export class HaConfigDevicePage extends LitElement {
buttons.push({
action: async () => {
const confirmed = await showConfirmationDialog(this, {
title: this.hass.localize(
"ui.panel.config.devices.confirm_delete_title"
),
text:
this._integrations(device, this.entries, this.manifests)
.length > 1
@@ -1188,7 +1191,7 @@ export class HaConfigDevicePage extends LitElement {
: this.hass.localize(
`ui.panel.config.devices.confirm_delete`
),
confirmText: this.hass.localize("ui.common.delete"),
confirmText: this.hass.localize("ui.common.remove"),
dismissText: this.hass.localize("ui.common.cancel"),
destructive: true,
});
@@ -350,8 +350,9 @@ class HaConfigEntryDeviceRow extends LitElement {
private _handleDeleteDevice = async () => {
const confirmed = await showConfirmationDialog(this, {
title: this.hass.localize("ui.panel.config.devices.confirm_delete_title"),
text: this.hass.localize("ui.panel.config.devices.confirm_delete"),
confirmText: this.hass.localize("ui.common.delete"),
confirmText: this.hass.localize("ui.common.remove"),
dismissText: this.hass.localize("ui.common.cancel"),
destructive: true,
});
+5 -4
View File
@@ -7498,7 +7498,7 @@
"set_up_voice_assistant": "Set up voice assistant",
"download_diagnostics": "Download diagnostics",
"download_diagnostics_integration": "Download {integration} diagnostics",
"delete_device": "Delete",
"delete_device": "Remove device",
"delete_device_integration": "Remove device from {integration}",
"connected_devices": {
"heading": "Connected devices",
@@ -7600,9 +7600,10 @@
"unknown": "unknown"
},
"delete": "Delete",
"confirm_delete": "Are you sure you want to delete this device?",
"confirm_delete_title": "Remove device?",
"confirm_delete": "Are you sure you want to remove this device?",
"confirm_delete_integration": "Are you sure you want to remove this device from {integration}?",
"error_delete": "Error deleting device",
"error_delete": "Error removing device",
"picker": {
"search": "Search {number} {number, plural,\n one {device}\n other {devices}\n}",
"state": "Status",
@@ -7949,7 +7950,7 @@
"known_issues": "Known issues",
"delete": "Delete",
"delete_confirm_title": "Delete {title}?",
"delete_confirm_text": "Its devices and entities will be permanently deleted.",
"delete_confirm_text": "Its devices and entities will be permanently removed.",
"enable_debug_logging": "Enable debug logging",
"reconfigure": "Reconfigure",
"reload": "Reload",