Add Simplified Chinese localization and fix NO_PROXY startup crash #559
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/readmet3xt-lab--foxhound!559
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-559"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@HanKuCha on GitHub · 2026-12-03 12:01 UTC · original
HanKuCha:localize-zh-cn→main· +671 −68 · 3 files · 1 commits · openAdds a Simplified Chinese interface to the FoxHound launcher and fixes a startup failure on systems where both
NO_PROXYandno_proxyare defined.What changed
launcher/Localization.cs: the Chinese strings for the launcher windows, option labels and values, hints, loading stages, controls and dialogs.launcher/Launcher.cs: routes the launcher UI throughLoc.T/Loc.Apply; translates dynamic status text and message boxes.scripts/build-launcher.ps1: compiles everylauncher/*.csfile so the new localization file is part of the build.ProcessStartInfo.Info: builds the child environment explicitly with a case-insensitive dictionary and writes it through the private_environmentVariablesfield. The oldi.EnvironmentVariablesgetter copied bothNO_PROXYandno_proxyinto aStringDictionaryand threwArgumentException, which surfaced asCould not prepare: ....Verification
powershell -File scripts/build-launcher.ps1succeeds with the in-box .NET Framework compiler.Info()returns a validProcessStartInfo; launchingcmd /c setthrough it works with duplicate proxy variables present, and a full play launch reaches the game without theCould not prepareerror.@copilot-pull-request-reviewer[bot] on GitHub · 2026-12-03 12:01 UTC · original · reviewed
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
0f36b45d63to45ef6650d7View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.