23 return strprintf(
_(
"%s is set very high!"), optname);
26 std::string
AmountErrMsg(
const char*
const optname,
const std::string& strValue)
28 return strprintf(
_(
"Invalid amount for -%s=<amount>: '%s'"), optname, strValue);
Signals for UI communication.
std::string AmountHighWarn(const std::string &optname)
bool InitError(const std::string &str)
Show error message.
boost::signals2::signal< bool(const std::string &message, const std::string &caption, unsigned int style), boost::signals2::last_value< bool > > ThreadSafeMessageBox
Show message box.
void InitWarning(const std::string &str)
Show warning message.
CClientUIInterface uiInterface
std::string AmountErrMsg(const char *const optname, const std::string &strValue)
std::string _(const char *psz)
Translation function: Call Translate signal on UI interface, which returns a boost::optional result...