mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 00:07:10 +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",
|
"constant": "Constant",
|
||||||
"bool": "Optional boolean",
|
"bool": "Optional boolean",
|
||||||
"int": "Numeric input"
|
"int": "Numeric input"
|
||||||
}
|
},
|
||||||
|
"submit": "Save!"
|
||||||
},
|
},
|
||||||
"options_2": {
|
"options_2": {
|
||||||
"data": {
|
"data": {
|
||||||
|
@ -135,6 +135,7 @@ def gen_data_entry_schema(
|
|||||||
vol.Optional("data"): {str: cv.string_with_no_html},
|
vol.Optional("data"): {str: cv.string_with_no_html},
|
||||||
vol.Optional("data_description"): {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("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},
|
vol.Optional("error"): {str: cv.string_with_no_html},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user