[CmdPal] Extension Toolkit localization (#40677)

## Summary of the Pull Request
Moves hardcoded string resources from the extension toolkit to a new
`Resources.resx` file.
## PR Checklist
- [x] **Closes:** #40397
- [ ] **Communication:** I've discussed this with core contributors
already. If the work hasn't been agreed, this work might be rejected
- [ ] **Tests:** Added/updated and all pass
- [x] **Localization:** All end-user-facing strings can be localized
- [x] **Dev docs:** No need
- [x] **New binaries:** None
- [x] **Documentation updated:** No need
## Detailed Description of the Pull Request / Additional comments
`Resources.resx` and `Resources.Designer.cs` are located in
`Properties\`, as with other projects.
<!-- Describe how you validated the behavior. Add automated tests
wherever possible, but list manual validation steps taken as well -->
## Validation Steps Performed
Tested locally, strings display correctly
This commit is contained in:
PesBandi
2025-07-24 00:00:18 +02:00
committed by GitHub
parent 3b3df5b74f
commit e08cc398fa
8 changed files with 276 additions and 6 deletions

View File

@@ -116,7 +116,7 @@ public sealed partial class Settings : ICommandSettings
public SettingsContentPage(Settings settings)
{
_settings = settings;
Name = "Settings";
Name = Properties.Resources.Settings;
Icon = new IconInfo("\uE713"); // Settings icon
// When our settings change, make sure to let CmdPal know to