From 77d25edce21680ea2dd6617031906839d751b5c1 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 13 Dec 2020 16:58:57 +0100 Subject: [PATCH] Translate the error message given in case libcurl init failure This message is user-visible and so should be translated. --- src/common/webrequest_curl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/webrequest_curl.cpp b/src/common/webrequest_curl.cpp index cf0e67a999..904836ce1c 100644 --- a/src/common/webrequest_curl.cpp +++ b/src/common/webrequest_curl.cpp @@ -22,6 +22,7 @@ #ifndef WX_PRECOMP #include "wx/log.h" + #include "wx/translation.h" #include "wx/utils.h" #endif @@ -348,7 +349,7 @@ wxWebSessionCURL::wxWebSessionCURL() : if ( ms_activeSessions == 0 ) { if ( curl_global_init(CURL_GLOBAL_ALL) ) - wxLogError("libcurl could not be initialized"); + wxLogError(_("libcurl could not be initialized")); } ms_activeSessions++;