(4d3ec7d3b) Fixed: Missing {0} variable from russian localization

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:55:08 +03:00
parent 81fe275299
commit 106c61ca9a
15 changed files with 253 additions and 114 deletions
+18 -1
View File
@@ -81,7 +81,24 @@ namespace Barotrauma
public readonly List<Gap> ConnectedGaps = new List<Gap>();
public readonly List<Gap> ConnectedGaps = new List<Gap>();
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 string DisplayName
{
get;
private set;
}
private string roomName;
[Editable, Serialize("", true, translationTextTag: "RoomName.")]