1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

update webfront translation strings

This commit is contained in:
RaidMax
2022-07-05 12:02:43 -05:00
parent b422e72c71
commit c8eb6168d9
38 changed files with 178 additions and 127 deletions

View File

@ -5,7 +5,7 @@
<div class="content mt-20">
@foreach (var (pluginName, commandList) in Model)
{
<h2 class="content-title mb-lg-20 mt-20 ">@(pluginName == "Native" ? "Command List" : pluginName)</h2>
<h2 class="content-title mb-lg-20 mt-20 ">@(pluginName == "Native" ? ViewBag.Localization["WEBFRONT_HELP_COMMANDS_NATIVE_TITLE"] : pluginName)</h2>
<table class="table rounded">
<thead>

View File

@ -12,7 +12,7 @@
}
<div class="content mt-20 row">
<div class="col-12 col-lg-9">
<h2 class="content-title mb-0">Server Overview</h2>
<h2 class="content-title mb-0">@ViewBag.Localization["WEBFRONT_SERVERS_TITLE"]</h2>
@if (Model.Game.HasValue)
{
<span class="text-muted">@loc[$"GAME_{Model.Game.Value}"]</span>
@ -31,11 +31,12 @@
</div>
@await Component.InvokeAsync("ServerList", Model.Game)
</div>
@{
var menuItems = new SideContextMenuItems
{
MenuTitle = "Game", Items = Model.ActiveServerGames.Select(game => new SideContextMenuItem
MenuTitle = ViewBag.Localization["WEBFRONT_CONTEXT_MENU_GLOBAL_GAME"],
Items = Model.ActiveServerGames.Select(game => new SideContextMenuItem
{
IsLink = true,
Reference = Url.Action("Index", "Home", new { game }),