Skip to content

Complete Russian localization (199 missing keys) - #756

Merged
Finesssee merged 2 commits into
nesszer:mainfrom
pasharm:l10n/ru-complete
Oct 6, 2026
Merged

Finesssee merged 2 commits into
nesszer:mainfrom
pasharm:l10n/ru-complete

Conversation

@pasharm

@pasharm pasharm commented Oct 5, 2026 •

Copy link
Copy Markdown

Summary

Completes the Russian catalog. ru-RU.ftl was missing 199 of the 993 keys in en-US.ftl, so those strings fell back to English: notification sounds, Codex/Claude/Grok accounts, claude-swap, Usage & Spend (models, projects, history window), portable preferences, diagnostics, stay-awake, LLM Proxy / llmman, OpenRouter management key, and the burndown chart.

The new entries are inserted next to their English neighbours, so key order follows en-US.ftl. No existing translation was changed (diff: +199 / −0). Terminology follows what the catalog already uses (Аккаунт, Сессия, Куки, Провайдер, «Использование и расходы»), and so does the spelling (е rather than ё).

Related issue

None.

Affected areas

  • Tray panel
  • Settings UI
  • Config file / settings persistence
  • CLI
  • Provider-specific behavior
  • Installer / release packaging
  • Startup / background behavior
  • Documentation
  • Other:

Validation

Only the .ftl catalog changes. No Rust or TypeScript code is touched, and the key list in locale.rs / keys.ts is unchanged.

  • scripts\local-check.ps1: not run locally, because there is no Rust toolchain on this machine.
  • Built on a GitHub Actions windows-latest runner in my fork: cargo test --manifest-path rust/Cargo.toml locale passed (18 tests), and pnpm tauri:build produced a working exe.
  • Parsed with @fluent/syntax: 993 messages in both en-US.ftl and ru-RU.ftl, 0 junk entries.
  • Every key from en-US.ftl is present in ru-RU.ftl, and placeholder counts ({ "{}" }) match per key.
  • Spelling and grammar checked with LanguageTool (ru-RU).
  • Fragments that the code concatenates with numbers or other text were checked against their call sites.

UI / tray proof

  • Not applicable
  • CUA Driver visual proof attached
  • CUA Driver could not be used; equivalent manual proof and explanation attached

This change only adds translation text, so there is no layout or behavior change to prove. No screenshots are attached.

Notes for reviewers

Some keys are sentence fragments joined to numbers in code (for example UsageSpendRequests, CostPeriodShortDays, PanelPeriodCost). Where Russian word order differs, the translation uses the "Label: value" form so the substituted value never needs grammatical agreement.

Summary by CodeRabbit

  • Localization
    • Expanded the Russian interface text for currency selection, notification sounds, usage pacing, and settings transfer.
    • Added labels and guidance for account management, usage and spending breakdowns, exports, diagnostics, API integrations, and CLI session resuming.
    • Added Russian text for provider-specific account and usage states, configurable cost-history periods, and burndown charts.

@coderabbitai

coderabbitai Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: nesszer/Win-CodexBar/.coderabbit.yaml
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 9566e72e-48ff-42fe-9e6c-6b3de99476a8
📥 Commits

Reviewing files that changed from the base of the PR and between 5d978a0 and 1f330ca.

📒 Files selected for processing (1)
  • rust/src/locale/ru-RU.ftl

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.


📝 Walkthrough

Walkthrough

The Russian locale adds and updates strings for application settings, provider integrations and account management, and usage and spend reporting. The change also removes several previously present strings.

Changes

Russian localization

Layer / File(s) Summary
Application settings and desktop controls
rust/src/locale/ru-RU.ftl
Adds labels and guidance for currency, notification sounds, usage display, keep-awake behavior, low-power options, settings transfer, and diagnostics.
Provider settings and account management
rust/src/locale/ru-RU.ftl
Adds provider setup guidance and account statuses for Codex, Claude, Grok, and claude-swap, along with Bifrost, Muse, proxy, and optional usage-integration settings.
Usage and spend reporting
rust/src/locale/ru-RU.ftl
Adds usage and spend breakdown, export, and cost-history labels. Removes tray-promotion and PNG spend-share export labels.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Suggested reviewers: finesssee

Merge Risk: ⚪ Minimal · up to 1f330

The Russian catalog adds coverage without removing existing messages, and the settings-transfer description matches what is exported. No identified issue blocks merging.

🚥 Pre-merge checks | ✅ 8
✅ Passed checks (8 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Provider Data Stays Siloed ✅ Passed The PR changes only rust/src/locale/ru-RU.ftl, with 199 added translation entries and no code or storage changes. The provider-account strings are static labels and guidance. The added placeholders …
Secrets Handled Safely ✅ Passed The PR changes only rust/src/locale/ru-RU.ftl, adding 199 localized UI strings. The additions include labels that mention cookies, API keys, and credentials, but they contain no credential values, t…
No Unapproved Dependencies ✅ Passed The PR changes only rust/src/locale/ru-RU.ftl. It does not change any Cargo.toml, package.json, npm or yarn lockfile, or the pinned pnpm packageManager version. No maintainer approval is neede…
Ui Changes Include Windows Proof ✅ Passed The diff adds Russian UI strings in rust/src/locale/ru-RU.ftl, including settings labels and tray text, so it changes visible content. The PR description reports a successful build on `windows-lates…
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title uses an imperative verb and clearly describes the addition of 199 missing Russian localization keys.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autopilot · 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

Comment @coderabbitai help to get the list of available commands.

@pasharm
pasharm marked this pull request as ready for review October 5, 2026 18:17
@Finesssee

Copy link
Copy Markdown
Collaborator

Thanks @pasharm! Verified against current main: all 994 keys are present in ru-RU.ftl, with no placeholder mismatches or duplicates, and the local CI slice passed. Merging.

@Finesssee
Finesssee merged commit b53102a into nesszer:main Oct 6, 2026
2 checks passed
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.

2 participants