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
…` hook (#3332)
mainly a proposal to partially solve
#3268
Grouping the translations by components makes it easier to read and work
with, as opposed to having a flat structure with long key names.
But will also explore different things for where the translations should
live
- [x] find where the translations should live. `DataContext` might not
be the best place from my research.
- [x] move all fields into their own objects.
- [x] Capitalize first letter of component names in translation files.
- [x] Move error translations up one level
- [x] integrate `useLocale`-hook
- [x] Fix tests
- [x] Rebase form main
- [x] Rename Organization number => Organisation number (en-US => en-GB)
for upper and lower case
- [x] Document the new `Form.useLocale` hook.
- [x] Reframe the PR title and mention the "breaking" change.
relies on #3349
---------
Co-authored-by: Tobias Høegh <tobias@tujo.no>
Form.Provider
By moving, we may ;
The text was updated successfully, but these errors were encountered: