]> git.saurik.com Git - wxWidgets.git/commitdiff
removed extremely user-unfriendly translations
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 14 Dec 2002 21:16:58 +0000 (21:16 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 14 Dec 2002 21:16:58 +0000 (21:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/dynlib.cpp
src/common/dynload.cpp

index b6cbcec443da2d173269d407d969fab122d13d20..de564b9d021f9bdf8c7809665baaf9227b275bc2 100644 (file)
@@ -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;
index 240c4e0c557a8881bad127682f2bcf5636b2fb3e..97e6e5e83607cd3f36692e3e4253e2b74e8a5591 100644 (file)
@@ -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;