mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Change delete/remove wording in tag area to be consistent (#21299)
delete tags
This commit is contained in:
parent
050bef0564
commit
3e4d06fca3
@ -301,12 +301,13 @@ export class HaConfigTags extends SubscribeMixin(LitElement) {
|
|||||||
private async _removeTag(selectedTag: Tag) {
|
private async _removeTag(selectedTag: Tag) {
|
||||||
if (
|
if (
|
||||||
!(await showConfirmationDialog(this, {
|
!(await showConfirmationDialog(this, {
|
||||||
title: this.hass!.localize("ui.panel.config.tag.confirm_remove_title"),
|
title: this.hass!.localize("ui.panel.config.tag.confirm_delete_title"),
|
||||||
text: this.hass.localize("ui.panel.config.tag.confirm_remove", {
|
text: this.hass.localize("ui.panel.config.tag.confirm_delete", {
|
||||||
tag: selectedTag.name || selectedTag.id,
|
tag: selectedTag.name || selectedTag.id,
|
||||||
}),
|
}),
|
||||||
dismissText: this.hass!.localize("ui.common.cancel"),
|
dismissText: this.hass!.localize("ui.common.cancel"),
|
||||||
confirmText: this.hass!.localize("ui.common.remove"),
|
confirmText: this.hass!.localize("ui.common.delete"),
|
||||||
|
destructive: true,
|
||||||
}))
|
}))
|
||||||
) {
|
) {
|
||||||
return false;
|
return false;
|
||||||
|
@ -2107,8 +2107,8 @@
|
|||||||
"edit": "Edit",
|
"edit": "Edit",
|
||||||
"never_scanned": "Never scanned",
|
"never_scanned": "Never scanned",
|
||||||
"create_automation": "Create automation with tag",
|
"create_automation": "Create automation with tag",
|
||||||
"confirm_remove_title": "Remove tag?",
|
"confirm_delete_title": "Delete tag?",
|
||||||
"confirm_remove": "Are you sure you want to remove tag {tag}?",
|
"confirm_delete": "Are you sure you want to delete tag {tag}?",
|
||||||
"automation_title": "Tag {name} is scanned",
|
"automation_title": "Tag {name} is scanned",
|
||||||
"qr_code_image": "QR code for tag {name}",
|
"qr_code_image": "QR code for tag {name}",
|
||||||
"headers": {
|
"headers": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user