Skip to content

Restore electron-browser translation bundles removed in #2306#2309

Open
1chooo wants to merge 1 commit into
microsoft:mainfrom
1chooo:fix/restore-electron-browser-translation-bundles-2295
Open

Restore electron-browser translation bundles removed in #2306#2309
1chooo wants to merge 1 commit into
microsoft:mainfrom
1chooo:fix/restore-electron-browser-translation-bundles-2295

Conversation

@1chooo

@1chooo 1chooo commented Jun 9, 2026

Copy link
Copy Markdown

Summary

  • Restores two translation bundles that were accidentally removed in the latest MLCP export (Updated strings from microsoft/vscode-loc-drop@edee0ee6ca0683fc62fa5c3b448e8a2ba5d6e145 #2306):
    • vs/workbench/contrib/files/electron-browser/fileActions.contribution
    • vs/workbench/contrib/localHistory/electron-browser/localHistoryCommands
  • These bundles are required at runtime for Explorer context menu items such as Reveal in File Explorer (Windows) / Reveal in Finder (macOS).
  • Without them, VS Code falls back to English even when the Chinese (and other) language packs are installed.

Fixes #2295

Root cause

PR #2306 moved revealInWindows / revealInMac / openContainer into aiCustomizationManagement.contribution, but VS Code reads these keys from the electron-browser bundles above. The correct bundles were deleted from all 14 language packs in that export.

Test plan

  • Install the updated Chinese (Simplified) language pack built from this branch
  • Set display language to zh-cn and restart VS Code
  • Right-click a file in Explorer → confirm 在文件资源管理器中显示 appears instead of Reveal in File Explorer
  • Right-click a folder in Explorer → confirm the same reveal action is localized
  • Confirm Open in Integrated Terminal shows 在集成终端中打开 (already fixed separately in Updated strings from microsoft/vscode-loc-drop@edee0ee6ca0683fc62fa5c3b448e8a2ba5d6e145 #2306 via scopedConsoleAction.Integrated)

Notes

Some menu items reported in #2295 are contributed by extensions and are out of scope for this repo (e.g. Compile Files, CMSIS Configuration Wizard, Convert encoding to UTF8, Folder History).

Made with Cursor

The latest MLCP export dropped bundles that VS Code reads at runtime for Explorer "Reveal in File Explorer" and local history reveal actions, causing English fallback text in localized UIs.

Fixes microsoft#2295

Co-authored-by: Cursor <cursoragent@cursor.com>
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