Skip to content

fix(i18n): translate 589 missing Russian desktop strings for settings pages - #49842

Open
yohangwak wants to merge 1 commit into
stablyai:mainfrom
yohangwak:yohangwak/ru-desktop-i18n-6
Open

yohangwak wants to merge 1 commit into
stablyai:mainfrom
yohangwak:yohangwak/ru-desktop-i18n-6

Conversation

@yohangwak

@yohangwak yohangwak commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

With Orca set to Russian, parts of the settings pages still showed English. This PR adds Russian for 589 of those strings. Only the Russian word list changes.

What Changed

  • Before: 581 settings-page keys in en.json had no entry in src/renderer/src/i18n/locales/ru.json, so i18next fell back to English inside otherwise Russian screens (General, Appearance, Browser and passwords, Shortcuts, Terminal and related sections).
  • After: each of those keys has a Russian value, plus 8 _few/_many plural forms that Russian needs beyond English. Values follow the existing catalog style: вы, «» quotes, ё, and the established terms (рабочее пространство, рабочее дерево, сервер for host, пул-реквест).
  • Mechanism: new leaves in ru.json, each placed after its nearest en.json sibling (+758 −17; every removed line only gains a trailing comma). No existing value, English string, code or other locale changes.
  • Review fixes: the repo color picker trigger uses masculine «Свой» (implied noun «цвет», matching its sibling labels), and the Windows uninstall step names the uninstaller («…Orca закроется, когда откроется программа удаления.») so it no longer reads as "Orca closes when Orca opens".
Key English (shown before) Russian (after)
auto.components.settings.AppearanceInterfaceSection.darkTheme Dark theme Тёмная тема
components.RepositoryBrowserProfileSection.deletedOption Deleted profile Удалённый профиль
components.RepositoryBrowserProfileSection.selectLabel Profile for new tabs Профиль для новых вкладок
auto.components.settings.RepositoryIconPicker.custom Custom Свой

Why

These strings sit in screens that are otherwise Russian, so each English line stands out. Adding catalog values is the only fix needed; the UI already reads these keys.

Linked Issue

Refs #49834

This covers the settings-pages part of the issue. The other Russian PRs in the series cover the remaining areas, so this PR does not close the issue on its own.

Visual Proof

N/A: only catalog strings change. There is no layout, styling or interaction change, and the table above shows what the affected labels render as with the interface set to Русский.

Testing

  • I manually tested these changes locally: not run in the app; the catalog verifiers below check every value.
  • Automated tests added/updated, or explained why not below: none added. 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.

Rebased onto current main (a7a02c1) on macOS:

  • ru.json parses, with no duplicate keys after the rebase.
  • pnpm verify:localization-catalog passes (21,813 verified ru entries), and so do verify:localization-catalogs and verify:localization-protected-copy.
  • oxfmt --check on ru.json is clean. The changed-code quality gate reports no changed JS/TS.
  • The rebased diff matches the reviewed diff line for line.

Performance

None, because only the Russian desktop catalog grows (about 50 KB). It loads only when Russian is selected, and there is no new code path, I/O, polling or subprocess work.

Risk

Level: Low

The worst case is a Russian label that reads oddly on its screen. No behavior, saved data, settings, paired phones or SSH hosts are touched, and the catalog is the same on macOS, Linux and Windows. To back it out, do a plain revert.

Review

Copy-only change to one locale catalog. Two wording fixes were applied in review (gender agreement and an ambiguous pronoun). Cross-platform, SSH/remote, agents and performance are unaffected.

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

Original fix by @yohangwak in #49842 (authorship preserved; squashed onto current main with review fixes).

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): CI will cover; JSON-only change, localization checks pass locally.

@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The Russian locale file adds translations for settings, terminal and browser features, project workflows, shortcuts, notifications, and application controls. The changes are localization data only.

Severity of issue fixed: Medium

Merge Risk: Minimal · up to 6ec72

This PR adds Russian translations for settings-page strings that previously fell back to English. It changes no code behavior. The catalog verification reported by the author passed, and no merge-blocking risk remains.

Pre-merge checks: Passed 2 · Inconclusive 2

Failed Failed checks: 2 inconclusive

