The app's own pages in the server's nine languages
scripts/gen-i18n.py writes ui/i18n.js from the server's catalogues where the same sentence exists and from its own table otherwise; the pages pick the language from the browser and fall back to English. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
7 files changed
+1175
-58
No files matched your search
@@ -6,6 +6,30 @@ All notable changes to LLeMbas Desktop. The format follows
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Changed
|
||||
|
||||
- The app's own pages take their look from the server's `tokens.css`, copied by
|
||||
`scripts/fetch-tokens.sh` from a server tag and pinned in `tokens.lock.json` (the script with
|
||||
no argument verifies the copy). The hand copy had drifted: `--danger`, `--control-h` and
|
||||
`--text-xl` were not the server's. The pages name no colour, size or space of their own, and
|
||||
no font is bundled: the font rules are left out of the copy, so the title bar and the
|
||||
first-run page are set in the system's monospace face.
|
||||
- The window's frame is painted in the theme's border colour read out of `tokens.css` at build
|
||||
time (`build.rs`), not a value written in Rust, and it changes with the theme.
|
||||
- The first-run page and the title bar speak the system's language when it is one of the
|
||||
server's nine (Czech, German, Spanish, French, Hungarian, Italian, Polish, Slovak; English
|
||||
otherwise). `ui/i18n.js` is generated by `scripts/gen-i18n.py`: the sentences the server also
|
||||
has are translated as the server translates them, the app's own are in the script.
|
||||
|
||||
### Fixed
|
||||
|
||||
- The title bar followed the desktop's light or dark setting, not the account's theme, so it
|
||||
could be dark over the parchment (Shire) page. It now follows the server page: a script in the
|
||||
content view reports the page's theme to the app, which paints the frame, the title bar and
|
||||
the first-run page in it and remembers it for the next start. The server's pages still get no
|
||||
IPC; the report is a navigation attempt the app reads and refuses.
|
||||
- The close button's hover colour was a literal white; it is the theme's inverse ink.
|
||||
|
||||
## [0.4.0] — 2026-10-14
|
||||
|
||||
Carries LLeMbas CLI 1.2.0, whose agent stays linked before any folder is allowed and follows
|
||||
|
||||
Reference in new issue
Block a user