Fix name in confirmation delete dialog (#13815)

This commit is contained in:
Paul Bottein 2022-09-19 12:34:06 +02:00 committed by GitHub
parent 8c125f4dee
commit fc104e7280
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 4 deletions

View File

@ -333,7 +333,6 @@ class HaBlueprintOverview extends LitElement {
),
text: this.hass.localize(
"ui.panel.config.blueprint.overview.confirm_delete_text",
"name",
{ name: blueprint.name }
),
confirmText: this.hass!.localize("ui.common.delete"),

View File

@ -783,8 +783,7 @@ export class HaSceneEditor extends SubscribeMixin(
),
text: this.hass!.localize(
"ui.panel.config.scene.picker.delete_confirm_text",
"name",
this._config?.name
{ name: this._config?.name }
),
confirmText: this.hass!.localize("ui.common.delete"),
dismissText: this.hass!.localize("ui.common.cancel"),

View File

@ -327,7 +327,6 @@ class HaScriptPicker extends LitElement {
),
text: this.hass.localize(
"ui.panel.config.script.editor.delete_confirm_text",
"name",
{ name: script.name }
),
confirmText: this.hass!.localize("ui.common.delete"),