From f723ebaab1a3479f5c52caf12c62cda06dee6731 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Fri, 7 Jan 2000 17:57:31 +0000 Subject: [PATCH] typos -Sven --- ChangeLog | 7 +++++++ plug-ins/common/sunras.c | 24 ++++++++++++------------ plug-ins/fits/fits.c | 17 ++++++----------- plug-ins/gap/gap_range_ops.c | 4 ++-- plug-ins/gap/gap_split.c | 2 +- plug-ins/perl/Net/.cvsignore | 1 + 6 files changed, 29 insertions(+), 26 deletions(-) diff --git a/ChangeLog b/ChangeLog index de68320f9b..9521b98cef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Fri Jan 7 20:27:55 CET 2000 Sven Neumann + + * 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 * plug-ins/common/scatter_hsv.c diff --git a/plug-ins/common/sunras.c b/plug-ins/common/sunras.c index fb40d94294..7be2c36b7f 100644 --- a/plug-ins/common/sunras.c +++ b/plug-ins/common/sunras.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); } diff --git a/plug-ins/fits/fits.c b/plug-ins/fits/fits.c index c72327df8a..35635c0289 100644 --- a/plug-ins/fits/fits.c +++ b/plug-ins/fits/fits.c @@ -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); diff --git a/plug-ins/gap/gap_range_ops.c b/plug-ins/gap/gap_range_ops.c index 88b19c6fbc..bc913369c6 100644 --- a/plug-ins/gap/gap_range_ops.c +++ b/plug-ins/gap/gap_range_ops.c @@ -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) diff --git a/plug-ins/gap/gap_split.c b/plug-ins/gap/gap_split.c index 7ce4e10151..723c33254d 100644 --- a/plug-ins/gap/gap_split.c +++ b/plug-ins/gap/gap_split.c @@ -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; } diff --git a/plug-ins/perl/Net/.cvsignore b/plug-ins/perl/Net/.cvsignore index 2d7ca71934..ef897e38c8 100644 --- a/plug-ins/perl/Net/.cvsignore +++ b/plug-ins/perl/Net/.cvsignore @@ -2,4 +2,5 @@ Makefile pm_to_blib Net.c Net.bs +blib so_locations