From: Václav Slavík <vslavik@fastmail.fm>
Date: Sat, 14 Dec 2002 21:16:58 +0000 (+0000)
Subject: removed extremely user-unfriendly translations
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a949e8fac2666418b2a6eb15e94959563cf8aad6

removed extremely user-unfriendly translations


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

diff --git a/src/common/dynlib.cpp b/src/common/dynlib.cpp
index b6cbcec443..de564b9d02 100644
--- a/src/common/dynlib.cpp
+++ b/src/common/dynlib.cpp
@@ -333,14 +333,14 @@ void *wxDllLoader::GetSymbol(wxDllType dllHandle, const wxString &name, bool *su
 
     if ( !symbol )
     {
-        wxString msg(_("wxDllLoader failed to GetSymbol '%s'"));
-
 #ifdef HAVE_DLERROR
         const wxChar *err = dlerror();
         if( err )
         {
             failed = TRUE;
             wxLogError( msg, err );
+            wxLogError(_("Couldn't find symbol '%s' in a dynamic library"),
+                       err);
         }
 #else
         failed = TRUE;
diff --git a/src/common/dynload.cpp b/src/common/dynload.cpp
index 240c4e0c55..97e6e5e836 100644
--- a/src/common/dynload.cpp
+++ b/src/common/dynload.cpp
@@ -279,7 +279,6 @@ void *wxDynamicLibrary::GetSymbol(const wxString &name, bool *success) const
 
     if ( !symbol )
     {
-        wxString msg(_("wxDynamicLibrary failed to GetSymbol '%s'"));
 #if defined(HAVE_DLERROR) && !defined(__EMX__)
 
 #if wxUSE_UNICODE
@@ -292,7 +291,8 @@ void *wxDynamicLibrary::GetSymbol(const wxString &name, bool *success) const
         if( err )
         {
             failed = TRUE;
-            wxLogError( msg, err );
+            wxLogError(_("Couldn't find symbol '%s' in a dynamic library"),
+                       err);
         }
 #else
         failed = TRUE;