Repository navigation
Add translations for terminal shell settings - #25418
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. 🧰 Additional context used📚 Code guidelines (1)📝 WalkthroughWalkthroughTerminal shell settings and their search entry now use translation helpers, with related locale strings and localization coverage entries updated. French, Japanese, Korean, and Chinese locale files also add interface strings for providers, settings, terminal workflows, credentials, editing, recovery, and session handling. Chinese locale entries revise several translations for agent and child terminology. Shell selection, validation, and argument behavior remain unchanged. Priority: ⬇️ Low Merge Risk: 🔵 Low · up to Users of affected languages may see incorrect settings text or need to find the Codex reversal command elsewhere. The changes are mergeable with these localized fixes or an explicit follow-up. 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
Full details: Description checkExplanation The description explains the problem, solution, and reason, but it leaves required information incomplete: the linked issue is blank, no before-and-after visual proof or N/A explanation is provided for the UI change, and the testing section lists unchecked items instead of verification steps and platforms. Resolution Add the linked issue, attach before-and-after visual proof or state N/A with a reason if there is no visual or interaction change, and provide the testing steps and platforms used. Update the test checkboxes to reflect the actual verification status. Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 2 files. (7 skipped: 7 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 7
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
1dca0fb1-22fa-41a4-94d9-211cb671aa86
📥 Commits
Reviewing files that changed from the base of the PR and between f873aaa and 9ebd8066a912ae7749e3786809b87a22b194ac02.
📒 Files selected for processing (10)
config/localization-audit.mdconfig/localization-coverage-allowlist.jsonsrc/renderer/src/components/settings/TerminalPane.tsxsrc/renderer/src/components/settings/terminal-search.tssrc/renderer/src/i18n/locales/en.jsonsrc/renderer/src/i18n/locales/es.jsonsrc/renderer/src/i18n/locales/fr.jsonsrc/renderer/src/i18n/locales/ja.jsonsrc/renderer/src/i18n/locales/ko.jsonsrc/renderer/src/i18n/locales/zh.json
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.
There was a problem hiding this comment.
ℹ️ No critical issues — minor suggestions only.
Reviewed changes
- Terminal shell settings localized —
TerminalPane.tsxnow wraps its title, description, segmented-control labels, input placeholder/aria labels, validation error, help text, and the settings-searchtitle/description/keywordsintranslate(...)/translateSearchKeyword(...);terminal-search.tsdoes the same for the pane search entry. The old allowlisted raw strings are correspondingly removed. - Catalog additions — 31
auto.components.settings.TerminalPane.*and 12auto.components.settings.terminal.search.*keys added toen.json, plus translations in all five target locales.es.jsonalso carries a ~3700-line Spanish backfill and fr/ja/ko/zh ~300 lines each of unrelated backlog (zcode usage, Codex server isolation, phone session, freebuff/qoder/jcode/dsh labels) from the recurringconfig/update-translation.txtscan — broader than the title implies. - Allowlist + audit doc —
localization-coverage-allowlist.jsontrimmed to 11 entries and the count prose inconfig/localization-audit.mdupdated to match.
I ran the four localization gates against the branch: verify-localization-catalogs (all five locales 15187/15187, 0 missing), audit-localization-coverage --check, verify-localization-extraction, and a flattened key/placeholder parity check across locales — all pass, and every JSON parses.
deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏
Wrap Terminal Pane shell configuration strings and terminal search keywords with translation calls to enable localization across supported languages. Add translated strings to all locale files and update the localization coverage allowlist to reflect properly translated content.
9ebd806 to
7d87f36
Compare

Problem
Terminal shell configuration UI—labels, descriptions, and search keywords—was displayed only in English, even when Orca is set to other languages.
Solution
Wrapped terminal shell setting strings in the translation system and added corresponding translation keys for Spanish, French, Japanese, Korean, and Simplified Chinese. Updated localization allowlist to reflect the new translatable content.
Why
Follows the existing i18n pattern used throughout the codebase. Ensures users in non-English locales see shell settings in their language, matching the rest of the UI.
Testing
pnpm lintpasses (localization allowlist updated)