mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-08-23 10:51:13 +00:00
Translate UserStatus, titles of pages in header
This commit is contained in:
parent
6525ebe3cb
commit
f0befef31f
45 changed files with 699 additions and 120 deletions
|
@ -1,8 +1,11 @@
|
|||
@using LBPUnion.ProjectLighthouse.Helpers
|
||||
@using LBPUnion.ProjectLighthouse.Localization
|
||||
@model LBPUnion.ProjectLighthouse.PlayerData.Profiles.User
|
||||
|
||||
@{
|
||||
bool showLink = (bool?)ViewData["ShowLink"] ?? false;
|
||||
bool isMobile = (bool?)ViewData["IsMobile"] ?? false;
|
||||
string language = (string?)ViewData["Language"] ?? LocalizationManager.DefaultLang;
|
||||
}
|
||||
|
||||
<div class="card">
|
||||
|
@ -25,7 +28,7 @@
|
|||
</h1>
|
||||
}
|
||||
<p>
|
||||
<i>@Model.Status</i>
|
||||
<i>@Model.Status.ToTranslatedString(language)</i>
|
||||
</p>
|
||||
<div class="cardStatsUnderTitle">
|
||||
<i class="pink heart icon" title="Hearts"></i> <span>@Model.Hearts</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue