mirror of
https://github.com/Hmbown/DeepSeek-TUI.git
synced 2026-09-03 15:06:17 +08:00
Both page bodies branched on isZh for every string, so the 16 partial
locales had nowhere to put a translation and the copy sat outside the
check:locales and dictionaries.test.ts parity gates.
The copy moves verbatim into web/lib/i18n/dictionaries/<code>/, en plus
zh, and both pages read one dictionary. Every other locale resolves to
the English reference exactly as the ternaries did.
The hooks overview sentence typesets [[hooks.hooks]], /hooks and
[hooks].enabled as inline code. Those are config syntax rather than
copy, so they stay in the page and the sentence carries a {token} for
each one, which also puts it under the existing token-parity check.
splitTokens splits a template on every token it carries — splitToken
handles one, and this sentence has three.