From 38cd63ec04142eba19fbc4cb2ef577e6545cb534 Mon Sep 17 00:00:00 2001 From: luzpaz Date: Sat, 15 Mar 2025 19:39:09 -0400 Subject: [PATCH] Fix typos --- src/NzbDrone.Common/Processes/ProcessProvider.cs | 2 +- src/NzbDrone.Core/Datastore/ExpressionVisitor.cs | 2 +- .../FreeboxDownload/Responses/FreeboxDownloadTask.cs | 2 +- .../Clients/FreeboxDownload/TorrentFreeboxDownload.cs | 2 +- .../HealthCheck/Checks/RemotePathMappingCheck.cs | 6 +++--- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/NzbDrone.Common/Processes/ProcessProvider.cs b/src/NzbDrone.Common/Processes/ProcessProvider.cs index 17d31976d..3060af097 100644 --- a/src/NzbDrone.Common/Processes/ProcessProvider.cs +++ b/src/NzbDrone.Common/Processes/ProcessProvider.cs @@ -343,7 +343,7 @@ private List GetProcessesByName(string name) } catch { - // Don't crash on gettings some log data. + // Don't crash on getting some log data. } return processes; diff --git a/src/NzbDrone.Core/Datastore/ExpressionVisitor.cs b/src/NzbDrone.Core/Datastore/ExpressionVisitor.cs index 2605bbd9b..2321e631b 100644 --- a/src/NzbDrone.Core/Datastore/ExpressionVisitor.cs +++ b/src/NzbDrone.Core/Datastore/ExpressionVisitor.cs @@ -130,7 +130,7 @@ protected virtual Expression VisitUnary(UnaryExpression expression) } /// - /// Visits the lamda expression. + /// Visits the lambda expression. /// /// /// diff --git a/src/NzbDrone.Core/Download/Clients/FreeboxDownload/Responses/FreeboxDownloadTask.cs b/src/NzbDrone.Core/Download/Clients/FreeboxDownload/Responses/FreeboxDownloadTask.cs index faf4f646a..4412d8f26 100644 --- a/src/NzbDrone.Core/Download/Clients/FreeboxDownload/Responses/FreeboxDownloadTask.cs +++ b/src/NzbDrone.Core/Download/Clients/FreeboxDownload/Responses/FreeboxDownloadTask.cs @@ -110,7 +110,7 @@ static FreeboxDownloadTask() { "bt_file_error", "Error accessing torrent files." }, { "missing_ctx_file", "Error accessing task context file." }, { "nzb_no_group", "Cannot find the requested group on server." }, - { "nzb_not_found", "Article not fount on the server." }, + { "nzb_not_found", "Article not found on the server." }, { "nzb_invalid_crc", "Invalid article CRC." }, { "nzb_invalid_size", "Invalid article size." }, { "nzb_invalid_filename", "Invalid filename." }, diff --git a/src/NzbDrone.Core/Download/Clients/FreeboxDownload/TorrentFreeboxDownload.cs b/src/NzbDrone.Core/Download/Clients/FreeboxDownload/TorrentFreeboxDownload.cs index 365cab274..fc7d81200 100644 --- a/src/NzbDrone.Core/Download/Clients/FreeboxDownload/TorrentFreeboxDownload.cs +++ b/src/NzbDrone.Core/Download/Clients/FreeboxDownload/TorrentFreeboxDownload.cs @@ -96,7 +96,7 @@ public override IEnumerable GetItems() case FreeboxDownloadTaskStatus.Starting: // task is preparing to start download case FreeboxDownloadTaskStatus.Downloading: case FreeboxDownloadTaskStatus.Retry: // you can set a task status to ‘retry’ to restart the download task. - case FreeboxDownloadTaskStatus.Checking: // checking data before lauching download. + case FreeboxDownloadTaskStatus.Checking: // checking data before launching download. item.Status = DownloadItemStatus.Downloading; break; diff --git a/src/NzbDrone.Core/HealthCheck/Checks/RemotePathMappingCheck.cs b/src/NzbDrone.Core/HealthCheck/Checks/RemotePathMappingCheck.cs index 1aa8f18a9..576c79e86 100644 --- a/src/NzbDrone.Core/HealthCheck/Checks/RemotePathMappingCheck.cs +++ b/src/NzbDrone.Core/HealthCheck/Checks/RemotePathMappingCheck.cs @@ -168,7 +168,7 @@ public override HealthCheck Check() } catch (Exception ex) { - _logger.Error(ex, "Unknown error occured in RemotePathMapping HealthCheck"); + _logger.Error(ex, "Unknown error occurred in RemotePathMapping HealthCheck"); } } @@ -216,7 +216,7 @@ public HealthCheck Check(IEvent message) "#remote-path-file-removed"); } - // If the previous case did not match then the failure occured in DownloadedEpisodeImportService, + // If the previous case did not match then the failure occurred in DownloadedEpisodeImportService, // while trying to locate the files reported by the download client // Only check clients not in failure status, those get another message var client = _downloadClientProvider.GetDownloadClients(true).FirstOrDefault(x => x.Definition.Name == failureMessage.DownloadClientInfo.Name); @@ -359,7 +359,7 @@ public HealthCheck Check(IEvent message) } catch (Exception ex) { - _logger.Error(ex, "Unknown error occured in RemotePathMapping HealthCheck"); + _logger.Error(ex, "Unknown error occurred in RemotePathMapping HealthCheck"); } return new HealthCheck(GetType());