feat(quick-261016-0fm): per-admin theme and locale preferences
- GET and PUT /account/preferences (own row only, interactive sessions, CSRF header on cookie writes) store admin_theme and admin_locale in backend_users.metadata, keeping every other key - GET /auth/me and the My account answers carry preferences - phrasebook.Translator.Locales lists the locales defining a prefix - route tables, conformance cases, OpenAPI document, TS types and docs
This commit is contained in:
@@ -19,6 +19,11 @@ nav:
|
||||
expand: Expand menu
|
||||
user_menu: User menu
|
||||
view_site: View site
|
||||
theme: "Theme: :mode"
|
||||
theme_system: System
|
||||
theme_light: Light
|
||||
theme_dark: Dark
|
||||
language: Language
|
||||
page:
|
||||
not_found: Page not found.
|
||||
list:
|
||||
@@ -341,6 +346,8 @@ myaccount:
|
||||
current_password_invalid: The current password is incorrect.
|
||||
field_not_editable: This field cannot be changed on My account.
|
||||
subtitle_unavailable: The subtitle cannot be saved because the stored profile metadata is not a JSON object.
|
||||
preferences_unavailable: The preference cannot be saved because the stored profile metadata is not a JSON object.
|
||||
preferences_failed: Your preference could not be saved.
|
||||
saved: Account saved
|
||||
avatar: Avatar
|
||||
avatar_upload: Upload picture
|
||||
|
||||
@@ -21,6 +21,11 @@ nav:
|
||||
expand: Rozwiń menu
|
||||
user_menu: Menu użytkownika
|
||||
view_site: Zobacz stronę
|
||||
theme: "Motyw: :mode"
|
||||
theme_system: Systemowy
|
||||
theme_light: Jasny
|
||||
theme_dark: Ciemny
|
||||
language: Język
|
||||
page:
|
||||
not_found: Nie znaleziono strony.
|
||||
list:
|
||||
@@ -363,6 +368,8 @@ myaccount:
|
||||
current_password_invalid: Obecne hasło jest nieprawidłowe.
|
||||
field_not_editable: Tego pola nie można zmienić w ustawieniach konta.
|
||||
subtitle_unavailable: Nie można zapisać podtytułu, ponieważ zapisane metadane profilu nie są obiektem JSON.
|
||||
preferences_unavailable: Nie można zapisać ustawienia, ponieważ zapisane metadane profilu nie są obiektem JSON.
|
||||
preferences_failed: Nie udało się zapisać ustawienia.
|
||||
saved: Zapisano konto
|
||||
avatar: Awatar
|
||||
avatar_upload: Wgraj zdjęcie
|
||||
|
||||
Reference in New Issue
Block a user