18 return Untranslated(
"Transaction already in block chain");
21 "Peer-to-peer functionality missing or disabled");
23 return Untranslated(
"Transaction rejected by AcceptToMemoryPool");
30 "PSBTs not compatible (different transactions)");
33 "Specified sighash value does not match existing value");
35 return Untranslated(
"Fee exceeds maximum configured by -maxtxfee");
42 const std::string &strBind) {
43 return strprintf(
_(
"Cannot resolve -%s address: '%s'"), optname, strBind);
47 return strprintf(
_(
"%s is set very high!"), optname);
51 const std::string &strValue) {
52 return strprintf(
_(
"Invalid amount for -%s=<amount>: '%s'"), optname,
bilingual_str ResolveErrMsg(const std::string &optname, const std::string &strBind)
bilingual_str AmountErrMsg(const std::string &optname, const std::string &strValue)
bilingual_str Untranslated(std::string original)
Mark a bilingual_str as untranslated.
bilingual_str _(const char *psz)
Translation function.
bilingual_str AmountHighWarn(const std::string &optname)
bilingual_str TransactionErrorString(const TransactionError error)
bool error(const char *fmt, const Args &... args)