Fix v1.3.1 localization and installer cleanup (#26)

## Summary

Fixes the incomplete Simplified Chinese localization shipped in v1.3.0 and prepares v1.3.1.

## Changes

- Completed zh-CN localization coverage across the main UI.
- Added/updated localization keys for primary views, tray/status text, notifications, and settings.
- Kept en-US as the default language.
- Updated version metadata to 1.3.1.
- Changed installer display name to ThreadPilot while keeping version metadata separate.
- Added guarded cleanup for obsolete ThreadPilot 0.1.0-beta uninstall entry.
- Improved uninstall cleanup for ThreadPilot AppData, startup task, and HKCU Run entry.
- Added localization and packaging metadata tests.

## Validation

- dotnet build ThreadPilot_1.sln: passed, 0 warnings
- dotnet test ThreadPilot_1.sln: passed, 524 tests

## Safety

- No change to elevation behavior.
- No change to affinity/process control behavior.
- No change to power plan or system tweak behavior.
- Normal install/update preserves user settings.
- Full uninstall removes ThreadPilot-owned AppData for the uninstalling user.
This commit is contained in:
Prime Build
2026-06-07 04:33:51 +02:00
committed by GitHub
parent edd6808c7d
commit c058fef7d5
38 changed files with 1333 additions and 599 deletions
+4 -2
View File
@@ -197,7 +197,8 @@ namespace ThreadPilot.ViewModels
IPersistentProcessRuleMatcher? persistentRuleMatcher = null,
IProcessRuleCreationService? processRuleCreationService = null,
Action<string>? clipboardSetter = null,
Action<string>? executableLocationOpener = null)
Action<string>? executableLocationOpener = null,
ILocalizationService? localizationService = null)
: base(logger, enhancedLoggingService, activityAuditService)
{
this.processService = processService ?? throw new ArgumentNullException(nameof(processService));
@@ -232,7 +233,8 @@ namespace ThreadPilot.ViewModels
this.SelectedProcessSummary = new SelectedProcessSummaryViewModel(
memoryPriorityService,
persistentRuleStore,
persistentRuleMatcher);
persistentRuleMatcher,
localizationService);
// Subscribe to topology detection events
this.cpuTopologyService.TopologyDetected += this.OnTopologyDetected;