Adds localization across the launcher and includes English, German, Spanish, French, Italian, Japanese, Korean, Dutch, Portuguese, Ukranian, and Chinese. These localizations were generated by Claude 3.5 and need to be reviewed by a human for accuracy.
14 lines
No EOL
539 B
Text
14 lines
No EOL
539 B
Text
@using LANCommander.Launcher.Services
|
|
@inject LocalizationService LocalizationService
|
|
|
|
<Router AppAssembly="@typeof(Program).Assembly">
|
|
<Found Context="routeData">
|
|
<RouteView RouteData="@routeData" DefaultLayout="@typeof(UI.MainLayout)" />
|
|
</Found>
|
|
<NotFound>
|
|
<PageTitle>@LocalizationService.GetString("NotFound")</PageTitle>
|
|
<LayoutView Layout="@typeof(UI.MainLayout)">
|
|
<p role="alert">@LocalizationService.GetString("NotFoundMessage")</p>
|
|
</LayoutView>
|
|
</NotFound>
|
|
</Router> |