1
0

qml: show proper Payment failed message when reason is empty (e.g. from previous session)

also capitalisation consistency.
This commit is contained in:
Sander van Grieken
2025-01-17 13:02:28 +01:00
parent 010b153ab2
commit 19a4b149d3
2 changed files with 3 additions and 3 deletions

View File

@@ -613,10 +613,10 @@ ApplicationWindow
}
// TODO: add to notification queue instead of barging through
function onPaymentSucceeded(key) {
notificationPopup.show(Daemon.currentWallet.name, qsTr('Payment Succeeded'))
notificationPopup.show(Daemon.currentWallet.name, qsTr('Payment succeeded'))
}
function onPaymentFailed(key, reason) {
notificationPopup.show(Daemon.currentWallet.name, qsTr('Payment Failed') + ': ' + reason)
notificationPopup.show(Daemon.currentWallet.name, qsTr('Payment failed') + ': ' + reason)
}
}