Repository navigation
fix(i18n): translate 452 missing Russian desktop strings for agents, accounts, onboarding and usage - #49840
fix(i18n): translate 452 missing Russian desktop strings for agents, accounts, onboarding and usage#49840yohangwak wants to merge 1 commit into
Conversation
…accounts, onboarding and usage Adds Russian for agent accounts, agent CLI updates, the agent picker, usage and rate-limit messages, onboarding, auto-naming and orchestration. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Walkthrough
Severity of issue fixed: Low Merge Risk:
|
ELI5
With Orca set to Russian, parts of the desktop app still show English: agents, accounts, onboarding and usage. This PR adds Russian for 438 of those strings (part 5 of 7). Only the Russian word list changes.
What Changed
en.jsonhad no entry insrc/renderer/src/i18n/locales/ru.jsonand no open maintainer PR covers them, so i18next fell back to English inside otherwise Russian screens (agents, accounts, onboarding and usage)._few/_manyplural forms, which Russian needs beyond English and which are built from the English_other. Values use вы, as the existingru.jsondoes (406 values with вы forms vs 0 with ты onmain), «» quotes, … and ё, and its established terms (рабочее пространство, рабочее дерево, сервер for host, пул-реквест, Интерфейс чата). "Bot" stays in Latin script, as the project keeps product names untranslated; sentences are worded so the Latin word needs no case ending. Where a Russian case ending would break on an inserted name, the name is a quoted label («{{host}}»).src/renderer/src/i18n/locales/ru.json, each placed after its nearesten.jsonsibling that already exists in the file (diff +517 −11; every removed line only gains a trailing comma). No existing value, English string, code or other locale changes. Every value passes the upstreamrepairTranslatedValuepolicy unchanged.accounts.antigravity.addAccountaccounts.antigravity.addAccountHelpaccounts.antigravity.addAccountInAppaccounts.antigravity.agentPlatformOptionaccounts.antigravity.apiKeyaccounts.antigravity.apiKeyFromEnvironmentaccounts.antigravity.apiKeyLabelaccounts.antigravity.apiKeyOptionaccounts.antigravity.apiKeyPlaceholderaccounts.antigravity.apiKeyRemoveWhy
These strings sit in screens that are otherwise Russian, so each English line stands out.
Linked Issue
Fixes #49834
This PR covers the agents, accounts, onboarding and usage part of the issue; the other 6 Russian PRs cover the rest, with no key in two PRs.
Visual Proof
N/A — only catalog strings change; there is no layout, styling or interaction change. The table above shows what the affected labels render as with the interface set to Русский.
Testing
On macOS, this branch (253f137) is based on
mainat 4e43dff:pnpm verify:localization-catalogpasses: desktop ru coverage goes from 21,223 to 21,675 entries (English has 25,069 keys). It fails with an interpolation mismatch when one{{placeholder}}in a new value is broken (checked as a positive control).pnpm check:changed --base=upstream/mainpasses (29 checks, including format, typecheck, localization coverage, localization catalogs and localization extraction).{{placeholder}}and<tag>set and leading/trailing spaces (script check over all new values).Performance
None, because only the Russian desktop catalog grows (about 46 KB). It is loaded only when Russian is selected; there is no new code path, I/O, polling or subprocess work.
Risk
Level: Low
The worst case is a Russian label that reads wrong on its screen. No behavior, saved data, settings, paired phones or SSH hosts are touched; the catalog is the same on macOS, Linux and Windows. To back out, do a plain revert.
AI Disclosure
Translated with Claude Opus 5.5 (high effort) in Claude Code. Opus chose every Russian value from the English source and the screen each string appears on, reusing the terms already in the desktop ru.json.
Review
AI review summary: copy-only change to one locale catalog. Cross-platform: the catalog is shared by macOS, Linux and Windows. SSH/remote: no change. Agent compatibility: no change. Performance: data only. UI: copy only, no layout change. Security: no change.
Agent skill upstream boundary
Notes
Keys that open maintainer PRs already translate (#45740 bot screens, #47391 bot templates and skills, #39759, #36758) are left out so the PRs don't write the same lines. #46107 also proposes values for many of these keys as a single full-catalog PR; this series is split by area so each part can be reviewed and merged on its own. This is PR 5 of 7 for Russian; each one adds different keys on top of the same
main, so they can merge in any order.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) — not run locally;pnpm check:changed --base=upstream/mainpassed (29 checks, including format, typecheck and the localization checks), and CI runs the full suite.🤖 Generated with Claude Code