From 649497e54f987931b98d039cdf4b4859bd2ca17f Mon Sep 17 00:00:00 2001
From: practicalswift
Date: Thu, 1 Mar 2018 15:09:41 +0100
Subject: [PATCH] Fix typos
---
BTCPayServer/Controllers/ManageController.cs | 4 ++--
BTCPayServer/Controllers/StoresController.BTCLike.cs | 2 +-
BTCPayServer/Controllers/StoresController.cs | 2 +-
BTCPayServer/MultiValueDictionary.cs | 2 +-
BTCPayServer/Payments/Bitcoin/NBXplorerListener.cs | 2 +-
BTCPayServer/Views/Stores/Wallet.cshtml | 2 +-
6 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/BTCPayServer/Controllers/ManageController.cs b/BTCPayServer/Controllers/ManageController.cs
index 6ffc70bb9..800e1a3d3 100644
--- a/BTCPayServer/Controllers/ManageController.cs
+++ b/BTCPayServer/Controllers/ManageController.cs
@@ -368,7 +368,7 @@ namespace BTCPayServer.Controllers
if (!user.TwoFactorEnabled)
{
- throw new ApplicationException($"Unexpected error occured disabling 2FA for user with ID '{user.Id}'.");
+ throw new ApplicationException($"Unexpected error occurred disabling 2FA for user with ID '{user.Id}'.");
}
return View(nameof(Disable2fa));
@@ -387,7 +387,7 @@ namespace BTCPayServer.Controllers
var disable2faResult = await _userManager.SetTwoFactorEnabledAsync(user, false);
if (!disable2faResult.Succeeded)
{
- throw new ApplicationException($"Unexpected error occured disabling 2FA for user with ID '{user.Id}'.");
+ throw new ApplicationException($"Unexpected error occurred disabling 2FA for user with ID '{user.Id}'.");
}
_logger.LogInformation("User with ID {UserId} has disabled 2fa.", user.Id);
diff --git a/BTCPayServer/Controllers/StoresController.BTCLike.cs b/BTCPayServer/Controllers/StoresController.BTCLike.cs
index 3c3f16e42..43ec9976e 100644
--- a/BTCPayServer/Controllers/StoresController.BTCLike.cs
+++ b/BTCPayServer/Controllers/StoresController.BTCLike.cs
@@ -197,7 +197,7 @@ namespace BTCPayServer.Controllers
{
subsctractFeesValue = bool.Parse(substractFees);
}
- catch { throw new FormatException("Invalid value for substract fees"); }
+ catch { throw new FormatException("Invalid value for subtract fees"); }
}
if (command == "test")
{
diff --git a/BTCPayServer/Controllers/StoresController.cs b/BTCPayServer/Controllers/StoresController.cs
index 100e1174f..3871be0ed 100644
--- a/BTCPayServer/Controllers/StoresController.cs
+++ b/BTCPayServer/Controllers/StoresController.cs
@@ -516,7 +516,7 @@ namespace BTCPayServer.Controllers
var pairingResult = await _TokenRepository.PairWithStoreAsync(pairingCode, store.Id);
if (pairingResult == PairingResult.Complete || pairingResult == PairingResult.Partial)
{
- StatusMessage = "Pairing is successfull";
+ StatusMessage = "Pairing is successful";
if (pairingResult == PairingResult.Partial)
StatusMessage = "Server initiated pairing code: " + pairingCode;
return RedirectToAction(nameof(ListTokens), new
diff --git a/BTCPayServer/MultiValueDictionary.cs b/BTCPayServer/MultiValueDictionary.cs
index 63ad41c06..1ac187720 100644
--- a/BTCPayServer/MultiValueDictionary.cs
+++ b/BTCPayServer/MultiValueDictionary.cs
@@ -16,7 +16,7 @@ namespace BTCPayServer
/// there is functionality to allow adding or removing more than a single
/// value at once.
///
- /// The MultiValueDictionary can also be viewed as a IReadOnlyDictionary<TKey,IReadOnlyCollection<TValue>t>
+ /// The MultiValueDictionary can also be viewed as an IReadOnlyDictionary<TKey,IReadOnlyCollection<TValue>t>
/// where the is abstracted from the view of the programmer.
///
/// For a read-only MultiValueDictionary.
diff --git a/BTCPayServer/Payments/Bitcoin/NBXplorerListener.cs b/BTCPayServer/Payments/Bitcoin/NBXplorerListener.cs
index f5e0f5822..716aefc98 100644
--- a/BTCPayServer/Payments/Bitcoin/NBXplorerListener.cs
+++ b/BTCPayServer/Payments/Bitcoin/NBXplorerListener.cs
@@ -279,7 +279,7 @@ namespace BTCPayServer.Payments.Bitcoin
}
else
{
- // Take the most recent (bitcoin node would not forward a conflict without a successfull RBF)
+ // Take the most recent (bitcoin node would not forward a conflict without a successful RBF)
_Winner = Transactions
.OrderByDescending(t => t.Value.Timestamp)
.First()
diff --git a/BTCPayServer/Views/Stores/Wallet.cshtml b/BTCPayServer/Views/Stores/Wallet.cshtml
index 451c5fe77..32416ab1e 100644
--- a/BTCPayServer/Views/Stores/Wallet.cshtml
+++ b/BTCPayServer/Views/Stores/Wallet.cshtml
@@ -58,7 +58,7 @@