Files
DeepSeek-TUI/web/scripts
Lstarsky0 ca001891fb feat(web): move docs/hooks and docs/troubleshooting onto the dictionary spine (#5337)
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.
2026-08-18 16:34:44 +08:00
..