mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-03 17:39:54 +00:00
Merge pull request #3802
98f8f19
SettingsWallet: improve and translate trusted remote node error message (rating89us)
This commit is contained in:
commit
f44fcb4459
1 changed files with 5 additions and 1 deletions
|
@ -101,7 +101,11 @@ Rectangle {
|
||||||
if (!currentWallet.rescanSpent()) {
|
if (!currentWallet.rescanSpent()) {
|
||||||
console.error("Error: ", currentWallet.errorString);
|
console.error("Error: ", currentWallet.errorString);
|
||||||
informationPopup.title = qsTr("Error") + translationManager.emptyString;
|
informationPopup.title = qsTr("Error") + translationManager.emptyString;
|
||||||
informationPopup.text = qsTr("Error: ") + currentWallet.errorString
|
if (currentWallet.errorString == "Rescan spent can only be used with a trusted daemon") {
|
||||||
|
informationPopup.text = qsTr("Error: ") + qsTr("Rescan spent can only be used with a trusted remote node. If you trust the current node you are connected to (%1), you can mark it as trusted in Settings > Node page.").arg(remoteNodesModel.currentRemoteNode().address) + translationManager.emptyString;
|
||||||
|
} else {
|
||||||
|
informationPopup.text = qsTr("Error: ") + currentWallet.errorString;
|
||||||
|
}
|
||||||
informationPopup.icon = StandardIcon.Critical
|
informationPopup.icon = StandardIcon.Critical
|
||||||
informationPopup.onCloseCallback = null
|
informationPopup.onCloseCallback = null
|
||||||
informationPopup.open();
|
informationPopup.open();
|
||||||
|
|
Loading…
Reference in a new issue