Resolve "[Dashboard]: Error translations are broken in meeting form"

The problem was, that validation schema has been initalized BEFORE i18next. So the t function was not available yet. Now we pass the function to the error message, instead of direct translation string. In that case validation schema will call the t function during validation. And at that timepoint it's already avaliable

Closes #2686

Edited by oleksii sukhodolskyi

Merge request reports

Loading
Loading