mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 05:35:11 +02:00
Allow translation for data entry submit button (#88499)
This commit is contained in:
@@ -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},
|
||||||
|
Reference in New Issue
Block a user