Repository navigation
fix(tui): allow explicit display locale overrides - #51
Closed
Fectivnfy112357 wants to merge 1 commit into
Closed
Fectivnfy112357 wants to merge 1 commit into
Fectivnfy112357 wants to merge 1 commit into
Conversation
Contributor
Author
|
Withdrawing this downstream TUI change. The locale behavior belongs in the upstream MiniMax-AI/minimax-code project. Commit 3097bb4 reverts the patch in full. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change
Refs #19. Resolve the TUI display locale centrally. A nonempty
MCODE_TUI_LOCALEselects the display locale; without it, the TUI reads the host locale. Existing explicit locale arguments still take precedence. The suite runner setsen-USexplicitly so it does not depend on Windows honoring POSIX locale variables.This PR is stacked on #50 to keep the TUI diff separate and inherit the committed AOCI source assets required by the source-export gate. Retarget it to main after #50 lands.
Validation
zh-CNhost ICU default on Linux, the four TUI files listed in [Bug]: the TUI's language follows the OS user locale, so 30 cases fail on a Chinese-locale Windows host #19 reproduced 30 failures before the change.MCODE_TUI_LOCALE=en-USon the same Chinese locale. The lightweight-mode test covers the Chinese host fallback and checks that the English override wins.Maintainer handoff
The public source inventory and AOCI cognition assets reflect the new resolver. No shared-source port is needed for the standalone TUI override.