Repository navigation
fix(l10n): apply appearance name localization in MainWindow - #146
Merged
momenbasel merged 1 commit intoAug 10, 2026
Merged
Conversation
The appearance name (System/Light/Dark) was rendered via Text(String) and Label(String, systemImage:), which use the non-localizing initializers. As a result the existing "System"/"Light"/"Dark" translations were never applied and the labels always showed English. Wrap the values in LocalizedStringKey (matching AppearancePill) at the menu item, the sidebar value, and the accessibility value so they localize correctly.
Owner
|
Reviewed and merging. The bug is real and I verified it rather than taking it on inspection: Thanks for catching all three sites, including One note so it does not get miscredited later: this does not fix #141. That issue is a different mechanism (inherited vibrant label style resolving transparent, same class as #117), so I am keeping it open. |
momenbasel
added a commit
that referenced
this pull request
Aug 10, 2026
2.9.5 removed Universal Binaries and Language Files from `scannable`, but the sidebar and the dashboard's Care areas built their lists from hardcoded arrays rather than from `scannable`, so both categories stayed visible while never returning results. Both lists now filter through `scannable`, so anything withdrawn there disappears from the UI instead of becoming a dead row or a permanent zero in the Developer count. 2.9.5 was tagged and built but its formula bump failed to push, so no cask ever pointed at it. This supersedes it and also carries the Russian and Ukrainian localizations (#130) and the appearance-name localization fix (#146), neither of which was in the 2.9.5 build. Claude-Session: https://claude.ai/code/session_01Sw6fz8gtn7j2U17kA2U7VE
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.
The appearance name (System/Light/Dark) was rendered via Text(String) and Label(String, systemImage:), which use the non-localizing initializers. As a result the existing "System"/"Light"/"Dark" translations were never applied and the labels always showed English.
Wrap the values in LocalizedStringKey (matching AppearancePill) at the menu item, the sidebar value, and the accessibility value so they localize correctly.