chore: make non-i18n code English-only (#117)

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Yaowei ZhengandClaude Opus 5 authored and GitHub committed 2026-07-29 18:03:41 +08:00
1 parent f63037866e
commit 4681135423
19 files changed
+113 -106

No files matched your search

@@ -24,7 +24,7 @@ export function ApprovalButtons({
};
// Text at every breakpoint (per review): action buttons the user presses must read as words —
// "允许/Allow" and "拒绝/Deny" — never as bare glyphs; iconic shorthand is reserved for
// "Allow" and "Deny" — never as bare glyphs; iconic shorthand is reserved for
// passive indicators. The buttons live on their own row under the (wrapping) argument
// preview, so the words cost no width the pending card doesn't already have.
return (
@@ -683,8 +683,8 @@ const versionBadgeClass =
"ml-1.5 inline-block rounded-full bg-[var(--accent-bg)] px-1.5 align-super text-[10px] font-medium leading-4 text-[var(--accent-fg)] transition-opacity duration-150 hover:opacity-80";
/**
* Quiet version line under the brand subtitle: `vX.Y.Z · 最近更新日期 7 月 26 日` /
* `… · Last updated Jul 26`. The product name is not repeated here — the brand wordmark
* Quiet version line under the brand subtitle: `vX.Y.Z · Last updated Jul 26`
* (localized per dictionary). The product name is not repeated here — the brand wordmark
* sits directly above, and the sidebar's version footer is bare `vX.Y.Z` too. The date is
* the running version's release
* date, stamped into core's BUILD_DATE at build time — displayed as-is, no network;
@@ -205,7 +205,7 @@ export function ToolCallCard({ item, ctx }: { item: ToolCallItem; ctx: StreamRen
: failed
? "failed"
: "done";
// Decision wording ("Approved · manual" / "已拒绝 · 手动" …): carried ONLY by the left status
// Decision wording ("Approved · manual", "Denied · manual", …): carried ONLY by the left status
// icon's title/aria-label — per review the row shows no visible decision text at any
// breakpoint; the icon is the single source of truth for how the call was decided.
const decisionText = item.decision