removed obscure error codes from translatable error messages.

2005-01-14  Sven Neumann  <sven@gimp.org>

	* plug-ins/bmp/bmpread.c: removed obscure error codes from
	translatable error messages.
This commit is contained in:
Sven Neumann 2005-01-13 23:15:54 +00:00 committed by Sven Neumann
parent c8b1dfd54d
commit 862b8da908
2 changed files with 11 additions and 6 deletions

View file

@ -1,3 +1,8 @@
2005-01-14 Sven Neumann <sven@gimp.org>
* plug-ins/bmp/bmpread.c: removed obscure error codes from
translatable error messages.
2005-01-13 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/Lighting/lighting_shade.c: remove artifacts

View file

@ -167,8 +167,8 @@ ReadBMP (const gchar *name)
!strncmp (magick,"PI",2) || !strncmp (magick,"CI",2) ||
!strncmp (magick,"CP",2)))
{
g_message (_("'%s' is not a valid BMP file 0, magick = %c%c"),
gimp_filename_to_utf8 (filename), magick[0], magick[1]);
g_message (_("'%s' is not a valid BMP file"),
gimp_filename_to_utf8 (filename));
return -1;
}
@ -176,13 +176,13 @@ ReadBMP (const gchar *name)
{
if (!ReadOK (fd, buffer, 12))
{
g_message (_("'%s' is not a valid BMP file 1"),
g_message (_("'%s' is not a valid BMP file"),
gimp_filename_to_utf8 (filename));
return -1;
}
if (!ReadOK (fd, magick, 2))
{
g_message (_("'%s' is not a valid BMP file 2"),
g_message (_("'%s' is not a valid BMP file"),
gimp_filename_to_utf8 (filename));
return -1;
}
@ -190,7 +190,7 @@ ReadBMP (const gchar *name)
if (!ReadOK (fd, buffer, 12))
{
g_message (_("'%s' is not a valid BMP file 3"),
g_message (_("'%s' is not a valid BMP file"),
gimp_filename_to_utf8 (filename));
return -1;
}
@ -338,7 +338,7 @@ ReadBMP (const gchar *name)
masks = g_new (Bitmap_Channel, 3);
if (! ReadChannelMasks (fd, masks, 3))
{
g_message (_("'%s' is not a valid BMP file 4"),
g_message (_("'%s' is not a valid BMP file"),
gimp_filename_to_utf8 (filename));
return -1;
}