Repository navigation
Conversation
📝 WalkthroughWalkthroughUpdated English, Spanish, Japanese, Korean, and Chinese locale files with strings for workspace composer host connections, worktree opening errors, workspace sleep failures, remote-host dialog labels, and Orca server update status. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 Checkov (3.3.8)src/renderer/src/i18n/locales/es.jsonTraceback (most recent call last): src/renderer/src/i18n/locales/en.jsonTraceback (most recent call last): src/renderer/src/i18n/locales/ja.jsonTraceback (most recent call last):
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: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 60bac485-7db1-46b7-aeb0-0716e2e8025a
📒 Files selected for processing (5)
src/renderer/src/i18n/locales/en.jsonsrc/renderer/src/i18n/locales/es.jsonsrc/renderer/src/i18n/locales/ja.jsonsrc/renderer/src/i18n/locales/ko.jsonsrc/renderer/src/i18n/locales/zh.json
| "sshImportFailed": "Failed to import SSH config.", | ||
| "importing": "Importing...", | ||
| "importSshConfig": "Import ~/.ssh/config" | ||
| "importSshConfig": "Import ~/.ssh/config", |
There was a problem hiding this comment.
🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win
Keep the catalog value synchronized with the source fallback.
AddRemoteHostDialog.tsx currently uses or import ~/.ssh/config, but en.json contains Import ~/.ssh/config. Since this catalog is generated from source-level fallbacks, update the catalog (or source) so both values match; otherwise localization verification or the rendered English copy may be inconsistent.
Proposed fix
- "importSshConfig": "Import ~/.ssh/config",
+ "importSshConfig": "or import ~/.ssh/config",📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| "importSshConfig": "Import ~/.ssh/config", | |
| "importSshConfig": "or import ~/.ssh/config", |
Source: Learnings
23be7ef to
981653f
Compare
|
Accidentally closed when a bad rebase helper force-pushed an empty tip. Restored and continued as #10348. |
Summary
pnpm lint/pnpm run verify:localization-catalogfails on currentmainbecause severaltranslate()keys referenced in renderer source are missing fromen.json, and non-English locales are out of parity.This PR runs the maintained repair path:
en.jsonfrom source-level string fallbacks (New Workspace host connect copy, SSH advanced label, sleep-worktree host verification messages)es/ja/ko/zhto restore catalog parityFixes #10080
Screenshots
No visual change — catalog keys only. UI already used English string fallbacks at call sites.
Testing
pnpm run verify:localization-catalogfails before, passes afterpnpm run sync:localization-catalog(idempotent on this branch)pnpm lint/ typecheck / test suite (catalog step is the reported failure)AI Review Report
--fixpath; no hand-edited translations beyond tool outputenSecurity Audit
Notes
pnpm lint(oxlint-only path for community PRs); local verify is greenpnpm lintwas blocked on unrelated files — this unblocks that path