(2a2494e33) Fixed tutorial names not being translated

This commit is contained in:
Joonas Rikkonen
2019-05-06 11:37:28 +03:00
parent 6f57aa863f
commit 47abb30bef
6 changed files with 257 additions and 37 deletions
@@ -323,7 +323,7 @@ namespace Barotrauma
false, null, "");
foreach (Tutorial tutorial in Tutorial.Tutorials)
{
var tutorialText = new GUITextBlock(new RectTransform(new Vector2(1.0f, 0.15f), tutorialList.Content.RectTransform), tutorial.Name, textAlignment: Alignment.Center, font: GUI.LargeFont)
var tutorialText = new GUITextBlock(new RectTransform(new Vector2(1.0f, 0.15f), tutorialList.Content.RectTransform), tutorial.DisplayName, textAlignment: Alignment.Center, font: GUI.LargeFont)
{
UserData = tutorial
};