From 37c4647f242c37f22c7ac455d304055441acf362 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sat, 10 Aug 2024 20:52:53 -0700 Subject: [PATCH] Fix typos and improve log messages --- distribution/debian/install.sh | 4 ++-- src/NzbDrone.Core/Download/Clients/Deluge/Deluge.cs | 2 +- src/NzbDrone.Test.Common/AutoMoq/AutoMoqer.cs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/distribution/debian/install.sh b/distribution/debian/install.sh index 87a0b0914..803d7cf51 100644 --- a/distribution/debian/install.sh +++ b/distribution/debian/install.sh @@ -59,7 +59,7 @@ app_guid=$(echo "$app_guid" | tr -d ' ') app_guid=${app_guid:-media} echo "This will install [${app^}] to [$bindir] and use [$datadir] for the AppData Directory" -echo "${app^} will run as the user [$app_uid] and group [$app_guid]. By continuing, you've confirmed that that user and group will have READ and WRITE access to your Media Library and Download Client Completed Download directories" +echo "${app^} will run as the user [$app_uid] and group [$app_guid]. By continuing, you've confirmed that the selected user and group will have READ and WRITE access to your Media Library and Download Client Completed Download directories" read -n 1 -r -s -p $'Press enter to continue or ctrl+c to exit...\n' < /dev/tty # Create User / Group as needed @@ -114,7 +114,7 @@ case "$ARCH" in esac echo "" echo "Removing previous tarballs" -# -f to Force so we fail if it doesnt exist +# -f to Force so we fail if it doesn't exist rm -f "${app^}".*.tar.gz echo "" echo "Downloading..." diff --git a/src/NzbDrone.Core/Download/Clients/Deluge/Deluge.cs b/src/NzbDrone.Core/Download/Clients/Deluge/Deluge.cs index 44d78e311..35701d3de 100644 --- a/src/NzbDrone.Core/Download/Clients/Deluge/Deluge.cs +++ b/src/NzbDrone.Core/Download/Clients/Deluge/Deluge.cs @@ -201,7 +201,7 @@ namespace NzbDrone.Core.Download.Clients.Deluge if (ignoredCount > 0) { - _logger.Warn("{0} torrent(s) were ignored becuase they did not have a title, check Deluge and remove any invalid torrents"); + _logger.Warn("{0} torrent(s) were ignored because they did not have a title. Check Deluge and remove any invalid torrents"); } return items; diff --git a/src/NzbDrone.Test.Common/AutoMoq/AutoMoqer.cs b/src/NzbDrone.Test.Common/AutoMoq/AutoMoqer.cs index 948994c51..288209030 100644 --- a/src/NzbDrone.Test.Common/AutoMoq/AutoMoqer.cs +++ b/src/NzbDrone.Test.Common/AutoMoq/AutoMoqer.cs @@ -51,7 +51,7 @@ namespace NzbDrone.Test.Common.AutoMoq if (behavior != MockBehavior.Default && mock.Behavior == MockBehavior.Default) { - throw new InvalidOperationException("Unable to change be behaviour of a an existing mock."); + throw new InvalidOperationException("Unable to change be behaviour of an existing mock."); } return mock;