mirror of https://github.com/GNOME/gimp.git
parent
1689d10245
commit
f723ebaab1
|
@ -1,3 +1,10 @@
|
|||
Fri Jan 7 20:27:55 CET 2000 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/common/sunras.c
|
||||
* plug-ins/fits/fits.c
|
||||
* plug-ins/gap/gap_range_ops.c
|
||||
* plug-ins/gap/gap_split.c: fixed some typos
|
||||
|
||||
2000-01-08 Shirasaki Yasuhiro <yasuhiro@gnome.gr.jp>
|
||||
|
||||
* plug-ins/common/scatter_hsv.c
|
||||
|
|
|
@ -379,7 +379,7 @@ load_image (char *filename)
|
|||
ifp = fopen (filename, "rb");
|
||||
if (!ifp)
|
||||
{
|
||||
show_message (_("cant open file for reading"));
|
||||
show_message (_("Can't open file for reading"));
|
||||
return (-1);
|
||||
}
|
||||
|
||||
|
@ -388,14 +388,14 @@ load_image (char *filename)
|
|||
read_sun_header (ifp, &sunhdr);
|
||||
if (sunhdr.l_ras_magic != RAS_MAGIC)
|
||||
{
|
||||
show_message(_("cant open file as SUN-raster-file"));
|
||||
show_message(_("Can't open file as SUN-raster-file"));
|
||||
fclose (ifp);
|
||||
return (-1);
|
||||
}
|
||||
|
||||
if ((sunhdr.l_ras_type < 0) || (sunhdr.l_ras_type > 5))
|
||||
{
|
||||
show_message (_("the type of this SUN-rasterfile is not supported"));
|
||||
show_message (_("The type of this SUN-rasterfile is not supported"));
|
||||
fclose (ifp);
|
||||
return (-1);
|
||||
}
|
||||
|
@ -406,7 +406,7 @@ load_image (char *filename)
|
|||
suncolmap = (unsigned char *)malloc (sunhdr.l_ras_maplength);
|
||||
if (suncolmap == NULL)
|
||||
{
|
||||
show_message ("cant get memory for colour map");
|
||||
show_message ("Can't get memory for colour map");
|
||||
fclose (ifp);
|
||||
return (-1);
|
||||
}
|
||||
|
@ -423,14 +423,14 @@ load_image (char *filename)
|
|||
#endif
|
||||
if (sunhdr.l_ras_magic != RAS_MAGIC)
|
||||
{
|
||||
show_message ("cant read colour entries");
|
||||
show_message ("Can't read colour entries");
|
||||
fclose (ifp);
|
||||
return (-1);
|
||||
}
|
||||
}
|
||||
else if (sunhdr.l_ras_maplength > 0)
|
||||
{
|
||||
show_message (_("type of colourmap not supported"));
|
||||
show_message (_("Type of colourmap not supported"));
|
||||
fseek (ifp, (sizeof (L_SUNFILEHEADER)/sizeof (L_CARD32))
|
||||
*4 + sunhdr.l_ras_maplength, SEEK_SET);
|
||||
}
|
||||
|
@ -471,7 +471,7 @@ load_image (char *filename)
|
|||
|
||||
if (image_ID == -1)
|
||||
{
|
||||
show_message (_("this image depth is not supported"));
|
||||
show_message (_("This image depth is not supported"));
|
||||
return (-1);
|
||||
}
|
||||
|
||||
|
@ -506,7 +506,7 @@ save_image (char *filename,
|
|||
case RGB_IMAGE:
|
||||
break;
|
||||
default:
|
||||
show_message (_("cant operate on unknown image types"));
|
||||
show_message (_("Can't operate on unknown image types"));
|
||||
return (FALSE);
|
||||
break;
|
||||
}
|
||||
|
@ -515,7 +515,7 @@ save_image (char *filename,
|
|||
ofp = fopen (filename, "wb");
|
||||
if (!ofp)
|
||||
{
|
||||
show_message (_("cant open file for writing"));
|
||||
show_message (_("Can't open file for writing"));
|
||||
return (FALSE);
|
||||
}
|
||||
|
||||
|
@ -1461,7 +1461,7 @@ save_index (FILE *ofp,
|
|||
|
||||
if (ferror (ofp))
|
||||
{
|
||||
show_message (_("write error occured"));
|
||||
show_message (_("Write error occured"));
|
||||
return (FALSE);
|
||||
}
|
||||
return (TRUE);
|
||||
|
@ -1570,7 +1570,7 @@ save_rgb (FILE *ofp,
|
|||
|
||||
if (ferror (ofp))
|
||||
{
|
||||
show_message (_("write error occured"));
|
||||
show_message (_("Write error occured"));
|
||||
return (FALSE);
|
||||
}
|
||||
return (TRUE);
|
||||
|
@ -1725,7 +1725,7 @@ static void
|
|||
show_message (char *message)
|
||||
{
|
||||
if (l_run_mode == RUN_INTERACTIVE)
|
||||
gimp_message (message);
|
||||
g_message (message);
|
||||
else
|
||||
fprintf (stderr, "sunras: %s\n", message);
|
||||
}
|
||||
|
|
|
@ -362,7 +362,7 @@ load_image (char *filename)
|
|||
fp = fopen (filename, "rb");
|
||||
if (!fp)
|
||||
{
|
||||
show_message (_("can't open file for reading"));
|
||||
show_message (_("Can't open file for reading"));
|
||||
return (-1);
|
||||
}
|
||||
fclose (fp);
|
||||
|
@ -370,7 +370,7 @@ load_image (char *filename)
|
|||
ifp = fits_open (filename, "r");
|
||||
if (ifp == NULL)
|
||||
{
|
||||
show_message (_("error during open of FITS file"));
|
||||
show_message (_("Error during open of FITS file"));
|
||||
return (-1);
|
||||
}
|
||||
if (ifp->n_pic <= 0)
|
||||
|
@ -381,11 +381,6 @@ load_image (char *filename)
|
|||
}
|
||||
|
||||
image_list = (gint32 *)g_malloc (10 * sizeof (gint32));
|
||||
if (image_list == NULL)
|
||||
{
|
||||
show_message (_("out of memory"));
|
||||
return (-1);
|
||||
}
|
||||
n_images = 0;
|
||||
max_images = 10;
|
||||
|
||||
|
@ -471,7 +466,7 @@ save_image (char *filename,
|
|||
case RGB_IMAGE: case RGBA_IMAGE:
|
||||
break;
|
||||
default:
|
||||
show_message (_("cannot operate on unknown image types"));
|
||||
show_message (_("Cannot operate on unknown image types"));
|
||||
return (FALSE);
|
||||
break;
|
||||
}
|
||||
|
@ -480,7 +475,7 @@ save_image (char *filename,
|
|||
ofp = fits_open (filename, "w");
|
||||
if (!ofp)
|
||||
{
|
||||
show_message (_("cant open file for writing"));
|
||||
show_message (_("Can't open file for writing"));
|
||||
return (FALSE);
|
||||
}
|
||||
|
||||
|
@ -852,7 +847,7 @@ save_direct (FITS_FILE *ofp,
|
|||
|
||||
if (ferror (ofp->fp))
|
||||
{
|
||||
show_message (_("write error occured"));
|
||||
show_message (_("Write error occured"));
|
||||
return (FALSE);
|
||||
}
|
||||
return (TRUE);
|
||||
|
@ -973,7 +968,7 @@ save_index (FITS_FILE *ofp,
|
|||
|
||||
if (ferror (ofp->fp))
|
||||
{
|
||||
show_message (_("write error occured"));
|
||||
show_message (_("Write error occured"));
|
||||
return (FALSE);
|
||||
}
|
||||
return (TRUE);
|
||||
|
|
|
@ -451,7 +451,7 @@ p_convert_dialog(t_anim_info *ainfo_ptr,
|
|||
|
||||
p_init_arr_arg(&argv[5], WGT_OPTIONMENU);
|
||||
argv[5].label_txt = _("Imagetype :");
|
||||
argv[5].help_txt = _("Convert to, or keep imagetype \n(most fileformats cant handle all types)");
|
||||
argv[5].help_txt = _("Convert to, or keep imagetype \n(most fileformats can't handle all types)");
|
||||
argv[5].radio_argc = 4;
|
||||
argv[5].radio_argv = radio_args;
|
||||
argv[5].radio_ret = 0;
|
||||
|
@ -1187,7 +1187,7 @@ p_frames_convert(t_anim_info *ainfo_ptr,
|
|||
l_rc = p_save_named_image(l_tmp_image_id, l_sav_name, l_run_mode);
|
||||
if(l_rc < 0)
|
||||
{
|
||||
p_msg_win(ainfo_ptr->run_mode, _("Convert Frames: SAVE operation FAILED\n- desired save plugin cant handle type\n- or desired save plugin not available\n"));
|
||||
p_msg_win(ainfo_ptr->run_mode, _("Convert Frames: SAVE operation FAILED\n- desired save plugin can't handle type\n- or desired save plugin not available\n"));
|
||||
}
|
||||
}
|
||||
if(l_run_mode == RUN_INTERACTIVE)
|
||||
|
|
|
@ -172,7 +172,7 @@ p_split_image(t_anim_info *ainfo_ptr,
|
|||
l_rc = p_save_named_image(l_new_image_id, l_sav_name, l_run_mode);
|
||||
if(l_rc < 0)
|
||||
{
|
||||
p_msg_win(ainfo_ptr->run_mode, _("Split Frames: SAVE operation FAILED\n- desired save plugin cant handle type\n- or desired save plugin not available\n"));
|
||||
p_msg_win(ainfo_ptr->run_mode, _("Split Frames: SAVE operation FAILED\n- desired save plugin can't handle type\n- or desired save plugin not available\n"));
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
@ -2,4 +2,5 @@ Makefile
|
|||
pm_to_blib
|
||||
Net.c
|
||||
Net.bs
|
||||
blib
|
||||
so_locations
|
||||
|
|
Loading…
Reference in New Issue