Commit 3f505032 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

removed '...' from progress messages. They are redundant because we are

2005-09-30  Michael Natterer  <mitch@gimp.org>

	* plug-ins/*/*.c: removed '...' from progress messages. They are
	redundant because we are already in a progress. Ported some more
	g_strdup_printf()/gimp_progress_init() to
	gimp_progress_init_printf(). Core will follow...
parent 8ef2823a
2005-09-30 Michael Natterer <mitch@gimp.org>
* plug-ins/*/*.c: removed '...' from progress messages. They are
redundant because we are already in a progress. Ported some more
g_strdup_printf()/gimp_progress_init() to
gimp_progress_init_printf(). Core will follow...
2005-09-29 Manish Singh <yosh@gimp.org>
* plug-ins/uri/uri-backend-wget.c: Finish porting to new progress
......
......@@ -377,7 +377,7 @@ run (const gchar *name,
/* Make sure that the drawable is indexed or RGB color */
if (gimp_drawable_is_rgb (drawable->drawable_id))
{
gimp_progress_init (_("Rendering Fractal..."));
gimp_progress_init (_("Rendering fractal"));
/* Set the tile cache size */
gimp_tile_cache_ntiles (2 * (drawable->width / gimp_tile_width() + 1));
......
......@@ -100,7 +100,7 @@ compute_image (void)
row = g_new (guchar, obpp * width);
gimp_progress_init (_("Lighting Effects..."));
gimp_progress_init (_("Lighting Effects"));
/* if (mapvals.antialiasing==FALSE)
{ */
......
......@@ -271,16 +271,16 @@ compute_image (void)
switch (mapvals.maptype)
{
case MAP_PLANE:
gimp_progress_init (_("Map to Plane..."));
gimp_progress_init (_("Map to plane"));
break;
case MAP_SPHERE:
gimp_progress_init (_("Map to Sphere..."));
gimp_progress_init (_("Map to sphere"));
break;
case MAP_BOX:
gimp_progress_init (_("Map to Box..."));
gimp_progress_init (_("Map to box"));
break;
case MAP_CYLINDER:
gimp_progress_init (_("Map to Cylinder..."));
gimp_progress_init (_("Map to cylinder"));
break;
}
......
......@@ -154,7 +154,7 @@ ReadBMP (const gchar *name)
return -1;
}
gimp_progress_init_printf (_("Opening '%s'..."),
gimp_progress_init_printf (_("Opening '%s'"),
gimp_filename_to_utf8 (name));
/* It is a File. Now is it a Bitmap? Read the shortest possible header */
......@@ -613,7 +613,7 @@ ReadImage (FILE *fd,
/* compressed image (either RLE8 or RLE4) */
while (ypos >= 0 && xpos <= width)
{
if (!ReadOK (fd, buffer, 2))
if (!ReadOK (fd, buffer, 2))
{
g_message (_("The bitmap ends unexpectedly."));
break;
......
......@@ -208,7 +208,7 @@ WriteBMP (const gchar *filename,
0, 0, drawable->width, drawable->height);
/* And let's begin the progress */
gimp_progress_init_printf (_("Saving '%s'..."),
gimp_progress_init_printf (_("Saving '%s'"),
gimp_filename_to_utf8 (filename));
cur_progress = 0;
......
......@@ -317,7 +317,7 @@ run (const gchar *name,
/* Make sure that the drawable is RGB or RGBA */
if (gimp_drawable_is_rgb (drawable->drawable_id))
{
gimp_progress_init (_("AlienMap2: Transforming..."));
gimp_progress_init (_("AlienMap2: Transforming"));
/* Set the tile cache size */
gimp_tile_cache_ntiles (2 * (drawable->width /
......
......@@ -274,7 +274,6 @@ load_image (const gchar *file,
const gchar *brief)
{
FILE *fp; /* Read file pointer */
gchar *progress; /* Title for progress display */
guchar header[32]; /* File header */
gint height, width, /* Dimensions of image */
offx, offy, /* Layer offets */
......@@ -302,10 +301,8 @@ load_image (const gchar *file,
return -1;
}
progress = g_strdup_printf (_("Opening '%s'..."),
gimp_filename_to_utf8 (brief));
gimp_progress_init (progress);
g_free (progress);
gimp_progress_init_printf (_("Opening '%s'"),
gimp_filename_to_utf8 (brief));
/* Get the image dimensions and create the image... */
......@@ -539,7 +536,6 @@ save_image (const gchar *file,
gint32 layer)
{
FILE *fp; /* Write file pointer */
char *progress; /* Title for progress display */
guchar header[32]; /* File header */
gint bpp; /* Bit per pixel */
gint colours, type; /* Number of colours, type of layer */
......@@ -574,10 +570,8 @@ save_image (const gchar *file,
return FALSE;
}
progress = g_strdup_printf (_("Saving '%s'..."),
gimp_filename_to_utf8 (brief));
gimp_progress_init (progress);
g_free (progress);
gimp_progress_init_printf (_("Saving '%s'"),
gimp_filename_to_utf8 (brief));
/* Headers */
memset (header, 0, 32);
......
......@@ -755,7 +755,7 @@ CML_main_function (gboolean preview_p)
}
if (! preview_p)
gimp_progress_init (_("CML_explorer: evoluting..."));
gimp_progress_init (_("CML Explorer: evoluting"));
/* rolling start */
for (index = 0; index < VALS.start_offset; index++)
......
......@@ -426,17 +426,17 @@ do_optimizations (GimpRunMode run_mode,
switch (opmode)
{
case OPUNOPTIMIZE:
gimp_progress_init (_("UnOptimizing Animation..."));
gimp_progress_init (_("Unoptimizing animation"));
break;
case OPFOREGROUND:
gimp_progress_init (_("Removing Animation Background..."));
gimp_progress_init (_("Removing animation background"));
break;
case OPBACKGROUND:
gimp_progress_init (_("Finding Animation Background..."));
gimp_progress_init (_("Finding animation background"));
break;
case OPOPTIMIZE:
default:
gimp_progress_init (_("Optimizing Animation..."));
gimp_progress_init (_("Optimizing animation"));
break;
}
......
......@@ -179,7 +179,7 @@ run (const gchar *name,
}
gimp_tile_cache_ntiles (2 * (drawable->width / gimp_tile_width () + 1));
gimp_progress_init (_("Applying lens..."));
gimp_progress_init (_("Applying lens"));
drawlens (drawable, NULL);
if (run_mode != GIMP_RUN_NONINTERACTIVE)
......
......@@ -147,7 +147,7 @@ run (const gchar *name,
gimp_drawable_is_indexed (drawable->drawable_id))
{
if (interactive)
gimp_progress_init (_("Cropping..."));
gimp_progress_init (_("Cropping"));
gimp_tile_cache_ntiles (MAX (drawable->width / gimp_tile_width (),
drawable->height / gimp_tile_height ()) + 1);
......
......@@ -115,7 +115,7 @@ run (const gchar *name,
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
gimp_drawable_is_gray (drawable->drawable_id))
{
gimp_progress_init (_("Auto-Stretching HSV..."));
gimp_progress_init (_("Auto-Stretching HSV"));
gimp_tile_cache_ntiles (2 * (drawable->width / gimp_tile_width () + 1));
autostretch_hsv (drawable);
......
......@@ -187,7 +187,7 @@ run (const gchar *name,
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
gimp_drawable_is_gray (drawable->drawable_id))
{
gimp_progress_init ( _("Adding Blinds..."));
gimp_progress_init ( _("Adding blinds"));
apply_blinds (drawable);
......
......@@ -187,7 +187,7 @@ run (const gchar *name,
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
gimp_drawable_is_gray (drawable->drawable_id))
{
gimp_progress_init (_("Blurring..."));
gimp_progress_init (_("Blurring"));
gimp_tile_cache_ntiles (2 * (drawable->width / gimp_tile_width () + 1));
blur (drawable);
......
......@@ -168,7 +168,7 @@ run (const gchar *name,
/* Make sure that the drawable is RGB color */
if (gimp_drawable_is_rgb (drawable->drawable_id))
{
gimp_progress_init ( _("Border Average..."));
gimp_progress_init ( _("Border Average"));
borderaverage (drawable, &result_color);
if (run_mode != GIMP_RUN_NONINTERACTIVE)
......
......@@ -487,7 +487,7 @@ bumpmap (void)
gint progress;
gint drawable_tiles_per_row, bm_tiles_per_row;
gimp_progress_init (_("Bump-mapping..."));
gimp_progress_init (_("Bump-mapping"));
/* Get the bumpmap drawable */
if (bmvals.bumpmap_id != -1)
......
......@@ -112,7 +112,7 @@ run (const gchar *name,
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
gimp_drawable_is_gray (drawable->drawable_id))
{
gimp_progress_init (_("Auto-Stretching Contrast..."));
gimp_progress_init (_("Auto-stretching contrast"));
gimp_tile_cache_ntiles (2 * (drawable->width / gimp_tile_width () + 1));
c_astretch (drawable);
......
......@@ -214,7 +214,7 @@ run (const gchar *name,
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
gimp_drawable_is_gray (drawable->drawable_id))
{
gimp_progress_init ("Cartoon...");
gimp_progress_init ("Cartoon");
cartoon (drawable, NULL);
......
......@@ -199,7 +199,7 @@ analyze (GimpDrawable *drawable)
gint ofsx, ofsy;
GimpDrawable *selDrawable;
gimp_progress_init (_("Colorcube Analysis..."));
gimp_progress_init (_("Colorcube Analysis"));
gimp_drawable_mask_bounds (drawable->drawable_id, &x1, &y1, &x2, &y2);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment