Skip to content

feat: localize Setup.razor - #161

Merged
andregoepel merged 1 commit into
mainfrom
feature/localize-setup
Jul 26, 2026
Merged

feat: localize Setup.razor#161
andregoepel merged 1 commit into
mainfrom
feature/localize-setup

Conversation

@andregoepel

Copy link
Copy Markdown
Owner

Summary

Setup.razor was the only unlocalized page in the package — every string hard-coded English while every sibling page uses T(...). Added @inherits LocalizedComponentBase, replaced all labels/validator messages/button text/notification title+message pairs with T("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.cs verifies EN/DE resolution via the same fallback path T(...) uses — full-render testing of Setup.razor itself is disproportionate given its DI graph (same reasoning already documented in SetupValidatorConversionTests.cs for validation).

Verification

  • dotnet csharpier format . clean
  • dotnet build — 0 warnings, 0 errors
  • dotnet test — 87 tests passing (4 new)
  • dotnet list package --vulnerable --include-transitive — clean

Closes #152

@andregoepel
andregoepel merged commit 4d58497 into main Jul 26, 2026
4 checks passed
@andregoepel
andregoepel deleted the feature/localize-setup branch July 26, 2026 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Localize Setup.razor (plan A6)

1 participant