mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 22:44:29 +01:00
Wording updates
Thanks @Zaxounette!
This commit is contained in:
@@ -366,7 +366,7 @@ namespace BTCPayServer.Tests
|
|||||||
s.AddLightningNode();
|
s.AddLightningNode();
|
||||||
s.Driver.AssertNoError();
|
s.Driver.AssertNoError();
|
||||||
var successAlert = s.FindAlertMessage();
|
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");
|
Assert.False(s.Driver.PageSource.Contains(offchainHint), "Lightning hint should be dismissed at this point");
|
||||||
|
|
||||||
var storeUrl = s.Driver.Url;
|
var storeUrl = s.Driver.Url;
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ namespace BTCPayServer.Controllers
|
|||||||
store.SetStoreBlob(storeBlob);
|
store.SetStoreBlob(storeBlob);
|
||||||
store.SetSupportedPaymentMethod(paymentMethodId, paymentMethod);
|
store.SetSupportedPaymentMethod(paymentMethodId, paymentMethod);
|
||||||
await _Repo.UpdateStore(store);
|
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 });
|
return RedirectToAction(nameof(UpdateStore), new { storeId });
|
||||||
|
|
||||||
case "test":
|
case "test":
|
||||||
@@ -115,7 +115,7 @@ namespace BTCPayServer.Controllers
|
|||||||
using var cts = new CancellationTokenSource(TimeSpan.FromSeconds(20));
|
using var cts = new CancellationTokenSource(TimeSpan.FromSeconds(20));
|
||||||
await handler.TestConnection(info, cts.Token);
|
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)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -377,8 +377,7 @@ namespace BTCPayServer.Controllers
|
|||||||
return checkResult;
|
return checkResult;
|
||||||
}
|
}
|
||||||
|
|
||||||
TempData[WellKnownTempData.SuccessMessage] =
|
TempData[WellKnownTempData.SuccessMessage] = $"Derivation settings for {network.CryptoCode} have been updated.";
|
||||||
$"Derivation settings for {network.CryptoCode} have been modified.";
|
|
||||||
|
|
||||||
return RedirectToAction(nameof(UpdateStore), new {storeId});
|
return RedirectToAction(nameof(UpdateStore), new {storeId});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user