mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +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;
|
||||
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;
|
||||
|
@ -1371,7 +1371,11 @@
|
||||
"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%]",
|
||||
"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": {
|
||||
"minimum": "Minimum value",
|
||||
|
Loading…
x
Reference in New Issue
Block a user