Repository navigation
fix(i18n): translate English terms left in 33 Korean strings - #47880
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Severity of issue fixed: Low Merge Risk:
|
Korean values that still mixed in English terms (Chat UI, Computer Use, Cookie, Group ID, Request Headers, rate-limit, Pet, n/a, workflow #, Preserve log) now use the Korean terms the rest of the catalog already uses. The matching locale-ko-key-overrides pins are updated so repair-locale-catalog keeps the new wording. Fixes stablyai#47881 Co-authored-by: Neil <[email protected]>
463def5 to
9e681c1
Compare
ELI5
With Orca set to Korean, some screens still showed an English word where the rest of the Korean app uses a Korean one. The Chat UI switch read "Chat UI 꺼짐" even though its Settings page is titled 채팅 UI. The MiniMax cookie fields said "Cookie", and the Computer Use status lines said "Computer Use". This PR swaps those English words for the Korean terms the app already uses, in 33 strings.
What Changed
src/renderer/src/i18n/locales/ko.json. 6 pins change inconfig/scripts/locale-catalog/locale-ko-key-overrides.json(the 5computerUseSummary.*keys andStatusBar.6d1042aa6f). Those pins held the old English wording, sorepair-locale-catalog.mjswould otherwise put it back. No keys, English source strings, code or other locales change.Cookiestays in EnglishTwo values are reworded instead of swapped word for word, because a plain swap reads badly: 컴퓨터 사용 기능을 이용할 수 없습니다 and 컴퓨터 사용 기능을 이용할 준비가 되었습니다.
These stay as they are on purpose: the product name "Orca Computer Use 스킬", the header name in "Cookie 헤더" and "Cookie 값", the settings search keyword
new shell, andfast-forward,diffandMarkdown, which the catalog rules keep in English.All 33 values
Chat UI → 채팅 UI (9)
settings.chat.launch.onsettings.chat.launch.offsettings.chat.launch.agentsDescriptionsettings.chat.launch.togglecomponents.native-chat.sessionOption.commandCanceledcomponents.native-chat.cardKindHidden.settingsLinkcomponents.native-chat.cardKindHidden.failedfeatureTips.chatUiHere.switchedNoteTitlefeatureTips.chatUiHere.switchedNoteBodyComputer Use → 컴퓨터 사용 (5)
auto.components.settings.computerUseSummary.checkingTitleauto.components.settings.computerUseSummary.checkingDescriptionauto.components.settings.computerUseSummary.unavailableTitleauto.components.settings.computerUseSummary.unavailableDescriptionauto.components.settings.computerUseSummary.readyTitleCookie · Group ID · Request Headers · Preserve log → 쿠키 · 그룹 ID · 요청 헤더 · 로그 보존 (13)
auto.components.settings.AccountsPane.2f24f244a4auto.components.settings.AccountsPane.8e6f0cb1d8auto.components.settings.AccountsPane.8d61637a77auto.components.settings.AccountsPane.b43e761fe5auto.components.settings.AccountsPane.33bba5ad83auto.components.settings.AccountsPane.bf160bb6c0auto.components.settings.AccountsPane.b1e2743313auto.components.settings.AccountsPane.0747d6391aauto.components.settings.AccountsPane.31d24a4e87auto.components.settings.AccountsPane.435df0ee51auto.components.settings.AccountsPane.9fec52de4bauto.components.settings.AccountsPane.4d41177f74auto.components.settings.AccountsPane.4cab0fa42drate-limit → 사용량 한도 (2)
auto.components.status.bar.StatusBar.3325d996cbauto.components.status.bar.StatusBar.6d1042aa6fPet · n/a · workflow (4)
auto.components.status.bar.PetStatusSegment.2021d4f6dbauto.components.stats.UsageBreakdownSection.7765a4c3e1auto.components.right.sidebar.checks.panel.content.2dd5ddabc4auto.components.editor.CheckRunDetailsPanel.2dd5ddabc4Why
When one term has two names, the Korean UI is harder to follow. The Settings page is titled 채팅 UI but the switch under it says "Chat UI 꺼짐", so a user who searches for one name does not find the other. These values are outside the glossary families that #47335 added a check for, so neither
repair-locale-catalog.mjs --locale konor the catalog verifier flags them. As in #47521 and #46947, only the wrong part of each value changes.Linked Issue
Fixes #47881
Visual Proof
The Chat UI switch in Settings › 채팅 UI, rendered in Korean from
main(top) and this branch (bottom), through a component fixture (AgentDefaultSurfaceSection,presentation="switch",uiLanguage: 'ko'). The fixture was only used locally and is not part of this PR.Light:
Dark:
The other values appear in toasts, tooltips, dialogs and field labels. The full list above gives the before and after for each of them.
Testing
I manually tested these changes locally
Automated tests added/updated, or explained why not below
Every added test fails without this change and avoids the test anti-patterns
On the squashed head, macOS:
verify:localization-catalogs,verify:localization-catalogandverify:localization-protected-copypass.oxfmt --checkpasses on both files, and the changed-code quality gate reports no changed JS/TS.Ran
node config/scripts/locale-catalog/repair-locale-catalog.mjs --locale koon this branch, then threw away its output. It reverts none of the 33 changed values. Its other 160 changes are already onmainand are unrelated.The contributor rendered the Chat UI switch in Korean before and after (screenshots above), and checked each value against the component that renders it.
No tests added: AGENTS.md says not to test copy or translations, and only catalog values and pins change.
Performance
None, because only catalog values and a build-time override table change.
ko.jsongrows by 93 bytes (1,732,895 to 1,732,988 bytes). Parsing the whole file withJSON.parsetakes about 2.9 ms onmainand 2.7 ms here (best of 15 runs, within noise). The file loads the same way as before.Risk
Level: Low
This changes Korean wording in 33 strings. If a replacement reads oddly, a Korean user sees an odd Korean word where an English one used to be. A plain revert backs it out. The 6 pinned values were updated along with the catalog, so a later
repair-locale-catalogrun keeps the new wording for those. The other 27 are not pinned, so a later machine-translation refresh could bring back some of the old English.Review
Agent skill upstream boundary
Notes
Ensure no issues in: Security, Cross-platform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance
Original fix by @yohangwak in #47880. A maintainer squashed it onto current
mainand also translated "Preserve log" in the MiniMax cookie steps. Authorship is preserved.Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)