localize input_select form (#19829)

This commit is contained in:
karwosts
2024-02-27 09:22:34 -05:00
committed by GitHub
parent 45e09a262b
commit dd8c1d359c
2 changed files with 12 additions and 3 deletions

View File

@@ -177,8 +177,13 @@ class HaInputSelectForm extends LitElement {
const index = (ev.target as any).index;
if (
!(await showConfirmationDialog(this, {
title: "Delete this item?",
text: "Are you sure you want to delete this item?",
title: this.hass.localize(
"ui.dialogs.helper_settings.input_select.confirm_delete.delete"
),
text: this.hass.localize(
"ui.dialogs.helper_settings.input_select.confirm_delete.prompt"
),
destructive: true,
}))
) {
return;