(20b87e5bc) More workarounds to missing texts, fixed an error in one of the French texts

This commit is contained in:
Joonas Rikkonen
2019-05-07 16:24:23 +03:00
parent ed23155de7
commit 799c2d4a5c
3 changed files with 8 additions and 3 deletions
@@ -437,9 +437,13 @@ namespace Barotrauma
GUITextBlock textBlock = new GUITextBlock(new RectTransform(new Vector2(1.0f, 0.2f), modeList.Content.RectTransform),
mode.Name, style: "ListBoxElement", textAlignment: Alignment.CenterLeft)
{
ToolTip = mode.Description,
UserData = mode
};
//TODO: translate mission descriptions
if (TextManager.Language == "English")
{
textBlock.ToolTip = mode.Description;
}
}
//mission type ------------------------------------------------------------------