Translate the error message given in case libcurl init failure

This message is user-visible and so should be translated.
This commit is contained in:
Vadim Zeitlin
2020-12-13 16:58:57 +01:00
parent 7027f66a9a
commit 77d25edce2

View File

@@ -22,6 +22,7 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/log.h" #include "wx/log.h"
#include "wx/translation.h"
#include "wx/utils.h" #include "wx/utils.h"
#endif #endif
@@ -348,7 +349,7 @@ wxWebSessionCURL::wxWebSessionCURL() :
if ( ms_activeSessions == 0 ) if ( ms_activeSessions == 0 )
{ {
if ( curl_global_init(CURL_GLOBAL_ALL) ) if ( curl_global_init(CURL_GLOBAL_ALL) )
wxLogError("libcurl could not be initialized"); wxLogError(_("libcurl could not be initialized"));
} }
ms_activeSessions++; ms_activeSessions++;