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