#872: the web release leaves Georgian out; one pref.language line in docs/mcp.md

This commit is contained in:
bflatastic
2026-10-20 00:03:02 +07:00
parent 381ec85203
commit 97f2c99d6b
2 changed files with 4 additions and 4 deletions
+1 -2
View File
@@ -419,8 +419,7 @@ on; `key` resolves keys the way the canvas does. Commands behind keys:
accessibility setting turns it on too). Prototype transitions still play. accessibility setting turns it on too). Prototype transitions still play.
- `pref.autoSave {on?}`: files that have a path save themselves a few seconds after they change - `pref.autoSave {on?}`: files that have a path save themselves a few seconds after they change
(off by default; the desktop app's timer does it, so scripts still call `file.save`). (off by default; the desktop app's timer does it, so scripts still call `file.save`).
- `pref.language {language: system|en|cs|ru|es|es-419|fr|de|pt-BR|ja|ka|ko|zh-Hans|…}`: the app's interface language, applied live ("system": - `pref.language {language: system|en|cs|ru|es|es-419|fr|de|pt-BR|ja|ka|ko|sv|zh-Hans|…}`: the app's interface language, applied live ("system":
- `pref.language {language: system|en|es|es-419|fr|de|pt-BR|ja|ko|sv|zh-Hans|…}`: the app's interface language, applied live ("system":
the OS or browser language; a language without a catalog shows English). Command ids, labels and the OS or browser language; a language without a catalog shows English). Command ids, labels and
every result stay English. every result stay English.
+3 -2
View File
@@ -66,8 +66,9 @@ something on screen needs it (see `crates/ui-egui/src/cjk.rs`). The web build ha
so Japanese, Korean and Chinese appear there only in a build with craft-fonts and so Japanese, Korean and Chinese appear there only in a build with craft-fonts and
`FIGCRAFT_EMBED_CJK=1` (Noto Sans CJK SC, +16 MB); otherwise they are left out of the picker. A `FIGCRAFT_EMBED_CJK=1` (Noto Sans CJK SC, +16 MB); otherwise they are left out of the picker. A
Chinese UI puts its Chinese face first so Han takes Simplified Chinese shapes. Georgian is drawn in Chinese UI puts its Chinese face first so Han takes Simplified Chinese shapes. Georgian is drawn in
craft-fonts' Noto Sans Georgian, one of the built-in faces in `theme::install_fonts` (and kept in craft-fonts' Noto Sans Georgian, one of the built-in faces in `theme::install_fonts`. Web builds
web builds by `crates/text/build.rs`). A new CJK or other non-Latin language also needs its script in keep it only when built with craft-fonts (`crates/text/build.rs`); the web release isn't, so its
picker leaves Georgian out. A new CJK or other non-Latin language also needs its script in
`cjk::language`, or a built-in craft-fonts face. `cjk::language`, or a built-in craft-fonts face.
## Adding a language ## Adding a language