]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/translation.cpp
Don't use default "Error" title for wxMessageOutputBest message box.
[wxWidgets.git] / src / common / translation.cpp
index c6bb8440e0b53a86a3996d833ea0620bf7e811a2..ee4328a72c7a587e7020f9b008628199085b8a01 100644 (file)
@@ -1800,7 +1800,9 @@ wxMsgCatalog *wxResourceTranslationsLoader::LoadCatalog(const wxString& domain,
         domain);
 
     if ( !cat )
+    {
         wxLogWarning(_("Resource '%s' is not a valid message catalog."), resname);
+    }
 
     return cat;
 }
@@ -1847,7 +1849,9 @@ wxArrayString wxResourceTranslationsLoader::GetAvailableTranslations(const wxStr
     {
         const DWORD err = GetLastError();
         if ( err != NO_ERROR && err != ERROR_RESOURCE_TYPE_NOT_FOUND )
+        {
             wxLogSysError(_("Couldn't enumerate translations"));
+        }
     }
 
     return data.langs;