mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
Make InitError bilingual
This commit is contained in:
parent
917ca93553
commit
7e923d47ba
9 changed files with 74 additions and 73 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue