From 1a496b732b2f83387e5c1740ee764fe25b6ac625 Mon Sep 17 00:00:00 2001 From: Eris Date: Tue, 12 Oct 2021 18:30:25 +0200 Subject: [PATCH] Fixed some typos in PluginLoader --- IPA.Loader/Loader/PluginLoader.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/IPA.Loader/Loader/PluginLoader.cs b/IPA.Loader/Loader/PluginLoader.cs index 2de08d7e..cc7f25f7 100644 --- a/IPA.Loader/Loader/PluginLoader.cs +++ b/IPA.Loader/Loader/PluginLoader.cs @@ -261,7 +261,7 @@ namespace IPA.Loader Logger.loader.Error(e); ignoredPlugins.Add(metadata, new IgnoreReason(Reason.Error) { - ReasonText = "An error ocurred loading the data", + ReasonText = "An error occurred loading the data", Error = e }); } @@ -372,7 +372,7 @@ namespace IPA.Loader /// Conflict, /// - /// The plugin this reason is assiciated with is missing a dependency. + /// The plugin this reason is associated with is missing a dependency. /// /// /// Since this is only given when a dependency is missing, will @@ -390,7 +390,7 @@ namespace IPA.Loader /// Feature, /// - /// The plugin this reason is assoicated with is unsupported. + /// The plugin this reason is associated with is unsupported. /// /// /// Currently, there is no path in the loader that emits this , however there may @@ -687,7 +687,7 @@ namespace IPA.Loader if (!TryResolveId(id, out var depMeta, out var depDisabled, out var depIgnored) || !range.Matches(depMeta.HVersion)) { - Logger.loader.Warn($"'{plugin.Id}' is missing depencency '{id}@{range}'; ignoring"); + Logger.loader.Warn($"'{plugin.Id}' is missing dependency '{id}@{range}'; ignoring"); ignoredPlugins.Add(plugin, new(Reason.Dependency) { ReasonText = $"Dependency '{id}@{range}' not found", @@ -958,7 +958,7 @@ namespace IPA.Loader Logger.loader.Error(e); ignoredPlugins.Add(meta, new IgnoreReason(Reason.Error) { - ReasonText = "Error ocurred while initializing", + ReasonText = "Error occurred while initializing", Error = e }); return null; @@ -1014,7 +1014,7 @@ namespace IPA.Loader } catch (Exception e) { - Logger.log.Critical($"Uncaught exception while loading pluign {meta.Name}:"); + Logger.log.Critical($"Uncaught exception while loading plugin {meta.Name}:"); Logger.log.Critical(e); } }