mirror of
https://github.com/home-assistant/core.git
synced 2025-07-12 15:57:06 +00:00
Allow translation for data entry submit button (#88499)
This commit is contained in:
parent
ecf87ae979
commit
bee79e351e
@ -51,7 +51,8 @@
|
||||
"constant": "Constant",
|
||||
"bool": "Optional boolean",
|
||||
"int": "Numeric input"
|
||||
}
|
||||
},
|
||||
"submit": "Save!"
|
||||
},
|
||||
"options_2": {
|
||||
"data": {
|
||||
|
@ -135,6 +135,7 @@ def gen_data_entry_schema(
|
||||
vol.Optional("data"): {str: cv.string_with_no_html},
|
||||
vol.Optional("data_description"): {str: cv.string_with_no_html},
|
||||
vol.Optional("menu_options"): {str: cv.string_with_no_html},
|
||||
vol.Optional("submit"): cv.string_with_no_html,
|
||||
}
|
||||
},
|
||||
vol.Optional("error"): {str: cv.string_with_no_html},
|
||||
|
Loading…
x
Reference in New Issue
Block a user