Repository navigation
Conversation
stablyai#49637 gave the file explorer one search field for file names and text. Its 11 strings had no Korean, so the Korean UI showed them in English: the field's placeholder (and "Search {{path}}" in a sparse checkout), the Files and Text section headers (and "Files in {{path}}" and "Text in workspace" in a sparse checkout), Show all, No results, the row for too many matches, the "Not available here" row, and the scope popover's line on what search covers. stablyai#49574 also added a screen reader note for the chat HTML view's disabled Preview toggle, with no Korean. Add the 12 keys in en.json's order, using the catalog's existing wording where it has one: 검색, 파일, 텍스트, 결과 없음, 미리보기, 스파스 체크아웃, "{{value0}}에서 검색" for Search {{value0}}, and "…개 모두 표시" for Show all.
|
No actionable comments were generated in the recent review. Walkthrough
Severity of issue fixed: Low Merge Risk:
|
ELI5
The file explorer got one search box for file names and text, but in Korean its placeholder, section headers and status rows were still English. This adds Korean for them, plus a screen reader note in the chat's HTML view.
What Changed
src/renderer/src/i18n/locales/ko.jsongets the 12 missing leaves inen.json's order (fileExplorer.combinedSearch.*,fileExplorer.root.combinedSearchExplanation,fileSearch.unavailableandcomponents.native-chat.htmlViewPreviewWaiting). The diff adds 14 new lines and a trailing comma to 2 existing ones (+16/-2).Why
Most words come from the catalog's existing Korean for the same English: Search is 검색, Files 파일, Text 텍스트, No results 결과 없음, Preview 미리보기 (the toggle itself), and sparse checkout 스파스 체크아웃. The two templates follow existing patterns: "Search {{value0}}" is "{{value0}}에서 검색", so "Search {{path}}" is "{{path}}에서 검색", and "Show all {{value0}} plugins" is "플러그인 {{value0}}개 모두 표시", so "Show all {{count}}" is "{{count}}개 모두 표시".
"Too many matches" and "Not available here" are rows in the same list as No results (the code notes that the "Not available here" row should read like No results), so they use the same short form: 일치하는 항목이 너무 많음 and 여기서는 사용할 수 없음. 일치하는 항목 is also how the catalog says matches elsewhere ("No matches" is 일치하는 항목 없음).
Linked Issue
If you do not have one and are an outside contributor, your PR will be ignored. Refs is not sufficient. Link an actual issue
Fixes #49908
Visual Proof
N/A for screenshots: catalog text only. All 12 lines rendered with Orca's own
translateunder the Korean catalog ofmain(where they fall back to English) and of this branch, withcount37 andpathsrc/components:maincomponents.native-chat.htmlViewPreviewWaitingfileExplorer.root.combinedSearchExplanationfileExplorer.combinedSearch.textfileExplorer.combinedSearch.filesInfileExplorer.combinedSearch.filesfileExplorer.combinedSearch.showAllfileExplorer.combinedSearch.noResultsfileExplorer.combinedSearch.placeholderfileExplorer.combinedSearch.placeholderScopedfileExplorer.combinedSearch.textInWorkspacefileExplorer.combinedSearch.refinefileSearch.unavailableTesting
I did not open the search field by hand. Everything below ran on macOS, on
mainat 64fcbd6 and this branch on top of it.config/vitest.config.ts) loaded each Korean catalog into Orca's i18n and rendered the 12 keys. Onmainthey come out in English and on this branch in Korean. The table above comes from it.pnpm run verify:localization-catalogpasses,oxfmt --checkpasses onko.json, andpnpm exec vitest run --config config/vitest.config.ts config/scripts/localization config/scripts/locale-catalogpasses (4 files, 8 tests).node config/scripts/locale-catalog/repair-locale-catalog.mjs --locale kokeeps all 12 values. It changes 146 other values, the same keys to the same results as onmain; I did not keep its output.pnpm check:changedpasses all 29 checks, including the localization catalogs, coverage and extraction checks.Performance
None, because only 12 Korean strings are added to the catalog; nothing else runs differently.
Risk
Level: Low
Korean only, text only, and only added keys. At worst a Korean line reads less well than it should. A plain revert backs it out.
AI Disclosure
I used Claude Code (Claude Opus 5.5). It found the missing keys, matched them to the catalog's existing Korean, wrote this description and rendered the before and after lines. A separate Claude Code review pass checked the values and the description before I opened this.
Review
Agent skill upstream boundary
Notes
Ensure no issues in: Security, Cross-platform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred). I ranpnpm check:changedlocally and CI covers the rest.