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:
@@ -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++;
|
||||||
|
Reference in New Issue
Block a user