Wording updates

Thanks @Zaxounette!
This commit is contained in:
Dennis Reimann 2021-04-20 09:09:32 +02:00
parent 52be5746c6
commit aef06c7f61
No known key found for this signature in database
GPG Key ID: 5009E1797F03F8D0
3 changed files with 4 additions and 5 deletions

View File

@ -366,7 +366,7 @@ namespace BTCPayServer.Tests
s.AddLightningNode();
s.Driver.AssertNoError();
var successAlert = s.FindAlertMessage();
Assert.Contains("BTC Lightning node modified.", successAlert.Text);
Assert.Contains("BTC Lightning node updated.", successAlert.Text);
Assert.False(s.Driver.PageSource.Contains(offchainHint), "Lightning hint should be dismissed at this point");
var storeUrl = s.Driver.Url;

View File

@ -102,7 +102,7 @@ namespace BTCPayServer.Controllers
store.SetStoreBlob(storeBlob);
store.SetSupportedPaymentMethod(paymentMethodId, paymentMethod);
await _Repo.UpdateStore(store);
TempData[WellKnownTempData.SuccessMessage] = $"{network.CryptoCode} Lightning node modified.";
TempData[WellKnownTempData.SuccessMessage] = $"{network.CryptoCode} Lightning node updated.";
return RedirectToAction(nameof(UpdateStore), new { storeId });
case "test":
@ -115,7 +115,7 @@ namespace BTCPayServer.Controllers
using var cts = new CancellationTokenSource(TimeSpan.FromSeconds(20));
await handler.TestConnection(info, cts.Token);
}
TempData[WellKnownTempData.SuccessMessage] = $"Connection to the Lightning node succeeded. Your node address: {info}";
TempData[WellKnownTempData.SuccessMessage] = $"Connection to the Lightning node successful. Your node address: {info}";
}
catch (Exception ex)
{

View File

@ -377,8 +377,7 @@ namespace BTCPayServer.Controllers
return checkResult;
}
TempData[WellKnownTempData.SuccessMessage] =
$"Derivation settings for {network.CryptoCode} have been modified.";
TempData[WellKnownTempData.SuccessMessage] = $"Derivation settings for {network.CryptoCode} have been updated.";
return RedirectToAction(nameof(UpdateStore), new {storeId});
}