aboutsummaryrefslogtreecommitdiff
path: root/src/qt/rpcconsole.cpp
diff options
context:
space:
mode:
authorchromatic <[email protected]>2021-08-13 11:59:09 -0700
committerPatrick Lodder <[email protected]>2021-08-14 01:56:07 +0200
commitc2a0bd289049cb1458fe44fd1563ee3faca8ff7d (patch)
tree2c70015a3c371fbe1494468a2595805349fe2d1b /src/qt/rpcconsole.cpp
parentfix typo (diff)
downloaddiscoin-c2a0bd289049cb1458fe44fd1563ee3faca8ff7d.tar.xz
discoin-c2a0bd289049cb1458fe44fd1563ee3faca8ff7d.zip
qt: translate more user-exposed strings
Diffstat (limited to 'src/qt/rpcconsole.cpp')
-rw-r--r--src/qt/rpcconsole.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp
index 16b86ab1f..bcce55f0d 100644
--- a/src/qt/rpcconsole.cpp
+++ b/src/qt/rpcconsole.cpp
@@ -840,7 +840,7 @@ void RPCConsole::on_lineEdit_returnPressed()
throw std::runtime_error("Invalid command line");
}
} catch (const std::exception& e) {
- QMessageBox::critical(this, "Error", QString("Error: ") + QString::fromStdString(e.what()));
+ QMessageBox::critical(this, tr("Error"), QString("Error: ") + QString::fromStdString(e.what()));
return;
}