update webfront translation strings

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

View File

@ -3,7 +3,20 @@
Layout = null;
}
<div class="mb-15 text-center font-weight-lighter">New clients connected in the last <span class="text-primary">24</span> hours</div>
<div class="mb-15 text-center font-weight-lighter">
@foreach (var match in Utilities.SplitTranslationTokens("WEBFRONT_MODAL_RECENT_CLIENTS_SUBTITLE"))
{
if (match.IsInterpolation && match.MatchValue == "time")
{
<span class="text-primary">24</span>
}
else
{
<span>@match.MatchValue</span>
}
}
</div>
<div id="recentClientContainer">
<partial name="~/Views/Shared/Components/Client/_RecentClients.cshtml" for="@Model"/>

View File

@ -58,7 +58,18 @@
<div class="profile-meta-entry loader-data-time" data-time="@meta.When.ToFileTimeUtc()" onclick="$('#metaContextDateToggle@(meta.When.ToFileTimeUtc())').show()">
<partial name="~/Views/Client/Profile/Meta/_@(meta.GetType().Name).cshtml" model="meta"/>
<div style="display:none" id="metaContextDateToggle@(meta.When.ToFileTimeUtc())">
Event occured at <span class="text-light">@meta.When.ToStandardFormat()</span>
@foreach (var match in Utilities.SplitTranslationTokens("WEBFRONT_META_TIME_CONTEXT"))
{
if (match.IsInterpolation && match.MatchValue == "event")
{
<span class="text-light">@meta.When.ToStandardFormat()</span>
}
else
{
<span>@match.MatchValue</span>
}
}
</div>
</div>
}