feat(terminal): /en/terminal 双语薄壳——命令行为零分叉
- terminal.astro 抽 locale prop:frontmatter 静态文案 + script 层
zh/en 双 DICT(命令描述/ls 路由表/whoami/exit 目标),双轨共享
一份 chunk;路径守卫 Set{/terminal,/en/terminal}
- en/terminal.astro 四行薄壳 <TerminalPage locale="en" />
- Keyboard 帮助表 terminal 词条按 /en/ 前缀改写(其余表格文案
双语化留给独立车道,注释已标)
车道:op-artalk(自验 15/15);收编验收 build+双轨 playwright 过——
首验 FAIL 系验收方误用 textContent 吞了内联脚本中文注释,innerText
复核零中文,非车道缺陷
验证: pnpm astro build 30 页 exit 0(双产物);双轨 playwright 验收
(en 可见文案零中文/ls en 路由表/zh 回归/Keyboard 词条)全过
Spec: none (页型双语薄壳,车道级小活)
Co-authored-by: GLM-5.3
This commit is contained in:
1 parent
f57b1bde5f
commit
b18d019a2e
3 files changed
+110
-35
No files matched your search
@@ -0,0 +1,6 @@
|
||||
---
|
||||
// en 轨薄壳:复用 /terminal 全部实现,仅切 locale(文案源见 terminal.astro 的 DICT)
|
||||
import TerminalPage from '../terminal.astro';
|
||||
---
|
||||
|
||||
<TerminalPage locale="en" />
|
||||
Reference in new issue
Block a user