mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-23 19:30:06 +02:00
feat: localization added
This commit is contained in:
1 parent
2fba32b5b4
commit
c035f78340
15 files changed
+542
-19
No files matched your search
@@ -2,23 +2,24 @@
|
||||
@using MediatR
|
||||
@using WotBlitzStatisticsPro.Blazor.Messages
|
||||
@using WotBlitzStatisticsPro.Blazor.Model
|
||||
@inject IStringLocalizer<App> Localize
|
||||
@inject IMediator Mediator
|
||||
<div class="splash">
|
||||
<div class="splash-content">
|
||||
<RadzenLabel Text="Welcome to WOT Blitz statistics application!" Style="margin: 30px 0px 100px 0px"></RadzenLabel>
|
||||
<RadzenLabel Text=@Localize["Welcome to WOT Blitz statistics application!"] Style="margin: 30px 0px 100px 0px"></RadzenLabel>
|
||||
|
||||
<RadzenButton Click=@(async args => { await Mediator.Publish(new LoginToWgMessage()); })
|
||||
Icon="vpn_key"
|
||||
Text="Login with WG.net ID"
|
||||
Style="width: 250px; margin: 30px" />
|
||||
Text=@Localize["Login with WG.net ID"]
|
||||
Style="width: 300px; margin: 30px" />
|
||||
<RadzenButton Click=@(async args => { await Mediator.Publish(new OpenSearchDialogMessage(DialogType.FindPlayer)); })
|
||||
Icon="person_search"
|
||||
Text="Search player"
|
||||
Style="width: 250px; margin: 30px" />
|
||||
Text=@Localize["Search player"]
|
||||
Style="width: 300px; margin: 30px" />
|
||||
<RadzenButton Click=@(async args => { await Mediator.Publish(new OpenSearchDialogMessage(DialogType.FindClan)); })
|
||||
Icon="screen_search_desktop"
|
||||
Text="Search clan"
|
||||
Style="width: 250px; margin: 30px" />
|
||||
Text=@Localize["Search clan"]
|
||||
Style="width: 300px; margin: 30px" />
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user