From 15c87dc0b6643beed6ea5beec85b007796dee38d Mon Sep 17 00:00:00 2001
From: britttttk
Date: Sun, 7 Mar 2021 23:30:40 -0700
Subject: [PATCH] Fix typos on wallet sign with seed page
---
BTCPayServer/Controllers/WalletsController.cs | 4 ++--
BTCPayServer/Views/Wallets/SignWithSeed.cshtml | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/BTCPayServer/Controllers/WalletsController.cs b/BTCPayServer/Controllers/WalletsController.cs
index 8d41fca7c..79542ddb1 100644
--- a/BTCPayServer/Controllers/WalletsController.cs
+++ b/BTCPayServer/Controllers/WalletsController.cs
@@ -898,7 +898,7 @@ namespace BTCPayServer.Controllers
}
else
{
- ModelState.AddModelError(nameof(viewModel.SeedOrKey), "The master fingerprint does not match the one set in your wallet settings. Probable cause are: wrong seed, wrong passphrase or wrong fingerprint in your wallet settings.");
+ ModelState.AddModelError(nameof(viewModel.SeedOrKey), "The master fingerprint does not match the one set in your wallet settings. Probable causes are: wrong seed, wrong passphrase or wrong fingerprint in your wallet settings.");
return View(nameof(SignWithSeed), viewModel);
}
@@ -908,7 +908,7 @@ namespace BTCPayServer.Controllers
}));
if (!changed)
{
- ModelState.AddModelError(nameof(viewModel.SeedOrKey), "Impossible to sign the transaction. Probable cause: Incorrect account key path in wallet settings, PSBT already signed.");
+ ModelState.AddModelError(nameof(viewModel.SeedOrKey), "Impossible to sign the transaction. Probable causes: Incorrect account key path in wallet settings or PSBT already signed.");
return View(nameof(SignWithSeed), viewModel);
}
ModelState.Remove(nameof(viewModel.SigningContext.PSBT));
diff --git a/BTCPayServer/Views/Wallets/SignWithSeed.cshtml b/BTCPayServer/Views/Wallets/SignWithSeed.cshtml
index 2ed4668f6..6faad1544 100644
--- a/BTCPayServer/Views/Wallets/SignWithSeed.cshtml
+++ b/BTCPayServer/Views/Wallets/SignWithSeed.cshtml
@@ -15,10 +15,10 @@
- Make sure this BTCPay Server instance belongs to you.
- - Use Chrome's Incognito mode or the Tor Browser, this make sure no malicious browser plugin is running that could steal your key.
+ - Use Chrome's Incognito mode or the Tor Browser, this makes sure no malicious browser plugins are running that could steal your key.
- Else, you are exposing yourself to malicious site owner, or to malicious plugin installed in your browser.
+ Else, you are exposing yourself to malicious site owners, or to malicious plugins installed in your browser.