Rename Fluent-related code to be more precise.
This commit is contained in:
@@ -17,7 +17,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
{
|
||||
public class IngameSiloBarLogic : ChromeLogic
|
||||
{
|
||||
[TranslationReference("usage", "capacity")]
|
||||
[FluentReference("usage", "capacity")]
|
||||
const string SiloUsage = "label-silo-usage";
|
||||
|
||||
[ObjectCreator.UseCtor]
|
||||
@@ -30,9 +30,9 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
siloBar.GetUsed = () => playerResources.Resources;
|
||||
siloBar.TooltipTextCached = new CachedTransform<(float Current, float Capacity), string>(usage =>
|
||||
{
|
||||
return TranslationProvider.GetString(
|
||||
return FluentProvider.GetString(
|
||||
SiloUsage,
|
||||
Translation.Arguments("usage", usage.Current, "capacity", usage.Capacity));
|
||||
FluentBundle.Arguments("usage", usage.Current, "capacity", usage.Capacity));
|
||||
});
|
||||
siloBar.GetBarColor = () =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user