Fix typos on wallet sign with seed page

This commit is contained in:
britttttk 2021-03-07 23:30:40 -07:00
parent e31b5529b0
commit 15c87dc0b6
2 changed files with 4 additions and 4 deletions

View file

@ -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));

View file

@ -15,10 +15,10 @@
</p>
<ol>
<li>Make sure this BTCPay Server instance <b>belongs to you</b>.</li>
<li>Use <b>Chrome's Incognito mode or the Tor Browser</b>, this make sure no malicious browser plugin is running that could steal your key.</li>
<li>Use <b>Chrome's Incognito mode or the Tor Browser</b>, this makes sure no malicious browser plugins are running that could steal your key.</li>
</ol>
<p>
<span>Else, you are exposing yourself to malicious site owner, or to malicious plugin installed in your browser.</span>
<span>Else, you are exposing yourself to malicious site owners, or to malicious plugins installed in your browser.</span>
</p>
</div>
</div>