Skip to content

fix(i18n): correct Chinese translations including styling syntax and terminology - #8723

Merged
AmethystLiang merged 1 commit into
stablyai:mainfrom
ousugo:fix-chinese-translation
Jul 15, 2026
Merged

AmethystLiang merged 1 commit into
stablyai:mainfrom
ousugo:fix-chinese-translation

Conversation

@ousugo

@ousugo ousugo commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Corrected multiple Chinese translation issues in zh.json.

  • P0: Restored compiled CSS style sheets (specifically @keyframes browserFlash and @keyframes md-caret-blink properties) inside <style> tags to their original English format to fix page styling crashes.
  • P1: Corrected contextually wrong translations (e.g. Issue key translated to "钥匙", Terminal meta key translated to "钥匙", Shell settings search keywords translated to "壳"). Corrected Git Staging area terminology (e.g. "staged changes" translated to "分阶段更改" -> "已暂存的更改").
  • P2: Standardized terminology by replacing untranslated English "commit/commits" with "提交", "fork" with "派生", "daemon" with "守护进程", and "Runtime Environments" with "运行环境".
  • P3: Completed missing translation items (Windows Firewall notices, right-click settings, crash reports) and refined translations such as "cost" to "费用/开销".

Screenshots

No structural visual changes. Just textual correction in the Chinese UI.

Testing

  • pnpm lint
  • pnpm typecheck
  • pnpm test
  • pnpm build
  • Verified catalog consistency and coverage locally:
    • pnpm run verify:localization-catalog (PASSED)
    • pnpm run verify:localization-coverage (PASSED)

AI Review Report

Ran a thorough i18n localization review comparing en.json and zh.json (10576 keys).

  • Main risks checked: Interpolation placeholders {prompt}, CSS formatting, term accuracy in parallel agent development, platform-specific terminology.
  • Flagged: Major CSS translation bugs and placeholder translation in zh.json that would break rendering. Corrected those.
  • Platform checked: verified terminology matches Windows/macOS/Linux.

Security Audit

No code logic changes. Pure JSON i18n data correction. No security implications.

Notes

None.

@coderabbitai

coderabbitai Bot commented Jul 14, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 974521aa-103a-4d52-a554-612ec3bb7f21

📥 Commits

Reviewing files that changed from the base of the PR and between a8b55b31b6d050c738d2d9591c31ec19fba82d26 and 6e19a42b74136b30b9963a677792237059950069.

📒 Files selected for processing (1)
  • src/renderer/src/i18n/locales/zh.json
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/renderer/src/i18n/locales/zh.json

📝 Walkthrough

Walkthrough

Updated the Chinese locale with revised terminal, workspace, shell, keyboard, Git, source control, AI workflow, pull request, crash-report, firewall, AiVault, and accessibility wording. Also corrected clipboard instructions, system notices, conflict and worktree labels, and embedded browser/editor CSS and animation strings.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely summarizes the main change: correcting Chinese i18n translations and related styling syntax.
Description check ✅ Passed The description follows the template and includes all required sections with concrete details on summary, testing, review, security, and notes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2


ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 91414856-937a-4695-acdc-ea5dc19cd150

📥 Commits

Reviewing files that changed from the base of the PR and between 9d51732 and a8b55b31b6d050c738d2d9591c31ec19fba82d26.

📒 Files selected for processing (1)
  • src/renderer/src/i18n/locales/zh.json

Comment thread src/renderer/src/i18n/locales/zh.json Resolved
Comment thread src/renderer/src/i18n/locales/zh.json Resolved
@ousugo
ousugo force-pushed the fix-chinese-translation branch from a8b55b3 to 6e19a42 Compare July 14, 2026 10:36
@ousugo

ousugo commented Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

Done. Updated the Chinese translations according to the review comments. Thanks!

@AmethystLiang

Copy link
Copy Markdown
Contributor

非常感谢!

@AmethystLiang
AmethystLiang force-pushed the fix-chinese-translation branch from 6e19a42 to abfc7bf Compare July 15, 2026 20:04
@AmethystLiang
AmethystLiang merged commit 40c0061 into stablyai:main Jul 15, 2026
@ousugo
ousugo deleted the fix-chinese-translation branch July 15, 2026 20:07
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants