Rename Fluent-related code to be more precise.
This commit is contained in:
@@ -22,10 +22,10 @@ namespace OpenRA.Mods.Common.Widgets
|
||||
{
|
||||
public class SupportPowersWidget : Widget
|
||||
{
|
||||
[TranslationReference]
|
||||
[FluentReference]
|
||||
public string ReadyText = "";
|
||||
|
||||
[TranslationReference]
|
||||
[FluentReference]
|
||||
public string HoldText = "";
|
||||
|
||||
public readonly string OverlayFont = "TinyBold";
|
||||
@@ -112,9 +112,9 @@ namespace OpenRA.Mods.Common.Widgets
|
||||
|
||||
iconOffset = 0.5f * IconSize.ToFloat2() + IconSpriteOffset;
|
||||
|
||||
HoldText = TranslationProvider.GetString(HoldText);
|
||||
HoldText = FluentProvider.GetString(HoldText);
|
||||
holdOffset = iconOffset - overlayFont.Measure(HoldText) / 2;
|
||||
ReadyText = TranslationProvider.GetString(ReadyText);
|
||||
ReadyText = FluentProvider.GetString(ReadyText);
|
||||
readyOffset = iconOffset - overlayFont.Measure(ReadyText) / 2;
|
||||
|
||||
clock = new Animation(worldRenderer.World, ClockAnimation);
|
||||
|
||||
Reference in New Issue
Block a user