Skip to content

Improve Chinese and Spanish translations - #7408

Merged
AmethystLiang merged 3 commits into
mainfrom
improve-chinese-translations
Jul 5, 2026
Merged

AmethystLiang merged 3 commits into
mainfrom
improve-chinese-translations

Conversation

@AmethystLiang

Copy link
Copy Markdown
Contributor

Summary

Refines and improves localization strings in Spanish (es.json) and Chinese (zh.json) locale files.

Chinese (zh.json) Updates

  • Replaced transliterated "令牌" with "token" across multiple status bar, token tracking, and integration descriptions.
  • Corrected status translation from "进行中" to "开放" for issue/task states.
  • Refined UI wording (e.g., "悬停提取" for hover extraction, "手机端按钮" removing trailing space, "文件管理器" instead of "资源管理器").

Spanish (es.json) Updates

  • Refined developer tools and notification playground translations (e.g., "Panel de prueba de notificaciones", "Toast de retraso respecto a la rama base").
  • Standardized translations for workspace session histories and scopes.

Screenshots

No visual change.

Testing

  • pnpm lint
  • pnpm typecheck
  • pnpm test
  • pnpm build
  • Added or updated high-quality tests that would catch regressions, or explained why tests were not needed

AI Review Report

This review verified translation updates in the JSON locale files. There is no logic or code impact. The review confirmed there are no platform-specific issues across macOS, Linux, or Windows as these are localized strings.

Security Audit

No input handling, command execution, or IPC risks are introduced. The changes are purely static localization strings.

Notes

None.

- Update Spanish strings for developer tools, notifications, and session history scopes.
- Standardize Chinese terminology by converting "令牌" to "token" and correcting color translations (e.g., "橙子" to "橙色").
- Adjust Chinese UI phrasing, such as mapping issue states from "进行中" to "开放" and "资源管���器" to "文件管理器".
@coderabbitai

coderabbitai Bot commented Jul 5, 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: 1853d212-05c1-4bab-a3d4-6552b49fa9c2

📥 Commits

Reviewing files that changed from the base of the PR and between 1651640 and 4a14799.

📒 Files selected for processing (2)
  • src/renderer/src/i18n/locales/es.json
  • src/renderer/src/i18n/locales/zh.json
✅ Files skipped from review due to trivial changes (2)
  • src/renderer/src/i18n/locales/es.json
  • src/renderer/src/i18n/locales/zh.json

📝 Walkthrough

Walkthrough

This pull request updates Spanish and Chinese locale strings. Spanish changes translate dev-tools notification playground text, DevTools toast and action labels, and AiVault session-history filters. Chinese changes standardize many UI strings from “令牌” to “token”, switch several status labels from “进行中” to “开放”, and revise integration, usage, automation, and miscellaneous interface text. A Chinese GitLab state filter test expectation was also updated.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title is concise and accurately summarizes the localization update for Chinese and Spanish strings.
Description check ✅ Passed The description follows the required template and includes Summary, Screenshots, Testing, AI Review Report, Security Audit, and Notes sections.
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: 4


ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 5ee5545b-a531-4883-ac49-dca0db0364a3

📥 Commits

Reviewing files that changed from the base of the PR and between 863d941 and 33667c2.

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

Comment thread src/renderer/src/i18n/locales/es.json Resolved
Comment thread src/renderer/src/i18n/locales/zh.json Resolved
Comment thread src/renderer/src/i18n/locales/zh.json Resolved
Comment thread src/renderer/src/i18n/locales/zh.json Resolved
AmethystLiang and others added 2 commits July 5, 2026 00:05
The zh locale intentionally remapped the GitLab MR 'Open' filter from
进行中 to 开放; align the test expectation with the translation.

Co-authored-by: Orca <[email protected]>
- Translate "Current workspace" to Spanish.
- Correct the translation of "Atlassian" and expand "PR" to "拉取请求"
  in Chinese locale.
- Fix spacing around English terms like "token" in Chinese text in Chinese.
@AmethystLiang
AmethystLiang merged commit 9886eb5 into main Jul 5, 2026
@LuisUrrutia LuisUrrutia mentioned this pull request Jul 5, 2026
1 of 5 tasks
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
* Refine Spanish and Chinese locale translations

- Update Spanish strings for developer tools, notifications, and session history scopes.
- Standardize Chinese terminology by converting "令牌" to "token" and correcting color translations (e.g., "橙子" to "橙色").
- Adjust Chinese UI phrasing, such as mapping issue states from "进行中" to "开放" and "资源管���器" to "文件管理器".

* test: update MR Open state filter expectation to 开放

The zh locale intentionally remapped the GitLab MR 'Open' filter from
进行中 to 开放; align the test expectation with the translation.

Co-authored-by: Orca <[email protected]>

* Improve Chinese and Spanish translations

- Translate "Current workspace" to Spanish.
- Correct the translation of "Atlassian" and expand "PR" to "拉取请求"
  in Chinese locale.
- Fix spacing around English terms like "token" in Chinese text in Chinese.

---------

Co-authored-by: Orca <[email protected]>
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.

1 participant