docs: document defaults.lang (pin default UI language)
This commit is contained in:
parent
bcd2b8b1ff
commit
c728d32977
1 changed files with 1 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ Merge rules: objects merge key-by-key; **arrays and scalars replace** wholesale.
|
||||||
| `report.target` | string | Channel that user reports are sent to. |
|
| `report.target` | string | Channel that user reports are sent to. |
|
||||||
| `defaults.theme` | string | `light` · `dark` · `yomirc` · `yomirc-dark`. |
|
| `defaults.theme` | string | `light` · `dark` · `yomirc` · `yomirc-dark`. |
|
||||||
| `defaults.compact` / `sound` / `hideJoinQuit` / `clock24` | bool | Preset new-user prefs. |
|
| `defaults.compact` / `sound` / `hideJoinQuit` / `clock24` | bool | Preset new-user prefs. |
|
||||||
|
| `defaults.lang` | string | Pin a default UI language (e.g. `en`, `fr`, `de`). Overrides browser detection for users who haven't picked one. Omit to auto-detect. |
|
||||||
| `features.push` / `imageUpload` / `register` | bool | Turn whole features on/off. |
|
| `features.push` / `imageUpload` / `register` | bool | Turn whole features on/off. |
|
||||||
|
|
||||||
> `defaults.*` only seed a user's preferences the **first** time — once someone changes a setting,
|
> `defaults.*` only seed a user's preferences the **first** time — once someone changes a setting,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue