Remove FluentBundle.Arguments helper method.
This commit is contained in:
@@ -51,13 +51,11 @@ namespace OpenRA.Mods.Cnc.Installer
|
||||
|
||||
Action<long> onProgress = null;
|
||||
if (stream.Length < InstallFromSourceLogic.ShowPercentageThreshold)
|
||||
updateMessage(FluentProvider.GetString(
|
||||
InstallFromSourceLogic.Extracing,
|
||||
FluentBundle.Arguments("filename", displayFilename)));
|
||||
updateMessage(FluentProvider.GetString(InstallFromSourceLogic.Extracting, "filename", displayFilename));
|
||||
else
|
||||
onProgress = b => updateMessage(FluentProvider.GetString(
|
||||
InstallFromSourceLogic.ExtractingProgress,
|
||||
FluentBundle.Arguments("filename", displayFilename, "progress", 100 * b / stream.Length)));
|
||||
onProgress = b => updateMessage(FluentProvider.GetString(InstallFromSourceLogic.ExtractingProgress,
|
||||
"filename", displayFilename,
|
||||
"progress", 100 * b / stream.Length));
|
||||
|
||||
using (var target = File.OpenWrite(targetPath))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user