# explorer_command_injector: Fix localized Windows context menu title \(\#60634\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/d5dc01f2b54e0ae11215e76a0811743b3fc86e2f)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: d5dc01f2b54e0ae11215e76a0811743b3fc86e2f

Requested commit: d5dc01f2b54e0ae11215e76a0811743b3fc86e2f

Commit: d5dc01f2b54e0ae11215e76a0811743b3fc86e2f

Tree: 9f41e1186e695275d38981aefbdf469f1aab2e6c

Author: 迷渡

Committer: GitHub

## Message

```
explorer_command_injector: Fix localized Windows context menu title (#60634)

Closes #55728

## Summary

The Windows installer writes the localized Windows 11 Explorer context
menu title to `HKCU\Software\Classes\{RegValueName}ContextMenu`, where
the release channels use `Zed`, `ZedPreview`, and `ZedNightly` as the
registry value names.

`explorer_command_injector.dll` was reading from `ZedEditor*ContextMenu`
instead, so the registry lookup failed and Explorer always received the
hardcoded `Open with Zed` fallback. This aligns the DLL registry paths
with the installer-written keys for stable, preview, and nightly.

## Tests

- `cargo check --package explorer_command_injector --no-default-features
--features stable`
- `cargo check --package explorer_command_injector --no-default-features
--features preview`
- `cargo check --package explorer_command_injector`
- `cargo check --package explorer_command_injector --all-features`
- `cargo fmt --check --package explorer_command_injector`
- `git diff --check`

Release Notes:

- Fixed localized Windows Explorer context menu titles falling back to
English.

---------

Co-authored-by: MrSubidubi <finn@zed.dev>
```

## Parents

- [582e6a5789570f9abf9eab17bff027eaf18a0e3c](https://git.cafe/gitcafe/zed/commit/582e6a5789570f9abf9eab17bff027eaf18a0e3c?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/d5dc01f2b54e0ae11215e76a0811743b3fc86e2f?format=markdown)
