Skip to content

Translate selected desktop bot copy and desktop/mobile MCP controls - #45403

Merged
AmethystLiang merged 3 commits into
mainfrom
amethyst/i18n-sync-1018-followup
Nov 21, 2026
Merged

AmethystLiang merged 3 commits into
mainfrom
amethyst/i18n-sync-1018-followup

Conversation

@AmethystLiang

@AmethystLiang AmethystLiang commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Opened by Eng - i18n, a bot on Orca

ELI5

Selected desktop bot messages and desktop/mobile MCP controls now use the selected language instead of English fallback.

Files Added Deleted Net
Test 0 0 0 0
Prod 20 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1521 $\color{#cf222e}{\Huge{\mathbf{−}}}$​13 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1508

What Changed

Add 1,196 missing entries across 20 catalogs in ten locales. The reviewed base already contains 41 identical entries from the original target. Complete MCP headers, actions and sign-in guidance, selected desktop bot navigation/status copy, and Japanese/Simplified Chinese cleanup reasons. Preserve existing translations and plural placeholders.

Why

Missing catalog entries left related controls in mixed languages. Adding locale entries preserves the existing lookup and fallback behavior; translated copies in components would duplicate that logic.

Linked Issue

Maintainer-requested translation follow-up; no separate public issue.

Visual Proof

French MCP controls before and after translation.

Before: base c4776883; after: 7e52330b. Integrating main c66eac4e changed no MCP control text or slot width.

Before translation

After translation

Testing

On macOS M4 (Node 24.19.0), pnpm check:changed --base=c66eac4e07bb80ee9c6564e14058777c508ff851 --maxWorkers=2 passed all 32 selected checks at 03ebc60a. Standalone lint was not selected (N/A for this JSON-only change). Verified current catalog preservation; prior placeholder, plural-selection and English-fallback checks apply to unchanged strings and English messages. Full pnpm build passed at aaa57b8c on the earlier base c4776883; this rebased head has not run a standalone full build. Seeded fixtures were captured at 7e52330b. Windows/Linux/SSH and app/device runtime were not tested locally. This head includes the upstream mobile bundle-size repair from #46183; applicable CI checks passed at 03ebc60a. Non-applicable jobs were skipped.

  • Inspected seeded desktop and RN-Web fixtures locally.
  • No tests added: project policy excludes copy tests; existing selected tests passed. Added-test requirements are N/A.

Risk

Level: Low. Catalog strings only; existing narrow MCP slots can truncate text. Reverting this PR restores the prior fallback for its additions; existing upstream translations remain. No migration.

Performance

Adds about 66 KB of UTF-8 catalog text across 20 files (about 16 KB deterministic per-file gzip delta). Existing locale loading and lookup sites are unchanged by this PR; no new loops or requests.

Review

UI/mobile: seeded fixtures captured before the rebase; MCP text and slot widths are unchanged. Platforms/SSH/folder workspaces: no path, workspace or remote logic changes. Agents: desktop labels only, no behavior changes. Security: existing keys/interpolation preserved, no runtime changes. Performance: catalog bytes assessed above.

Agent skill upstream boundary

  • Not applicable; no upstream skill-installer source, tests, registry or documentation changed.

Checklist

  • Focused catalog-only scope; explained what changed, why and the mechanism.
  • Stated risk, rollback and platform/SSH limits.
  • Attach the accepted before/after pair before publication.
  • Reviewed correctness, security, compatibility and performance.
  • Considered mobile, folder workspaces, cross-platform and remote impact.
  • Selected checks passed; standalone lint was not selected (N/A for JSON-only). Preceding full build reported above.
  • Applicable CI checks passed; non-applicable jobs were skipped.

@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Mobile and renderer locale files add MCP translations in multiple languages. The renderer locale files also add translations for bot status and activity, item navigation, chats, attention states, panel counts, usage limits, keybindings, and workspace cleanup. The Chinese mobile locale adds a “not started” MCP status and retains its existing “off” label.

Merge Risk: Minimal · up to cd41e

This PR adds translated strings for MCP controls and bot interface copy, with no logic changes. Reverting it restores the previous English fallback. No actionable merge-blocking risk remains.

Pre-merge checks: Passed 3 · Inconclusive 1

Failed Failed checks: 1 inconclusive

Check name Status Explanation Resolution
Description check Inconclusive The description follows most of the template. It has an ELI5, a What Changed section, a Why section, Visual Proof with before and after images, Testing, Performance, Risk with a Low level, Review, and… 1. Link a real issue in the Linked Issue section using 'Fixes #', or confirm that the author is a StablyAI maintainer who is exempt from this requirement. 2. Confirm the before and after images are final. The checklist still says to…
Passed Passed checks: 3 passed

Check name Status Explanation
Title check Passed The title names the change: selected desktop bot copy and desktop/mobile MCP controls are translated. The raw summary confirms locale-file changes for MCP strings and bot navigation/status labels acro…
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.
Full details: Title check

Explanation

The title names the change: selected desktop bot copy and desktop/mobile MCP controls are translated. The raw summary confirms locale-file changes for MCP strings and bot navigation/status labels across many locales. The title is specific and matches the main change, though it does not mention the Japanese/Simplified Chinese cleanup reasons.

Full details: Description check

Explanation

The description follows most of the template. It has an ELI5, a What Changed section, a Why section, Visual Proof with before and after images, Testing, Performance, Risk with a Low level, Review, and a checked Agent skill boundary. The Linked Issue section is filled in with a maintainer-requested follow-up, but it does not contain a 'Fixes #' issue reference, which the template says should always exist for outside contributors. The Performance section is filled in with a reason. The AI Disclosure section is absent, which is acceptable only if the author is a StablyAI team member. The Testing section lists an automated check run and notes that Windows, Linux, and SSH were not tested locally. The description also states that the rebased head did not run a standalone full build, and that the earlier build was on a different base. The Visual Proof section has before and after images, but the author has a note to attach the accepted pair before publication, so this may still be pending.

Resolution

  1. Link a real issue in the Linked Issue section using 'Fixes #<number>', or confirm that the author is a StablyAI maintainer who is exempt from this requirement. 2. Confirm the before and after images are final. The checklist still says to attach the accepted pair before publication. 3. Either run a full pnpm build on the current head, or state clearly that the build check is not complete for this head. 4. Complete the AI Disclosure section, or confirm the author is a StablyAI team member. 5. Remove the template's placeholder comments and the leftover 'Preserve' sentence wording where it is unclear, so the test status is easy to read.
  • 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: 8443ed96-2a7b-4de5-971c-3d5d2f0cff1b
Commits

Reviewing files that changed from the base of the PR and between b59061d and cd41efb.

Files selected for processing: 19

  • mobile/src/i18n/locales/de.json
  • mobile/src/i18n/locales/es.json
  • mobile/src/i18n/locales/fr.json
  • mobile/src/i18n/locales/ja.json
  • mobile/src/i18n/locales/ko.json
  • mobile/src/i18n/locales/pt.json
  • mobile/src/i18n/locales/ru.json
  • mobile/src/i18n/locales/tr.json
  • mobile/src/i18n/locales/zh-Hant.json
  • src/renderer/src/i18n/locales/de.json
  • src/renderer/src/i18n/locales/es.json
  • src/renderer/src/i18n/locales/fr.json
  • src/renderer/src/i18n/locales/ja.json
  • src/renderer/src/i18n/locales/ko.json
  • src/renderer/src/i18n/locales/pt.json
  • src/renderer/src/i18n/locales/ru.json
  • src/renderer/src/i18n/locales/tr.json
  • src/renderer/src/i18n/locales/zh-Hant.json
  • src/renderer/src/i18n/locales/zh.json
Files skipped from review as they are similar to previous changes: 19

  • mobile/src/i18n/locales/de.json
  • mobile/src/i18n/locales/es.json
  • mobile/src/i18n/locales/fr.json
  • mobile/src/i18n/locales/ja.json
  • mobile/src/i18n/locales/ko.json
  • mobile/src/i18n/locales/pt.json
  • mobile/src/i18n/locales/ru.json
  • mobile/src/i18n/locales/tr.json
  • mobile/src/i18n/locales/zh-Hant.json
  • src/renderer/src/i18n/locales/de.json
  • src/renderer/src/i18n/locales/es.json
  • src/renderer/src/i18n/locales/fr.json
  • src/renderer/src/i18n/locales/ja.json
  • src/renderer/src/i18n/locales/ko.json
  • src/renderer/src/i18n/locales/pt.json
  • src/renderer/src/i18n/locales/ru.json
  • src/renderer/src/i18n/locales/tr.json
  • src/renderer/src/i18n/locales/zh-Hant.json
  • src/renderer/src/i18n/locales/zh.json

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

@AmethystLiang
AmethystLiang force-pushed the amethyst/i18n-sync-1018-followup branch from 7e52330 to b59061d Compare November 20, 2026 10:32
@AmethystLiang
AmethystLiang force-pushed the amethyst/i18n-sync-1018-followup branch from b59061d to cd41efb Compare November 21, 2026 06:15
@AmethystLiang
AmethystLiang merged commit ffadf73 into main Nov 21, 2026
62 of 63 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.

1 participant