You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(i18n): translate 320 missing Russian desktop strings for workspace cleanup, deletion and project hooks - #49836
With Orca set to Russian, parts of the desktop app still show English: workspace cleanup, deletion and project hooks. This PR adds Russian for 286 of those strings (part 2 of 7). Only the Russian word list changes.
What Changed
Before: 286 keys in en.json had no entry in src/renderer/src/i18n/locales/ru.json and no open maintainer PR covers them, so i18next fell back to English inside otherwise Russian screens (workspace cleanup, deletion and project hooks).
After: each of those keys has a Russian value plus 34 _few/_many plural forms, which Russian needs beyond English and which are built from the English _other. Values use вы, as the existing ru.json does (406 values with вы forms vs 0 with ты on main), «» 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}}»).
Mechanism: new leaves in src/renderer/src/i18n/locales/ru.json, each placed after its nearest en.json sibling that already exists in the file (diff +399 −5; every removed line only gains a trailing comma). No existing value, English string, code or other locale changes. Every value passes the upstream repairTranslatedValue policy unchanged.
This PR covers the workspace cleanup, deletion and project hooks 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
I manually tested these changes locally — not ticked: the values were checked by the catalog verifier and the scripts below, but the app itself was not run.
Automated tests added/updated, or explained why not below: none added, since this only adds catalog values, which the existing catalog verifiers check (placeholder and tag sets, coverage).
Every added test fails without this change and avoids the test anti-patterns: no tests added.
On macOS, this branch (b073c9e) is based on main at 4e43dff:
pnpm verify:localization-catalog passes: desktop ru coverage goes from 21,223 to 21,543 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/main passes (29 checks, including format, typecheck, localization coverage, localization catalogs and localization extraction).
Each new value keeps the English {{placeholder}} and <tag> set and leading/trailing spaces (script check over all new values).
Performance
None, because only the Russian desktop catalog grows (about 36 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
Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.
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 2 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
This PR is small and focused
I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
I stated the risk: what could break, for whom, and how to back it out
Before/after screenshots or videos attached for UI changes, or N/A with reason
Self-reviewed for correctness, security, and performance
Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred) — not run locally; pnpm check:changed --base=upstream/main passed (29 checks, including format, typecheck and the localization checks), and CI runs the full suite.
…e cleanup, deletion and project hooks
Adds Russian for Settings > Workspace Cleanup, agent-history cleanup, workspace and chat delete dialogs, the disk and hidden-tab notices, project hook scripts, the per-server notification and Orca account settings, the app rail and the month calendar.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Russian locale adds and updates strings for workspace cleanup, ignored-file warnings, workspace and chat deletion, server settings, and app navigation. The changes are limited to locale text and do not change application behavior.
Severity of issue fixed: Medium
Merge Risk: Low · up to b073c
This change adds Russian translations only. One existing confirmation dialog still says matching workspaces will be deleted when the rule would archive them. The wording could mislead users, but the problem comes from the shared source copy and dialog logic, not from this translation, so it can be handled as a follow-up.
Pre-merge checks: 3 · 1
Failed checks: 1 inconclusive
Check name
Status
Explanation
Resolution
Linked Issues check
Issue #49834 asks for Russian values for 2,272 keys missing from ru.json. This PR targets the 286-key workspace cleanup, deletion and project-hooks area. The PR description states that each of those k…
Provide a readable ru.json diff (or the head blob) for the base-to-head change. Confirm that every key present in en.json and absent from ru.json at the merge base, within the workspace cleanup, deletion and project-hooks area, has a non-em…
Passed checks: 3 passed
Check name
Status
Explanation
Title check
The title names the main change: Russian translations for 320 missing desktop strings covering workspace cleanup, deletion and project hooks. It matches the locale-only diff. The title is long, but it…
Out of Scope Changes check
The PR changes only src/renderer/src/i18n/locales/ru.json. The description and raw summary describe added Russian values and plural forms, with no change to existing values, English strings, code, or …
Description check
The description is largely complete and follows the repository template. It includes ELI5, What Changed, Why, Linked Issue (Part of #49834, with the template's 'Fixes #' replaced by a partial referenc…
Full details: Title check
Explanation
The title names the main change: Russian translations for 320 missing desktop strings covering workspace cleanup, deletion and project hooks. It matches the locale-only diff. The title is long, but it is specific and accurate, so it passes.
Full details: Out of Scope Changes check
Explanation
The PR changes only src/renderer/src/i18n/locales/ru.json. The description and raw summary describe added Russian values and plural forms, with no change to existing values, English strings, code, or other locales. These additions implement the translation objective of #49834. The raw summary mentions several areas (app navigation, server-scoped settings and notifications, agent-history deletion). These are catalog additions, not code or behavior changes. No concrete unrelated change is demonstrated. The key-level mapping is not fully verified because the ru.json diff was unavailable, so this result depends on the description and summary.
Full details: Description check
Explanation
The description is largely complete and follows the repository template. It includes ELI5, What Changed, Why, Linked Issue (Part of #49834, with the template's 'Fixes #' replaced by a partial reference), Visual Proof (N/A with reason), Testing, Performance, Risk (Level: Low), AI Disclosure, Review, the upstream boundary checkbox, Notes, and Checklist. Two points are weaker: the Linked Issue section uses 'Part of #49834' rather than a closing reference, and the Why section is brief and does not explain why this approach was chosen over alternatives. The manual testing box is intentionally unchecked and the lint/typecheck/test/build checkbox is unchecked, with the author explaining the reasons. The Risk section names the riskiest part only loosely and gives a plain revert as the rollback. These gaps are minor for a copy-only locale change.
Full details: Linked Issues check
Explanation
Issue #49834 asks for Russian values for 2,272 keys missing from ru.json. This PR targets the 286-key workspace cleanup, deletion and project-hooks area. The PR description states that each of those keys gets a Russian value plus 34 _few/_many plural forms. The reported coverage change (21,223 to 21,543, +320) matches 286 + 34. The raw summary also describes matching ru.json additions. The ru.json diff could not be read: the changed blobs are missing from the checkout. So this assessment cannot confirm that each of the 286 target keys has a value at head. It also cannot confirm that the listed appRail.* and navigation keys belong to this area. The issue requirement is coding work (catalog values), and no non-coding requirement applies.
Resolution
Provide a readable ru.json diff (or the head blob) for the base-to-head change. Confirm that every key present in en.json and absent from ru.json at the merge base, within the workspace cleanup, deletion and project-hooks area, has a non-empty Russian value at head. Confirm the appRail.* keys are part of that area.
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
Review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: 3fe8f049-9b45-4c96-bce6-96643019f896
Commits
Reviewing files that changed from the base of the PR and between 845867a and b073c9e.
Files selected for processing: 1
src/renderer/src/i18n/locales/ru.json
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 2 remain after this review.
The reason will be displayed to describe this comment to others. Learn more.
Minor · Functional Correctness · Quick win
The enable confirmation describes deletion even when the inactive rule archives.
When archive support is enabled, turning on the inactive-workspace rule with action set to archive opens the enable confirmation. That dialog uses the enable.title, enable.description, and enable.summary copy, which state that matching workspaces "will be deleted." The request built in toggleRule does not carry the action, and the dialog does not branch on it. A user who confirms archive sees a deletion warning for an action that only archives. This can cause the user to cancel or to misunderstand what the rule does.
Give the enable confirmation an archive-specific variant. Pass the rule action in the request, then choose archive copy (for example, the existing archiveDescription meaning) when the action is archive. Keep the deletion copy for delete. Add the matching keys to en.json and translate them in ru.json. The Russian line at ru.json:22768 should keep the deletion wording for delete rules only.
This branch has not been deployed
No deployments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ELI5
With Orca set to Russian, parts of the desktop app still show English: workspace cleanup, deletion and project hooks. This PR adds Russian for 286 of those strings (part 2 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 (workspace cleanup, deletion and project hooks)._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 +399 −5; every removed line only gains a trailing comma). No existing value, English string, code or other locale changes. Every value passes the upstreamrepairTranslatedValuepolicy unchanged.appRail.accountappRail.customizeappRail.moreappRail.navigationLabelappRail.pageRegionappRail.signInappRail.toolsLabelappRail.workspacesauto.components.sidebar.DeleteWorktreeDirtyChangeHint.moreLoadedPathschats.delete.actionWhy
These strings sit in screens that are otherwise Russian, so each English line stands out.
Linked Issue
Part of #49834
This PR covers the workspace cleanup, deletion and project hooks 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 (b073c9e) is based on
mainat 4e43dff:pnpm verify:localization-catalogpasses: desktop ru coverage goes from 21,223 to 21,543 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 36 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 2 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