Check name Status Explanation Resolution
Linked Issues check Inconclusive Issue #49834 requires Russian text for 581 settings-page keys that lack entries in ru.json. The PR is data-only (ru.json), so the coding requirement is the presence of valid ru.json values for those k… Provide or confirm the list of 581 settings-page keys from en.json that are absent in base ru.json, and show that each has an added ru.json value at head. Confirm that key "08c854149e" exists in en.json, or remove it. Confirm that the examp…
Out of Scope Changes check Inconclusive All changes are in src/renderer/src/i18n/locales/ru.json. Most visible hunks sit in settings-related catalog sections (appearance, terminal limit, browser extensions and profile settings, memory saver… Confirm that every added key belongs to the settings-page subset of #49834 or to a settings screen. List any keys outside that subset, and confirm they are not translated by another open Russian PR (for example #45740, #47391, #39759, #3675…
Passed Passed checks: 2 passed

Check name Status Explanation
Title check Passed The title names the main change: Russian translations for 589 missing desktop strings on settings pages. It is specific and matches the changeset, which only adds Russian catalog values in ru.json. Th…
Description check Passed The description follows the template well. It has the ELI5, What Changed, Why, Linked Issue (Fixes #49834), Visual Proof (N/A with reason), Testing, Performance, Risk (Level: Low), AI Disclosure, Revi…
Full details: Title check

Explanation

The title names the main change: Russian translations for 589 missing desktop strings on settings pages. It is specific and matches the changeset, which only adds Russian catalog values in ru.json. The count in the title (589) differs from the 581 keys in the description, plus 8 plural forms. The title does not mention the plural forms, so it is not a mismatch. The title is a single sentence, under 75 characters, and uses the conventional fix(i18n) prefix. The title does not state that the work covers only one of seven parts, but that is expected for a title.

Full details: Description check

Explanation

The description follows the template well. It has the ELI5, What Changed, Why, Linked Issue (Fixes #49834), Visual Proof (N/A with reason), Testing, Performance, Risk (Level: Low), AI Disclosure, Review, Agent skill boundary, Notes, and Checklist sections. The Why section is brief and says the English lines stand out in otherwise Russian screens. The description explains the mechanism and the test status clearly, and it states that the app was not run manually. The Testing section leaves the manual test box unchecked and explains why. The description is complete enough to pass.

Full details: Linked Issues check

Explanation

Issue #49834 requires Russian text for 581 settings-page keys that lack entries in ru.json. The PR is data-only (ru.json), so the coding requirement is the presence of valid ru.json values for those keys. The reviewed ru.json diff (base a7a02c1, head 6ec72a0) was truncated at 16000 bytes. The visible hunks add Russian values for terminal limits, browser passwords, memory saver, tiling window mode, app icon, UI zoom, git blame, and reduce visual effects. The PR description lists 10 example keys (components.RepositoryBrowserProfileSection., auto.components.), and none of them appear in the visible hunks. The key count (581) and the match between added keys and en.json settings keys were not verified. The reviewed evidence does not establish full coverage of the settings-page requirement. The hunk with key "08c854149e" also needs confirmation that it matches a real en.json key.

Resolution

Provide or confirm the list of 581 settings-page keys from en.json that are absent in base ru.json, and show that each has an added ru.json value at head. Confirm that key "08c854149e" exists in en.json, or remove it. Confirm that the example keys in the PR description (components.RepositoryBrowserProfileSection.*) are present at head.

Full details: Out of Scope Changes check

Explanation

All changes are in src/renderer/src/i18n/locales/ru.json. Most visible hunks sit in settings-related catalog sections (appearance, terminal limit, browser extensions and profile settings, memory saver), so they fit the settings-page area. Some visible blocks, such as the full browser passwords section (passwords.*, including import, delete-all, and form strings) and the memory saver section, may belong to the browser or workspace areas of issue #49834 or to other Russian PRs (the PR says no key appears in two PRs). The truncated diff prevents attributing all added keys to the settings-page subset. No code, test, or other locale change is visible in the reviewed hunks.

Resolution

Confirm that every added key belongs to the settings-page subset of #49834 or to a settings screen. List any keys outside that subset, and confirm they are not translated by another open Russian PR (for example #45740, #47391, #39759, #36758). Provide a diff listing of changed key paths for the full ru.json change.

  • 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.

Share

Recent 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: 5f0fac27-66d1-408b-8355-2d0d8311ba17
Commits

Reviewing files that changed from the base of the PR and between 08a2a29 and 6ec72a0.

Files selected for processing: 1

  • src/renderer/src/i18n/locales/ru.json
Files skipped from review as they are similar to previous changes: 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; 9 remain after this review.

… pages

Add Russian values for settings-page keys (General, Appearance, Browser and
passwords, Shortcuts, Terminal and related sections) that fell back to
English, plus the _few/_many plural forms Russian needs. Use masculine
"Свой" for the repo color picker trigger and name the Windows uninstaller
explicitly in the uninstall step.

Refs stablyai#49834

Co-authored-by: Neil <neil@stably.ai>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant