The ThreadSafeMessageBox() messages are rendered in two ways:
- by
noui_ThreadSafeMessageBox()usingLogPrintf()andfprintf(stderr, ...)with adding translated type prefix ("Error" / "Warning" / "Information") - by
BitcoinGUI::message()usingQMessageBoxwith adding translated type suffix ("Error" / "Warning" / "Information") to the window title. Note: On macOS, the window title is ignored (as required by the macOS Guidelines)
The ThreadSafeMessageBox() is called by some functions:
AbortNode()andInitRPCAuthentication()pass translated messages with "Error: " prefixFatalError()passes non-translated messages with "Error: " prefixInitError(); some passed messages are translated, some are notInitWarning()passes translated messagesInitHTTPAllowList()passes non-translated messagesCCoinsViewErrorCatcher::GetCoin()pass translated message started with "Error"CConnman::BindListenPort()viaCConnman::Bind()passes:- non-translated messages with "Error: " prefix
- translated messages without any prefix
- translated messages with "Error: " prefix
CConnman::Start()passes translated messages