diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-04-11 18:48:04 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-05-05 04:46:04 +0300 |
commit | 7e923d47ba9891856b86bc9f718cf2f1f773bdf6 (patch) | |
tree | e4636c6b5209ed93b240dc1c23c58745f33fd1e8 /src/interfaces/node.cpp | |
parent | 917ca93553917251e0fd59717a347c63cdfd8a14 (diff) | |
download | bitcoin-7e923d47ba9891856b86bc9f718cf2f1f773bdf6.tar.xz |
Make InitError bilingual
Diffstat (limited to 'src/interfaces/node.cpp')
-rw-r--r-- | src/interfaces/node.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interfaces/node.cpp b/src/interfaces/node.cpp index 8564819e6a..9e603a12cd 100644 --- a/src/interfaces/node.cpp +++ b/src/interfaces/node.cpp @@ -28,6 +28,7 @@ #include <txmempool.h> #include <ui_interface.h> #include <util/system.h> +#include <util/translation.h> #include <validation.h> #include <warnings.h> @@ -54,7 +55,7 @@ namespace { class NodeImpl : public Node { public: - void initError(const std::string& message) override { InitError(message); } + void initError(const std::string& message) override { InitError(Untranslated(message)); } bool parseParameters(int argc, const char* const argv[], std::string& error) override { return gArgs.ParseParameters(argc, argv, error); |