(a275d7aba) Use NotoSans instead of NotoSansCJK as an override for BebasNeue in Russian (NotoSansCJK is a chinese/japanese/korean font that has a ridiculous number of symbols)

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:44:44 +03:00
parent ff83e3fe38
commit 3b5ae37a1a
10 changed files with 391 additions and 63 deletions
@@ -417,6 +417,25 @@ namespace Barotrauma
}
}
public string DisplayName
{
get;
private set;
}
private string roomName;
[Editable, Serialize("", true, translationTextTag: "RoomName.")]
public string RoomName
{
get { return roomName; }
set
{
if (roomName == value) { return; }
roomName = value;
DisplayName = TextManager.Get(roomName, returnNull: true) ?? roomName;
}
}
public override Rectangle Rect
{
get