fix(web): 收斂 IwoooS 英文內容為繁中
Some checks failed
Some checks failed
This commit is contained in:
@@ -1,3 +1,45 @@
|
||||
## 2026-05-31|IwoooS `/en` 內容層繁體中文收斂
|
||||
|
||||
**背景**:
|
||||
|
||||
- 正式站驗證側邊欄菜單已合併為單一 `IwoooS 安全合規` 入口,但 `/en/iwooos` 頁面內容仍殘留 `Security Compliance Hub`、`Existing Security Surfaces`、`Embedded bridge visible`、`Original source` 等英文區塊。
|
||||
- 使用者已明確要求所有網站內容都以繁體中文呈現,因此不能只收斂側邊欄導覽文字。
|
||||
|
||||
**本次調整**:
|
||||
|
||||
- `apps/web/messages/en.json` 的 `iwooos` 區塊完整鏡像 `zh-TW.json`,讓 `/en/iwooos` 內容層也維持繁體中文。
|
||||
- 保留必要產品與技術名詞:`IwoooS`、`AwoooP`、`SecurityPanel`、`CompliancePanel`、`Code Review`、`runtime gate` 等只作為系統名詞,不再使用英文段落作為使用者說明文。
|
||||
- `security-mirror-progress-guard.py` 新增 `web_messages.en.iwooos.traditional_chinese_mirror`,防止後續 `/en/iwooos` 再與繁中主內容分叉。
|
||||
|
||||
**驗證**:
|
||||
|
||||
```text
|
||||
diff -u <(jq -S '.iwooos' apps/web/messages/zh-TW.json) <(jq -S '.iwooos' apps/web/messages/en.json)
|
||||
-> pass
|
||||
python3 -m json.tool apps/web/messages/en.json
|
||||
-> pass
|
||||
python3 -m py_compile scripts/security/security-mirror-progress-guard.py scripts/security/source-control-owner-response-guard.py
|
||||
-> pass
|
||||
python3 scripts/security/security-mirror-progress-guard.py
|
||||
-> SECURITY_MIRROR_PROGRESS_GUARD_OK
|
||||
python3 scripts/security/source-control-owner-response-guard.py
|
||||
-> SOURCE_CONTROL_OWNER_RESPONSE_GUARD_OK
|
||||
pnpm --dir apps/web exec tsc --noEmit --tsBuildInfoFile /tmp/awoooi-iwooos-language-full-20260531.tsbuildinfo
|
||||
-> pass
|
||||
NEXT_PUBLIC_API_URL=https://awoooi.wooo.work pnpm --dir apps/web run build
|
||||
-> pass
|
||||
本地 Playwright(production build / next start):
|
||||
/en/iwooos 桌機 1280px -> 無 Command Center / Security & Compliance / Classic AI Center / Terminal / Settings / Security Compliance Hub / Existing Security Surfaces / Embedded bridge visible / Original source / read-only link 英文殘留;側邊欄單一 /en/iwooos;無水平溢出
|
||||
/en/security-compliance 桌機 1280px -> 同上,舊路由仍由單一 IwoooS 側邊欄入口承接;無水平溢出
|
||||
/en/iwooos 手機 390px -> 無上述英文殘留;單一 /en/iwooos 側邊欄入口;無水平溢出
|
||||
/en/security-compliance 手機 390px -> 無上述英文殘留;單一 /en/iwooos 側邊欄入口;無水平溢出
|
||||
```
|
||||
|
||||
**進度邊界**:
|
||||
|
||||
- 整體資安網仍維持 `61%`;本輪是使用者可理解度與語系一致性收斂,不代表 runtime 安全等級升高。
|
||||
- active runtime gate 仍為 `0`;沒有新增掃描、SSH、主機更新、修復、批准、部署按鈕或 GitHub primary 切換。
|
||||
|
||||
## 2026-05-31|Telegram / AwoooP 處置結果與人工通知契約補齊
|
||||
|
||||
**背景**:
|
||||
|
||||
Reference in New Issue
Block a user