19 return Untranslated(
"Transaction already in block chain");
21 return Untranslated(
"Peer-to-peer functionality missing or disabled");
23 return Untranslated(
"Transaction rejected by AcceptToMemoryPool");
29 return Untranslated(
"PSBTs not compatible (different transactions)");
31 return Untranslated(
"Specified sighash value does not match value stored in PSBT");
33 return Untranslated(
"Fee exceeds maximum configured by user (e.g. -maxtxfee, maxfeerate)");
41 return strprintf(
_(
"Cannot resolve -%s address: '%s'"), optname, strBind);
46 return strprintf(
_(
"%s is set very high!"), optname);
51 return strprintf(
_(
"Invalid amount for -%s=<amount>: '%s'"), optname, strValue);
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 TransactionErrorString(const TransactionError err)
bilingual_str _(const char *psz)
Translation function.
bilingual_str AmountHighWarn(const std::string &optname)