Allow translation for data entry submit button (#88499)
This commit is contained in:
parent
ecf87ae979
commit
bee79e351e
2 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue