Rename Fluent *GetString methods to GetMessage.
This commit is contained in:
@@ -42,7 +42,7 @@ namespace OpenRA.Mods.Cnc
|
||||
|
||||
versionText = modData.Manifest.Metadata.Version;
|
||||
|
||||
message = FluentProvider.GetString(Loading);
|
||||
message = FluentProvider.GetMessage(Loading);
|
||||
}
|
||||
|
||||
public override void DisplayInner(Renderer r, Sheet s, int density)
|
||||
|
||||
@@ -51,9 +51,9 @@ namespace OpenRA.Mods.Cnc.Installer
|
||||
|
||||
Action<long> onProgress = null;
|
||||
if (stream.Length < InstallFromSourceLogic.ShowPercentageThreshold)
|
||||
updateMessage(FluentProvider.GetString(InstallFromSourceLogic.Extracting, "filename", displayFilename));
|
||||
updateMessage(FluentProvider.GetMessage(InstallFromSourceLogic.Extracting, "filename", displayFilename));
|
||||
else
|
||||
onProgress = b => updateMessage(FluentProvider.GetString(InstallFromSourceLogic.ExtractingProgress,
|
||||
onProgress = b => updateMessage(FluentProvider.GetMessage(InstallFromSourceLogic.ExtractingProgress,
|
||||
"filename", displayFilename,
|
||||
"progress", 100 * b / stream.Length));
|
||||
|
||||
|
||||
@@ -371,7 +371,7 @@ namespace OpenRA.Mods.Cnc.Traits
|
||||
string IResourceRenderer.GetRenderedResourceTooltip(CPos cell)
|
||||
{
|
||||
if (renderIndices[cell] != null || borders[cell] != Adjacency.None)
|
||||
return FluentProvider.GetString(info.Name);
|
||||
return FluentProvider.GetMessage(info.Name);
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user