From: Václav Slavík Date: Sun, 14 Dec 2003 11:53:15 +0000 (+0000) Subject: fixed compilation errors, made messages more human-oriented X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/428b6942f2cce6bfeadf0882ad7fd28952b3e5f1?hp=755a8205b8e4f4063b5214d81819f87417c8dbd2 fixed compilation errors, made messages more human-oriented git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/unix/displayx11.cpp b/src/unix/displayx11.cpp index 0a3a132c67..c19c2c2f60 100644 --- a/src/unix/displayx11.cpp +++ b/src/unix/displayx11.cpp @@ -21,6 +21,7 @@ #endif #include "wx/display.h" +#include "wx/intl.h" #include "wx/log.h" #ifndef WX_PRECOMP @@ -191,7 +192,7 @@ wxArrayVideoModes wxDisplay::GetModes(const wxVideoMode& mode) const } else //OOPS! { - wxLogSysError("XF86VidModeGetAllModeLines Failed in wxX11Display::GetModes()!"); + wxLogSysError(_("Failed to enumerate video modes")); } return Modes; @@ -252,7 +253,7 @@ bool wxDisplay::ChangeMode(const wxVideoMode& mode) } else //OOPS! { - wxLogSysError("XF86VidModeGetAllModeLines Failed in wxX11Display::ChangeMode()!"); + wxLogSysError(_("Failed to change video mode")); return false; } }