From 2f2ade3068cf7fdbb01ea9c13f2a3969fb19885f Mon Sep 17 00:00:00 2001 From: wookieejedi Date: Mon, 30 Dec 2024 09:25:54 -0500 Subject: [PATCH 1/2] Fix some spelling Mostly was fixing `a engine` to `an engine` in this case and also changed `especifies` to `specify` --- Knossos.NET/Classes/Knossos.cs | 2 +- Knossos.NET/ViewModels/TaskViewModel.cs | 2 +- Knossos.NET/ViewModels/Windows/ModInstallViewModel.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Knossos.NET/Classes/Knossos.cs b/Knossos.NET/Classes/Knossos.cs index b6b0b546..5a43b622 100644 --- a/Knossos.NET/Classes/Knossos.cs +++ b/Knossos.NET/Classes/Knossos.cs @@ -1081,7 +1081,7 @@ public static async void PlayMod(Mod mod, FsoExecType fsoExecType, bool standalo } else { - await MessageBox.Show(MainWindow.instance!, "This mod does not especifies a engine build to use, you should select one in the mod settings.", "Error launching mod", MessageBox.MessageBoxButtons.OK); + await MessageBox.Show(MainWindow.instance!, "This mod does not specify an engine build to use, you should select one in the mod settings.", "Error launching mod", MessageBox.MessageBoxButtons.OK); } } return; diff --git a/Knossos.NET/ViewModels/TaskViewModel.cs b/Knossos.NET/ViewModels/TaskViewModel.cs index b5b2dd3b..1c751175 100644 --- a/Knossos.NET/ViewModels/TaskViewModel.cs +++ b/Knossos.NET/ViewModels/TaskViewModel.cs @@ -276,7 +276,7 @@ await Dispatcher.UIThread.InvokeAsync(async () => if (mod.type == ModType.engine) { - //If this is a engine build call the UI element to do the build install process instead + //If this is an engine build, call the UI element to do the build install process instead FsoBuildsViewModel.Instance?.RelayInstallBuild(mod); } else diff --git a/Knossos.NET/ViewModels/Windows/ModInstallViewModel.cs b/Knossos.NET/ViewModels/Windows/ModInstallViewModel.cs index aaf74f37..4c9a5a49 100644 --- a/Knossos.NET/ViewModels/Windows/ModInstallViewModel.cs +++ b/Knossos.NET/ViewModels/Windows/ModInstallViewModel.cs @@ -353,7 +353,7 @@ private async Task ProcessMod(Mod mod, List allMods, List? processed = modCache.Add(modDep); } - //If this is a engine build check if contains valid executables + //If this is an engine build then check if contains valid executables if (modDep.type == ModType.engine) { //Set a max amount of attempts to get an alternative version in case we need an alternative version From 7930f4e57cbb1c5a8db34ac283af95a0ade0be42 Mon Sep 17 00:00:00 2001 From: wookieejedi Date: Mon, 30 Dec 2024 09:35:46 -0500 Subject: [PATCH 2/2] Update TaskViewModel.cs --- Knossos.NET/ViewModels/TaskViewModel.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Knossos.NET/ViewModels/TaskViewModel.cs b/Knossos.NET/ViewModels/TaskViewModel.cs index 1c751175..d42174a0 100644 --- a/Knossos.NET/ViewModels/TaskViewModel.cs +++ b/Knossos.NET/ViewModels/TaskViewModel.cs @@ -276,7 +276,7 @@ await Dispatcher.UIThread.InvokeAsync(async () => if (mod.type == ModType.engine) { - //If this is an engine build, call the UI element to do the build install process instead + //If this is an engine build then call the UI element to do the build install process instead FsoBuildsViewModel.Instance?.RelayInstallBuild(mod); } else @@ -304,7 +304,7 @@ public async Task CompressMod(Mod mod) { if (mod.type == ModType.engine) { - //If this is a engine build do nothing + //If this is an engine build then do nothing } else { @@ -330,7 +330,7 @@ public async Task DecompressMod(Mod mod) { if (mod.type == ModType.engine) { - //If this is a engine build do nothing + //If this is an engine build then do nothing } else {