aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2015-12-01 09:47:13 +0100
committerWladimir J. van der Laan <[email protected]>2015-12-01 10:07:22 +0100
commitaabc897801f2513ab5bf5e8ae6e6bcffeb889e94 (patch)
tree74e24497a9046af4ca875c9ff2cfc97cc4e75df4 /src/qt/clientmodel.cpp
parentMerge pull request #7105 (diff)
downloaddiscoin-aabc897801f2513ab5bf5e8ae6e6bcffeb889e94.tar.xz
discoin-aabc897801f2513ab5bf5e8ae6e6bcffeb889e94.zip
rpc: Don't translate warning messages
But keep translating them in the GUI. This - necessarily - requires duplication of a few messages. Alternative take on #7134, that keeps the translations from being wiped. Also document GetWarnings() input argument. Fixes #5895.
Diffstat (limited to 'src/qt/clientmodel.cpp')
-rw-r--r--src/qt/clientmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/clientmodel.cpp b/src/qt/clientmodel.cpp
index d36d129c1..a4b028f0d 100644
--- a/src/qt/clientmodel.cpp
+++ b/src/qt/clientmodel.cpp
@@ -158,7 +158,7 @@ enum BlockSource ClientModel::getBlockSource() const
QString ClientModel::getStatusBarWarnings() const
{
- return QString::fromStdString(GetWarnings("statusbar"));
+ return QString::fromStdString(GetWarnings("gui"));
}
OptionsModel *ClientModel::getOptionsModel()