Fix untranslated factions in GameInfoStats
This commit is contained in:
committed by
Matthias Mailänder
parent
bebe3f710b
commit
c64eea7872
@@ -260,7 +260,10 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
: TranslationProvider.GetString(pp.Faction.Name);
|
||||
}
|
||||
else
|
||||
{
|
||||
flag.GetImageName = () => pp.DisplayFaction.InternalName;
|
||||
factionName = TranslationProvider.GetString(factionName);
|
||||
}
|
||||
|
||||
WidgetUtils.TruncateLabelToTooltip(item.Get<LabelWithTooltipWidget>("FACTION"), factionName);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user