mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
Make InitError bilingual
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user