clean up some more translations

This commit is contained in:
RaidMax
2022-07-05 12:42:17 -05:00
parent 2fca68a7ea
commit 77d25890da
16 changed files with 17 additions and 22 deletions

View File

@ -5,9 +5,8 @@
<!-- desktop -->
<div class="content mt-0">
<h2 class="content-title mt-20 mb-0">@ViewBag.Localization["WEBFRONT_SEARCH_RESULTS_TITLE"]</h2>
<h2 class="content-title mt-20 mb-0">@loc["WEBFRONT_SEARCH_RESULTS_TITLE"]</h2>
<div class="text-muted mb-15">
@foreach (var match in Utilities.SplitTranslationTokens("WEBFRONT_SEARCH_RESULTS_SUBTITLE_FORMAT"))
{
if (match.IsInterpolation)

View File

@ -27,7 +27,7 @@ else
</table>
<div id="loaderLoad" class="mt-10 m-auto text-center d-none d-lg-block">
<i class="loader-load-more oi oi-chevron-bottom "></i>
<i class="loader-load-more oi oi-chevron-bottom"></i>
</div>
@section scripts {

View File

@ -24,7 +24,7 @@
<color-code value="@(message.ServerName ?? "--")"></color-code>
</td>
<td colspan="15%" class="text-right text-break">
@message.When
@message.When.ToStandardFormat()
</td>
</tr>
@ -53,7 +53,7 @@
<div>
<color-code value="@(message.ServerName ?? "--")"></color-code>
</div>
<div>@message.When</div>
<div>@message.When.ToStandardFormat()</div>
</td>
</tr>
}

View File

@ -2,14 +2,13 @@
<div class="content mt-0">
<h4 class="content-title mt-20">@ViewBag.Title</h4>
@foreach (var key in Model.Keys)
{
<table class="table mb-20" style="table-layout:fixed;">
<thead>
<tr class="level-bgcolor-@((int)key)">
<th class="text-light">@key.ToLocalizedLevelName()</th>
<th>Game</th>
<th>@ViewBag.Localization["WEBFRONT_CONTEXT_MENU_GLOBAL_GAME"]</th>
<th class="text-right font-weight-bold">@ViewBag.Localization["WEBFRONT_SEARCH_LAST_CONNECTED"]</th>
</tr>
</thead>

View File

@ -41,7 +41,6 @@
{
<color-code value="@Model.Offense"></color-code>
}
</span>
}

View File

@ -41,6 +41,5 @@
}
</div>
}
<!-- </div> -->
}
</div>

View File

@ -6,7 +6,7 @@
<h2 class="content-title mb-0">@ViewBag.Localization["WEBFRONT_TOP_PLAYERS_TITLE"]</h2>
<span class="text-muted">
<color-code value="@(Model.FirstOrDefault(m => m.Endpoint == ViewBag.SelectedServerId)?.Name ?? ViewBag.Localization["WEBFRONT_STATS_INDEX_ALL_SERVERS"])"></color-code>
&mdash; <span class="text-primary">@ViewBag.TotalRankedClients.ToString("#,##0")</span> Ranked Players
&mdash; <span class="text-primary">@ViewBag.TotalRankedClients.ToString("#,##0")</span> @ViewBag.Localization["WEBFRONT_TOP_PLAYERS_SUBTITLE"]
</span>
<div id="topPlayersContainer">