Add support for common references in strings.json (#118783)
* Add support for common references in strings.json * Update tests
This commit is contained in:
parent
b2a54c50e2
commit
6c15351c18
3 changed files with 107 additions and 70 deletions
|
@ -375,6 +375,7 @@ def gen_strings_schema(config: Config, integration: Integration) -> vol.Schema:
|
|||
vol.Required("done"): translation_value_validator,
|
||||
},
|
||||
},
|
||||
vol.Optional("common"): vol.Schema({cv.slug: translation_value_validator}),
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue