fix(i18n): 补全剩余用户界面中文文案#22
Merged
zerx-lab merged 5 commits intozerx-lab:mainfrom May 4, 2026
Merged
Conversation
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
补全 OpenWarp 当前分支中真实用户界面仍可见的英文固定文案国际化,覆盖终端输入区、Agent/会话界面、设置、Code Review、Drive 分享、Notebook/Workflow、workspace/onboarding 等界面文案,并同步补齐
en与zh-CNFluent 资源。主要改动:
crate::t!/crate::t_static!/t_or等本地化入口。crates/onboarding增加 app 注入的本地化回调,使 onboarding callout 能复用 app i18n 资源。t_static!的泄漏风险,改为运行时crate::t!字符串。说明:当前 PR 仍包含部分非功能性 rustfmt churn,后续 review 如需可以继续清理成更窄的 i18n-only diff。
Testing
git diff --check origin/maincargo fmt --checken=2620、zh=2620,无重复、无缺失、无额外 key./script/run --dont-open生成 app bundle/Users/staff/project/AI/warp/target/debug/current-OpenWarp.apptarget/debug/current-OpenWarp.app/Contents/MacOS/warp-ossfrontmost=true, visible=true, windows=1未运行完整
./script/presubmit,因为本次改动面较大且本地完整 presubmit 成本较高;先以 draft PR 收集 review。Server API dependencies
Agent Mode
Co-Authored-By: Warp [email protected]