mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
localize input_select form (#19829)
This commit is contained in:
parent
45e09a262b
commit
dd8c1d359c
@ -177,8 +177,13 @@ class HaInputSelectForm extends LitElement {
|
|||||||
const index = (ev.target as any).index;
|
const index = (ev.target as any).index;
|
||||||
if (
|
if (
|
||||||
!(await showConfirmationDialog(this, {
|
!(await showConfirmationDialog(this, {
|
||||||
title: "Delete this item?",
|
title: this.hass.localize(
|
||||||
text: "Are you sure you want to delete this item?",
|
"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;
|
return;
|
||||||
|
@ -1371,7 +1371,11 @@
|
|||||||
"add_option": "[%key:ui::panel::config::automation::editor::actions::type::choose::add_option%]",
|
"add_option": "[%key:ui::panel::config::automation::editor::actions::type::choose::add_option%]",
|
||||||
"remove_option": "[%key:ui::panel::config::automation::editor::actions::type::choose::remove_option%]",
|
"remove_option": "[%key:ui::panel::config::automation::editor::actions::type::choose::remove_option%]",
|
||||||
"no_options": "There are no options yet.",
|
"no_options": "There are no options yet.",
|
||||||
"add": "Add"
|
"add": "Add",
|
||||||
|
"confirm_delete": {
|
||||||
|
"delete": "[%key:ui::components::todo::item::confirm_delete::delete%]",
|
||||||
|
"prompt": "[%key:ui::components::todo::item::confirm_delete::prompt%]"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"counter": {
|
"counter": {
|
||||||
"minimum": "Minimum value",
|
"minimum": "Minimum value",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user