Align exception-translations with translation requirements (#2487)

This commit is contained in:
Tom 2024-12-05 11:31:48 +01:00 committed by GitHub
parent 529d1bc456
commit 07c01b39da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -44,8 +44,12 @@ async def async_set_schedule(call: ServiceCall) -> ServiceResponse:
```json
{
"exceptions": {
"end_date_before_start_date": "The end date cannot be before the start date.",
"cannot_connect_to_schedule": "Cannot connect to the schedule."
"end_date_before_start_date": {
"message": "The end date cannot be before the start date."
},
"cannot_connect_to_schedule": {
"message": "Cannot connect to the schedule."
}
}
}
```