feat: localize Setup.razor - #161
Merged
Merged
Conversation
This was referenced Jul 31, 2026
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.
Summary
Setup.razorwas the only unlocalized page in the package — every string hard-coded English while every sibling page usesT(...). Added@inherits LocalizedComponentBase, replaced all labels/validator messages/button text/notification title+message pairs withT("Setup.*")calls, and added 23 new key pairs (EN + hand-translated DE, not machine-copied) following the existing{Area}.{Purpose}convention.Test coverage
SetupLocalization.Tests.csverifies EN/DE resolution via the same fallback pathT(...)uses — full-render testing ofSetup.razoritself is disproportionate given its DI graph (same reasoning already documented inSetupValidatorConversionTests.csfor validation).Verification
dotnet csharpier format .cleandotnet build— 0 warnings, 0 errorsdotnet test— 87 tests passing (4 new)dotnet list package --vulnerable --include-transitive— cleanCloses #152