replaced 'wxPCX/GIFHandler:' by 'PCX/GIF:' in error messages -- these are for users, should not reveal internals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -55,13 +55,13 @@ bool wxGIFHandler::LoadFile( wxImage *image, wxInputStream& stream, bool verbose
|
|||||||
switch (error)
|
switch (error)
|
||||||
{
|
{
|
||||||
case wxGIF_INVFORMAT:
|
case wxGIF_INVFORMAT:
|
||||||
wxLogError(_("wxGIFHandler: error in GIF image format."));
|
wxLogError(_("GIF: error in GIF image format."));
|
||||||
break;
|
break;
|
||||||
case wxGIF_MEMERR:
|
case wxGIF_MEMERR:
|
||||||
wxLogError(_("wxGIFHandler: not enough memory."));
|
wxLogError(_("GIF: not enough memory."));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
wxLogError(_("wxGIFHandler: unknown error!!!"));
|
wxLogError(_("GIF: unknown error!!!"));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -71,7 +71,7 @@ bool wxGIFHandler::LoadFile( wxImage *image, wxInputStream& stream, bool verbose
|
|||||||
|
|
||||||
if ((error == wxGIF_TRUNCATED) && verbose)
|
if ((error == wxGIF_TRUNCATED) && verbose)
|
||||||
{
|
{
|
||||||
wxLogError(_("wxGIFHandler: data stream seems to be truncated."));
|
wxLogError(_("GIF: data stream seems to be truncated."));
|
||||||
/* go on; image data is OK */
|
/* go on; image data is OK */
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -85,7 +85,7 @@ bool wxGIFHandler::SaveFile( wxImage * WXUNUSED(image),
|
|||||||
wxOutputStream& WXUNUSED(stream), bool verbose )
|
wxOutputStream& WXUNUSED(stream), bool verbose )
|
||||||
{
|
{
|
||||||
if (verbose)
|
if (verbose)
|
||||||
wxLogDebug(wxT("wxGIFHandler is read-only!!"));
|
wxLogDebug(wxT("GIF: the handler is read-only!!"));
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
@@ -444,10 +444,10 @@ bool wxPCXHandler::LoadFile( wxImage *image, wxInputStream& stream, bool verbose
|
|||||||
{
|
{
|
||||||
switch (error)
|
switch (error)
|
||||||
{
|
{
|
||||||
case wxPCX_INVFORMAT: wxLogError(_("wxPCXHandler: image format unsupported")); break;
|
case wxPCX_INVFORMAT: wxLogError(_("PCX: image format unsupported")); break;
|
||||||
case wxPCX_MEMERR: wxLogError(_("wxPCXHandler: couldn't allocate memory")); break;
|
case wxPCX_MEMERR: wxLogError(_("PCX: couldn't allocate memory")); break;
|
||||||
case wxPCX_VERERR: wxLogError(_("wxPCXHandler: version number too low")); break;
|
case wxPCX_VERERR: wxLogError(_("PCX: version number too low")); break;
|
||||||
default: wxLogError(_("wxPCXHandler: unknown error !!!"));
|
default: wxLogError(_("PCX: unknown error !!!"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
image->Destroy();
|
image->Destroy();
|
||||||
@@ -467,9 +467,9 @@ bool wxPCXHandler::SaveFile( wxImage *image, wxOutputStream& stream, bool verbos
|
|||||||
{
|
{
|
||||||
switch (error)
|
switch (error)
|
||||||
{
|
{
|
||||||
case wxPCX_INVFORMAT: wxLogError(_("wxPCXHandler: invalid image")); break;
|
case wxPCX_INVFORMAT: wxLogError(_("PCX: invalid image")); break;
|
||||||
case wxPCX_MEMERR: wxLogError(_("wxPCXHandler: couldn't allocate memory")); break;
|
case wxPCX_MEMERR: wxLogError(_("PCX: couldn't allocate memory")); break;
|
||||||
default: wxLogError(_("wxPCXHandler: unknown error !!!"));
|
default: wxLogError(_("PCX: unknown error !!!"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user