From b76636daa6a1e3a34f51ba9e714faf1898aaeaea Mon Sep 17 00:00:00 2001 From: tobtoht Date: Sat, 14 Aug 2021 16:57:39 +0200 Subject: [PATCH] Use node instead of daemon in user-facing strings --- src/MainWindow.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 914e044..a758439 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -600,11 +600,11 @@ void MainWindow::onCreateTransactionSuccess(PendingTransaction *tx, const QVecto qCritical() << tx_err; if (m_ctx->wallet->connectionStatus() == Wallet::ConnectionStatus_WrongVersion) - err = QString("%1 Wrong daemon version: %2").arg(err).arg(tx_err); + err = QString("%1 Wrong node version: %2").arg(err).arg(tx_err); else err = QString("%1 %2").arg(err).arg(tx_err); - if (tx_err.contains("Daemon response did not include the requested real output")) { + if (tx_err.contains("Node response did not include the requested real output")) { QString currentNode = m_ctx->nodes->connection().toAddress(); err += QString("\nYou are currently connected to: %1\n\n" @@ -726,7 +726,7 @@ void MainWindow::showConnectionStatusDialog() { QString statusMsg; switch(status){ case Wallet::ConnectionStatus_Disconnected: - statusMsg = "Wallet is disconnected from daemon."; + statusMsg = "Wallet is disconnected from node."; break; case Wallet::ConnectionStatus_Connecting: { auto node = m_ctx->nodes->connection(); @@ -734,7 +734,7 @@ void MainWindow::showConnectionStatusDialog() { break; } case Wallet::ConnectionStatus_WrongVersion: - statusMsg = "Wallet is connected to incompatible daemon."; + statusMsg = "Wallet is connected to incompatible node."; break; case Wallet::ConnectionStatus_Synchronizing: case Wallet::ConnectionStatus_Synchronized: {