962faac5 The user module now returns the user's locale and syncs it into api.config; link click interception is narrowed.
- The user() API result now includes a locale field taken from the user data.
- The user module now calls user() at startup and updates api.config.locale when the user's locale differs.
- api.config is replaced with a frozen copy carrying the user's locale, so config.locale can change after initialization.
Files 3
+22 -11
1 modified