diff options
| author | rating89us <45968869+rating89us@users.noreply.github.com> | 2021-12-13 15:30:24 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-13 15:30:24 +0100 |
| commit | 98f8f194cd73c6bf717b2cf7c39414658cb7cb5e (patch) | |
| tree | 6914d7776c48bcbdff5c63e2f4d62c86d862b531 /pages/settings | |
| parent | bddb9b0050ee086da5c7ee7fdb3627e0dff9f179 (diff) | |
| download | monzero-gui-98f8f194cd73c6bf717b2cf7c39414658cb7cb5e.tar.gz monzero-gui-98f8f194cd73c6bf717b2cf7c39414658cb7cb5e.tar.xz monzero-gui-98f8f194cd73c6bf717b2cf7c39414658cb7cb5e.zip | |
SettingsWallet: improve and translate trusted remote node error message
Diffstat (limited to 'pages/settings')
| -rw-r--r-- | pages/settings/SettingsWallet.qml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pages/settings/SettingsWallet.qml b/pages/settings/SettingsWallet.qml index 3e6a25ac..57f16f05 100644 --- a/pages/settings/SettingsWallet.qml +++ b/pages/settings/SettingsWallet.qml @@ -100,7 +100,11 @@ Rectangle { if (!currentWallet.rescanSpent()) { console.error("Error: ", currentWallet.errorString); 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.onCloseCallback = null informationPopup.open(); |
