You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I discovered if I fill wrong result in calc guard field, calc guard shows error message in English, even though my site is in Czech. This is the relevant part of the controller:
I found what causes this issue. It actually is Kirby itself. My site is single-language and the language is not English, which is default in Kirby. Turns out Kirby does not handle locale settings well on single-language pages. There is even a suggestion addressing this behavior on kirby.nolt.io
Describe the bug
I discovered if I fill wrong result in calc guard field, calc guard shows error message in English, even though my site is in Czech. This is the relevant part of the controller:
This is the template:
Now, when I leave the captcha field blank, the returned error message is as defined in
new Form()
.But when I fill wrong result (let's say 3 + 3 = 77), English error message 'Please solve the arithmetic problem.' is returned.
Expected behavior
Czech error message should be shown.
Additional context
I tried it in Kirby 4.6.1 plainkit with the latest Uniform.
The text was updated successfully, but these errors were encountered: