Files
magpie/internal/gui/assets/plugins/usage
yetone 2027381acf gui: Usage's empty Sessions text is translated again (Outvi V on Discord)
Usage's Sessions tab, with no sessions on this computer, said "No sessions
yet. Claude Code's, Codex's, OpenCode's and Pi's sessions..." in English
in every language. 5a4104632 (#569) added Hermes to that text's key in
i18n.js, and the page kept the old wording, which has no key. The page now
says the key's text, Hermes included (Hermes sessions are listed there).

i18n-keys gains "every word the window says has a key": every t("...")
literal in assets' scripts must have a zh key, "magpie" and "ID" excepted
as English on purpose. This was the only one missing.

Run: node --test internal/gui/tests/i18n-keys.test.cjs, 4 of 4 pass; with
the old page.js the new test fails naming page.js:2532. No other test or
source names the old wording.
Not tried: the window itself in each language.
2026-10-24 17:04:32 +08:00
..