From 29449103daed148d19e72b5f7b44d941f83c4699 Mon Sep 17 00:00:00 2001 From: Bob Lee Date: Mon, 27 Jul 2026 00:35:12 -0700 Subject: [PATCH] fix(web-ui): shorten hooks docs button label The Codex-compatibility card already names Codex hooks docs in its title and description, so the button repeated it and wrapped to two lines. Trim it to just "Open docs" across all three locales. --- src/web-ui/src/locales/en-US/settings/hooks.json | 2 +- src/web-ui/src/locales/zh-CN/settings/hooks.json | 2 +- src/web-ui/src/locales/zh-TW/settings/hooks.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/web-ui/src/locales/en-US/settings/hooks.json b/src/web-ui/src/locales/en-US/settings/hooks.json index 65c887fc50..7e30849ae8 100644 --- a/src/web-ui/src/locales/en-US/settings/hooks.json +++ b/src/web-ui/src/locales/en-US/settings/hooks.json @@ -34,7 +34,7 @@ "reference": { "label": "Event and payload reference", "description": "Codex's hooks documentation is the reference for event names, payload fields, and the decision schema.", - "open": "Open Codex hooks docs" + "open": "Open docs" } }, "messages": { diff --git a/src/web-ui/src/locales/zh-CN/settings/hooks.json b/src/web-ui/src/locales/zh-CN/settings/hooks.json index 308b83e1f6..3b7ba593c4 100644 --- a/src/web-ui/src/locales/zh-CN/settings/hooks.json +++ b/src/web-ui/src/locales/zh-CN/settings/hooks.json @@ -34,7 +34,7 @@ "reference": { "label": "事件与载荷参考", "description": "事件名、载荷字段和决策结构以 Codex 的 Hooks 文档为准。", - "open": "打开 Codex Hooks 文档" + "open": "打开文档" } }, "messages": { diff --git a/src/web-ui/src/locales/zh-TW/settings/hooks.json b/src/web-ui/src/locales/zh-TW/settings/hooks.json index 0132fb5ef4..6839ffd661 100644 --- a/src/web-ui/src/locales/zh-TW/settings/hooks.json +++ b/src/web-ui/src/locales/zh-TW/settings/hooks.json @@ -34,7 +34,7 @@ "reference": { "label": "事件與載荷參考", "description": "事件名稱、載荷欄位和決策結構以 Codex 的 Hooks 文件為準。", - "open": "開啟 Codex Hooks 文件" + "open": "開啟文件" } }, "messages": {