From: Václav Slavík Date: Mon, 21 May 2007 14:27:16 +0000 (+0000) Subject: debug messages don't need translation X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/fe4a282956f13754527f5f7ea090fa8841f07771 debug messages don't need translation git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/file.cpp b/src/common/file.cpp index 2405ed9822..45ab8ade8c 100644 --- a/src/common/file.cpp +++ b/src/common/file.cpp @@ -367,7 +367,7 @@ wxFileOffset wxFile::Seek(wxFileOffset ofs, wxSeekMode mode) int origin; switch ( mode ) { default: - wxFAIL_MSG(_("unknown seek origin")); + wxFAIL_MSG(_T("unknown seek origin")); case wxFromStart: origin = SEEK_SET; @@ -459,7 +459,7 @@ bool wxFile::Eof() const else if ( iRc == wxInvalidOffset ) wxLogSysError(_("can't determine if the end of file is reached on descriptor %d"), m_fd); else - wxFAIL_MSG(_("invalid eof() return value.")); + wxFAIL_MSG(_T("invalid eof() return value.")); return true; } diff --git a/src/common/textbuf.cpp b/src/common/textbuf.cpp index 8c7253e8b6..17e00fac41 100644 --- a/src/common/textbuf.cpp +++ b/src/common/textbuf.cpp @@ -226,7 +226,7 @@ wxTextFileType wxTextBuffer::GuessType() const case wxTextFileType_Unix: nUnix++; break; \ case wxTextFileType_Dos: nDos++; break; \ case wxTextFileType_Mac: nMac++; break; \ - default: wxFAIL_MSG(_("unknown line terminator")); \ + default: wxFAIL_MSG(_T("unknown line terminator")); \ } size_t n;