mirror of https://github.com/GNOME/gimp.git
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...
This commit is contained in:
parent
8ef2823a06
commit
3f5050323f
|
@ -1,3 +1,10 @@
|
|||
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);
|
||||
|
||||
|
|
|
@ -39,7 +39,6 @@
|
|||
|
||||
#define PLUG_IN_PROC "plug-in-colors-channel-mixer"
|
||||
#define PLUG_IN_BINARY "channel_mixer"
|
||||
#define PLUG_IN_VERSION "Channel Mixer 0.8"
|
||||
#define PROGRESS_UPDATE_NUM 20
|
||||
#define CM_LINE_SIZE 1024
|
||||
|
||||
|
@ -275,7 +274,7 @@ run (const gchar *name,
|
|||
param[3].data.d_int32, mix.black.red_gain,
|
||||
mix.black.green_gain, mix.black.blue_gain); */
|
||||
|
||||
gimp_progress_init (_(PLUG_IN_VERSION));
|
||||
gimp_progress_init (_("Channel Mixer"));
|
||||
|
||||
channel_mixer (drawable);
|
||||
|
||||
|
|
|
@ -158,7 +158,7 @@ run (const gchar *name,
|
|||
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
|
||||
gimp_drawable_is_gray (drawable->drawable_id))
|
||||
{
|
||||
gimp_progress_init (_("Adding Checkerboard..."));
|
||||
gimp_progress_init (_("Adding checkerboard"));
|
||||
|
||||
do_checkerboard_pattern (drawable, NULL);
|
||||
|
||||
|
|
|
@ -114,7 +114,7 @@ run (const gchar *name,
|
|||
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
|
||||
gimp_drawable_is_gray (drawable->drawable_id))
|
||||
{
|
||||
gimp_progress_init (_("Color Enhance..."));
|
||||
gimp_progress_init (_("Color Enhance"));
|
||||
gimp_tile_cache_ntiles (2 * (drawable->width / gimp_tile_width () + 1));
|
||||
Color_Enhance (drawable);
|
||||
|
||||
|
|
|
@ -166,7 +166,7 @@ run (const gchar *name,
|
|||
|
||||
if (status == GIMP_PDB_SUCCESS)
|
||||
{
|
||||
gimp_progress_init (_("Colorifying..."));
|
||||
gimp_progress_init (_("Colorifying"));
|
||||
|
||||
colorify (drawable, NULL);
|
||||
|
||||
|
|
|
@ -183,7 +183,7 @@ run (const gchar *name,
|
|||
lock_alpha = gimp_layer_get_lock_alpha (drawable->drawable_id);
|
||||
gimp_layer_set_lock_alpha (drawable->drawable_id, FALSE);
|
||||
|
||||
gimp_progress_init (_("Removing color..."));
|
||||
gimp_progress_init (_("Removing color"));
|
||||
gimp_rgn_iterate2 (drawable, 0 /* unused */, to_alpha_func, NULL);
|
||||
|
||||
gimp_layer_set_lock_alpha (drawable->drawable_id, lock_alpha);
|
||||
|
|
|
@ -585,7 +585,7 @@ run (const gchar *name,
|
|||
|
||||
if (status == GIMP_PDB_SUCCESS)
|
||||
{
|
||||
gimp_progress_init (_("Composing..."));
|
||||
gimp_progress_init (_("Composing"));
|
||||
|
||||
image_ID = compose (composevals.compose_type,
|
||||
composevals.inputs,
|
||||
|
|
|
@ -416,7 +416,7 @@ cubism (GimpDrawable *drawable,
|
|||
}
|
||||
else
|
||||
{
|
||||
gimp_progress_init (_("Cubistic Transformation..."));
|
||||
gimp_progress_init (_("Cubistic transformation"));
|
||||
gimp_pixel_rgn_init (&src_rgn, drawable,
|
||||
x1, y1, (x2 - x1), (y2 - y1), TRUE, TRUE);
|
||||
|
||||
|
|
|
@ -761,7 +761,7 @@ run (const gchar *name,
|
|||
{
|
||||
cd = g_new (BenderDialog, 1);
|
||||
cd->run = TRUE;
|
||||
cd->show_progress = FALSE;
|
||||
cd->show_progress = TRUE;
|
||||
cd->drawable = l_active_drawable;
|
||||
|
||||
cd->rotation = (gdouble) param[3].data.d_float;
|
||||
|
@ -2952,7 +2952,7 @@ p_vertical_bend (BenderDialog *cd,
|
|||
l_progress_step = 1.0 / l_progress_max;
|
||||
l_progress = 0.0;
|
||||
if (cd->show_progress)
|
||||
gimp_progress_init ( _("Curve Bend..."));
|
||||
gimp_progress_init ( _("Curve Bend"));
|
||||
|
||||
for (l_row = l_first_row; l_row <= l_last_row; l_row++)
|
||||
{
|
||||
|
|
|
@ -339,7 +339,7 @@ run (const gchar *name,
|
|||
|
||||
if (status == GIMP_PDB_SUCCESS)
|
||||
{
|
||||
gimp_progress_init (_("Decomposing..."));
|
||||
gimp_progress_init (_("Decomposing"));
|
||||
|
||||
num_images = decompose (image_ID, layer,
|
||||
decovals.extract_type,
|
||||
|
|
|
@ -156,7 +156,7 @@ run (const gchar *name,
|
|||
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
|
||||
gimp_drawable_is_gray (drawable->drawable_id))
|
||||
{
|
||||
gimp_progress_init (_("Deinterlace..."));
|
||||
gimp_progress_init (_("Deinterlace"));
|
||||
gimp_tile_cache_ntiles (2 * (drawable->width /
|
||||
gimp_tile_width () + 1));
|
||||
deinterlace (drawable, NULL);
|
||||
|
|
|
@ -374,22 +374,22 @@ DepthMerge_execute (DepthMerge *dm)
|
|||
depthMap1HasAlpha = 0;
|
||||
depthMap2HasAlpha = 0;
|
||||
|
||||
gimp_progress_init(_("Depth-merging..."));
|
||||
gimp_progress_init (_("Depth-merging"));
|
||||
|
||||
resultRow = g_new(guchar, dm->selectionWidth * 4);
|
||||
source1Row = g_new(guchar, dm->selectionWidth * 4);
|
||||
source2Row = g_new(guchar, dm->selectionWidth * 4);
|
||||
depthMap1Row = g_new(guchar, dm->selectionWidth );
|
||||
depthMap2Row = g_new(guchar, dm->selectionWidth );
|
||||
tempRow = g_new(guchar, dm->selectionWidth * 4);
|
||||
resultRow = g_new (guchar, dm->selectionWidth * 4);
|
||||
source1Row = g_new (guchar, dm->selectionWidth * 4);
|
||||
source2Row = g_new (guchar, dm->selectionWidth * 4);
|
||||
depthMap1Row = g_new (guchar, dm->selectionWidth );
|
||||
depthMap2Row = g_new (guchar, dm->selectionWidth );
|
||||
tempRow = g_new (guchar, dm->selectionWidth * 4);
|
||||
|
||||
if (dm->source1Drawable != NULL)
|
||||
{
|
||||
source1HasAlpha = gimp_drawable_has_alpha(dm->source1Drawable->drawable_id);
|
||||
gimp_pixel_rgn_init(&source1Rgn, dm->source1Drawable,
|
||||
dm->selectionX0, dm->selectionY0,
|
||||
dm->selectionWidth, dm->selectionHeight,
|
||||
FALSE, FALSE);
|
||||
source1HasAlpha = gimp_drawable_has_alpha (dm->source1Drawable->drawable_id);
|
||||
gimp_pixel_rgn_init (&source1Rgn, dm->source1Drawable,
|
||||
dm->selectionX0, dm->selectionY0,
|
||||
dm->selectionWidth, dm->selectionHeight,
|
||||
FALSE, FALSE);
|
||||
}
|
||||
else
|
||||
for (x = 0; x < dm->selectionWidth; x++)
|
||||
|
@ -401,11 +401,11 @@ DepthMerge_execute (DepthMerge *dm)
|
|||
}
|
||||
if (dm->source2Drawable != NULL)
|
||||
{
|
||||
source2HasAlpha = gimp_drawable_has_alpha(dm->source2Drawable->drawable_id);
|
||||
gimp_pixel_rgn_init(&source2Rgn, dm->source2Drawable,
|
||||
dm->selectionX0, dm->selectionY0,
|
||||
dm->selectionWidth, dm->selectionHeight,
|
||||
FALSE, FALSE);
|
||||
source2HasAlpha = gimp_drawable_has_alpha (dm->source2Drawable->drawable_id);
|
||||
gimp_pixel_rgn_init (&source2Rgn, dm->source2Drawable,
|
||||
dm->selectionX0, dm->selectionY0,
|
||||
dm->selectionWidth, dm->selectionHeight,
|
||||
FALSE, FALSE);
|
||||
}
|
||||
else
|
||||
for (x = 0; x < dm->selectionWidth; x++)
|
||||
|
@ -501,7 +501,8 @@ DepthMerge_execute (DepthMerge *dm)
|
|||
dm->selectionX0, y,
|
||||
dm->selectionWidth);
|
||||
|
||||
gimp_progress_update((double)(y-dm->selectionY0) / (double)(dm->selectionHeight-1));
|
||||
gimp_progress_update ((double)(y-dm->selectionY0) /
|
||||
(double)(dm->selectionHeight-1));
|
||||
}
|
||||
|
||||
g_free (resultRow);
|
||||
|
|
|
@ -269,7 +269,7 @@ destripe (GimpDrawable *drawable,
|
|||
}
|
||||
else
|
||||
{
|
||||
gimp_progress_init (_("Destriping..."));
|
||||
gimp_progress_init (_("Destriping"));
|
||||
gimp_drawable_mask_bounds (drawable->drawable_id, &x1, &y1, &x2, &y2);
|
||||
|
||||
width = x2 - x1;
|
||||
|
|
|
@ -278,7 +278,6 @@ load_image (const gchar *filename)
|
|||
gint32 layer_ID;
|
||||
GimpDrawable *drawable;
|
||||
FILE *DICOM;
|
||||
gchar *temp;
|
||||
gchar buf[500]; /* buffer for random things like scanning */
|
||||
DicomInfo *dicominfo;
|
||||
gint width = 0;
|
||||
|
@ -298,10 +297,8 @@ load_image (const gchar *filename)
|
|||
return -1;
|
||||
}
|
||||
|
||||
temp = g_strdup_printf (_("Opening '%s'..."),
|
||||
gimp_filename_to_utf8 (filename));
|
||||
gimp_progress_init (temp);
|
||||
g_free (temp);
|
||||
gimp_progress_init_printf (_("Opening '%s'"),
|
||||
gimp_filename_to_utf8 (filename));
|
||||
|
||||
/* allocate the necessary structures */
|
||||
dicominfo = g_new0 (DicomInfo, 1);
|
||||
|
|
|
@ -305,11 +305,11 @@ diffraction_func (gint x,
|
|||
py = 5.0 + param->dvert * (y - param->y1);
|
||||
|
||||
diff_diffract (px, py, &rgb);
|
||||
|
||||
|
||||
dest[0] = 255.0 * rgb.r;
|
||||
dest[1] = 255.0 * rgb.g;
|
||||
dest[2] = 255.0 * rgb.b;
|
||||
|
||||
|
||||
if (bpp == 4)
|
||||
dest[3] = 255;
|
||||
}
|
||||
|
@ -327,7 +327,7 @@ diffraction (GimpDrawable *drawable)
|
|||
param.dhoriz = 10.0 / (x2 - x1 - 1);
|
||||
param.dvert = -10.0 / (y2 - y1 - 1);
|
||||
|
||||
gimp_progress_init (_("Creating diffraction pattern..."));
|
||||
gimp_progress_init (_("Creating diffraction pattern"));
|
||||
iter = gimp_rgn_iterator_new (drawable, 0);
|
||||
gimp_rgn_iterator_dest (iter, diffraction_func, ¶m);
|
||||
gimp_rgn_iterator_free (iter);
|
||||
|
|
|
@ -274,7 +274,7 @@ run (const gchar *name,
|
|||
|
||||
if (status == GIMP_PDB_SUCCESS && (dvals.do_x || dvals.do_y))
|
||||
{
|
||||
gimp_progress_init (_("Displacing..."));
|
||||
gimp_progress_init (_("Displacing"));
|
||||
|
||||
/* run the displace effect */
|
||||
displace (drawable, NULL);
|
||||
|
|
|
@ -227,7 +227,7 @@ run (const gchar *name,
|
|||
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
|
||||
gimp_drawable_is_gray (drawable->drawable_id))
|
||||
{
|
||||
gimp_progress_init (_("Edge Detection..."));
|
||||
gimp_progress_init (_("Edge detection"));
|
||||
|
||||
/* set the tile cache size */
|
||||
gimp_tile_cache_ntiles (TILE_CACHE_SIZE);
|
||||
|
|
|
@ -404,7 +404,7 @@ emboss (GimpDrawable *drawable,
|
|||
for (y = 0; y < height - 2; y++)
|
||||
{
|
||||
if (! preview && (y % p_update == 0))
|
||||
gimp_progress_update ((gdouble) y / (gdouble) height);
|
||||
gimp_progress_update ((gdouble) y / (gdouble) height);
|
||||
|
||||
gimp_pixel_rgn_get_rect (&src, srcbuf, x1, y1+y, width, 3);
|
||||
EmbossRow (srcbuf, evals.embossp ? (guchar *) 0 : srcbuf,
|
||||
|
|
|
@ -179,7 +179,7 @@ run (const gchar *name,
|
|||
|
||||
if (status == GIMP_PDB_SUCCESS)
|
||||
{
|
||||
gimp_progress_init (_("Engraving..."));
|
||||
gimp_progress_init (_("Engraving"));
|
||||
|
||||
engrave (drawable, NULL);
|
||||
|
||||
|
|
|
@ -211,7 +211,7 @@ run (const gchar *name,
|
|||
{
|
||||
if (gimp_drawable_is_rgb (drawable->drawable_id))
|
||||
{
|
||||
gimp_progress_init (_("Color Exchange..."));
|
||||
gimp_progress_init (_("Color Exchange"));
|
||||
gimp_tile_cache_ntiles (2 * (drawable->width /
|
||||
gimp_tile_width () + 1));
|
||||
exchange (drawable, NULL);
|
||||
|
|
|
@ -320,7 +320,7 @@ run (const gchar *name,
|
|||
|
||||
if (status == GIMP_PDB_SUCCESS)
|
||||
{
|
||||
gimp_progress_init (_("Composing Images..."));
|
||||
gimp_progress_init (_("Composing images"));
|
||||
|
||||
image_ID = film ();
|
||||
|
||||
|
|
|
@ -267,7 +267,7 @@ run (const gchar *name,
|
|||
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
|
||||
gimp_drawable_is_gray (drawable->drawable_id))
|
||||
{
|
||||
gimp_progress_init (_("Render Flare..."));
|
||||
gimp_progress_init (_("Render flare"));
|
||||
gimp_tile_cache_ntiles (2 *
|
||||
(drawable->width / gimp_tile_width () + 1));
|
||||
|
||||
|
|
|
@ -400,7 +400,7 @@ run (const gchar *name,
|
|||
/* Make sure that the drawable is gray or RGB color */
|
||||
if (gimp_drawable_is_rgb (drawable->drawable_id))
|
||||
{
|
||||
gimp_progress_init (_("Applying Filter Pack..."));
|
||||
gimp_progress_init (_("Applying filter pack"));
|
||||
gimp_tile_cache_ntiles (2 * (drawable->width / gimp_tile_width () + 1));
|
||||
fp (drawable);
|
||||
|
||||
|
|
|
@ -415,7 +415,7 @@ run (const gchar *name,
|
|||
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
|
||||
gimp_drawable_is_gray (drawable->drawable_id))
|
||||
{
|
||||
gimp_progress_init (_("Gaussian Blur..."));
|
||||
gimp_progress_init (_("Gaussian Blur"));
|
||||
|
||||
/* run the gaussian blur */
|
||||
gauss (drawable,
|
||||
|
|
|
@ -350,7 +350,7 @@ load_image (const gchar *filename)
|
|||
return -1;
|
||||
}
|
||||
|
||||
gimp_progress_init_printf (_("Opening '%s'..."),
|
||||
gimp_progress_init_printf (_("Opening '%s'"),
|
||||
gimp_filename_to_utf8 (filename));
|
||||
|
||||
if (read (fd, &bh, sizeof (BrushHeader)) != sizeof (BrushHeader))
|
||||
|
@ -606,7 +606,7 @@ save_image (const gchar *filename,
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
gimp_progress_init_printf (_("Saving '%s'..."),
|
||||
gimp_progress_init_printf (_("Saving '%s'"),
|
||||
gimp_filename_to_utf8 (filename));
|
||||
|
||||
drawable = gimp_drawable_get (drawable_ID);
|
||||
|
|
|
@ -1004,7 +1004,7 @@ save_image (const gchar *filename,
|
|||
|
||||
|
||||
/* init the progress meter */
|
||||
gimp_progress_init_printf (_("Saving '%s'..."),
|
||||
gimp_progress_init_printf (_("Saving '%s'"),
|
||||
gimp_filename_to_utf8 (filename));
|
||||
|
||||
|
||||
|
|
|
@ -299,7 +299,7 @@ load_image (const gchar *filename)
|
|||
return -1;
|
||||
}
|
||||
|
||||
gimp_progress_init_printf (_("Opening '%s'..."),
|
||||
gimp_progress_init_printf (_("Opening '%s'"),
|
||||
gimp_filename_to_utf8 (filename));
|
||||
|
||||
if (!ReadOK (fd, buf, 6))
|
||||
|
|
|
@ -651,7 +651,7 @@ gih_load_image (const gchar *filename)
|
|||
return -1;
|
||||
}
|
||||
|
||||
gimp_progress_init_printf (_("Opening '%s'..."),
|
||||
gimp_progress_init_printf (_("Opening '%s'"),
|
||||
gimp_filename_to_utf8 (filename));
|
||||
|
||||
/* The file format starts with a painfully simple text header */
|
||||
|
@ -1260,7 +1260,7 @@ gih_save_image (const gchar *filename,
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
gimp_progress_init_printf (_("Saving '%s'..."),
|
||||
gimp_progress_init_printf (_("Saving '%s'"),
|
||||
gimp_filename_to_utf8 (filename));
|
||||
|
||||
parstring = gimp_pixpipe_params_build (&gihparams);
|
||||
|
|
|
@ -209,7 +209,7 @@ run (const gchar *name,
|
|||
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
|
||||
gimp_drawable_is_gray (drawable->drawable_id))
|
||||
{
|
||||
gimp_progress_init (_("Glass Tile..."));
|
||||
gimp_progress_init (_("Glass Tile"));
|
||||
|
||||
glasstile (drawable, NULL);
|
||||
|
||||
|
|
|
@ -505,7 +505,7 @@ run (const gchar *name,
|
|||
|
||||
optimize (&qbist_info.info);
|
||||
|
||||
gimp_progress_init (_("Qbist ..."));
|
||||
gimp_progress_init (_("Qbist"));
|
||||
|
||||
for (pr = gimp_pixel_rgns_register (1, &imagePR);
|
||||
pr != NULL;
|
||||
|
|
|
@ -161,12 +161,12 @@ run (const gchar *name,
|
|||
if ( !strcmp (name, GRADMAP_PROC))
|
||||
{
|
||||
mode = GRADIENT_MODE;
|
||||
gimp_progress_init (_("Gradient Map..."));
|
||||
gimp_progress_init (_("Gradient Map"));
|
||||
}
|
||||
else if ( !strcmp (name, PALETTEMAP_PROC))
|
||||
{
|
||||
mode = PALETTE_MODE;
|
||||
gimp_progress_init (_("Palette Map..."));
|
||||
gimp_progress_init (_("Palette Map"));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -238,7 +238,7 @@ run (const gchar *name,
|
|||
|
||||
if (status == GIMP_PDB_SUCCESS)
|
||||
{
|
||||
gimp_progress_init (_("Drawing Grid..."));
|
||||
gimp_progress_init (_("Drawing grid"));
|
||||
gimp_tile_cache_ntiles (2 * (drawable->width / gimp_tile_width () + 1));
|
||||
|
||||
grid (image_ID, drawable, NULL);
|
||||
|
|
|
@ -242,7 +242,7 @@ save_image (const gchar *filename,
|
|||
fprintf (fp, "<CAPTION>%s</CAPTION>\n",
|
||||
gtmvals.captiontxt);
|
||||
|
||||
gimp_progress_init_printf (_("Saving '%s'..."),
|
||||
gimp_progress_init_printf (_("Saving '%s'"),
|
||||
gimp_filename_to_utf8 (filename));
|
||||
|
||||
gimp_pixel_rgn_init (&pixel_rgn, drawable,
|
||||
|
|
|
@ -105,7 +105,7 @@ run (const gchar *name,
|
|||
|
||||
if (status == GIMP_PDB_SUCCESS)
|
||||
{
|
||||
gimp_progress_init (_("Guillotine..."));
|
||||
gimp_progress_init (_("Guillotine"));
|
||||
guillotine (image_ID);
|
||||
gimp_displays_flush ();
|
||||
}
|
||||
|
|
|
@ -376,7 +376,7 @@ pluginCore (piArgs *argp)
|
|||
|
||||
build_tab (argp->mode);
|
||||
|
||||
gimp_progress_init (_("Hot..."));
|
||||
gimp_progress_init (_("Hot"));
|
||||
prog_interval = height / 10;
|
||||
|
||||
for (y = sel_y1; y < sel_y2; y++)
|
||||
|
|
|
@ -165,7 +165,7 @@ run (const gchar *name,
|
|||
gimp_drawable_is_gray (drawable->drawable_id))
|
||||
{
|
||||
gimp_tile_cache_ntiles (2 * (drawable->width / gimp_tile_width() + 1));
|
||||
gimp_progress_init (_("Illusion..."));
|
||||
gimp_progress_init (_("Illusion"));
|
||||
illusion (drawable);
|
||||
if (run_mode != GIMP_RUN_NONINTERACTIVE)
|
||||
gimp_displays_flush ();
|
||||
|
|
|
@ -683,7 +683,7 @@ iwarp_frame (void)
|
|||
gimp_drawable_has_alpha (destdrawable->drawable_id));
|
||||
|
||||
if (!do_animate)
|
||||
gimp_progress_init (_("Warping..."));
|
||||
gimp_progress_init (_("Warping"));
|
||||
|
||||
for (pr = gimp_pixel_rgns_register (1, &dest_rgn);
|
||||
pr != NULL;
|
||||
|
@ -788,7 +788,7 @@ iwarp (void)
|
|||
|
||||
destdrawable = gimp_drawable_get (animlayers[i]);
|
||||
|
||||
gimp_progress_init_printf (_("Warping Frame No. %d..."),
|
||||
gimp_progress_init_printf (_("Warping Frame %d"),
|
||||
frame_number);
|
||||
|
||||
if (animate_deform_value > 0.0)
|
||||
|
|
|
@ -411,7 +411,7 @@ run (const gchar *name,
|
|||
status = GIMP_PDB_CANCEL;
|
||||
break;
|
||||
}
|
||||
gimp_progress_init (_("Assembling Jigsaw..."));
|
||||
gimp_progress_init (_("Assembling jigsaw"));
|
||||
|
||||
jigsaw (drawable, NULL);
|
||||
gimp_set_data (PLUG_IN_PROC, &config, sizeof(config_t));
|
||||
|
@ -2566,4 +2566,3 @@ jigsaw_dialog (GimpDrawable *drawable)
|
|||
|
||||
return run;
|
||||
}
|
||||
|
||||
|
|
|
@ -242,7 +242,7 @@ laplace (GimpDrawable *drawable)
|
|||
*/
|
||||
|
||||
gimp_drawable_mask_bounds (drawable->drawable_id, &x1, &y1, &x2, &y2);
|
||||
gimp_progress_init (_("Laplace..."));
|
||||
gimp_progress_init (_("Laplace"));
|
||||
|
||||
/* Get the size of the input image. (This will/must be the same
|
||||
* as the size of the output image.
|
||||
|
@ -320,7 +320,7 @@ laplace (GimpDrawable *drawable)
|
|||
laplace_prepare_row (&srcPR, pr, x1, y1 - 1, (x2 - x1));
|
||||
laplace_prepare_row (&srcPR, cr, x1, y1, (x2 - x1));
|
||||
|
||||
gimp_progress_init (_("Cleanup..."));
|
||||
gimp_progress_init (_("Cleanup"));
|
||||
counter =0;
|
||||
|
||||
/* loop through the rows, applying the laplace convolution */
|
||||
|
|
|
@ -564,7 +564,7 @@ compute_image (GimpDrawable *drawable)
|
|||
gimp_drawable_mask_bounds (drawable->drawable_id,
|
||||
&border_x1, &border_y1, &border_x2, &border_y2);
|
||||
|
||||
gimp_progress_init (_("Van Gogh (LIC)..."));
|
||||
gimp_progress_init (_("Van Gogh (LIC)"));
|
||||
|
||||
if (licvals.effect_convolve == 0)
|
||||
generatevectors ();
|
||||
|
|
|
@ -233,7 +233,7 @@ run (const gchar *name,
|
|||
|
||||
plvals.map_mode = 0;
|
||||
|
||||
gimp_progress_init (_("Adjusting Foreground/Background..."));
|
||||
gimp_progress_init (_("Adjusting FG-BG"));
|
||||
|
||||
color_mapping (drawable);
|
||||
break;
|
||||
|
@ -275,7 +275,7 @@ run (const gchar *name,
|
|||
break;
|
||||
}
|
||||
|
||||
gimp_progress_init (_("Mapping colors..."));
|
||||
gimp_progress_init (_("Mapping colors"));
|
||||
|
||||
color_mapping (drawable);
|
||||
|
||||
|
|
|
@ -234,7 +234,7 @@ main_function (GimpDrawable *drawable,
|
|||
}
|
||||
else
|
||||
{
|
||||
gimp_progress_init ( _("Max RGB..."));
|
||||
gimp_progress_init (_("Max RGB"));
|
||||
|
||||
gimp_rgn_iterate2 (drawable, 0 /* unused */, max_rgb_func, ¶m);
|
||||
|
||||
|
|
|
@ -805,7 +805,7 @@ mblur (GimpDrawable *drawable,
|
|||
return;
|
||||
|
||||
if (! preview)
|
||||
gimp_progress_init (_("Motion Blurring..."));
|
||||
gimp_progress_init (_("Motion blurring"));
|
||||
|
||||
switch (mbvals.mblur_type)
|
||||
{
|
||||
|
|
|
@ -494,7 +494,7 @@ mosaic (GimpDrawable *drawable,
|
|||
height = (y2 - y1);
|
||||
|
||||
/* progress bar for gradient finding */
|
||||
gimp_progress_init (_("Finding Edges..."));
|
||||
gimp_progress_init (_("Finding edges"));
|
||||
}
|
||||
|
||||
/* Find the gradients */
|
||||
|
@ -545,7 +545,7 @@ mosaic (GimpDrawable *drawable,
|
|||
if (!preview)
|
||||
{
|
||||
/* Progress bar for rendering tiles */
|
||||
gimp_progress_init (_("Rendering Tiles..."));
|
||||
gimp_progress_init (_("Rendering tiles"));
|
||||
}
|
||||
|
||||
/* Render the tiles */
|
||||
|
|
|
@ -208,7 +208,7 @@ run (const gchar *name,
|
|||
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
|
||||
gimp_drawable_is_gray (drawable->drawable_id))
|
||||
{
|
||||
gimp_progress_init (_("Neon..."));
|
||||
gimp_progress_init (_("Neon"));
|
||||
|
||||
/* run the neon effect */
|
||||
neon (drawable, evals.radius, evals.amount, NULL);
|
||||
|
|
|
@ -626,7 +626,7 @@ run (const gchar *name,
|
|||
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
|
||||
gimp_drawable_is_gray (drawable->drawable_id))
|
||||
{
|
||||
gimp_progress_init (_("Newsprint..."));
|
||||
gimp_progress_init (_("Newsprint"));
|
||||
|
||||
/* set the tile cache size */
|
||||
gimp_tile_cache_ntiles (TILE_CACHE_SIZE);
|
||||
|
|
|
@ -952,7 +952,7 @@ nlfilter (GimpDrawable *drawable,
|
|||
filtno = nlfiltInit (nlfvals.alpha, nlfvals.radius, nlfvals.filter);
|
||||
|
||||
if (!preview)
|
||||
gimp_progress_init (_("NL Filter..."));
|
||||
gimp_progress_init (_("NL Filter"));
|
||||
|
||||
/* first row */
|
||||
gimp_pixel_rgn_get_row (&srcPr, thisrow, x1, y1, width);
|
||||
|
|
|
@ -279,7 +279,7 @@ run (const gchar *name,
|
|||
|
||||
if (status == GIMP_PDB_SUCCESS)
|
||||
{
|
||||
gimp_progress_init (_("Adding Noise..."));
|
||||
gimp_progress_init (_("Adding noise"));
|
||||
|
||||
/* compute the luminosity which exceeds the luminosity threshold */
|
||||
gimp_rgn_iterate2 (drawable, 0 /* unused */, noisify_func, noise_gr);
|
||||
|
|
|
@ -121,7 +121,7 @@ run (const gchar *name,
|
|||
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
|
||||
gimp_drawable_is_gray (drawable->drawable_id))
|
||||
{
|
||||
gimp_progress_init (_("Normalizing..."));
|
||||
gimp_progress_init (_("Normalizing"));
|
||||
gimp_tile_cache_ntiles (2 * (drawable->width / gimp_tile_width () + 1));
|
||||
|
||||
normalize (drawable);
|
||||
|
|
|
@ -257,7 +257,7 @@ run (const gchar *name,
|
|||
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
|
||||
gimp_drawable_is_gray (drawable->drawable_id))
|
||||
{
|
||||
gimp_progress_init (_("Rendering SuperNova..."));
|
||||
gimp_progress_init (_("Rendering SuperNova"));
|
||||
gimp_tile_cache_ntiles (2 *
|
||||
(drawable->width / gimp_tile_width () + 1));
|
||||
|
||||
|
|
|
@ -184,7 +184,7 @@ run (const gchar *name,
|
|||
(gimp_drawable_is_rgb (drawable->drawable_id) ||
|
||||
gimp_drawable_is_gray (drawable->drawable_id)))
|
||||
{
|
||||
gimp_progress_init (_("Oil Painting..."));
|
||||
gimp_progress_init (_("Oil painting"));
|
||||
|
||||
oilify (drawable, NULL);
|
||||
|
||||
|
|
|
@ -530,7 +530,7 @@ filter (void)
|
|||
|
||||
overlap = p.drawable_has_alpha ? overlap_RGBA : overlap_RGB;
|
||||
|
||||
gimp_progress_init (_("Paper Tile..."));
|
||||
gimp_progress_init (_("Paper Tile"));
|
||||
|
||||
gimp_drawable_mask_bounds (p.drawable->drawable_id,
|
||||
&p.selection.x0, &p.selection.y0,
|
||||
|
|
|
@ -323,7 +323,7 @@ load_image (const gchar *filename)
|
|||
return -1;
|
||||
}
|
||||
|
||||
gimp_progress_init_printf (_("Opening '%s'..."),
|
||||
gimp_progress_init_printf (_("Opening '%s'"),
|
||||
gimp_filename_to_utf8 (filename));
|
||||
|
||||
if (read (fd, &ph, sizeof (PatternHeader)) != sizeof (PatternHeader))
|
||||
|
@ -453,7 +453,7 @@ save_image (const gchar *filename,
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
gimp_progress_init_printf (_("Saving '%s'..."),
|
||||
gimp_progress_init_printf (_("Saving '%s'"),
|
||||
gimp_filename_to_utf8 (filename));
|
||||
|
||||
drawable = gimp_drawable_get (drawable_ID);
|
||||
|
|
|
@ -311,7 +311,7 @@ load_image (const gchar *filename)
|
|||
return -1;
|
||||
}
|
||||
|
||||
gimp_progress_init_printf (_("Opening '%s'..."),
|
||||
gimp_progress_init_printf (_("Opening '%s'"),
|
||||
gimp_filename_to_utf8 (filename));
|
||||
|
||||
if (fread (&pcx_header, 128, 1, fd) == 0)
|
||||
|
@ -547,7 +547,7 @@ save_image (const gchar *filename,
|
|||
height = drawable->height;
|
||||
gimp_pixel_rgn_init (&pixel_rgn, drawable, 0, 0, width, height, FALSE, FALSE);
|
||||
|
||||
gimp_progress_init_printf (_("Saving '%s'..."),
|
||||
gimp_progress_init_printf (_("Saving '%s'"),
|
||||
gimp_filename_to_utf8 (filename));
|
||||
|
||||
pcx_header.manufacturer = 0x0a;
|
||||
|
|
|
@ -228,7 +228,7 @@ run (const gchar *name,
|
|||
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
|
||||
gimp_drawable_is_gray (drawable->drawable_id))
|
||||
{
|
||||
gimp_progress_init ("Photocopy...");
|
||||
gimp_progress_init ("Photocopy");
|
||||
|
||||
photocopy (drawable, NULL);
|
||||
|
||||
|
|
|
@ -331,7 +331,7 @@ load_image (const gchar *filename)
|
|||
return -1;
|
||||
}
|
||||
|
||||
gimp_progress_init_printf (_("Opening '%s'..."),
|
||||
gimp_progress_init_printf (_("Opening '%s'"),
|
||||
gimp_filename_to_utf8 (filename));
|
||||
|
||||
/* Read header information */
|
||||
|
@ -510,7 +510,7 @@ save_image (const gchar *filename,
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
gimp_progress_init_printf (_("Saving '%s'..."),
|
||||
gimp_progress_init_printf (_("Saving '%s'"),
|
||||
gimp_filename_to_utf8 (filename));
|
||||
|
||||
/* Write the image header */
|
||||
|
|
|
@ -270,7 +270,7 @@ run (const gchar *name,
|
|||
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
|
||||
gimp_drawable_is_gray (drawable->drawable_id))
|
||||
{
|
||||
gimp_progress_init (_("Pixelizing..."));
|
||||
gimp_progress_init (_("Pixelizing"));
|
||||
|
||||
/* set the tile cache size */
|
||||
gimp_tile_cache_ntiles (TILE_CACHE_SIZE);
|
||||
|
|
|
@ -263,7 +263,7 @@ run (const gchar *name,
|
|||
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
|
||||
gimp_drawable_is_gray (drawable->drawable_id))
|
||||
{
|
||||
gimp_progress_init (_("Plasma..."));
|
||||
gimp_progress_init (_("Plasma"));
|
||||
gimp_tile_cache_ntiles (TILE_CACHE_SIZE);
|
||||
|
||||
plasma (drawable, FALSE);
|
||||
|
|
|
@ -724,7 +724,7 @@ load_image (const gchar *filename,
|
|||
|
||||
png_init_io (pp, fp);
|
||||
|
||||
gimp_progress_init_printf (_("Opening '%s'..."),
|
||||
gimp_progress_init_printf (_("Opening '%s'"),
|
||||
gimp_filename_to_utf8 (filename));
|
||||
|
||||
/*
|
||||
|
@ -1225,7 +1225,7 @@ save_image (const gchar *filename,
|
|||
|
||||
png_init_io (pp, fp);
|
||||
|
||||
gimp_progress_init_printf (_("Saving '%s'..."),
|
||||
gimp_progress_init_printf (_("Saving '%s'"),
|
||||
gimp_filename_to_utf8 (filename));
|
||||
|
||||
/*
|
||||
|
|
|
@ -444,7 +444,7 @@ load_image (const gchar *filename)
|
|||
return -1;
|
||||
}
|
||||
|
||||
gimp_progress_init_printf (_("Opening '%s'..."),
|
||||
gimp_progress_init_printf (_("Opening '%s'"),
|
||||
gimp_filename_to_utf8 (filename));
|
||||
|
||||
/* allocate the necessary structures */
|
||||
|
@ -819,7 +819,7 @@ save_image (const gchar *filename,
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
gimp_progress_init_printf (_("Saving '%s'..."),
|
||||
gimp_progress_init_printf (_("Saving '%s'"),
|
||||
gimp_filename_to_utf8 (filename));
|
||||
|
||||
xres = drawable->width;
|
||||
|
|
|
@ -346,7 +346,7 @@ polarize (GimpDrawable *drawable)
|
|||
gimp_context_get_background (&background);
|
||||
gimp_pixel_fetcher_set_bg_color (pft, &background);
|
||||
|
||||
gimp_progress_init (_("Polarizing..."));
|
||||
gimp_progress_init (_("Polarizing"));
|
||||
|
||||
iter = gimp_rgn_iterator_new (drawable, 0);
|
||||
gimp_rgn_iterator_dest (iter, polarize_func, pft);
|
||||
|
|
|
@ -460,7 +460,7 @@ load_image (PopplerDocument *doc,
|
|||
if (target == GIMP_PAGE_SELECTOR_TARGET_IMAGES)
|
||||
images = g_new0 (gint32, pages->n_pages);
|
||||
|
||||
gimp_progress_init_printf (_("Opening '%s'..."),
|
||||
gimp_progress_init_printf (_("Opening '%s'"),
|
||||
gimp_filename_to_utf8 (filename));
|
||||
|
||||
scale = resolution / gimp_unit_get_factor (GIMP_UNIT_POINT);
|
||||
|
|
|
@ -1014,7 +1014,7 @@ load_image (const gchar *filename)
|
|||
}
|
||||
fclose (ifp);
|
||||
|
||||
gimp_progress_init_printf (_("Opening '%s'..."),
|
||||
gimp_progress_init_printf (_("Opening '%s'"),
|
||||
gimp_filename_to_utf8 (filename));
|
||||
|
||||
ifp = ps_open (filename, &plvals, &llx, &lly, &urx, &ury, &is_epsf,
|
||||
|
@ -1186,7 +1186,7 @@ save_image (const gchar *filename,
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
gimp_progress_init_printf (_("Saving '%s'..."),
|
||||
gimp_progress_init_printf (_("Saving '%s'"),
|
||||
gimp_filename_to_utf8 (filename));
|
||||
|
||||
save_ps_header (ofp, filename);
|
||||
|
|
|
@ -1882,7 +1882,7 @@ load_image (const gchar *name)
|
|||
return -1;
|
||||
}
|
||||
|
||||
gimp_progress_init_printf (_("Opening '%s'..."),
|
||||
gimp_progress_init_printf (_("Opening '%s'"),
|
||||
gimp_filename_to_utf8 (name));
|
||||
|
||||
read_whole_file (fd);
|
||||
|
|
|
@ -1351,7 +1351,7 @@ save_image (const gchar *filename,
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
gimp_progress_init_printf (_("Saving '%s'..."),
|
||||
gimp_progress_init_printf (_("Saving '%s'"),
|
||||
gimp_filename_to_utf8 (filename));
|
||||
|
||||
IFDBG g_print (" File \"%s\" has been opened\n",
|
||||
|
|
|
@ -386,7 +386,7 @@ run (const gchar *name,
|
|||
case RNDM_SLUR: rndm_type_str = "slur"; break;
|
||||
}
|
||||
|
||||
gimp_progress_init_printf ("%s (%s)...",
|
||||
gimp_progress_init_printf ("%s (%s)",
|
||||
gettext (RNDM_VERSION[rndm_type - 1]),
|
||||
gettext (rndm_type_str));
|
||||
gimp_tile_cache_ntiles (2 *
|
||||
|
@ -658,7 +658,7 @@ randomize (GimpDrawable *drawable,
|
|||
nr = tmp;
|
||||
|
||||
if (PROG_UPDATE_TIME)
|
||||
gimp_progress_update((double) row / (double) (y2 - y1));
|
||||
gimp_progress_update ((double) row / (double) (y2 - y1));
|
||||
}
|
||||
/*
|
||||
* if we have more cycles to perform, swap the src and dest Pixel Regions
|
||||
|
@ -679,13 +679,13 @@ randomize (GimpDrawable *drawable,
|
|||
}
|
||||
}
|
||||
}
|
||||
gimp_progress_update((double) 100);
|
||||
gimp_progress_update ((double) 100);
|
||||
/*
|
||||
* update the randomized region
|
||||
*/
|
||||
gimp_drawable_flush(drawable);
|
||||
gimp_drawable_merge_shadow(drawable->drawable_id, TRUE);
|
||||
gimp_drawable_update(drawable->drawable_id, x1, y1, (x2 - x1), (y2 - y1));
|
||||
gimp_drawable_flush (drawable);
|
||||
gimp_drawable_merge_shadow (drawable->drawable_id, TRUE);
|
||||
gimp_drawable_update (drawable->drawable_id, x1, y1, (x2 - x1), (y2 - y1));
|
||||
/*
|
||||
* clean up after ourselves.
|
||||
*/
|
||||
|
|
|
@ -649,7 +649,7 @@ load_image (gchar *filename)
|
|||
return -1;
|
||||
}
|
||||
|
||||
gimp_progress_init_printf (_("Opening '%s'..."),
|
||||
gimp_progress_init_printf (_("Opening '%s'"),
|
||||
gimp_filename_to_utf8 (filename));
|
||||
|
||||
size = get_file_info (filename);
|
||||
|
|
|
@ -247,9 +247,9 @@ run (const gchar *name,
|
|||
if ((status == GIMP_PDB_SUCCESS) &&
|
||||
(gimp_drawable_is_rgb (drawable->drawable_id)))
|
||||
{
|
||||
gimp_progress_init (_("Retinex..."));
|
||||
gimp_progress_init (_("Retinex"));
|
||||
|
||||
retinex (drawable, NULL);
|
||||
gimp_progress_init (_("Retinex (4/4): updated..."));
|
||||
|
||||
if (run_mode != GIMP_RUN_NONINTERACTIVE)
|
||||
gimp_displays_flush ();
|
||||
|
@ -651,7 +651,7 @@ MSRCR (guchar *src, gint width, gint height, gint bytes, gboolean preview_mode)
|
|||
|
||||
if (!preview_mode)
|
||||
{
|
||||
gimp_progress_init (_("Retinex: Filtering..."));
|
||||
gimp_progress_init (_("Retinex: filtering"));
|
||||
max_preview = 3 * rvals.nscales;
|
||||
}
|
||||
|
||||
|
|
|
@ -220,7 +220,7 @@ run (const gchar *name,
|
|||
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
|
||||
gimp_drawable_is_gray (drawable->drawable_id))
|
||||
{
|
||||
gimp_progress_init (_("Rippling..."));
|
||||
gimp_progress_init (_("Rippling"));
|
||||
|
||||
/* run the ripple effect */
|
||||
ripple (drawable, NULL);
|
||||
|
|
|
@ -434,7 +434,7 @@ rotate (void)
|
|||
}
|
||||
}
|
||||
|
||||
gimp_progress_init (_("Rotating..."));
|
||||
gimp_progress_init (_("Rotating"));
|
||||
|
||||
gimp_image_undo_group_start (image_ID);
|
||||
|
||||
|
|
|
@ -2651,7 +2651,7 @@ sample_analyze (t_GDRW *sample_gdrw)
|
|||
progress_step = 1.0 / progress_max;
|
||||
progress = 0.0;
|
||||
if (g_show_progress)
|
||||
gimp_progress_init (_("Sample Analyze..."));
|
||||
gimp_progress_init (_("Sample analyze"));
|
||||
|
||||
prot_fp = NULL;
|
||||
if (g_Sdebug)
|
||||
|
@ -3029,7 +3029,7 @@ colorize_drawable (gint32 drawable_id)
|
|||
has_alpha = gimp_drawable_has_alpha (drawable->drawable_id);
|
||||
|
||||
if (g_show_progress)
|
||||
gimp_progress_init (_("Remap Colorized..."));
|
||||
gimp_progress_init (_("Remap colorized"));
|
||||
|
||||
gimp_rgn_iterate2 (drawable, 0 /* unused */, colorize_func,
|
||||
GINT_TO_POINTER (has_alpha));
|
||||
|
|
|
@ -215,7 +215,7 @@ scatter_hsv (GimpDrawable *drawable)
|
|||
{
|
||||
gimp_tile_cache_ntiles (2 * (drawable->width / gimp_tile_width () + 1));
|
||||
|
||||
gimp_progress_init (_("Scattering HSV..."));
|
||||
gimp_progress_init (_("HSV Noise"));
|
||||
|
||||
gimp_rgn_iterate2 (drawable, 0 /* unused */, scatter_hsv_func, NULL);
|
||||
|
||||
|
|
|
@ -599,7 +599,7 @@ create_image (const GdkPixbuf *pixbuf)
|
|||
guchar *pixels;
|
||||
gpointer pr;
|
||||
|
||||
status = gimp_progress_init (_("Loading Screenshot..."));
|
||||
status = gimp_progress_init (_("Importing screenshot"));
|
||||
|
||||
width = gdk_pixbuf_get_width (pixbuf);
|
||||
height = gdk_pixbuf_get_height (pixbuf);
|
||||
|
|
|
@ -186,7 +186,7 @@ run (const gchar *name,
|
|||
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
|
||||
gimp_drawable_is_gray (drawable->drawable_id))
|
||||
{
|
||||
gimp_progress_init (_("Selective Gaussian Blur..."));
|
||||
gimp_progress_init (_("Selective Gaussian Blur"));
|
||||
|
||||
radius = fabs (bvals.radius) + 1.0;
|
||||
|
||||
|
|
|
@ -117,7 +117,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 (_("Semi-Flattening..."));
|
||||
gimp_progress_init (_("Semi-Flattening"));
|
||||
gimp_tile_cache_ntiles (2 * (drawable->width / gimp_tile_width ()
|
||||
+ 1));
|
||||
semiflatten (drawable);
|
||||
|
|
|
@ -306,7 +306,7 @@ sharpen (GimpDrawable *drawable)
|
|||
/*
|
||||
* Let the user know what we're doing...
|
||||
*/
|
||||
gimp_progress_init( _("Sharpening..."));
|
||||
gimp_progress_init( _("Sharpening"));
|
||||
|
||||
/*
|
||||
* Setup for filter...
|
||||
|
|
|
@ -188,7 +188,7 @@ run (const gchar *name,
|
|||
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
|
||||
gimp_drawable_is_gray (drawable->drawable_id))
|
||||
{
|
||||
gimp_progress_init (_("Shifting..."));
|
||||
gimp_progress_init (_("Shifting"));
|
||||
|
||||
/* run the shift effect */
|
||||
shift (drawable, NULL);
|
||||
|
|
|
@ -281,7 +281,7 @@ run (const gchar *name,
|
|||
(gimp_drawable_is_rgb (drawable->drawable_id) ||
|
||||
gimp_drawable_is_gray (drawable->drawable_id)))
|
||||
{
|
||||
gimp_progress_init (_("Sinus: rendering..."));
|
||||
gimp_progress_init (_("Sinus: rendering"));
|
||||
gimp_tile_cache_ntiles (1);
|
||||
sinus ();
|
||||
|
||||
|
|
|
@ -176,7 +176,7 @@ run (const gchar *name,
|
|||
{
|
||||
if (gimp_drawable_is_rgb (drawable->drawable_id))
|
||||
{
|
||||
gimp_progress_init (_("Deriving Smooth Palette..."));
|
||||
gimp_progress_init (_("Deriving smooth palette"));
|
||||
|
||||
gimp_tile_cache_ntiles (2 * (drawable->width + 1) /
|
||||
gimp_tile_width ());
|
||||
|
|
|
@ -329,7 +329,7 @@ solid_noise (GimpDrawable *drawable,
|
|||
/* Initialization */
|
||||
solid_noise_init ();
|
||||
if (!preview)
|
||||
gimp_progress_init (_("Solid Noise..."));
|
||||
gimp_progress_init (_("Solid Noise"));
|
||||
|
||||
progress = 0;
|
||||
max_progress = width * height;
|
||||
|
|
|
@ -365,7 +365,7 @@ sobel (GimpDrawable *drawable,
|
|||
else
|
||||
{
|
||||
gimp_drawable_mask_bounds (drawable->drawable_id, &x1, &y1, &x2, &y2);
|
||||
gimp_progress_init (_("Sobel Edge Detecting..."));
|
||||
gimp_progress_init (_("Sobel edge detecting"));
|
||||
width = x2 - x1;
|
||||
height = y2 - y1;
|
||||
}
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue