Fix a collection of mission browser UI issues.

This commit is contained in:
Paul Chote
2023-10-29 11:29:02 +00:00
committed by Gustas
parent 3d9ac5a85e
commit dd95b199b7
5 changed files with 105 additions and 100 deletions

View File

@@ -84,7 +84,10 @@ namespace OpenRA.Mods.Common.Widgets.Logic
var title = widget.GetOrNull<LabelWidget>("MISSIONBROWSER_TITLE");
if (title != null)
title.GetText = () => playingVideo != PlayingVideo.None ? selectedMap.Title : title.Text;
{
var label = TranslationProvider.GetString(title.Text);
title.GetText = () => playingVideo != PlayingVideo.None ? selectedMap.Title : label;
}
widget.Get("MISSION_INFO").IsVisible = () => selectedMap != null;