debug messages don't need translation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2007-05-21 14:27:16 +00:00
parent c0bfefb6cf
commit fe4a282956
2 changed files with 3 additions and 3 deletions

View File

@@ -367,7 +367,7 @@ wxFileOffset wxFile::Seek(wxFileOffset ofs, wxSeekMode mode)
int origin; int origin;
switch ( mode ) { switch ( mode ) {
default: default:
wxFAIL_MSG(_("unknown seek origin")); wxFAIL_MSG(_T("unknown seek origin"));
case wxFromStart: case wxFromStart:
origin = SEEK_SET; origin = SEEK_SET;
@@ -459,7 +459,7 @@ bool wxFile::Eof() const
else if ( iRc == wxInvalidOffset ) else if ( iRc == wxInvalidOffset )
wxLogSysError(_("can't determine if the end of file is reached on descriptor %d"), m_fd); wxLogSysError(_("can't determine if the end of file is reached on descriptor %d"), m_fd);
else else
wxFAIL_MSG(_("invalid eof() return value.")); wxFAIL_MSG(_T("invalid eof() return value."));
return true; return true;
} }

View File

@@ -226,7 +226,7 @@ wxTextFileType wxTextBuffer::GuessType() const
case wxTextFileType_Unix: nUnix++; break; \ case wxTextFileType_Unix: nUnix++; break; \
case wxTextFileType_Dos: nDos++; break; \ case wxTextFileType_Dos: nDos++; break; \
case wxTextFileType_Mac: nMac++; break; \ case wxTextFileType_Mac: nMac++; break; \
default: wxFAIL_MSG(_("unknown line terminator")); \ default: wxFAIL_MSG(_T("unknown line terminator")); \
} }
size_t n; size_t n;