I just noticed that the reference for the toggle field seems to be outdated: https://getkirby.com/docs/reference/panel/fields/toggle#text-toggle-translated
There it says that translations for the toggle should be added like this:
fields:
toggle:
label: Toggle
type: toggle
text:
-
en: Nope
de: Och nö
-
en: Yay
de: Juhu
I did this in the past, but now I noticed that this doesn’t work anymore. However, the following syntax does work:
fields:
toggle:
label: Toggle
type: toggle
text:
en:
Nope
Yay
de:
Och nö
Juhu
Has this been changed recently?