mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-29 15:29:14 +01:00
Make SetMiscWarning() accept bilingual_str argument
This commit is contained in:
@@ -21,7 +21,7 @@ template<typename... Args>
|
||||
static void FatalError(const char* fmt, const Args&... args)
|
||||
{
|
||||
std::string strMessage = tfm::format(fmt, args...);
|
||||
SetMiscWarning(strMessage);
|
||||
SetMiscWarning(Untranslated(strMessage));
|
||||
LogPrintf("*** %s\n", strMessage);
|
||||
uiInterface.ThreadSafeMessageBox(
|
||||
Untranslated("Error: A fatal internal error occurred, see debug.log for details"),
|
||||
|
||||
Reference in New Issue
Block a user