stuff from patches/i18n by Daniel Egger

* app/*: stuff from patches/i18n by Daniel Egger

* app/channels_dialog.c: fixes minor buglets in the channels dialog

-Yosh
This commit is contained in:
Manish Singh 1998-12-16 00:37:09 +00:00
parent 57b32958e6
commit d2ea549d27
135 changed files with 1659 additions and 1585 deletions

View File

@ -1,3 +1,10 @@
Tue Dec 15 16:18:40 PST 1998 Manish Singh <yosh@gimp.org>
* app/*: stuff from patches/i18n by Daniel Egger
* app/channels_dialog.c: fixes minor buglets in the channels
dialog
Mon Dec 14 18:56:42 PST 1998 Manish Singh <yosh@gimp.org>
* removed intl virtual modules, use them new fangled

View File

@ -165,17 +165,17 @@ static ProcArg progress_init_args[] =
{
{ PDB_STRING,
"message",
N_("Message to use in the progress dialog.") },
"Message to use in the progress dialog." },
{ PDB_INT32,
"gdisplay",
N_("GDisplay to update progressbar in, or -1 for a seperate window") }
"GDisplay to update progressbar in, or -1 for a seperate window" }
};
static ProcRecord progress_init_proc =
{
"gimp_progress_init",
N_("Initializes the progress bar for the current plug-in"),
N_("Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Initializes the progress bar for the current plug-in",
"Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -191,14 +191,14 @@ static ProcArg progress_update_args[] =
{
{ PDB_FLOAT,
"percentage",
N_("Percentage of progress completed") }
"Percentage of progress completed" }
};
static ProcRecord progress_update_proc =
{
"gimp_progress_update",
N_("Updates the progress bar for the current plug-in"),
N_("Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Updates the progress bar for the current plug-in",
"Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -215,14 +215,14 @@ static ProcArg message_args[] =
{
{ PDB_STRING,
"message",
N_("Message to display in the dialog.") }
"Message to display in the dialog." }
};
static ProcRecord message_proc =
{
"gimp_message",
N_("Displays a dialog box with a message"),
N_("Displays a dialog box with a message. Useful for status or error reporting."),
"Displays a dialog box with a message",
"Displays a dialog box with a message. Useful for status or error reporting.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -239,14 +239,14 @@ static ProcArg message_handler_get_out_args[] =
{
{ PDB_INT32,
"handler",
N_("the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_get_proc =
{
"gimp_message_handler_get",
N_("Returns the current state of where warning messages are displayed."),
N_("This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Returns the current state of where warning messages are displayed.",
"This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -262,14 +262,14 @@ static ProcArg message_handler_set_args[] =
{
{ PDB_INT32,
"handler",
N_("the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_set_proc =
{
"gimp_message_handler_set",
N_("Controls where warning messages are displayed."),
N_("This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Controls where warning messages are displayed.",
"This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -285,15 +285,15 @@ static ProcArg plugin_temp_PDB_name_out_args[] =
{
{ PDB_STRING,
"Temp name",
N_("A unique temporary name for a temporary PDB entry name"),
"A unique temporary name for a temporary PDB entry name",
},
};
static ProcRecord plugin_temp_PDB_name_proc =
{
"gimp_temp_PDB_name",
N_("Generates a unique temporary PDB name"),
N_("This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name."),
"Generates a unique temporary PDB name",
"This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name.",
"Andy Thomas",
"Andy Thomas",
"1998",

View File

@ -99,16 +99,16 @@ static ProcArg quit_args[] =
{
{ PDB_INT32,
"kill",
N_("Flag specifying whether to kill the gimp process or exit normally") },
"Flag specifying whether to kill the gimp process or exit normally" },
};
static ProcRecord quit_proc =
{
"gimp_quit",
N_("Causes the gimp to exit gracefully"),
N_("The internal procedure which can either be used to make the gimp quit normally, or to have the gimp clean up its resources and exit immediately. The normaly shutdown process allows for querying the user to save any dirty images."),
N_("Spencer Kimball & Peter Mattis"),
N_("Spencer Kimball & Peter Mattis"),
"Causes the gimp to exit gracefully",
"The internal procedure which can either be used to make the gimp quit normally, or to have the gimp clean up its resources and exit immediately. The normaly shutdown process allows for querying the user to save any dirty images.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
PDB_INTERNAL,
1,
@ -346,7 +346,7 @@ make_initialization_status_window(void)
NULL);
gtk_window_set_wmclass (GTK_WINDOW(win_initstatus), "gimp_startup", "Gimp");
gtk_window_set_title(GTK_WINDOW(win_initstatus),
"GIMP Startup");
_("GIMP Startup"));
if (no_splash_image == FALSE && splash_logo_load_size (win_initstatus))
{

View File

@ -392,7 +392,7 @@ color_balance_new_dialog ()
/* The shell and main vbox */
cbd->shell = gtk_dialog_new ();
gtk_window_set_wmclass (GTK_WINDOW (cbd->shell), "color_balance", "Gimp");
gtk_window_set_title (GTK_WINDOW (cbd->shell), N_("Color Balance"));
gtk_window_set_title (GTK_WINDOW (cbd->shell), _("Color Balance"));
/* handle the wm close signal */
gtk_signal_connect (GTK_OBJECT (cbd->shell), "delete_event",
@ -879,35 +879,35 @@ ProcArg color_balance_args[] =
{
{ PDB_DRAWABLE,
"drawable",
N_("the drawable")
"the drawable"
},
{ PDB_INT32,
"transfer_mode",
N_("Transfer mode: { SHADOWS (0), MIDTONES (1), HIGHLIGHTS (2) }")
"Transfer mode: { SHADOWS (0), MIDTONES (1), HIGHLIGHTS (2) }"
},
{ PDB_INT32,
"preserve_lum",
N_("Preserve luminosity values at each pixel")
"Preserve luminosity values at each pixel"
},
{ PDB_FLOAT,
"cyan_red",
N_("Cyan-Red color balance: (-100 <= cyan_red <= 100)")
"Cyan-Red color balance: (-100 <= cyan_red <= 100)"
},
{ PDB_FLOAT,
"magenta_green",
N_("Magenta-Green color balance: (-100 <= magenta_green <= 100)")
"Magenta-Green color balance: (-100 <= magenta_green <= 100)"
},
{ PDB_FLOAT,
"yellow_blue",
N_("Yellow-Blue color balance: (-100 <= yellow_blue <= 100)")
"Yellow-Blue color balance: (-100 <= yellow_blue <= 100)"
}
};
ProcRecord color_balance_proc =
{
"gimp_color_balance",
N_("Modify the color balance of the specified drawable"),
N_("Modify the color balance of the specified drawable. There are three axis which can be modified: cyan-red, magenta-green, and yellow-blue. Negative values increase the amount of the former, positive values increase the amount of the latter. Color balance can be controlled with the 'transfer_mode' setting, which allows shadows, midtones, and highlights in an image to be affected differently. The 'preserve_lum' parameter, if non-zero, ensures that the luminosity of each pixel remains fixed."),
"Modify the color balance of the specified drawable",
"Modify the color balance of the specified drawable. There are three axis which can be modified: cyan-red, magenta-green, and yellow-blue. Negative values increase the amount of the former, positive values increase the amount of the latter. Color balance can be controlled with the 'transfer_mode' setting, which allows shadows, midtones, and highlights in an image to be affected differently. The 'preserve_lum' parameter, if non-zero, ensures that the luminosity of each pixel remains fixed.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1997",

View File

@ -613,23 +613,23 @@ ProcArg threshold_args[] =
{
{ PDB_DRAWABLE,
"drawable",
N_("the drawable")
"the drawable"
},
{ PDB_INT32,
"low_threshold",
N_("the low threshold value: (0 <= low_threshold <= 255)")
"the low threshold value: (0 <= low_threshold <= 255)"
},
{ PDB_INT32,
"high_threshold",
N_("the high threshold value: (0 <= high_threshold <= 255)")
"the high threshold value: (0 <= high_threshold <= 255)"
}
};
ProcRecord threshold_proc =
{
"gimp_threshold",
N_("Threshold the specified drawable"),
N_("This procedures generates a threshold map of the specified drawable. All pixels between the values of 'low_threshold' and 'high_threshold' are replaced with white, and all other pixels with black."),
"Threshold the specified drawable",
"This procedures generates a threshold map of the specified drawable. All pixels between the values of 'low_threshold' and 'high_threshold' are replaced with white, and all other pixels with black.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1997",

View File

@ -1374,7 +1374,7 @@ bezier_convert (BezierSelect *bezier_sel,
list = list->next;
/*
if (!list)
g_message ("cannot properly scanline convert bezier curve: %d", i);
g_message (_("cannot properly scanline convert bezier curve: %d"), i);
else
*/
{

View File

@ -1712,67 +1712,67 @@ ProcArg blend_args[] =
{
{ PDB_DRAWABLE,
"drawable",
N_("The affected drawable")
"The affected drawable"
},
{ PDB_INT32,
"blend_mode",
N_("The type of blend: { FG-BG-RGB (0), FG-BG-HSV (1), FG-TRANS (2), CUSTOM (3) }")
"The type of blend: { FG-BG-RGB (0), FG-BG-HSV (1), FG-TRANS (2), CUSTOM (3) }"
},
{ PDB_INT32,
"paint_mode",
N_("the paint application mode: { NORMAL (0), DISSOLVE (1), BEHIND (2), MULTIPLY/BURN (3), SCREEN (4), OVERLAY (5) DIFFERENCE (6), ADDITION (7), SUBTRACT (8), DARKEN-ONLY (9), LIGHTEN-ONLY (10), HUE (11), SATURATION (12), COLOR (13), VALUE (14), DIVIDE/DODGE (15) }")
"the paint application mode: { NORMAL (0), DISSOLVE (1), BEHIND (2), MULTIPLY/BURN (3), SCREEN (4), OVERLAY (5) DIFFERENCE (6), ADDITION (7), SUBTRACT (8), DARKEN-ONLY (9), LIGHTEN-ONLY (10), HUE (11), SATURATION (12), COLOR (13), VALUE (14), DIVIDE/DODGE (15) }"
},
{ PDB_INT32,
"gradient_type",
N_("The type of gradient: { LINEAR (0), BILINEAR (1), RADIAL (2), SQUARE (3), CONICAL-SYMMETRIC (4), CONICAL-ASYMMETRIC (5), SHAPEBURST-ANGULAR (6), SHAPEBURST-SPHERICAL (7), SHAPEBURST-DIMPLED (8) }")
"The type of gradient: { LINEAR (0), BILINEAR (1), RADIAL (2), SQUARE (3), CONICAL-SYMMETRIC (4), CONICAL-ASYMMETRIC (5), SHAPEBURST-ANGULAR (6), SHAPEBURST-SPHERICAL (7), SHAPEBURST-DIMPLED (8) }"
},
{ PDB_FLOAT,
"opacity",
N_("The opacity of the final blend (0 <= opacity <= 100)")
"The opacity of the final blend (0 <= opacity <= 100)"
},
{ PDB_FLOAT,
"offset",
N_("Offset relates to the starting and ending coordinates specified for the blend. This parameter is mode depndent (0 <= offset)")
"Offset relates to the starting and ending coordinates specified for the blend. This parameter is mode depndent (0 <= offset)"
},
{ PDB_INT32,
"repeat",
N_("Repeat mode: { REPEAT-NONE (0), REPEAT-SAWTOOTH (1), REPEAT-TRIANGULAR (2) }")
"Repeat mode: { REPEAT-NONE (0), REPEAT-SAWTOOTH (1), REPEAT-TRIANGULAR (2) }"
},
{ PDB_INT32,
"supersample",
N_("Do adaptive supersampling (true / false)")
"Do adaptive supersampling (true / false)"
},
{ PDB_INT32,
"max_depth",
N_("Maximum recursion levels for supersampling")
"Maximum recursion levels for supersampling"
},
{ PDB_FLOAT,
"threshold",
N_("Supersampling threshold")
"Supersampling threshold"
},
{ PDB_FLOAT,
"x1",
N_("The x coordinate of this blend's starting point")
"The x coordinate of this blend's starting point"
},
{ PDB_FLOAT,
"y1",
N_("The y coordinate of this blend's starting point")
"The y coordinate of this blend's starting point"
},
{ PDB_FLOAT,
"x2",
N_("The x coordinate of this blend's ending point")
"The x coordinate of this blend's ending point"
},
{ PDB_FLOAT,
"y2",
N_("The y coordinate of this blend's ending point")
"The y coordinate of this blend's ending point"
}
};
ProcRecord blend_proc =
{
"gimp_blend",
N_("Blend between the starting and ending coordinates with the specified blend mode and gradient type."),
N_("This tool requires information on the paint application mode, the blend mode, and the gradient type. It creates the specified variety of blend using the starting and ending coordinates as defined for each gradient type."),
"Blend between the starting and ending coordinates with the specified blend mode and gradient type.",
"This tool requires information on the paint application mode, the blend mode, and the gradient type. It creates the specified variety of blend using the starting and ending coordinates as defined for each gradient type.",
"Spencer Kimball & Peter Mattis & Federico Mena Quintero",
"Spencer Kimball & Peter Mattis & Federico Mena Quintero",
"1995-1996",

View File

@ -1272,35 +1272,35 @@ ProcArg brushes_popup_in_args[] =
{
{ PDB_STRING,
"brush_callback",
N_("the callback PDB proc to call when brush selection is made")
"the callback PDB proc to call when brush selection is made"
},
{ PDB_STRING,
"popup title",
N_("title to give the popup window"),
"title to give the popup window",
},
{ PDB_STRING,
"initial brush",
N_("The name of the brush to set as the first selected"),
"The name of the brush to set as the first selected",
},
{ PDB_FLOAT,
"initial opacity",
N_("The initial opacity of the brush"),
"The initial opacity of the brush",
},
{ PDB_INT32,
"initial spacing",
N_("The initial spacing of the brush (if < 0 then use brush default spacing)"),
"The initial spacing of the brush (if < 0 then use brush default spacing)",
},
{ PDB_INT32,
"initial paint mode",
N_("The initial paint mode: { NORMAL (0), DISSOLVE (1), BEHIND (2), MULTIPLY/BURN (3), SCREEN (4), OVERLAY (5) DIFFERENCE (6), ADDITION (7), SUBTRACT (8), DARKEN-ONLY (9), LIGHTEN-ONLY (10), HUE (11), SATURATION (12), COLOR (13), VALUE (14), DIVIDE/DODGE (15) }"),
"The initial paint mode: { NORMAL (0), DISSOLVE (1), BEHIND (2), MULTIPLY/BURN (3), SCREEN (4), OVERLAY (5) DIFFERENCE (6), ADDITION (7), SUBTRACT (8), DARKEN-ONLY (9), LIGHTEN-ONLY (10), HUE (11), SATURATION (12), COLOR (13), VALUE (14), DIVIDE/DODGE (15) }",
},
};
ProcRecord brushes_popup_proc =
{
"gimp_brushes_popup",
N_("Invokes the Gimp brush selection"),
N_("This procedure popups the brush selection dialog"),
"Invokes the Gimp brush selection",
"This procedure popups the brush selection dialog",
"Andy Thomas",
"Andy Thomas",
"1998",
@ -1385,15 +1385,15 @@ ProcArg brush_close_popup_in_args[] =
{
{ PDB_STRING,
"callback_PDB_entry_name",
N_("The name of the callback registered for this popup"),
"The name of the callback registered for this popup",
},
};
ProcRecord brushes_close_popup_proc =
{
"gimp_brushes_close_popup",
N_("Popdown the Gimp brush selection"),
N_("This procedure closes an opened brush selection dialog"),
"Popdown the Gimp brush selection",
"This procedure closes an opened brush selection dialog",
"Andy Thomas",
"Andy Thomas",
"1998",
@ -1473,31 +1473,31 @@ ProcArg brush_set_popup_in_args[] =
{
{ PDB_STRING,
"callback_PDB_entry_name",
N_("The name of the callback registered for this popup"),
"The name of the callback registered for this popup",
},
{ PDB_STRING,
"brushname",
N_("The name of the brush to set as selected"),
"The name of the brush to set as selected",
},
{ PDB_FLOAT,
"opacity",
N_("The initial opacity of the brush"),
"The initial opacity of the brush",
},
{ PDB_INT32,
"spacing",
N_("The initial spacing of the brush (if < 0 then use brush default spacing)"),
"The initial spacing of the brush (if < 0 then use brush default spacing)",
},
{ PDB_INT32,
"initial paint mode",
N_("The initial paint mode: { NORMAL (0), DISSOLVE (1), BEHIND (2), MULTIPLY/BURN (3), SCREEN (4), OVERLAY (5) DIFFERENCE (6), ADDITION (7), SUBTRACT (8), DARKEN-ONLY (9), LIGHTEN-ONLY (10), HUE (11), SATURATION (12), COLOR (13), VALUE (14), DIVIDE/DODGE (15) }"),
"The initial paint mode: { NORMAL (0), DISSOLVE (1), BEHIND (2), MULTIPLY/BURN (3), SCREEN (4), OVERLAY (5) DIFFERENCE (6), ADDITION (7), SUBTRACT (8), DARKEN-ONLY (9), LIGHTEN-ONLY (10), HUE (11), SATURATION (12), COLOR (13), VALUE (14), DIVIDE/DODGE (15) }",
},
};
ProcRecord brushes_set_popup_proc =
{
"gimp_brushes_set_popup",
N_("Sets the current brush selection in a popup"),
N_("Sets the current brush selection in a popup"),
"Sets the current brush selection in a popup",
"Sets the current brush selection in a popup",
"Andy Thomas",
"Andy Thomas",
"1998",

View File

@ -190,7 +190,7 @@ channel_copy (Channel *channel)
/* don't have rudundant "copy"s */
sprintf (channel_name, "%s", name);
else
sprintf (channel_name, N_("%s copy"), name);
sprintf (channel_name, _("%s copy"), name);
/* allocate a new channel object */
new_channel = channel_new (GIMP_DRAWABLE(channel)->gimage,

View File

@ -28,6 +28,8 @@
#include "interface.h"
#include "palette.h"
#include "libgimp/gimpintl.h"
#include "channel_pvt.h"
#define ENTRY_WIDTH 60
@ -100,7 +102,7 @@ channel_ops_offset (GimpImage* gimage)
off_d->dlg = gtk_dialog_new ();
gtk_window_set_wmclass (GTK_WINDOW (off_d->dlg), "offset", "Gimp");
gtk_window_set_title (GTK_WINDOW (off_d->dlg), "Offset");
gtk_window_set_title (GTK_WINDOW (off_d->dlg), _("Offset"));
/* handle the wm close signal */
gtk_signal_connect (GTK_OBJECT (off_d->dlg), "delete_event",
@ -108,7 +110,7 @@ channel_ops_offset (GimpImage* gimage)
off_d);
/* Action area */
button = gtk_button_new_with_label ("OK");
button = gtk_button_new_with_label (_("OK"));
GTK_WIDGET_SET_FLAGS (button, GTK_CAN_DEFAULT);
gtk_signal_connect (GTK_OBJECT (button), "clicked",
(GtkSignalFunc) offset_ok_callback,
@ -117,7 +119,7 @@ channel_ops_offset (GimpImage* gimage)
gtk_widget_grab_default (button);
gtk_widget_show (button);
button = gtk_button_new_with_label ("Cancel");
button = gtk_button_new_with_label (_("Cancel"));
GTK_WIDGET_SET_FLAGS (button, GTK_CAN_DEFAULT);
gtk_signal_connect (GTK_OBJECT (button), "clicked",
(GtkSignalFunc) offset_cancel_callback,
@ -134,7 +136,7 @@ channel_ops_offset (GimpImage* gimage)
table = gtk_table_new (2, 2, FALSE);
gtk_box_pack_start (GTK_BOX (vbox), table, TRUE, TRUE, 0);
label = gtk_label_new ("Offset X:");
label = gtk_label_new (_("Offset X:"));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 0, 1, GTK_FILL, GTK_FILL, 2, 2);
off_d->off_x_entry = gtk_entry_new ();
@ -144,7 +146,7 @@ channel_ops_offset (GimpImage* gimage)
gtk_widget_show (label);
gtk_widget_show (off_d->off_x_entry);
label = gtk_label_new ("Offset Y:");
label = gtk_label_new (_("Offset Y:"));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 1, 2, GTK_FILL, GTK_FILL, 2, 2);
off_d->off_y_entry = gtk_entry_new ();
@ -156,19 +158,19 @@ channel_ops_offset (GimpImage* gimage)
gtk_widget_show (table);
/* the wrap around option */
check = gtk_check_button_new_with_label ("Wrap-Around");
check = gtk_check_button_new_with_label (_("Wrap-Around"));
gtk_box_pack_start (GTK_BOX (vbox), check, FALSE, FALSE, 0);
gtk_widget_show (check);
/* The fill options */
off_d->fill_options = gtk_frame_new ("Fill Options");
off_d->fill_options = gtk_frame_new (_("Fill Options"));
gtk_frame_set_shadow_type (GTK_FRAME (off_d->fill_options), GTK_SHADOW_ETCHED_IN);
gtk_box_pack_start (GTK_BOX (vbox), off_d->fill_options, FALSE, TRUE, 0);
toggle_vbox = gtk_vbox_new (FALSE, 1);
gtk_container_set_border_width (GTK_CONTAINER (toggle_vbox), 5);
gtk_container_add (GTK_CONTAINER (off_d->fill_options), toggle_vbox);
toggle = gtk_radio_button_new_with_label (group, "Background");
toggle = gtk_radio_button_new_with_label (group, _("Background"));
group = gtk_radio_button_group (GTK_RADIO_BUTTON (toggle));
gtk_box_pack_start (GTK_BOX (toggle_vbox), toggle, FALSE, FALSE, 0);
gtk_signal_connect (GTK_OBJECT (toggle), "toggled",
@ -179,7 +181,7 @@ channel_ops_offset (GimpImage* gimage)
if (drawable_has_alpha (drawable))
{
toggle = gtk_radio_button_new_with_label (group, "Transparent");
toggle = gtk_radio_button_new_with_label (group, _("Transparent"));
group = gtk_radio_button_group (GTK_RADIO_BUTTON (toggle));
gtk_box_pack_start (GTK_BOX (toggle_vbox), toggle, FALSE, FALSE, 0);
gtk_signal_connect (GTK_OBJECT (toggle), "toggled",
@ -190,7 +192,7 @@ channel_ops_offset (GimpImage* gimage)
}
/* the by half height and half width offtion */
push = gtk_button_new_with_label ("Offset by (x/2),(y/2)");
push = gtk_button_new_with_label (_("Offset by (x/2),(y/2)"));
gtk_box_pack_start (GTK_BOX (vbox), push, FALSE, FALSE,0);
gtk_widget_show (push);

View File

@ -151,9 +151,6 @@ static GdkPixmap *channel_pixmap[3] = { NULL, NULL, NULL };
static int suspend_gimage_notify = 0;
static guint32 button_click_time = 0;
static int button_last_id = 0;
static MenuItem channels_ops[] =
{
{ N_("New Channel"), 'N', GDK_CONTROL_MASK,
@ -322,7 +319,7 @@ channels_dialog_flush ()
/* Switch positions of items if necessary */
list = channelsD->channel_widgets;
pos = -channelsD->num_components + 1;
pos = -channelsD->num_components;
while (list)
{
cw = (ChannelWidget *) list->data;
@ -770,16 +767,6 @@ channel_list_events (GtkWidget *widget,
gtk_menu_popup (GTK_MENU (channelsD->ops_menu), NULL, NULL, NULL, NULL, bevent->button, bevent->time);
return TRUE;
}
/* Grumble - we have to handle double clicks ourselves because channels_dialog_flush is broken */
if (channel_widget->type == Auxillary) {
if ((event->button.time < (button_click_time + 250)) && (channel_widget->ID == button_last_id)) {
channels_dialog_edit_channel_query (channel_widget);
return TRUE;
} else {
button_click_time = event->button.time;
button_last_id = channel_widget->ID;
}
}
break;
case GDK_2BUTTON_PRESS:

View File

@ -549,31 +549,31 @@ ProcArg clone_args[] =
{
{ PDB_DRAWABLE,
"drawable",
N_("the drawable")
"the drawable"
},
{ PDB_DRAWABLE,
"src_drawable",
N_("the source drawable")
"the source drawable"
},
{ PDB_INT32,
"clone_type",
N_("the type of clone: { IMAGE-CLONE (0), PATTERN-CLONE (1) }")
"the type of clone: { IMAGE-CLONE (0), PATTERN-CLONE (1) }"
},
{ PDB_FLOAT,
"src_x",
N_("the x coordinate in the source image")
"the x coordinate in the source image"
},
{ PDB_FLOAT,
"src_y",
N_("the y coordinate in the source image")
"the y coordinate in the source image"
},
{ PDB_INT32,
"num_strokes",
N_("number of stroke control points (count each coordinate as 2 points)")
"number of stroke control points (count each coordinate as 2 points)"
},
{ PDB_FLOATARRAY,
"strokes",
N_("array of stroke coordinates: {s1.x, s1.y, s2.x, s2.y, ..., sn.x, sn.y}")
"array of stroke coordinates: {s1.x, s1.y, s2.x, s2.y, ..., sn.x, sn.y}"
}
};
@ -581,8 +581,8 @@ ProcArg clone_args[] =
ProcRecord clone_proc =
{
"gimp_clone",
N_("Clone from the source to the dest drawable using the current brush"),
N_("This tool clones (copies) from the source drawable starting at the specified source coordinates to the dest drawable. If the \"clone_type\" argument is set to PATTERN-CLONE, then the current pattern is used as the source and the \"src_drawable\" argument is ignored. Pattern cloning assumes a tileable pattern and mods the sum of the src coordinates and subsequent stroke offsets with the width and height of the pattern. For image cloning, if the sum of the src coordinates and subsequent stroke offsets exceeds the extents of the src drawable, then no paint is transferred. The clone tool is capable of transforming between any image types including RGB->Indexed--although converting from any type to indexed is significantly slower."),
"Clone from the source to the dest drawable using the current brush",
"This tool clones (copies) from the source drawable starting at the specified source coordinates to the dest drawable. If the \"clone_type\" argument is set to PATTERN-CLONE, then the current pattern is used as the source and the \"src_drawable\" argument is ignored. Pattern cloning assumes a tileable pattern and mods the sum of the src coordinates and subsequent stroke offsets with the width and height of the pattern. For image cloning, if the sum of the src coordinates and subsequent stroke offsets exceeds the extents of the src drawable, then no paint is transferred. The clone tool is capable of transforming between any image types including RGB->Indexed--although converting from any type to indexed is significantly slower.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",

View File

@ -392,7 +392,7 @@ color_balance_new_dialog ()
/* The shell and main vbox */
cbd->shell = gtk_dialog_new ();
gtk_window_set_wmclass (GTK_WINDOW (cbd->shell), "color_balance", "Gimp");
gtk_window_set_title (GTK_WINDOW (cbd->shell), N_("Color Balance"));
gtk_window_set_title (GTK_WINDOW (cbd->shell), _("Color Balance"));
/* handle the wm close signal */
gtk_signal_connect (GTK_OBJECT (cbd->shell), "delete_event",
@ -879,35 +879,35 @@ ProcArg color_balance_args[] =
{
{ PDB_DRAWABLE,
"drawable",
N_("the drawable")
"the drawable"
},
{ PDB_INT32,
"transfer_mode",
N_("Transfer mode: { SHADOWS (0), MIDTONES (1), HIGHLIGHTS (2) }")
"Transfer mode: { SHADOWS (0), MIDTONES (1), HIGHLIGHTS (2) }"
},
{ PDB_INT32,
"preserve_lum",
N_("Preserve luminosity values at each pixel")
"Preserve luminosity values at each pixel"
},
{ PDB_FLOAT,
"cyan_red",
N_("Cyan-Red color balance: (-100 <= cyan_red <= 100)")
"Cyan-Red color balance: (-100 <= cyan_red <= 100)"
},
{ PDB_FLOAT,
"magenta_green",
N_("Magenta-Green color balance: (-100 <= magenta_green <= 100)")
"Magenta-Green color balance: (-100 <= magenta_green <= 100)"
},
{ PDB_FLOAT,
"yellow_blue",
N_("Yellow-Blue color balance: (-100 <= yellow_blue <= 100)")
"Yellow-Blue color balance: (-100 <= yellow_blue <= 100)"
}
};
ProcRecord color_balance_proc =
{
"gimp_color_balance",
N_("Modify the color balance of the specified drawable"),
N_("Modify the color balance of the specified drawable. There are three axis which can be modified: cyan-red, magenta-green, and yellow-blue. Negative values increase the amount of the former, positive values increase the amount of the latter. Color balance can be controlled with the 'transfer_mode' setting, which allows shadows, midtones, and highlights in an image to be affected differently. The 'preserve_lum' parameter, if non-zero, ensures that the luminosity of each pixel remains fixed."),
"Modify the color balance of the specified drawable",
"Modify the color balance of the specified drawable. There are three axis which can be modified: cyan-red, magenta-green, and yellow-blue. Negative values increase the amount of the former, positive values increase the amount of the latter. Color balance can be controlled with the 'transfer_mode' setting, which allows shadows, midtones, and highlights in an image to be affected differently. The 'preserve_lum' parameter, if non-zero, ensures that the luminosity of each pixel remains fixed.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1997",

View File

@ -426,23 +426,23 @@ ProcArg convolve_args[] =
{
{ PDB_DRAWABLE,
"drawable",
N_("the drawable")
"the drawable"
},
{ PDB_FLOAT,
"pressure",
N_("the pressure: 0 <= pressure <= 100")
"the pressure: 0 <= pressure <= 100"
},
{ PDB_INT32,
"convolve_type",
N_("convolve type: { BLUR (0), SHARPEN (1) }")
"convolve type: { BLUR (0), SHARPEN (1) }"
},
{ PDB_INT32,
"num_strokes",
N_("number of stroke control points (count each coordinate as 2 points)")
"number of stroke control points (count each coordinate as 2 points)"
},
{ PDB_FLOATARRAY,
"strokes",
N_("array of stroke coordinates: {s1.x, s1.y, s2.x, s2.y, ..., sn.x, sn.y}")
"array of stroke coordinates: {s1.x, s1.y, s2.x, s2.y, ..., sn.x, sn.y}"
}
};
@ -450,8 +450,8 @@ ProcArg convolve_args[] =
ProcRecord convolve_proc =
{
"gimp_convolve",
N_("Convolve (Blur, Sharpen) using the current brush"),
N_("This tool convolves the specified drawable with either a sharpening or blurring kernel. The pressure parameter controls the magnitude of the operation. Like the paintbrush, this tool linearly interpolates between the specified stroke coordinates."),
"Convolve (Blur, Sharpen) using the current brush",
"This tool convolves the specified drawable with either a sharpening or blurring kernel. The pressure parameter controls the magnitude of the operation. Like the paintbrush, this tool linearly interpolates between the specified stroke coordinates.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",

View File

@ -190,7 +190,7 @@ channel_copy (Channel *channel)
/* don't have rudundant "copy"s */
sprintf (channel_name, "%s", name);
else
sprintf (channel_name, N_("%s copy"), name);
sprintf (channel_name, _("%s copy"), name);
/* allocate a new channel object */
new_channel = channel_new (GIMP_DRAWABLE(channel)->gimage,

View File

@ -190,7 +190,7 @@ channel_copy (Channel *channel)
/* don't have rudundant "copy"s */
sprintf (channel_name, "%s", name);
else
sprintf (channel_name, N_("%s copy"), name);
sprintf (channel_name, _("%s copy"), name);
/* allocate a new channel object */
new_channel = channel_new (GIMP_DRAWABLE(channel)->gimage,

View File

@ -1712,67 +1712,67 @@ ProcArg blend_args[] =
{
{ PDB_DRAWABLE,
"drawable",
N_("The affected drawable")
"The affected drawable"
},
{ PDB_INT32,
"blend_mode",
N_("The type of blend: { FG-BG-RGB (0), FG-BG-HSV (1), FG-TRANS (2), CUSTOM (3) }")
"The type of blend: { FG-BG-RGB (0), FG-BG-HSV (1), FG-TRANS (2), CUSTOM (3) }"
},
{ PDB_INT32,
"paint_mode",
N_("the paint application mode: { NORMAL (0), DISSOLVE (1), BEHIND (2), MULTIPLY/BURN (3), SCREEN (4), OVERLAY (5) DIFFERENCE (6), ADDITION (7), SUBTRACT (8), DARKEN-ONLY (9), LIGHTEN-ONLY (10), HUE (11), SATURATION (12), COLOR (13), VALUE (14), DIVIDE/DODGE (15) }")
"the paint application mode: { NORMAL (0), DISSOLVE (1), BEHIND (2), MULTIPLY/BURN (3), SCREEN (4), OVERLAY (5) DIFFERENCE (6), ADDITION (7), SUBTRACT (8), DARKEN-ONLY (9), LIGHTEN-ONLY (10), HUE (11), SATURATION (12), COLOR (13), VALUE (14), DIVIDE/DODGE (15) }"
},
{ PDB_INT32,
"gradient_type",
N_("The type of gradient: { LINEAR (0), BILINEAR (1), RADIAL (2), SQUARE (3), CONICAL-SYMMETRIC (4), CONICAL-ASYMMETRIC (5), SHAPEBURST-ANGULAR (6), SHAPEBURST-SPHERICAL (7), SHAPEBURST-DIMPLED (8) }")
"The type of gradient: { LINEAR (0), BILINEAR (1), RADIAL (2), SQUARE (3), CONICAL-SYMMETRIC (4), CONICAL-ASYMMETRIC (5), SHAPEBURST-ANGULAR (6), SHAPEBURST-SPHERICAL (7), SHAPEBURST-DIMPLED (8) }"
},
{ PDB_FLOAT,
"opacity",
N_("The opacity of the final blend (0 <= opacity <= 100)")
"The opacity of the final blend (0 <= opacity <= 100)"
},
{ PDB_FLOAT,
"offset",
N_("Offset relates to the starting and ending coordinates specified for the blend. This parameter is mode depndent (0 <= offset)")
"Offset relates to the starting and ending coordinates specified for the blend. This parameter is mode depndent (0 <= offset)"
},
{ PDB_INT32,
"repeat",
N_("Repeat mode: { REPEAT-NONE (0), REPEAT-SAWTOOTH (1), REPEAT-TRIANGULAR (2) }")
"Repeat mode: { REPEAT-NONE (0), REPEAT-SAWTOOTH (1), REPEAT-TRIANGULAR (2) }"
},
{ PDB_INT32,
"supersample",
N_("Do adaptive supersampling (true / false)")
"Do adaptive supersampling (true / false)"
},
{ PDB_INT32,
"max_depth",
N_("Maximum recursion levels for supersampling")
"Maximum recursion levels for supersampling"
},
{ PDB_FLOAT,
"threshold",
N_("Supersampling threshold")
"Supersampling threshold"
},
{ PDB_FLOAT,
"x1",
N_("The x coordinate of this blend's starting point")
"The x coordinate of this blend's starting point"
},
{ PDB_FLOAT,
"y1",
N_("The y coordinate of this blend's starting point")
"The y coordinate of this blend's starting point"
},
{ PDB_FLOAT,
"x2",
N_("The x coordinate of this blend's ending point")
"The x coordinate of this blend's ending point"
},
{ PDB_FLOAT,
"y2",
N_("The y coordinate of this blend's ending point")
"The y coordinate of this blend's ending point"
}
};
ProcRecord blend_proc =
{
"gimp_blend",
N_("Blend between the starting and ending coordinates with the specified blend mode and gradient type."),
N_("This tool requires information on the paint application mode, the blend mode, and the gradient type. It creates the specified variety of blend using the starting and ending coordinates as defined for each gradient type."),
"Blend between the starting and ending coordinates with the specified blend mode and gradient type.",
"This tool requires information on the paint application mode, the blend mode, and the gradient type. It creates the specified variety of blend using the starting and ending coordinates as defined for each gradient type.",
"Spencer Kimball & Peter Mattis & Federico Mena Quintero",
"Spencer Kimball & Peter Mattis & Federico Mena Quintero",
"1995-1996",

View File

@ -236,19 +236,19 @@ ProcArg equalize_args[] =
{
{ PDB_DRAWABLE,
"drawable",
N_("the drawable")
"the drawable"
},
{ PDB_INT32,
"mask_only",
N_("equalization option")
"equalization option"
}
};
ProcRecord equalize_proc =
{
"gimp_equalize",
N_("Equalize the contents of the specified drawable"),
N_("This procedure equalizes the contents of the specified drawable. Each intensity channel is equalizeed independently. The equalizeed intensity is given as inten' = (255 - inten). Indexed color drawables are not valid for this operation. The 'mask_only' option specifies whether to adjust only the area of the image within the selection bounds, or the entire image based on the histogram of the selected area. If there is no selection, the entire image is adjusted based on the histogram for the entire image."),
"Equalize the contents of the specified drawable",
"This procedure equalizes the contents of the specified drawable. Each intensity channel is equalizeed independently. The equalizeed intensity is given as inten' = (255 - inten). Indexed color drawables are not valid for this operation. The 'mask_only' option specifies whether to adjust only the area of the image within the selection bounds, or the entire image based on the histogram of the selected area. If there is no selection, the entire image is adjusted based on the histogram for the entire image.",
"Federico Mena Quintero & Spencer Kimball & Peter Mattis",
"Federico Mena Quintero & Spencer Kimball & Peter Mattis",
"1996",

View File

@ -28,6 +28,8 @@
#include "interface.h"
#include "palette.h"
#include "libgimp/gimpintl.h"
#include "channel_pvt.h"
#define ENTRY_WIDTH 60
@ -100,7 +102,7 @@ channel_ops_offset (GimpImage* gimage)
off_d->dlg = gtk_dialog_new ();
gtk_window_set_wmclass (GTK_WINDOW (off_d->dlg), "offset", "Gimp");
gtk_window_set_title (GTK_WINDOW (off_d->dlg), "Offset");
gtk_window_set_title (GTK_WINDOW (off_d->dlg), _("Offset"));
/* handle the wm close signal */
gtk_signal_connect (GTK_OBJECT (off_d->dlg), "delete_event",
@ -108,7 +110,7 @@ channel_ops_offset (GimpImage* gimage)
off_d);
/* Action area */
button = gtk_button_new_with_label ("OK");
button = gtk_button_new_with_label (_("OK"));
GTK_WIDGET_SET_FLAGS (button, GTK_CAN_DEFAULT);
gtk_signal_connect (GTK_OBJECT (button), "clicked",
(GtkSignalFunc) offset_ok_callback,
@ -117,7 +119,7 @@ channel_ops_offset (GimpImage* gimage)
gtk_widget_grab_default (button);
gtk_widget_show (button);
button = gtk_button_new_with_label ("Cancel");
button = gtk_button_new_with_label (_("Cancel"));
GTK_WIDGET_SET_FLAGS (button, GTK_CAN_DEFAULT);
gtk_signal_connect (GTK_OBJECT (button), "clicked",
(GtkSignalFunc) offset_cancel_callback,
@ -134,7 +136,7 @@ channel_ops_offset (GimpImage* gimage)
table = gtk_table_new (2, 2, FALSE);
gtk_box_pack_start (GTK_BOX (vbox), table, TRUE, TRUE, 0);
label = gtk_label_new ("Offset X:");
label = gtk_label_new (_("Offset X:"));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 0, 1, GTK_FILL, GTK_FILL, 2, 2);
off_d->off_x_entry = gtk_entry_new ();
@ -144,7 +146,7 @@ channel_ops_offset (GimpImage* gimage)
gtk_widget_show (label);
gtk_widget_show (off_d->off_x_entry);
label = gtk_label_new ("Offset Y:");
label = gtk_label_new (_("Offset Y:"));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 1, 2, GTK_FILL, GTK_FILL, 2, 2);
off_d->off_y_entry = gtk_entry_new ();
@ -156,19 +158,19 @@ channel_ops_offset (GimpImage* gimage)
gtk_widget_show (table);
/* the wrap around option */
check = gtk_check_button_new_with_label ("Wrap-Around");
check = gtk_check_button_new_with_label (_("Wrap-Around"));
gtk_box_pack_start (GTK_BOX (vbox), check, FALSE, FALSE, 0);
gtk_widget_show (check);
/* The fill options */
off_d->fill_options = gtk_frame_new ("Fill Options");
off_d->fill_options = gtk_frame_new (_("Fill Options"));
gtk_frame_set_shadow_type (GTK_FRAME (off_d->fill_options), GTK_SHADOW_ETCHED_IN);
gtk_box_pack_start (GTK_BOX (vbox), off_d->fill_options, FALSE, TRUE, 0);
toggle_vbox = gtk_vbox_new (FALSE, 1);
gtk_container_set_border_width (GTK_CONTAINER (toggle_vbox), 5);
gtk_container_add (GTK_CONTAINER (off_d->fill_options), toggle_vbox);
toggle = gtk_radio_button_new_with_label (group, "Background");
toggle = gtk_radio_button_new_with_label (group, _("Background"));
group = gtk_radio_button_group (GTK_RADIO_BUTTON (toggle));
gtk_box_pack_start (GTK_BOX (toggle_vbox), toggle, FALSE, FALSE, 0);
gtk_signal_connect (GTK_OBJECT (toggle), "toggled",
@ -179,7 +181,7 @@ channel_ops_offset (GimpImage* gimage)
if (drawable_has_alpha (drawable))
{
toggle = gtk_radio_button_new_with_label (group, "Transparent");
toggle = gtk_radio_button_new_with_label (group, _("Transparent"));
group = gtk_radio_button_group (GTK_RADIO_BUTTON (toggle));
gtk_box_pack_start (GTK_BOX (toggle_vbox), toggle, FALSE, FALSE, 0);
gtk_signal_connect (GTK_OBJECT (toggle), "toggled",
@ -190,7 +192,7 @@ channel_ops_offset (GimpImage* gimage)
}
/* the by half height and half width offtion */
push = gtk_button_new_with_label ("Offset by (x/2),(y/2)");
push = gtk_button_new_with_label (_("Offset by (x/2),(y/2)"));
gtk_box_pack_start (GTK_BOX (vbox), push, FALSE, FALSE,0);
gtk_widget_show (push);

View File

@ -28,6 +28,8 @@
#include "interface.h"
#include "palette.h"
#include "libgimp/gimpintl.h"
#include "channel_pvt.h"
#define ENTRY_WIDTH 60
@ -100,7 +102,7 @@ channel_ops_offset (GimpImage* gimage)
off_d->dlg = gtk_dialog_new ();
gtk_window_set_wmclass (GTK_WINDOW (off_d->dlg), "offset", "Gimp");
gtk_window_set_title (GTK_WINDOW (off_d->dlg), "Offset");
gtk_window_set_title (GTK_WINDOW (off_d->dlg), _("Offset"));
/* handle the wm close signal */
gtk_signal_connect (GTK_OBJECT (off_d->dlg), "delete_event",
@ -108,7 +110,7 @@ channel_ops_offset (GimpImage* gimage)
off_d);
/* Action area */
button = gtk_button_new_with_label ("OK");
button = gtk_button_new_with_label (_("OK"));
GTK_WIDGET_SET_FLAGS (button, GTK_CAN_DEFAULT);
gtk_signal_connect (GTK_OBJECT (button), "clicked",
(GtkSignalFunc) offset_ok_callback,
@ -117,7 +119,7 @@ channel_ops_offset (GimpImage* gimage)
gtk_widget_grab_default (button);
gtk_widget_show (button);
button = gtk_button_new_with_label ("Cancel");
button = gtk_button_new_with_label (_("Cancel"));
GTK_WIDGET_SET_FLAGS (button, GTK_CAN_DEFAULT);
gtk_signal_connect (GTK_OBJECT (button), "clicked",
(GtkSignalFunc) offset_cancel_callback,
@ -134,7 +136,7 @@ channel_ops_offset (GimpImage* gimage)
table = gtk_table_new (2, 2, FALSE);
gtk_box_pack_start (GTK_BOX (vbox), table, TRUE, TRUE, 0);
label = gtk_label_new ("Offset X:");
label = gtk_label_new (_("Offset X:"));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 0, 1, GTK_FILL, GTK_FILL, 2, 2);
off_d->off_x_entry = gtk_entry_new ();
@ -144,7 +146,7 @@ channel_ops_offset (GimpImage* gimage)
gtk_widget_show (label);
gtk_widget_show (off_d->off_x_entry);
label = gtk_label_new ("Offset Y:");
label = gtk_label_new (_("Offset Y:"));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 1, 2, GTK_FILL, GTK_FILL, 2, 2);
off_d->off_y_entry = gtk_entry_new ();
@ -156,19 +158,19 @@ channel_ops_offset (GimpImage* gimage)
gtk_widget_show (table);
/* the wrap around option */
check = gtk_check_button_new_with_label ("Wrap-Around");
check = gtk_check_button_new_with_label (_("Wrap-Around"));
gtk_box_pack_start (GTK_BOX (vbox), check, FALSE, FALSE, 0);
gtk_widget_show (check);
/* The fill options */
off_d->fill_options = gtk_frame_new ("Fill Options");
off_d->fill_options = gtk_frame_new (_("Fill Options"));
gtk_frame_set_shadow_type (GTK_FRAME (off_d->fill_options), GTK_SHADOW_ETCHED_IN);
gtk_box_pack_start (GTK_BOX (vbox), off_d->fill_options, FALSE, TRUE, 0);
toggle_vbox = gtk_vbox_new (FALSE, 1);
gtk_container_set_border_width (GTK_CONTAINER (toggle_vbox), 5);
gtk_container_add (GTK_CONTAINER (off_d->fill_options), toggle_vbox);
toggle = gtk_radio_button_new_with_label (group, "Background");
toggle = gtk_radio_button_new_with_label (group, _("Background"));
group = gtk_radio_button_group (GTK_RADIO_BUTTON (toggle));
gtk_box_pack_start (GTK_BOX (toggle_vbox), toggle, FALSE, FALSE, 0);
gtk_signal_connect (GTK_OBJECT (toggle), "toggled",
@ -179,7 +181,7 @@ channel_ops_offset (GimpImage* gimage)
if (drawable_has_alpha (drawable))
{
toggle = gtk_radio_button_new_with_label (group, "Transparent");
toggle = gtk_radio_button_new_with_label (group, _("Transparent"));
group = gtk_radio_button_group (GTK_RADIO_BUTTON (toggle));
gtk_box_pack_start (GTK_BOX (toggle_vbox), toggle, FALSE, FALSE, 0);
gtk_signal_connect (GTK_OBJECT (toggle), "toggled",
@ -190,7 +192,7 @@ channel_ops_offset (GimpImage* gimage)
}
/* the by half height and half width offtion */
push = gtk_button_new_with_label ("Offset by (x/2),(y/2)");
push = gtk_button_new_with_label (_("Offset by (x/2),(y/2)"));
gtk_box_pack_start (GTK_BOX (vbox), push, FALSE, FALSE,0);
gtk_widget_show (push);

View File

@ -33,6 +33,8 @@
#include "parasitelist.h"
#include "undo.h"
#include "libgimp/gimpintl.h"
#include "layer_pvt.h"
#include "tile_manager_pvt.h"
#include "tile.h" /* ick. */
@ -236,7 +238,7 @@ layer_new (gimage, width, height, type, name, opacity, mode)
Layer * layer;
if (width == 0 || height == 0) {
g_message ("Zero width or height layers not allowed.");
g_message (_("Zero width or height layers not allowed."));
return NULL;
}
@ -304,13 +306,13 @@ layer_copy (layer, add_alpha)
name = layer_get_name(layer);
ext = strrchr(name, '#');
layer_name = (char *) g_malloc (strlen (name) + 6);
if ((strlen(name) >= 4 && strcmp(&name[strlen(name) -4], "copy") == 0) ||
if ((strlen(name) >= 4 && strcmp(&name[strlen(name) -4], _("copy")) == 0) ||
(ext && (number = atoi(ext+1)) > 0 &&
((int)(log10(number) + 1)) == strlen(ext+1)))
/* don't have rudundant "copy"s */
sprintf (layer_name, "%s", name);
else
sprintf (layer_name, "%s copy", name);
sprintf (layer_name, _("%s copy"), name);
/* when copying a layer, the copy ALWAYS has an alpha channel */
if (add_alpha)
{
@ -339,7 +341,7 @@ layer_copy (layer, add_alpha)
GIMP_DRAWABLE(layer)->height,
new_type, layer_name, layer->opacity, layer->mode);
if (!new_layer) {
g_message ("layer_copy: could not allocate new layer");
g_message (_("layer_copy: could not allocate new layer"));
goto cleanup;
}
@ -416,7 +418,7 @@ layer_from_tiles (gimage_ptr, drawable, tiles, name, opacity, mode)
layer_type, name, opacity, mode);
if (!new_layer) {
g_message ("layer_from_tiles: could not allocate new layer");
g_message (_("layer_from_tiles: could not allocate new layer"));
return NULL;
}
@ -471,8 +473,8 @@ layer_create_mask (layer, add_mask_type)
unsigned char white_mask = OPAQUE_OPACITY;
unsigned char black_mask = TRANSPARENT_OPACITY;
mask_name = (char *) g_malloc (strlen (GIMP_DRAWABLE(layer)->name) + strlen ("mask") + 2);
sprintf (mask_name, "%s mask", GIMP_DRAWABLE(layer)->name);
mask_name = (char *) g_malloc (strlen (GIMP_DRAWABLE(layer)->name) + strlen (_("mask")) + 2);
sprintf (mask_name, _("%s mask"), GIMP_DRAWABLE(layer)->name);
/* Create the layer mask */
mask = layer_mask_new (GIMP_DRAWABLE(layer)->gimage, GIMP_DRAWABLE(layer)->width, GIMP_DRAWABLE(layer)->height,
@ -1425,7 +1427,7 @@ layer_mask_copy (LayerMask *layer_mask)
/* formulate the new layer_mask name */
layer_mask_name = (char *) g_malloc (strlen (GIMP_DRAWABLE(layer_mask)->name) + 6);
sprintf (layer_mask_name, "%s copy", GIMP_DRAWABLE(layer_mask)->name);
sprintf (layer_mask_name, _("%s copy"), GIMP_DRAWABLE(layer_mask)->name);
/* allocate a new layer_mask object */
new_layer_mask = layer_mask_new (GIMP_DRAWABLE(layer_mask)->gimage,

View File

@ -23,6 +23,8 @@
#include "interface.h"
#include "session.h"
#include "libgimp/gimpintl.h"
/* static functions */
static InfoField * info_field_new (InfoDialog *, char *, char *, GtkSignalFunc, gpointer);
static void update_field (InfoField *);
@ -44,7 +46,7 @@ info_field_new (InfoDialog *idialog,
row = idialog->nfields + 1;
gtk_table_resize (GTK_TABLE (idialog->info_table), 2, row);
label = gtk_label_new (title);
label = gtk_label_new (gettext(title));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach_defaults (GTK_TABLE (idialog->info_table), label,
0, 1, row - 1, row);
@ -113,7 +115,7 @@ info_dialog_new (char *title)
shell = gtk_dialog_new ();
gtk_window_set_wmclass (GTK_WINDOW (shell), "info_dialog", "Gimp");
gtk_window_set_title (GTK_WINDOW (shell), title);
gtk_window_set_title (GTK_WINDOW (shell), gettext(title));
session_set_window_geometry (shell, &info_dialog_session_info, FALSE );
gtk_signal_connect (GTK_OBJECT (shell), "delete_event",

View File

@ -26,6 +26,8 @@
#include "layer_select.h"
#include "layers_dialogP.h"
#include "libgimp/gimpintl.h"
#define PREVIEW_EVENT_MASK GDK_EXPOSURE_MASK | GDK_ENTER_NOTIFY_MASK
@ -96,7 +98,7 @@ layer_select_init (GImage *gimage,
/* The shell and main vbox */
layer_select->shell = gtk_window_new (GTK_WINDOW_POPUP);
gtk_window_set_wmclass (GTK_WINDOW (layer_select->shell), "layer_select", "Gimp");
gtk_window_set_title (GTK_WINDOW (layer_select->shell), "Layer Select");
gtk_window_set_title (GTK_WINDOW (layer_select->shell), _("Layer Select"));
gtk_window_set_position (GTK_WINDOW (layer_select->shell), GTK_WIN_POS_MOUSE);
gtk_signal_connect (GTK_OBJECT (layer_select->shell), "event",
(GtkSignalFunc) layer_select_events,
@ -132,7 +134,7 @@ layer_select_init (GImage *gimage,
gtk_widget_show (alignment);
/* the layer name label */
layer_select->label = gtk_label_new ("Layer");
layer_select->label = gtk_label_new (_("Layer"));
gtk_box_pack_start (GTK_BOX (hbox), layer_select->label, FALSE, FALSE, 2);
gtk_widget_show (layer_select->label);

View File

@ -24,6 +24,8 @@
#include "gdisplay.h"
#include "undo.h"
#include "libgimp/gimpintl.h"
int
drawable_ID (GimpDrawable *drawable)
{
@ -55,7 +57,7 @@ drawable_fill (GimpDrawable *drawable, int fill_type){
return;
default:
g_warning ("drawable_fill called with unknown fill type");
g_warning (_("drawable_fill called with unknown fill type"));
a=r=g=b=0;
break;
}

View File

@ -236,19 +236,19 @@ ProcArg equalize_args[] =
{
{ PDB_DRAWABLE,
"drawable",
N_("the drawable")
"the drawable"
},
{ PDB_INT32,
"mask_only",
N_("equalization option")
"equalization option"
}
};
ProcRecord equalize_proc =
{
"gimp_equalize",
N_("Equalize the contents of the specified drawable"),
N_("This procedure equalizes the contents of the specified drawable. Each intensity channel is equalizeed independently. The equalizeed intensity is given as inten' = (255 - inten). Indexed color drawables are not valid for this operation. The 'mask_only' option specifies whether to adjust only the area of the image within the selection bounds, or the entire image based on the histogram of the selected area. If there is no selection, the entire image is adjusted based on the histogram for the entire image."),
"Equalize the contents of the specified drawable",
"This procedure equalizes the contents of the specified drawable. Each intensity channel is equalizeed independently. The equalizeed intensity is given as inten' = (255 - inten). Indexed color drawables are not valid for this operation. The 'mask_only' option specifies whether to adjust only the area of the image within the selection bounds, or the entire image based on the histogram of the selected area. If there is no selection, the entire image is adjusted based on the histogram for the entire image.",
"Federico Mena Quintero & Spencer Kimball & Peter Mattis",
"Federico Mena Quintero & Spencer Kimball & Peter Mattis",
"1996",

View File

@ -334,11 +334,11 @@ ProcArg flip_args[] =
{
{ PDB_DRAWABLE,
"drawable",
N_("the affected drawable")
"the affected drawable"
},
{ PDB_INT32,
"flip_type",
N_("Type of flip: { HORIZONTAL (0), VERTICAL (1) }")
"Type of flip: { HORIZONTAL (0), VERTICAL (1) }"
}
};
@ -346,15 +346,15 @@ ProcArg flip_out_args[] =
{
{ PDB_DRAWABLE,
"drawable",
N_("the flipped drawable")
"the flipped drawable"
}
};
ProcRecord flip_proc =
{
"gimp_flip",
N_("Flip the specified drawable about its center either vertically or horizontally"),
N_("This tool flips the specified drawable if no selection exists. If a selection exists, the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then flipd by the specified amount. The return value is the ID of the flipped drawable. If there was no selection, this will be equal to the drawable ID supplied as input. Otherwise, this will be the newly created and flipd drawable. The flip type parameter indicates whether the flip will be applied horizontally or vertically."),
"Flip the specified drawable about its center either vertically or horizontally",
"This tool flips the specified drawable if no selection exists. If a selection exists, the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then flipd by the specified amount. The return value is the ID of the flipped drawable. If there was no selection, this will be equal to the drawable ID supplied as input. Otherwise, this will be the newly created and flipd drawable. The flip type parameter indicates whether the flip will be applied horizontally or vertically.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",

View File

@ -61,15 +61,15 @@ ProcArg floating_sel_remove_args[] =
{
{ PDB_LAYER,
"floating_sel",
N_("the floating selection")
"the floating selection"
}
};
ProcRecord floating_sel_remove_proc =
{
"gimp_floating_sel_remove",
N_("Remove the specified floating selection from its associated drawable"),
N_("This procedure removes the floating selection completely, without any side effects. The associated drawable is then set to active."),
"Remove the specified floating selection from its associated drawable",
"This procedure removes the floating selection completely, without any side effects. The associated drawable is then set to active.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -119,15 +119,15 @@ ProcArg floating_sel_anchor_args[] =
{
{ PDB_LAYER,
"floating_sel",
N_("the floating selection")
"the floating selection"
}
};
ProcRecord floating_sel_anchor_proc =
{
"gimp_floating_sel_anchor",
N_("Anchor the specified floating selection to its associated drawable"),
N_("This procedure anchors the floating selection to its associated drawable. This is similar to merging with a merge type of ClipToBottomLayer. The floating selection layer is no longer valid after this operation."),
"Anchor the specified floating selection to its associated drawable",
"This procedure anchors the floating selection to its associated drawable. This is similar to merging with a merge type of ClipToBottomLayer. The floating selection layer is no longer valid after this operation.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -177,15 +177,15 @@ ProcArg floating_sel_to_layer_args[] =
{
{ PDB_LAYER,
"floating_sel",
N_("the floating selection")
"the floating selection"
}
};
ProcRecord floating_sel_to_layer_proc =
{
"gimp_floating_sel_to_layer",
N_("Transforms the specified floating selection into a layer"),
N_("This procedure transforms the specified floating selection into a layer with the same offsets and extents. The composited image will look precisely the same, but the floating selection layer will no longer be clipped to the extents of the drawable it was attached to. The floating selection will become the active layer. This procedure will not work if the floating selection has a different base type from the underlying image. This might be the case if the floating selection is above an auxillary channel or a layer mask."),
"Transforms the specified floating selection into a layer",
"This procedure transforms the specified floating selection into a layer with the same offsets and extents. The composited image will look precisely the same, but the floating selection layer will no longer be clipped to the extents of the drawable it was attached to. The floating selection will become the active layer. This procedure will not work if the floating selection has a different base type from the underlying image. This might be the case if the floating selection is above an auxillary channel or a layer mask.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -237,18 +237,18 @@ ProcArg floating_sel_attach_args[] =
{
{ PDB_LAYER,
"layer",
N_("the layer (is attached as floating selection)")
"the layer (is attached as floating selection)"
},
{ PDB_DRAWABLE,
"drawable",
N_("the drawable (where to attach the floating selection)")
"the drawable (where to attach the floating selection)"
}
};
ProcRecord floating_sel_attach_proc =
{
"gimp_floating_sel_attach",
N_("Attach the specified layer as floating to the specified drawable"),
"Attach the specified layer as floating to the specified drawable",
"This procedure attaches the layer as floating selection to the drawable.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
@ -305,18 +305,18 @@ ProcArg floating_sel_rigor_args[] =
{
{ PDB_LAYER,
"floating_sel",
N_("the floating selection")
"the floating selection"
},
{ PDB_INT32,
"undo",
N_("TRUE or FALSE")
"TRUE or FALSE"
}
};
ProcRecord floating_sel_rigor_proc =
{
"gimp_floating_sel_rigor",
N_("Rigor the floating selection"),
"Rigor the floating selection",
"This procedure rigors the floating selection.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
@ -374,18 +374,18 @@ ProcArg floating_sel_relax_args[] =
{
{ PDB_LAYER,
"floating_sel",
N_("the floating selection")
"the floating selection"
},
{ PDB_INT32,
"undo",
N_("TRUE or FALSE")
"TRUE or FALSE"
}
};
ProcRecord floating_sel_relax_proc =
{
"gimp_floating_sel_relax",
N_("Relax the floating selection"),
"Relax the floating selection",
"This procedure relaxes the floating selection.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",

View File

@ -491,39 +491,39 @@ ProcArg free_select_args[] =
{
{ PDB_IMAGE,
"image",
N_("the image")
"the image"
},
{ PDB_INT32,
"num_pts",
N_("number of points (count 1 coordinate as two points)")
"number of points (count 1 coordinate as two points)"
},
{ PDB_FLOATARRAY,
"segs",
N_("array of points: { p1.x, p1.y, p2.x, p2.y, ..., pn.x, pn.y}")
"array of points: { p1.x, p1.y, p2.x, p2.y, ..., pn.x, pn.y}"
},
{ PDB_INT32,
"operation",
N_("the selection operation: { ADD (0), SUB (1), REPLACE (2), INTERSECT (3) }")
"the selection operation: { ADD (0), SUB (1), REPLACE (2), INTERSECT (3) }"
},
{ PDB_INT32,
"antialias",
N_("antialiasing option for selections")
"antialiasing option for selections"
},
{ PDB_INT32,
"feather",
N_("feather option for selections")
"feather option for selections"
},
{ PDB_FLOAT,
"feather_radius",
N_("radius for feather operation")
"radius for feather operation"
}
};
ProcRecord free_select_proc =
{
"gimp_free_select",
N_("Create a polygonal selection over the specified image"),
N_("This tool creates a polygonal selection over the specified image. The polygonal region can be either added to, subtracted from, or replace the contents of the previous selection mask. The polygon is specified through an array of floating point numbers and its length. The length of array must be 2n, where n is the number of points. Each point is defined by 2 floating point values which correspond to the x and y coordinates. If the final point does not connect to the starting point, a connecting segment is automatically added. If the feather option is enabled, the resulting selection is blurred before combining. The blur is a gaussian blur with the specified feather radius."),
"Create a polygonal selection over the specified image",
"This tool creates a polygonal selection over the specified image. The polygonal region can be either added to, subtracted from, or replace the contents of the previous selection mask. The polygon is specified through an array of floating point numbers and its length. The length of array must be 2n, where n is the number of points. Each point is defined by 2 floating point values which correspond to the x and y coordinates. If the final point does not connect to the starting point, a connecting segment is automatically added. If the feather option is enabled, the resulting selection is blurred before combining. The blur is a gaussian blur with the specified feather radius.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",

View File

@ -190,7 +190,7 @@ channel_copy (Channel *channel)
/* don't have rudundant "copy"s */
sprintf (channel_name, "%s", name);
else
sprintf (channel_name, N_("%s copy"), name);
sprintf (channel_name, _("%s copy"), name);
/* allocate a new channel object */
new_channel = channel_new (GIMP_DRAWABLE(channel)->gimage,

View File

@ -236,19 +236,19 @@ ProcArg equalize_args[] =
{
{ PDB_DRAWABLE,
"drawable",
N_("the drawable")
"the drawable"
},
{ PDB_INT32,
"mask_only",
N_("equalization option")
"equalization option"
}
};
ProcRecord equalize_proc =
{
"gimp_equalize",
N_("Equalize the contents of the specified drawable"),
N_("This procedure equalizes the contents of the specified drawable. Each intensity channel is equalizeed independently. The equalizeed intensity is given as inten' = (255 - inten). Indexed color drawables are not valid for this operation. The 'mask_only' option specifies whether to adjust only the area of the image within the selection bounds, or the entire image based on the histogram of the selected area. If there is no selection, the entire image is adjusted based on the histogram for the entire image."),
"Equalize the contents of the specified drawable",
"This procedure equalizes the contents of the specified drawable. Each intensity channel is equalizeed independently. The equalizeed intensity is given as inten' = (255 - inten). Indexed color drawables are not valid for this operation. The 'mask_only' option specifies whether to adjust only the area of the image within the selection bounds, or the entire image based on the histogram of the selected area. If there is no selection, the entire image is adjusted based on the histogram for the entire image.",
"Federico Mena Quintero & Spencer Kimball & Peter Mattis",
"Federico Mena Quintero & Spencer Kimball & Peter Mattis",
"1996",

View File

@ -28,6 +28,8 @@
#include "interface.h"
#include "palette.h"
#include "libgimp/gimpintl.h"
#include "channel_pvt.h"
#define ENTRY_WIDTH 60
@ -100,7 +102,7 @@ channel_ops_offset (GimpImage* gimage)
off_d->dlg = gtk_dialog_new ();
gtk_window_set_wmclass (GTK_WINDOW (off_d->dlg), "offset", "Gimp");
gtk_window_set_title (GTK_WINDOW (off_d->dlg), "Offset");
gtk_window_set_title (GTK_WINDOW (off_d->dlg), _("Offset"));
/* handle the wm close signal */
gtk_signal_connect (GTK_OBJECT (off_d->dlg), "delete_event",
@ -108,7 +110,7 @@ channel_ops_offset (GimpImage* gimage)
off_d);
/* Action area */
button = gtk_button_new_with_label ("OK");
button = gtk_button_new_with_label (_("OK"));
GTK_WIDGET_SET_FLAGS (button, GTK_CAN_DEFAULT);
gtk_signal_connect (GTK_OBJECT (button), "clicked",
(GtkSignalFunc) offset_ok_callback,
@ -117,7 +119,7 @@ channel_ops_offset (GimpImage* gimage)
gtk_widget_grab_default (button);
gtk_widget_show (button);
button = gtk_button_new_with_label ("Cancel");
button = gtk_button_new_with_label (_("Cancel"));
GTK_WIDGET_SET_FLAGS (button, GTK_CAN_DEFAULT);
gtk_signal_connect (GTK_OBJECT (button), "clicked",
(GtkSignalFunc) offset_cancel_callback,
@ -134,7 +136,7 @@ channel_ops_offset (GimpImage* gimage)
table = gtk_table_new (2, 2, FALSE);
gtk_box_pack_start (GTK_BOX (vbox), table, TRUE, TRUE, 0);
label = gtk_label_new ("Offset X:");
label = gtk_label_new (_("Offset X:"));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 0, 1, GTK_FILL, GTK_FILL, 2, 2);
off_d->off_x_entry = gtk_entry_new ();
@ -144,7 +146,7 @@ channel_ops_offset (GimpImage* gimage)
gtk_widget_show (label);
gtk_widget_show (off_d->off_x_entry);
label = gtk_label_new ("Offset Y:");
label = gtk_label_new (_("Offset Y:"));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 1, 2, GTK_FILL, GTK_FILL, 2, 2);
off_d->off_y_entry = gtk_entry_new ();
@ -156,19 +158,19 @@ channel_ops_offset (GimpImage* gimage)
gtk_widget_show (table);
/* the wrap around option */
check = gtk_check_button_new_with_label ("Wrap-Around");
check = gtk_check_button_new_with_label (_("Wrap-Around"));
gtk_box_pack_start (GTK_BOX (vbox), check, FALSE, FALSE, 0);
gtk_widget_show (check);
/* The fill options */
off_d->fill_options = gtk_frame_new ("Fill Options");
off_d->fill_options = gtk_frame_new (_("Fill Options"));
gtk_frame_set_shadow_type (GTK_FRAME (off_d->fill_options), GTK_SHADOW_ETCHED_IN);
gtk_box_pack_start (GTK_BOX (vbox), off_d->fill_options, FALSE, TRUE, 0);
toggle_vbox = gtk_vbox_new (FALSE, 1);
gtk_container_set_border_width (GTK_CONTAINER (toggle_vbox), 5);
gtk_container_add (GTK_CONTAINER (off_d->fill_options), toggle_vbox);
toggle = gtk_radio_button_new_with_label (group, "Background");
toggle = gtk_radio_button_new_with_label (group, _("Background"));
group = gtk_radio_button_group (GTK_RADIO_BUTTON (toggle));
gtk_box_pack_start (GTK_BOX (toggle_vbox), toggle, FALSE, FALSE, 0);
gtk_signal_connect (GTK_OBJECT (toggle), "toggled",
@ -179,7 +181,7 @@ channel_ops_offset (GimpImage* gimage)
if (drawable_has_alpha (drawable))
{
toggle = gtk_radio_button_new_with_label (group, "Transparent");
toggle = gtk_radio_button_new_with_label (group, _("Transparent"));
group = gtk_radio_button_group (GTK_RADIO_BUTTON (toggle));
gtk_box_pack_start (GTK_BOX (toggle_vbox), toggle, FALSE, FALSE, 0);
gtk_signal_connect (GTK_OBJECT (toggle), "toggled",
@ -190,7 +192,7 @@ channel_ops_offset (GimpImage* gimage)
}
/* the by half height and half width offtion */
push = gtk_button_new_with_label ("Offset by (x/2),(y/2)");
push = gtk_button_new_with_label (_("Offset by (x/2),(y/2)"));
gtk_box_pack_start (GTK_BOX (vbox), push, FALSE, FALSE,0);
gtk_widget_show (push);

View File

@ -28,6 +28,8 @@
#include "interface.h"
#include "palette.h"
#include "libgimp/gimpintl.h"
#include "channel_pvt.h"
#define ENTRY_WIDTH 60
@ -100,7 +102,7 @@ channel_ops_offset (GimpImage* gimage)
off_d->dlg = gtk_dialog_new ();
gtk_window_set_wmclass (GTK_WINDOW (off_d->dlg), "offset", "Gimp");
gtk_window_set_title (GTK_WINDOW (off_d->dlg), "Offset");
gtk_window_set_title (GTK_WINDOW (off_d->dlg), _("Offset"));
/* handle the wm close signal */
gtk_signal_connect (GTK_OBJECT (off_d->dlg), "delete_event",
@ -108,7 +110,7 @@ channel_ops_offset (GimpImage* gimage)
off_d);
/* Action area */
button = gtk_button_new_with_label ("OK");
button = gtk_button_new_with_label (_("OK"));
GTK_WIDGET_SET_FLAGS (button, GTK_CAN_DEFAULT);
gtk_signal_connect (GTK_OBJECT (button), "clicked",
(GtkSignalFunc) offset_ok_callback,
@ -117,7 +119,7 @@ channel_ops_offset (GimpImage* gimage)
gtk_widget_grab_default (button);
gtk_widget_show (button);
button = gtk_button_new_with_label ("Cancel");
button = gtk_button_new_with_label (_("Cancel"));
GTK_WIDGET_SET_FLAGS (button, GTK_CAN_DEFAULT);
gtk_signal_connect (GTK_OBJECT (button), "clicked",
(GtkSignalFunc) offset_cancel_callback,
@ -134,7 +136,7 @@ channel_ops_offset (GimpImage* gimage)
table = gtk_table_new (2, 2, FALSE);
gtk_box_pack_start (GTK_BOX (vbox), table, TRUE, TRUE, 0);
label = gtk_label_new ("Offset X:");
label = gtk_label_new (_("Offset X:"));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 0, 1, GTK_FILL, GTK_FILL, 2, 2);
off_d->off_x_entry = gtk_entry_new ();
@ -144,7 +146,7 @@ channel_ops_offset (GimpImage* gimage)
gtk_widget_show (label);
gtk_widget_show (off_d->off_x_entry);
label = gtk_label_new ("Offset Y:");
label = gtk_label_new (_("Offset Y:"));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, 0, 1, 1, 2, GTK_FILL, GTK_FILL, 2, 2);
off_d->off_y_entry = gtk_entry_new ();
@ -156,19 +158,19 @@ channel_ops_offset (GimpImage* gimage)
gtk_widget_show (table);
/* the wrap around option */
check = gtk_check_button_new_with_label ("Wrap-Around");
check = gtk_check_button_new_with_label (_("Wrap-Around"));
gtk_box_pack_start (GTK_BOX (vbox), check, FALSE, FALSE, 0);
gtk_widget_show (check);
/* The fill options */
off_d->fill_options = gtk_frame_new ("Fill Options");
off_d->fill_options = gtk_frame_new (_("Fill Options"));
gtk_frame_set_shadow_type (GTK_FRAME (off_d->fill_options), GTK_SHADOW_ETCHED_IN);
gtk_box_pack_start (GTK_BOX (vbox), off_d->fill_options, FALSE, TRUE, 0);
toggle_vbox = gtk_vbox_new (FALSE, 1);
gtk_container_set_border_width (GTK_CONTAINER (toggle_vbox), 5);
gtk_container_add (GTK_CONTAINER (off_d->fill_options), toggle_vbox);
toggle = gtk_radio_button_new_with_label (group, "Background");
toggle = gtk_radio_button_new_with_label (group, _("Background"));
group = gtk_radio_button_group (GTK_RADIO_BUTTON (toggle));
gtk_box_pack_start (GTK_BOX (toggle_vbox), toggle, FALSE, FALSE, 0);
gtk_signal_connect (GTK_OBJECT (toggle), "toggled",
@ -179,7 +181,7 @@ channel_ops_offset (GimpImage* gimage)
if (drawable_has_alpha (drawable))
{
toggle = gtk_radio_button_new_with_label (group, "Transparent");
toggle = gtk_radio_button_new_with_label (group, _("Transparent"));
group = gtk_radio_button_group (GTK_RADIO_BUTTON (toggle));
gtk_box_pack_start (GTK_BOX (toggle_vbox), toggle, FALSE, FALSE, 0);
gtk_signal_connect (GTK_OBJECT (toggle), "toggled",
@ -190,7 +192,7 @@ channel_ops_offset (GimpImage* gimage)
}
/* the by half height and half width offtion */
push = gtk_button_new_with_label ("Offset by (x/2),(y/2)");
push = gtk_button_new_with_label (_("Offset by (x/2),(y/2)"));
gtk_box_pack_start (GTK_BOX (vbox), push, FALSE, FALSE,0);
gtk_widget_show (push);

View File

@ -33,6 +33,8 @@
#include "parasitelist.h"
#include "undo.h"
#include "libgimp/gimpintl.h"
#include "layer_pvt.h"
#include "tile_manager_pvt.h"
#include "tile.h" /* ick. */
@ -236,7 +238,7 @@ layer_new (gimage, width, height, type, name, opacity, mode)
Layer * layer;
if (width == 0 || height == 0) {
g_message ("Zero width or height layers not allowed.");
g_message (_("Zero width or height layers not allowed."));
return NULL;
}
@ -304,13 +306,13 @@ layer_copy (layer, add_alpha)
name = layer_get_name(layer);
ext = strrchr(name, '#');
layer_name = (char *) g_malloc (strlen (name) + 6);
if ((strlen(name) >= 4 && strcmp(&name[strlen(name) -4], "copy") == 0) ||
if ((strlen(name) >= 4 && strcmp(&name[strlen(name) -4], _("copy")) == 0) ||
(ext && (number = atoi(ext+1)) > 0 &&
((int)(log10(number) + 1)) == strlen(ext+1)))
/* don't have rudundant "copy"s */
sprintf (layer_name, "%s", name);
else
sprintf (layer_name, "%s copy", name);
sprintf (layer_name, _("%s copy"), name);
/* when copying a layer, the copy ALWAYS has an alpha channel */
if (add_alpha)
{
@ -339,7 +341,7 @@ layer_copy (layer, add_alpha)
GIMP_DRAWABLE(layer)->height,
new_type, layer_name, layer->opacity, layer->mode);
if (!new_layer) {
g_message ("layer_copy: could not allocate new layer");
g_message (_("layer_copy: could not allocate new layer"));
goto cleanup;
}
@ -416,7 +418,7 @@ layer_from_tiles (gimage_ptr, drawable, tiles, name, opacity, mode)
layer_type, name, opacity, mode);
if (!new_layer) {
g_message ("layer_from_tiles: could not allocate new layer");
g_message (_("layer_from_tiles: could not allocate new layer"));
return NULL;
}
@ -471,8 +473,8 @@ layer_create_mask (layer, add_mask_type)
unsigned char white_mask = OPAQUE_OPACITY;
unsigned char black_mask = TRANSPARENT_OPACITY;
mask_name = (char *) g_malloc (strlen (GIMP_DRAWABLE(layer)->name) + strlen ("mask") + 2);
sprintf (mask_name, "%s mask", GIMP_DRAWABLE(layer)->name);
mask_name = (char *) g_malloc (strlen (GIMP_DRAWABLE(layer)->name) + strlen (_("mask")) + 2);
sprintf (mask_name, _("%s mask"), GIMP_DRAWABLE(layer)->name);
/* Create the layer mask */
mask = layer_mask_new (GIMP_DRAWABLE(layer)->gimage, GIMP_DRAWABLE(layer)->width, GIMP_DRAWABLE(layer)->height,
@ -1425,7 +1427,7 @@ layer_mask_copy (LayerMask *layer_mask)
/* formulate the new layer_mask name */
layer_mask_name = (char *) g_malloc (strlen (GIMP_DRAWABLE(layer_mask)->name) + 6);
sprintf (layer_mask_name, "%s copy", GIMP_DRAWABLE(layer_mask)->name);
sprintf (layer_mask_name, _("%s copy"), GIMP_DRAWABLE(layer_mask)->name);
/* allocate a new layer_mask object */
new_layer_mask = layer_mask_new (GIMP_DRAWABLE(layer_mask)->gimage,

View File

@ -649,7 +649,7 @@ grad_create_gradient_editor_init(gint need_show)
GTK_EXPAND | GTK_FILL, GTK_FILL, 8, 2);
gtk_widget_show(g_editor->hint_label);
button = ed_create_button(N_("Close"), 0.5, 0.5, (GtkSignalFunc) ed_close_callback, NULL);
button = ed_create_button(_("Close"), 0.5, 0.5, (GtkSignalFunc) ed_close_callback, NULL);
gtk_widget_set_usize(button, GRAD_CLOSE_BUTTON_WIDTH, 0);
gtk_table_attach(GTK_TABLE(table), button, 1, 2, 0, 2, GTK_FILL, GTK_EXPAND | GTK_FILL, 8, 0);
gtk_widget_show(button);
@ -713,37 +713,37 @@ grad_create_gradient_editor_init(gint need_show)
/* Buttons for gradient functions */
button = ed_create_button(N_("New gradient"), 0.0, 0.5,
button = ed_create_button(_("New gradient"), 0.0, 0.5,
(GtkSignalFunc) ed_new_gradient_callback, NULL);
gtk_box_pack_start(GTK_BOX(gvbox), button, TRUE, TRUE, 0);
gtk_widget_show(button);
button = ed_create_button(N_("Copy gradient"), 0.0, 0.5,
button = ed_create_button(_("Copy gradient"), 0.0, 0.5,
(GtkSignalFunc) ed_copy_gradient_callback, NULL);
gtk_box_pack_start(GTK_BOX(gvbox), button, TRUE, TRUE, 0);
gtk_widget_show(button);
button = ed_create_button(N_("Delete gradient"), 0.0, 0.5,
button = ed_create_button(_("Delete gradient"), 0.0, 0.5,
(GtkSignalFunc) ed_delete_gradient_callback, NULL);
gtk_box_pack_start(GTK_BOX(gvbox), button, TRUE, TRUE, 0);
gtk_widget_show(button);
button = ed_create_button(N_("Save as POV-Ray"), 0.0, 0.5,
button = ed_create_button(_("Save as POV-Ray"), 0.0, 0.5,
(GtkSignalFunc) ed_save_pov_callback, NULL);
gtk_box_pack_start(GTK_BOX(gvbox), button, TRUE, TRUE, 0);
gtk_widget_show(button);
button = ed_create_button(N_("Save Gradients"), 0.0, 0.5,
button = ed_create_button(_("Save Gradients"), 0.0, 0.5,
(GtkSignalFunc) ed_save_grads_callback, NULL);
gtk_box_pack_start(GTK_BOX(gvbox), button, TRUE, TRUE, 0);
gtk_widget_show(button);
button = ed_create_button(N_("Rename Gradient"), 0.0, 0.5,
button = ed_create_button(_("Rename Gradient"), 0.0, 0.5,
(GtkSignalFunc) ed_rename_grads_callback, NULL);
gtk_box_pack_start(GTK_BOX(gvbox), button, TRUE, TRUE, 0);
gtk_widget_show(button);
button = ed_create_button(N_("Refresh gradients"), 0.0, 0.5,
button = ed_create_button(_("Refresh gradients"), 0.0, 0.5,
(GtkSignalFunc) ed_refresh_callback, NULL);
gtk_box_pack_start(GTK_BOX(gvbox), button, TRUE, TRUE, 0);
gtk_widget_show(button);
@ -757,15 +757,15 @@ grad_create_gradient_editor_init(gint need_show)
/* Zoom buttons */
button = ed_create_button(N_("Zoom all"), 0.5, 0.5, (GtkSignalFunc) ed_zoom_all_callback, g_editor);
button = ed_create_button(_("Zoom all"), 0.5, 0.5, (GtkSignalFunc) ed_zoom_all_callback, g_editor);
gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 0);
gtk_widget_show(button);
button = ed_create_button(N_("Zoom -"), 0.5, 0.5, (GtkSignalFunc) ed_zoom_out_callback, g_editor);
button = ed_create_button(_("Zoom -"), 0.5, 0.5, (GtkSignalFunc) ed_zoom_out_callback, g_editor);
gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 0);
gtk_widget_show(button);
button = ed_create_button(N_("Zoom +"), 0.5, 0.5, (GtkSignalFunc) ed_zoom_in_callback, g_editor);
button = ed_create_button(_("Zoom +"), 0.5, 0.5, (GtkSignalFunc) ed_zoom_in_callback, g_editor);
gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 0);
gtk_widget_show(button);
@ -1481,7 +1481,7 @@ ed_delete_gradient_callback(GtkWidget *widget, gpointer client_data)
/* Buttons */
button = ed_create_button(N_("Delete"), 0.5, 0.5,
button = ed_create_button(_("Delete"), 0.5, 0.5,
(GtkSignalFunc) ed_do_delete_gradient_callback,
(gpointer) dialog);
GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT);
@ -1490,7 +1490,7 @@ ed_delete_gradient_callback(GtkWidget *widget, gpointer client_data)
gtk_widget_grab_default(button);
gtk_widget_show(button);
button = ed_create_button(N_("Cancel"), 0.5, 0.5,
button = ed_create_button(_("Cancel"), 0.5, 0.5,
(GtkSignalFunc) ed_cancel_delete_gradient_callback,
(gpointer) dialog);
GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT);
@ -3872,9 +3872,9 @@ cpopup_create_blending_menu(void)
for (i = 0; i < num_items; i++) {
if (i == (num_items - 1))
menuitem = gtk_radio_menu_item_new_with_label(group, "(Varies)");
menuitem = gtk_radio_menu_item_new_with_label(group, _("(Varies)"));
else
menuitem = gtk_radio_menu_item_new_with_label(group, blending_types[i]);
menuitem = gtk_radio_menu_item_new_with_label(group, gettext(blending_types[i]));
group = gtk_radio_menu_item_group(GTK_RADIO_MENU_ITEM(menuitem));
@ -4560,7 +4560,7 @@ cpopup_split_uniform_callback(GtkWidget *widget, gpointer data)
/* Buttons */
button = ed_create_button(N_("Split"), 0.5, 0.5,
button = ed_create_button(_("Split"), 0.5, 0.5,
(GtkSignalFunc) cpopup_split_uniform_split_callback,
(gpointer) dialog);
GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT);
@ -4569,7 +4569,7 @@ cpopup_split_uniform_callback(GtkWidget *widget, gpointer data)
gtk_widget_grab_default(button);
gtk_widget_show(button);
button = ed_create_button(N_("Cancel"), 0.5, 0.5,
button = ed_create_button(_("Cancel"), 0.5, 0.5,
(GtkSignalFunc) cpopup_split_uniform_cancel_callback,
(gpointer) dialog);
GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT);
@ -4915,7 +4915,7 @@ cpopup_replicate_callback(GtkWidget *widget, gpointer data)
/* Buttons */
button = ed_create_button(N_("Replicate"), 0.5, 0.5,
button = ed_create_button(_("Replicate"), 0.5, 0.5,
(GtkSignalFunc) cpopup_do_replicate_callback,
(gpointer) dialog);
GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT);
@ -4924,7 +4924,7 @@ cpopup_replicate_callback(GtkWidget *widget, gpointer data)
gtk_widget_grab_default(button);
gtk_widget_show(button);
button = ed_create_button(N_("Cancel"), 0.5, 0.5,
button = ed_create_button(_("Cancel"), 0.5, 0.5,
(GtkSignalFunc) cpopup_replicate_cancel_callback,
(gpointer) dialog);
GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT);

View File

@ -649,7 +649,7 @@ grad_create_gradient_editor_init(gint need_show)
GTK_EXPAND | GTK_FILL, GTK_FILL, 8, 2);
gtk_widget_show(g_editor->hint_label);
button = ed_create_button(N_("Close"), 0.5, 0.5, (GtkSignalFunc) ed_close_callback, NULL);
button = ed_create_button(_("Close"), 0.5, 0.5, (GtkSignalFunc) ed_close_callback, NULL);
gtk_widget_set_usize(button, GRAD_CLOSE_BUTTON_WIDTH, 0);
gtk_table_attach(GTK_TABLE(table), button, 1, 2, 0, 2, GTK_FILL, GTK_EXPAND | GTK_FILL, 8, 0);
gtk_widget_show(button);
@ -713,37 +713,37 @@ grad_create_gradient_editor_init(gint need_show)
/* Buttons for gradient functions */
button = ed_create_button(N_("New gradient"), 0.0, 0.5,
button = ed_create_button(_("New gradient"), 0.0, 0.5,
(GtkSignalFunc) ed_new_gradient_callback, NULL);
gtk_box_pack_start(GTK_BOX(gvbox), button, TRUE, TRUE, 0);
gtk_widget_show(button);
button = ed_create_button(N_("Copy gradient"), 0.0, 0.5,
button = ed_create_button(_("Copy gradient"), 0.0, 0.5,
(GtkSignalFunc) ed_copy_gradient_callback, NULL);
gtk_box_pack_start(GTK_BOX(gvbox), button, TRUE, TRUE, 0);
gtk_widget_show(button);
button = ed_create_button(N_("Delete gradient"), 0.0, 0.5,
button = ed_create_button(_("Delete gradient"), 0.0, 0.5,
(GtkSignalFunc) ed_delete_gradient_callback, NULL);
gtk_box_pack_start(GTK_BOX(gvbox), button, TRUE, TRUE, 0);
gtk_widget_show(button);
button = ed_create_button(N_("Save as POV-Ray"), 0.0, 0.5,
button = ed_create_button(_("Save as POV-Ray"), 0.0, 0.5,
(GtkSignalFunc) ed_save_pov_callback, NULL);
gtk_box_pack_start(GTK_BOX(gvbox), button, TRUE, TRUE, 0);
gtk_widget_show(button);
button = ed_create_button(N_("Save Gradients"), 0.0, 0.5,
button = ed_create_button(_("Save Gradients"), 0.0, 0.5,
(GtkSignalFunc) ed_save_grads_callback, NULL);
gtk_box_pack_start(GTK_BOX(gvbox), button, TRUE, TRUE, 0);
gtk_widget_show(button);
button = ed_create_button(N_("Rename Gradient"), 0.0, 0.5,
button = ed_create_button(_("Rename Gradient"), 0.0, 0.5,
(GtkSignalFunc) ed_rename_grads_callback, NULL);
gtk_box_pack_start(GTK_BOX(gvbox), button, TRUE, TRUE, 0);
gtk_widget_show(button);
button = ed_create_button(N_("Refresh gradients"), 0.0, 0.5,
button = ed_create_button(_("Refresh gradients"), 0.0, 0.5,
(GtkSignalFunc) ed_refresh_callback, NULL);
gtk_box_pack_start(GTK_BOX(gvbox), button, TRUE, TRUE, 0);
gtk_widget_show(button);
@ -757,15 +757,15 @@ grad_create_gradient_editor_init(gint need_show)
/* Zoom buttons */
button = ed_create_button(N_("Zoom all"), 0.5, 0.5, (GtkSignalFunc) ed_zoom_all_callback, g_editor);
button = ed_create_button(_("Zoom all"), 0.5, 0.5, (GtkSignalFunc) ed_zoom_all_callback, g_editor);
gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 0);
gtk_widget_show(button);
button = ed_create_button(N_("Zoom -"), 0.5, 0.5, (GtkSignalFunc) ed_zoom_out_callback, g_editor);
button = ed_create_button(_("Zoom -"), 0.5, 0.5, (GtkSignalFunc) ed_zoom_out_callback, g_editor);
gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 0);
gtk_widget_show(button);
button = ed_create_button(N_("Zoom +"), 0.5, 0.5, (GtkSignalFunc) ed_zoom_in_callback, g_editor);
button = ed_create_button(_("Zoom +"), 0.5, 0.5, (GtkSignalFunc) ed_zoom_in_callback, g_editor);
gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 0);
gtk_widget_show(button);
@ -1481,7 +1481,7 @@ ed_delete_gradient_callback(GtkWidget *widget, gpointer client_data)
/* Buttons */
button = ed_create_button(N_("Delete"), 0.5, 0.5,
button = ed_create_button(_("Delete"), 0.5, 0.5,
(GtkSignalFunc) ed_do_delete_gradient_callback,
(gpointer) dialog);
GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT);
@ -1490,7 +1490,7 @@ ed_delete_gradient_callback(GtkWidget *widget, gpointer client_data)
gtk_widget_grab_default(button);
gtk_widget_show(button);
button = ed_create_button(N_("Cancel"), 0.5, 0.5,
button = ed_create_button(_("Cancel"), 0.5, 0.5,
(GtkSignalFunc) ed_cancel_delete_gradient_callback,
(gpointer) dialog);
GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT);
@ -3872,9 +3872,9 @@ cpopup_create_blending_menu(void)
for (i = 0; i < num_items; i++) {
if (i == (num_items - 1))
menuitem = gtk_radio_menu_item_new_with_label(group, "(Varies)");
menuitem = gtk_radio_menu_item_new_with_label(group, _("(Varies)"));
else
menuitem = gtk_radio_menu_item_new_with_label(group, blending_types[i]);
menuitem = gtk_radio_menu_item_new_with_label(group, gettext(blending_types[i]));
group = gtk_radio_menu_item_group(GTK_RADIO_MENU_ITEM(menuitem));
@ -4560,7 +4560,7 @@ cpopup_split_uniform_callback(GtkWidget *widget, gpointer data)
/* Buttons */
button = ed_create_button(N_("Split"), 0.5, 0.5,
button = ed_create_button(_("Split"), 0.5, 0.5,
(GtkSignalFunc) cpopup_split_uniform_split_callback,
(gpointer) dialog);
GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT);
@ -4569,7 +4569,7 @@ cpopup_split_uniform_callback(GtkWidget *widget, gpointer data)
gtk_widget_grab_default(button);
gtk_widget_show(button);
button = ed_create_button(N_("Cancel"), 0.5, 0.5,
button = ed_create_button(_("Cancel"), 0.5, 0.5,
(GtkSignalFunc) cpopup_split_uniform_cancel_callback,
(gpointer) dialog);
GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT);
@ -4915,7 +4915,7 @@ cpopup_replicate_callback(GtkWidget *widget, gpointer data)
/* Buttons */
button = ed_create_button(N_("Replicate"), 0.5, 0.5,
button = ed_create_button(_("Replicate"), 0.5, 0.5,
(GtkSignalFunc) cpopup_do_replicate_callback,
(gpointer) dialog);
GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT);
@ -4924,7 +4924,7 @@ cpopup_replicate_callback(GtkWidget *widget, gpointer data)
gtk_widget_grab_default(button);
gtk_widget_show(button);
button = ed_create_button(N_("Cancel"), 0.5, 0.5,
button = ed_create_button(_("Cancel"), 0.5, 0.5,
(GtkSignalFunc) cpopup_replicate_cancel_callback,
(gpointer) dialog);
GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT);

View File

@ -54,6 +54,8 @@
#include "session.h"
#include "actionarea.h"
#include "libgimp/gimpintl.h"
#define G_SAMPLE 40
typedef struct _GradSelect _GradSelect, *GradSelectP;
@ -81,8 +83,8 @@ static void grad_change_callbacks(GradSelectP gsp, gint closing);
static ActionAreaItem action_items[2] =
{
{ "Close", grad_select_close_callback, NULL, NULL },
{ "Edit", grad_select_edit_callback, NULL, NULL },
{ N_("Close"), grad_select_close_callback, NULL, NULL },
{ N_("Edit"), grad_select_edit_callback, NULL, NULL },
};
void
@ -397,7 +399,7 @@ grad_change_callbacks(GradSelectP gsp, gint closing)
PDB_END);
if (!return_vals || return_vals[0].value.pdb_int != PDB_SUCCESS)
g_message ("failed to run gradient callback function");
g_message (_("failed to run gradient callback function"));
else
procedural_db_destroy_args (return_vals, nreturn_vals);
}
@ -479,8 +481,8 @@ gsel_new_selection(gchar * title,
gtk_clist_set_row_height(GTK_CLIST(gsp->clist), 18);
gtk_clist_set_column_width(GTK_CLIST(gsp->clist), 0, 52);
gtk_clist_set_column_title(GTK_CLIST(gsp->clist), 0, "Gradient");
gtk_clist_set_column_title(GTK_CLIST(gsp->clist), 1, "Name");
gtk_clist_set_column_title(GTK_CLIST(gsp->clist), 0, _("Gradient"));
gtk_clist_set_column_title(GTK_CLIST(gsp->clist), 1, _("Name"));
gtk_clist_column_titles_show(GTK_CLIST(gsp->clist));
hbox = gtk_hbox_new(FALSE, 8);
@ -512,7 +514,7 @@ gsel_new_selection(gchar * title,
if(!title)
{
gtk_window_set_title (GTK_WINDOW (gsp->shell), "Gradient Selection");
gtk_window_set_title (GTK_WINDOW (gsp->shell), _("Gradient Selection"));
}
else
{
@ -560,7 +562,7 @@ grad_create_gradient_editor(void)
{
if(gradient_select_dialog == NULL)
{
gradient_select_dialog = gsel_new_selection("Gradients",NULL);
gradient_select_dialog = gsel_new_selection(_("Gradients"),NULL);
session_set_window_geometry (gradient_select_dialog->shell, &gradient_select_session_info, TRUE);
}

View File

@ -1272,35 +1272,35 @@ ProcArg brushes_popup_in_args[] =
{
{ PDB_STRING,
"brush_callback",
N_("the callback PDB proc to call when brush selection is made")
"the callback PDB proc to call when brush selection is made"
},
{ PDB_STRING,
"popup title",
N_("title to give the popup window"),
"title to give the popup window",
},
{ PDB_STRING,
"initial brush",
N_("The name of the brush to set as the first selected"),
"The name of the brush to set as the first selected",
},
{ PDB_FLOAT,
"initial opacity",
N_("The initial opacity of the brush"),
"The initial opacity of the brush",
},
{ PDB_INT32,
"initial spacing",
N_("The initial spacing of the brush (if < 0 then use brush default spacing)"),
"The initial spacing of the brush (if < 0 then use brush default spacing)",
},
{ PDB_INT32,
"initial paint mode",
N_("The initial paint mode: { NORMAL (0), DISSOLVE (1), BEHIND (2), MULTIPLY/BURN (3), SCREEN (4), OVERLAY (5) DIFFERENCE (6), ADDITION (7), SUBTRACT (8), DARKEN-ONLY (9), LIGHTEN-ONLY (10), HUE (11), SATURATION (12), COLOR (13), VALUE (14), DIVIDE/DODGE (15) }"),
"The initial paint mode: { NORMAL (0), DISSOLVE (1), BEHIND (2), MULTIPLY/BURN (3), SCREEN (4), OVERLAY (5) DIFFERENCE (6), ADDITION (7), SUBTRACT (8), DARKEN-ONLY (9), LIGHTEN-ONLY (10), HUE (11), SATURATION (12), COLOR (13), VALUE (14), DIVIDE/DODGE (15) }",
},
};
ProcRecord brushes_popup_proc =
{
"gimp_brushes_popup",
N_("Invokes the Gimp brush selection"),
N_("This procedure popups the brush selection dialog"),
"Invokes the Gimp brush selection",
"This procedure popups the brush selection dialog",
"Andy Thomas",
"Andy Thomas",
"1998",
@ -1385,15 +1385,15 @@ ProcArg brush_close_popup_in_args[] =
{
{ PDB_STRING,
"callback_PDB_entry_name",
N_("The name of the callback registered for this popup"),
"The name of the callback registered for this popup",
},
};
ProcRecord brushes_close_popup_proc =
{
"gimp_brushes_close_popup",
N_("Popdown the Gimp brush selection"),
N_("This procedure closes an opened brush selection dialog"),
"Popdown the Gimp brush selection",
"This procedure closes an opened brush selection dialog",
"Andy Thomas",
"Andy Thomas",
"1998",
@ -1473,31 +1473,31 @@ ProcArg brush_set_popup_in_args[] =
{
{ PDB_STRING,
"callback_PDB_entry_name",
N_("The name of the callback registered for this popup"),
"The name of the callback registered for this popup",
},
{ PDB_STRING,
"brushname",
N_("The name of the brush to set as selected"),
"The name of the brush to set as selected",
},
{ PDB_FLOAT,
"opacity",
N_("The initial opacity of the brush"),
"The initial opacity of the brush",
},
{ PDB_INT32,
"spacing",
N_("The initial spacing of the brush (if < 0 then use brush default spacing)"),
"The initial spacing of the brush (if < 0 then use brush default spacing)",
},
{ PDB_INT32,
"initial paint mode",
N_("The initial paint mode: { NORMAL (0), DISSOLVE (1), BEHIND (2), MULTIPLY/BURN (3), SCREEN (4), OVERLAY (5) DIFFERENCE (6), ADDITION (7), SUBTRACT (8), DARKEN-ONLY (9), LIGHTEN-ONLY (10), HUE (11), SATURATION (12), COLOR (13), VALUE (14), DIVIDE/DODGE (15) }"),
"The initial paint mode: { NORMAL (0), DISSOLVE (1), BEHIND (2), MULTIPLY/BURN (3), SCREEN (4), OVERLAY (5) DIFFERENCE (6), ADDITION (7), SUBTRACT (8), DARKEN-ONLY (9), LIGHTEN-ONLY (10), HUE (11), SATURATION (12), COLOR (13), VALUE (14), DIVIDE/DODGE (15) }",
},
};
ProcRecord brushes_set_popup_proc =
{
"gimp_brushes_set_popup",
N_("Sets the current brush selection in a popup"),
N_("Sets the current brush selection in a popup"),
"Sets the current brush selection in a popup",
"Sets the current brush selection in a popup",
"Andy Thomas",
"Andy Thomas",
"1998",

View File

@ -151,9 +151,6 @@ static GdkPixmap *channel_pixmap[3] = { NULL, NULL, NULL };
static int suspend_gimage_notify = 0;
static guint32 button_click_time = 0;
static int button_last_id = 0;
static MenuItem channels_ops[] =
{
{ N_("New Channel"), 'N', GDK_CONTROL_MASK,
@ -322,7 +319,7 @@ channels_dialog_flush ()
/* Switch positions of items if necessary */
list = channelsD->channel_widgets;
pos = -channelsD->num_components + 1;
pos = -channelsD->num_components;
while (list)
{
cw = (ChannelWidget *) list->data;
@ -770,16 +767,6 @@ channel_list_events (GtkWidget *widget,
gtk_menu_popup (GTK_MENU (channelsD->ops_menu), NULL, NULL, NULL, NULL, bevent->button, bevent->time);
return TRUE;
}
/* Grumble - we have to handle double clicks ourselves because channels_dialog_flush is broken */
if (channel_widget->type == Auxillary) {
if ((event->button.time < (button_click_time + 250)) && (channel_widget->ID == button_last_id)) {
channels_dialog_edit_channel_query (channel_widget);
return TRUE;
} else {
button_click_time = event->button.time;
button_last_id = channel_widget->ID;
}
}
break;
case GDK_2BUTTON_PRESS:

View File

@ -649,7 +649,7 @@ grad_create_gradient_editor_init(gint need_show)
GTK_EXPAND | GTK_FILL, GTK_FILL, 8, 2);
gtk_widget_show(g_editor->hint_label);
button = ed_create_button(N_("Close"), 0.5, 0.5, (GtkSignalFunc) ed_close_callback, NULL);
button = ed_create_button(_("Close"), 0.5, 0.5, (GtkSignalFunc) ed_close_callback, NULL);
gtk_widget_set_usize(button, GRAD_CLOSE_BUTTON_WIDTH, 0);
gtk_table_attach(GTK_TABLE(table), button, 1, 2, 0, 2, GTK_FILL, GTK_EXPAND | GTK_FILL, 8, 0);
gtk_widget_show(button);
@ -713,37 +713,37 @@ grad_create_gradient_editor_init(gint need_show)
/* Buttons for gradient functions */
button = ed_create_button(N_("New gradient"), 0.0, 0.5,
button = ed_create_button(_("New gradient"), 0.0, 0.5,
(GtkSignalFunc) ed_new_gradient_callback, NULL);
gtk_box_pack_start(GTK_BOX(gvbox), button, TRUE, TRUE, 0);
gtk_widget_show(button);
button = ed_create_button(N_("Copy gradient"), 0.0, 0.5,
button = ed_create_button(_("Copy gradient"), 0.0, 0.5,
(GtkSignalFunc) ed_copy_gradient_callback, NULL);
gtk_box_pack_start(GTK_BOX(gvbox), button, TRUE, TRUE, 0);
gtk_widget_show(button);
button = ed_create_button(N_("Delete gradient"), 0.0, 0.5,
button = ed_create_button(_("Delete gradient"), 0.0, 0.5,
(GtkSignalFunc) ed_delete_gradient_callback, NULL);
gtk_box_pack_start(GTK_BOX(gvbox), button, TRUE, TRUE, 0);
gtk_widget_show(button);
button = ed_create_button(N_("Save as POV-Ray"), 0.0, 0.5,
button = ed_create_button(_("Save as POV-Ray"), 0.0, 0.5,
(GtkSignalFunc) ed_save_pov_callback, NULL);
gtk_box_pack_start(GTK_BOX(gvbox), button, TRUE, TRUE, 0);
gtk_widget_show(button);
button = ed_create_button(N_("Save Gradients"), 0.0, 0.5,
button = ed_create_button(_("Save Gradients"), 0.0, 0.5,
(GtkSignalFunc) ed_save_grads_callback, NULL);
gtk_box_pack_start(GTK_BOX(gvbox), button, TRUE, TRUE, 0);
gtk_widget_show(button);
button = ed_create_button(N_("Rename Gradient"), 0.0, 0.5,
button = ed_create_button(_("Rename Gradient"), 0.0, 0.5,
(GtkSignalFunc) ed_rename_grads_callback, NULL);
gtk_box_pack_start(GTK_BOX(gvbox), button, TRUE, TRUE, 0);
gtk_widget_show(button);
button = ed_create_button(N_("Refresh gradients"), 0.0, 0.5,
button = ed_create_button(_("Refresh gradients"), 0.0, 0.5,
(GtkSignalFunc) ed_refresh_callback, NULL);
gtk_box_pack_start(GTK_BOX(gvbox), button, TRUE, TRUE, 0);
gtk_widget_show(button);
@ -757,15 +757,15 @@ grad_create_gradient_editor_init(gint need_show)
/* Zoom buttons */
button = ed_create_button(N_("Zoom all"), 0.5, 0.5, (GtkSignalFunc) ed_zoom_all_callback, g_editor);
button = ed_create_button(_("Zoom all"), 0.5, 0.5, (GtkSignalFunc) ed_zoom_all_callback, g_editor);
gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 0);
gtk_widget_show(button);
button = ed_create_button(N_("Zoom -"), 0.5, 0.5, (GtkSignalFunc) ed_zoom_out_callback, g_editor);
button = ed_create_button(_("Zoom -"), 0.5, 0.5, (GtkSignalFunc) ed_zoom_out_callback, g_editor);
gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 0);
gtk_widget_show(button);
button = ed_create_button(N_("Zoom +"), 0.5, 0.5, (GtkSignalFunc) ed_zoom_in_callback, g_editor);
button = ed_create_button(_("Zoom +"), 0.5, 0.5, (GtkSignalFunc) ed_zoom_in_callback, g_editor);
gtk_box_pack_start(GTK_BOX(hbox), button, FALSE, FALSE, 0);
gtk_widget_show(button);
@ -1481,7 +1481,7 @@ ed_delete_gradient_callback(GtkWidget *widget, gpointer client_data)
/* Buttons */
button = ed_create_button(N_("Delete"), 0.5, 0.5,
button = ed_create_button(_("Delete"), 0.5, 0.5,
(GtkSignalFunc) ed_do_delete_gradient_callback,
(gpointer) dialog);
GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT);
@ -1490,7 +1490,7 @@ ed_delete_gradient_callback(GtkWidget *widget, gpointer client_data)
gtk_widget_grab_default(button);
gtk_widget_show(button);
button = ed_create_button(N_("Cancel"), 0.5, 0.5,
button = ed_create_button(_("Cancel"), 0.5, 0.5,
(GtkSignalFunc) ed_cancel_delete_gradient_callback,
(gpointer) dialog);
GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT);
@ -3872,9 +3872,9 @@ cpopup_create_blending_menu(void)
for (i = 0; i < num_items; i++) {
if (i == (num_items - 1))
menuitem = gtk_radio_menu_item_new_with_label(group, "(Varies)");
menuitem = gtk_radio_menu_item_new_with_label(group, _("(Varies)"));
else
menuitem = gtk_radio_menu_item_new_with_label(group, blending_types[i]);
menuitem = gtk_radio_menu_item_new_with_label(group, gettext(blending_types[i]));
group = gtk_radio_menu_item_group(GTK_RADIO_MENU_ITEM(menuitem));
@ -4560,7 +4560,7 @@ cpopup_split_uniform_callback(GtkWidget *widget, gpointer data)
/* Buttons */
button = ed_create_button(N_("Split"), 0.5, 0.5,
button = ed_create_button(_("Split"), 0.5, 0.5,
(GtkSignalFunc) cpopup_split_uniform_split_callback,
(gpointer) dialog);
GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT);
@ -4569,7 +4569,7 @@ cpopup_split_uniform_callback(GtkWidget *widget, gpointer data)
gtk_widget_grab_default(button);
gtk_widget_show(button);
button = ed_create_button(N_("Cancel"), 0.5, 0.5,
button = ed_create_button(_("Cancel"), 0.5, 0.5,
(GtkSignalFunc) cpopup_split_uniform_cancel_callback,
(gpointer) dialog);
GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT);
@ -4915,7 +4915,7 @@ cpopup_replicate_callback(GtkWidget *widget, gpointer data)
/* Buttons */
button = ed_create_button(N_("Replicate"), 0.5, 0.5,
button = ed_create_button(_("Replicate"), 0.5, 0.5,
(GtkSignalFunc) cpopup_do_replicate_callback,
(gpointer) dialog);
GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT);
@ -4924,7 +4924,7 @@ cpopup_replicate_callback(GtkWidget *widget, gpointer data)
gtk_widget_grab_default(button);
gtk_widget_show(button);
button = ed_create_button(N_("Cancel"), 0.5, 0.5,
button = ed_create_button(_("Cancel"), 0.5, 0.5,
(GtkSignalFunc) cpopup_replicate_cancel_callback,
(gpointer) dialog);
GTK_WIDGET_SET_FLAGS(button, GTK_CAN_DEFAULT);

View File

@ -54,6 +54,8 @@
#include "session.h"
#include "actionarea.h"
#include "libgimp/gimpintl.h"
#define G_SAMPLE 40
typedef struct _GradSelect _GradSelect, *GradSelectP;
@ -81,8 +83,8 @@ static void grad_change_callbacks(GradSelectP gsp, gint closing);
static ActionAreaItem action_items[2] =
{
{ "Close", grad_select_close_callback, NULL, NULL },
{ "Edit", grad_select_edit_callback, NULL, NULL },
{ N_("Close"), grad_select_close_callback, NULL, NULL },
{ N_("Edit"), grad_select_edit_callback, NULL, NULL },
};
void
@ -397,7 +399,7 @@ grad_change_callbacks(GradSelectP gsp, gint closing)
PDB_END);
if (!return_vals || return_vals[0].value.pdb_int != PDB_SUCCESS)
g_message ("failed to run gradient callback function");
g_message (_("failed to run gradient callback function"));
else
procedural_db_destroy_args (return_vals, nreturn_vals);
}
@ -479,8 +481,8 @@ gsel_new_selection(gchar * title,
gtk_clist_set_row_height(GTK_CLIST(gsp->clist), 18);
gtk_clist_set_column_width(GTK_CLIST(gsp->clist), 0, 52);
gtk_clist_set_column_title(GTK_CLIST(gsp->clist), 0, "Gradient");
gtk_clist_set_column_title(GTK_CLIST(gsp->clist), 1, "Name");
gtk_clist_set_column_title(GTK_CLIST(gsp->clist), 0, _("Gradient"));
gtk_clist_set_column_title(GTK_CLIST(gsp->clist), 1, _("Name"));
gtk_clist_column_titles_show(GTK_CLIST(gsp->clist));
hbox = gtk_hbox_new(FALSE, 8);
@ -512,7 +514,7 @@ gsel_new_selection(gchar * title,
if(!title)
{
gtk_window_set_title (GTK_WINDOW (gsp->shell), "Gradient Selection");
gtk_window_set_title (GTK_WINDOW (gsp->shell), _("Gradient Selection"));
}
else
{
@ -560,7 +562,7 @@ grad_create_gradient_editor(void)
{
if(gradient_select_dialog == NULL)
{
gradient_select_dialog = gsel_new_selection("Gradients",NULL);
gradient_select_dialog = gsel_new_selection(_("Gradients"),NULL);
session_set_window_geometry (gradient_select_dialog->shell, &gradient_select_session_info, TRUE);
}

View File

@ -23,6 +23,8 @@
#include "interface.h"
#include "session.h"
#include "libgimp/gimpintl.h"
/* static functions */
static InfoField * info_field_new (InfoDialog *, char *, char *, GtkSignalFunc, gpointer);
static void update_field (InfoField *);
@ -44,7 +46,7 @@ info_field_new (InfoDialog *idialog,
row = idialog->nfields + 1;
gtk_table_resize (GTK_TABLE (idialog->info_table), 2, row);
label = gtk_label_new (title);
label = gtk_label_new (gettext(title));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach_defaults (GTK_TABLE (idialog->info_table), label,
0, 1, row - 1, row);
@ -113,7 +115,7 @@ info_dialog_new (char *title)
shell = gtk_dialog_new ();
gtk_window_set_wmclass (GTK_WINDOW (shell), "info_dialog", "Gimp");
gtk_window_set_title (GTK_WINDOW (shell), title);
gtk_window_set_title (GTK_WINDOW (shell), gettext(title));
session_set_window_geometry (shell, &info_dialog_session_info, FALSE );
gtk_signal_connect (GTK_OBJECT (shell), "delete_event",

View File

@ -26,6 +26,8 @@
#include "layer_select.h"
#include "layers_dialogP.h"
#include "libgimp/gimpintl.h"
#define PREVIEW_EVENT_MASK GDK_EXPOSURE_MASK | GDK_ENTER_NOTIFY_MASK
@ -96,7 +98,7 @@ layer_select_init (GImage *gimage,
/* The shell and main vbox */
layer_select->shell = gtk_window_new (GTK_WINDOW_POPUP);
gtk_window_set_wmclass (GTK_WINDOW (layer_select->shell), "layer_select", "Gimp");
gtk_window_set_title (GTK_WINDOW (layer_select->shell), "Layer Select");
gtk_window_set_title (GTK_WINDOW (layer_select->shell), _("Layer Select"));
gtk_window_set_position (GTK_WINDOW (layer_select->shell), GTK_WIN_POS_MOUSE);
gtk_signal_connect (GTK_OBJECT (layer_select->shell), "event",
(GtkSignalFunc) layer_select_events,
@ -132,7 +134,7 @@ layer_select_init (GImage *gimage,
gtk_widget_show (alignment);
/* the layer name label */
layer_select->label = gtk_label_new ("Layer");
layer_select->label = gtk_label_new (_("Layer"));
gtk_box_pack_start (GTK_BOX (hbox), layer_select->label, FALSE, FALSE, 2);
gtk_widget_show (layer_select->label);

View File

@ -29,6 +29,7 @@
#include "paint_funcs.h"
#include "session.h"
#include "libgimp/gimpintl.h"
#define MIN_CELL_SIZE 32
#define MAX_CELL_SIZE 45
@ -72,8 +73,8 @@ static void pattern_select_scroll_update (GtkAdjustment *, gpointer);
/* the action area structure */
static ActionAreaItem action_items[2] =
{
{ "Close", pattern_select_close_callback, NULL, NULL },
{ "Refresh", pattern_select_refresh_callback, NULL, NULL },
{ N_("Close"), pattern_select_close_callback, NULL, NULL },
{ N_("Refresh"), pattern_select_refresh_callback, NULL, NULL },
};
gint NUM_PATTERN_COLUMNS = 6;
@ -108,7 +109,7 @@ pattern_select_new (gchar * title,
gtk_window_set_wmclass (GTK_WINDOW (psp->shell), "patternselection", "Gimp");
if(!title)
{
gtk_window_set_title (GTK_WINDOW (psp->shell), "Pattern Selection");
gtk_window_set_title (GTK_WINDOW (psp->shell), _("Pattern Selection"));
session_set_window_geometry (psp->shell, &pattern_select_session_info, TRUE);
}
else
@ -144,7 +145,7 @@ pattern_select_new (gchar * title,
label_box = gtk_hbox_new (FALSE, 1);
gtk_container_set_border_width (GTK_CONTAINER (label_box), 2);
gtk_box_pack_start (GTK_BOX (psp->options_box), label_box, FALSE, FALSE, 0);
psp->pattern_name = gtk_label_new ("Active");
psp->pattern_name = gtk_label_new (_("Active"));
gtk_box_pack_start (GTK_BOX (label_box), psp->pattern_name, FALSE, FALSE, 2);
psp->pattern_size = gtk_label_new ("(0x0)");
gtk_box_pack_start (GTK_BOX (label_box), psp->pattern_size, FALSE, FALSE, 5);
@ -251,7 +252,7 @@ pattern_change_callbacks(PatternSelectP psp, gint closing)
PDB_END);
if (!return_vals || return_vals[0].value.pdb_int != PDB_SUCCESS)
g_message ("failed to run pattern callback function");
g_message (_("failed to run pattern callback function"));
procedural_db_destroy_args (return_vals, nreturn_vals);
}

View File

@ -165,17 +165,17 @@ static ProcArg progress_init_args[] =
{
{ PDB_STRING,
"message",
N_("Message to use in the progress dialog.") },
"Message to use in the progress dialog." },
{ PDB_INT32,
"gdisplay",
N_("GDisplay to update progressbar in, or -1 for a seperate window") }
"GDisplay to update progressbar in, or -1 for a seperate window" }
};
static ProcRecord progress_init_proc =
{
"gimp_progress_init",
N_("Initializes the progress bar for the current plug-in"),
N_("Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Initializes the progress bar for the current plug-in",
"Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -191,14 +191,14 @@ static ProcArg progress_update_args[] =
{
{ PDB_FLOAT,
"percentage",
N_("Percentage of progress completed") }
"Percentage of progress completed" }
};
static ProcRecord progress_update_proc =
{
"gimp_progress_update",
N_("Updates the progress bar for the current plug-in"),
N_("Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Updates the progress bar for the current plug-in",
"Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -215,14 +215,14 @@ static ProcArg message_args[] =
{
{ PDB_STRING,
"message",
N_("Message to display in the dialog.") }
"Message to display in the dialog." }
};
static ProcRecord message_proc =
{
"gimp_message",
N_("Displays a dialog box with a message"),
N_("Displays a dialog box with a message. Useful for status or error reporting."),
"Displays a dialog box with a message",
"Displays a dialog box with a message. Useful for status or error reporting.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -239,14 +239,14 @@ static ProcArg message_handler_get_out_args[] =
{
{ PDB_INT32,
"handler",
N_("the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_get_proc =
{
"gimp_message_handler_get",
N_("Returns the current state of where warning messages are displayed."),
N_("This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Returns the current state of where warning messages are displayed.",
"This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -262,14 +262,14 @@ static ProcArg message_handler_set_args[] =
{
{ PDB_INT32,
"handler",
N_("the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_set_proc =
{
"gimp_message_handler_set",
N_("Controls where warning messages are displayed."),
N_("This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Controls where warning messages are displayed.",
"This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -285,15 +285,15 @@ static ProcArg plugin_temp_PDB_name_out_args[] =
{
{ PDB_STRING,
"Temp name",
N_("A unique temporary name for a temporary PDB entry name"),
"A unique temporary name for a temporary PDB entry name",
},
};
static ProcRecord plugin_temp_PDB_name_proc =
{
"gimp_temp_PDB_name",
N_("Generates a unique temporary PDB name"),
N_("This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name."),
"Generates a unique temporary PDB name",
"This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name.",
"Andy Thomas",
"Andy Thomas",
"1998",

View File

@ -165,17 +165,17 @@ static ProcArg progress_init_args[] =
{
{ PDB_STRING,
"message",
N_("Message to use in the progress dialog.") },
"Message to use in the progress dialog." },
{ PDB_INT32,
"gdisplay",
N_("GDisplay to update progressbar in, or -1 for a seperate window") }
"GDisplay to update progressbar in, or -1 for a seperate window" }
};
static ProcRecord progress_init_proc =
{
"gimp_progress_init",
N_("Initializes the progress bar for the current plug-in"),
N_("Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Initializes the progress bar for the current plug-in",
"Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -191,14 +191,14 @@ static ProcArg progress_update_args[] =
{
{ PDB_FLOAT,
"percentage",
N_("Percentage of progress completed") }
"Percentage of progress completed" }
};
static ProcRecord progress_update_proc =
{
"gimp_progress_update",
N_("Updates the progress bar for the current plug-in"),
N_("Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Updates the progress bar for the current plug-in",
"Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -215,14 +215,14 @@ static ProcArg message_args[] =
{
{ PDB_STRING,
"message",
N_("Message to display in the dialog.") }
"Message to display in the dialog." }
};
static ProcRecord message_proc =
{
"gimp_message",
N_("Displays a dialog box with a message"),
N_("Displays a dialog box with a message. Useful for status or error reporting."),
"Displays a dialog box with a message",
"Displays a dialog box with a message. Useful for status or error reporting.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -239,14 +239,14 @@ static ProcArg message_handler_get_out_args[] =
{
{ PDB_INT32,
"handler",
N_("the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_get_proc =
{
"gimp_message_handler_get",
N_("Returns the current state of where warning messages are displayed."),
N_("This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Returns the current state of where warning messages are displayed.",
"This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -262,14 +262,14 @@ static ProcArg message_handler_set_args[] =
{
{ PDB_INT32,
"handler",
N_("the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_set_proc =
{
"gimp_message_handler_set",
N_("Controls where warning messages are displayed."),
N_("This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Controls where warning messages are displayed.",
"This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -285,15 +285,15 @@ static ProcArg plugin_temp_PDB_name_out_args[] =
{
{ PDB_STRING,
"Temp name",
N_("A unique temporary name for a temporary PDB entry name"),
"A unique temporary name for a temporary PDB entry name",
},
};
static ProcRecord plugin_temp_PDB_name_proc =
{
"gimp_temp_PDB_name",
N_("Generates a unique temporary PDB name"),
N_("This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name."),
"Generates a unique temporary PDB name",
"This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name.",
"Andy Thomas",
"Andy Thomas",
"1998",

View File

@ -29,6 +29,8 @@
#include "image_map.h"
#include "interface.h"
#include "libgimp/gimpintl.h"
#define TEXT_WIDTH 45
#define HISTOGRAM_WIDTH 256
#define HISTOGRAM_HEIGHT 150
@ -90,13 +92,13 @@ static Argument * histogram_invoker (Argument *args);
static char * histogram_info_names[7] =
{
"Mean: ",
"Std Dev: ",
"Median: ",
"Pixels: ",
"Intensity: ",
"Count: ",
"Percentile: "
N_("Mean: "),
N_("Std Dev: "),
N_("Median: "),
N_("Pixels: "),
N_("Intensity: "),
N_("Count: "),
N_("Percentile: ")
};
/* histogram_tool machinery */
@ -505,7 +507,7 @@ histogram_tool_new_dialog ()
y = (i % 4);
x = (i / 4) * 2;
label = gtk_label_new (histogram_info_names[i]);
label = gtk_label_new (gettext(histogram_info_names[i]));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach (GTK_TABLE (table), label, x, x + 1, y, y + 1,
GTK_FILL, GTK_FILL, 2, 2);

View File

@ -23,6 +23,8 @@
#include "interface.h"
#include "session.h"
#include "libgimp/gimpintl.h"
/* static functions */
static InfoField * info_field_new (InfoDialog *, char *, char *, GtkSignalFunc, gpointer);
static void update_field (InfoField *);
@ -44,7 +46,7 @@ info_field_new (InfoDialog *idialog,
row = idialog->nfields + 1;
gtk_table_resize (GTK_TABLE (idialog->info_table), 2, row);
label = gtk_label_new (title);
label = gtk_label_new (gettext(title));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach_defaults (GTK_TABLE (idialog->info_table), label,
0, 1, row - 1, row);
@ -113,7 +115,7 @@ info_dialog_new (char *title)
shell = gtk_dialog_new ();
gtk_window_set_wmclass (GTK_WINDOW (shell), "info_dialog", "Gimp");
gtk_window_set_title (GTK_WINDOW (shell), title);
gtk_window_set_title (GTK_WINDOW (shell), gettext(title));
session_set_window_geometry (shell, &info_dialog_session_info, FALSE );
gtk_signal_connect (GTK_OBJECT (shell), "delete_event",

View File

@ -33,6 +33,8 @@
#include "parasitelist.h"
#include "undo.h"
#include "libgimp/gimpintl.h"
#include "layer_pvt.h"
#include "tile_manager_pvt.h"
#include "tile.h" /* ick. */
@ -236,7 +238,7 @@ layer_new (gimage, width, height, type, name, opacity, mode)
Layer * layer;
if (width == 0 || height == 0) {
g_message ("Zero width or height layers not allowed.");
g_message (_("Zero width or height layers not allowed."));
return NULL;
}
@ -304,13 +306,13 @@ layer_copy (layer, add_alpha)
name = layer_get_name(layer);
ext = strrchr(name, '#');
layer_name = (char *) g_malloc (strlen (name) + 6);
if ((strlen(name) >= 4 && strcmp(&name[strlen(name) -4], "copy") == 0) ||
if ((strlen(name) >= 4 && strcmp(&name[strlen(name) -4], _("copy")) == 0) ||
(ext && (number = atoi(ext+1)) > 0 &&
((int)(log10(number) + 1)) == strlen(ext+1)))
/* don't have rudundant "copy"s */
sprintf (layer_name, "%s", name);
else
sprintf (layer_name, "%s copy", name);
sprintf (layer_name, _("%s copy"), name);
/* when copying a layer, the copy ALWAYS has an alpha channel */
if (add_alpha)
{
@ -339,7 +341,7 @@ layer_copy (layer, add_alpha)
GIMP_DRAWABLE(layer)->height,
new_type, layer_name, layer->opacity, layer->mode);
if (!new_layer) {
g_message ("layer_copy: could not allocate new layer");
g_message (_("layer_copy: could not allocate new layer"));
goto cleanup;
}
@ -416,7 +418,7 @@ layer_from_tiles (gimage_ptr, drawable, tiles, name, opacity, mode)
layer_type, name, opacity, mode);
if (!new_layer) {
g_message ("layer_from_tiles: could not allocate new layer");
g_message (_("layer_from_tiles: could not allocate new layer"));
return NULL;
}
@ -471,8 +473,8 @@ layer_create_mask (layer, add_mask_type)
unsigned char white_mask = OPAQUE_OPACITY;
unsigned char black_mask = TRANSPARENT_OPACITY;
mask_name = (char *) g_malloc (strlen (GIMP_DRAWABLE(layer)->name) + strlen ("mask") + 2);
sprintf (mask_name, "%s mask", GIMP_DRAWABLE(layer)->name);
mask_name = (char *) g_malloc (strlen (GIMP_DRAWABLE(layer)->name) + strlen (_("mask")) + 2);
sprintf (mask_name, _("%s mask"), GIMP_DRAWABLE(layer)->name);
/* Create the layer mask */
mask = layer_mask_new (GIMP_DRAWABLE(layer)->gimage, GIMP_DRAWABLE(layer)->width, GIMP_DRAWABLE(layer)->height,
@ -1425,7 +1427,7 @@ layer_mask_copy (LayerMask *layer_mask)
/* formulate the new layer_mask name */
layer_mask_name = (char *) g_malloc (strlen (GIMP_DRAWABLE(layer_mask)->name) + 6);
sprintf (layer_mask_name, "%s copy", GIMP_DRAWABLE(layer_mask)->name);
sprintf (layer_mask_name, _("%s copy"), GIMP_DRAWABLE(layer_mask)->name);
/* allocate a new layer_mask object */
new_layer_mask = layer_mask_new (GIMP_DRAWABLE(layer_mask)->gimage,

View File

@ -26,6 +26,8 @@
#include "layer_select.h"
#include "layers_dialogP.h"
#include "libgimp/gimpintl.h"
#define PREVIEW_EVENT_MASK GDK_EXPOSURE_MASK | GDK_ENTER_NOTIFY_MASK
@ -96,7 +98,7 @@ layer_select_init (GImage *gimage,
/* The shell and main vbox */
layer_select->shell = gtk_window_new (GTK_WINDOW_POPUP);
gtk_window_set_wmclass (GTK_WINDOW (layer_select->shell), "layer_select", "Gimp");
gtk_window_set_title (GTK_WINDOW (layer_select->shell), "Layer Select");
gtk_window_set_title (GTK_WINDOW (layer_select->shell), _("Layer Select"));
gtk_window_set_position (GTK_WINDOW (layer_select->shell), GTK_WIN_POS_MOUSE);
gtk_signal_connect (GTK_OBJECT (layer_select->shell), "event",
(GtkSignalFunc) layer_select_events,
@ -132,7 +134,7 @@ layer_select_init (GImage *gimage,
gtk_widget_show (alignment);
/* the layer name label */
layer_select->label = gtk_label_new ("Layer");
layer_select->label = gtk_label_new (_("Layer"));
gtk_box_pack_start (GTK_BOX (hbox), layer_select->label, FALSE, FALSE, 2);
gtk_widget_show (layer_select->label);

View File

@ -30,6 +30,8 @@
#include "interface.h"
#include "levels.h"
#include "libgimp/gimpintl.h"
#define LOW_INPUT 0x1
#define GAMMA 0x2
#define HIGH_INPUT 0x4
@ -368,7 +370,7 @@ tools_new_levels ()
/* The tool options */
if (!levels_options)
levels_options = tools_register_no_options (LEVELS, "Levels Options");
levels_options = tools_register_no_options (LEVELS, _("Levels Options"));
tool = (Tool *) g_malloc (sizeof (Tool));
private = (Levels *) g_malloc (sizeof (Levels));
@ -407,11 +409,11 @@ tools_free_levels (Tool *tool)
static MenuItem color_option_items[] =
{
{ "Value", 0, 0, levels_value_callback, NULL, NULL, NULL },
{ "Red", 0, 0, levels_red_callback, NULL, NULL, NULL },
{ "Green", 0, 0, levels_green_callback, NULL, NULL, NULL },
{ "Blue", 0, 0, levels_blue_callback, NULL, NULL, NULL },
{ "Alpha", 0, 0, levels_alpha_callback, NULL, NULL, NULL },
{ N_("Value"), 0, 0, levels_value_callback, NULL, NULL, NULL },
{ N_("Red"), 0, 0, levels_red_callback, NULL, NULL, NULL },
{ N_("Green"), 0, 0, levels_green_callback, NULL, NULL, NULL },
{ N_("Blue"), 0, 0, levels_blue_callback, NULL, NULL, NULL },
{ N_("Alpha"), 0, 0, levels_alpha_callback, NULL, NULL, NULL },
{ NULL, 0, 0, NULL, NULL, NULL, NULL }
};
@ -422,7 +424,7 @@ levels_initialize (GDisplay *gdisp)
if (drawable_indexed (gimage_active_drawable (gdisp->gimage)))
{
g_message ("Levels for indexed drawables cannot be adjusted.");
g_message (_("Levels for indexed drawables cannot be adjusted."));
return;
}
@ -499,9 +501,9 @@ levels_free ()
/* the action area structure */
static ActionAreaItem action_items[] =
{
{ "Auto Levels", levels_auto_levels_callback, NULL, NULL },
{ "OK", levels_ok_callback, NULL, NULL },
{ "Cancel", levels_cancel_callback, NULL, NULL }
{ N_("Auto Levels"), levels_auto_levels_callback, NULL, NULL },
{ N_("OK"), levels_ok_callback, NULL, NULL },
{ N_("Cancel"), levels_cancel_callback, NULL, NULL }
};
static LevelsDialog *
@ -527,7 +529,7 @@ levels_new_dialog ()
/* The shell and main vbox */
ld->shell = gtk_dialog_new ();
gtk_window_set_wmclass (GTK_WINDOW (ld->shell), "levels", "Gimp");
gtk_window_set_title (GTK_WINDOW (ld->shell), "Levels");
gtk_window_set_title (GTK_WINDOW (ld->shell), _("Levels"));
/* handle the wm close signal */
gtk_signal_connect (GTK_OBJECT (ld->shell), "delete_event",
@ -542,7 +544,7 @@ levels_new_dialog ()
channel_hbox = gtk_hbox_new (FALSE, 2);
gtk_box_pack_start (GTK_BOX (vbox), channel_hbox, FALSE, FALSE, 0);
label = gtk_label_new ("Modify Levels for Channel: ");
label = gtk_label_new (_("Modify Levels for Channel: "));
gtk_box_pack_start (GTK_BOX (channel_hbox), label, FALSE, FALSE, 0);
menu = build_menu (color_option_items, NULL);
@ -558,7 +560,7 @@ levels_new_dialog ()
hbox = gtk_hbox_new (TRUE, 2);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
label = gtk_label_new ("Input Levels: ");
label = gtk_label_new (_("Input Levels: "));
gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
gtk_widget_show (label);
@ -642,7 +644,7 @@ levels_new_dialog ()
hbox = gtk_hbox_new (TRUE, 2);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
label = gtk_label_new ("Output Levels: ");
label = gtk_label_new (_("Output Levels: "));
gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
gtk_widget_show (label);
@ -701,7 +703,7 @@ levels_new_dialog ()
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
/* The preview toggle */
toggle = gtk_check_button_new_with_label ("Preview");
toggle = gtk_check_button_new_with_label (_("Preview"));
gtk_toggle_button_set_state (GTK_TOGGLE_BUTTON (toggle), ld->preview);
gtk_box_pack_start (GTK_BOX (hbox), toggle, TRUE, FALSE, 0);
gtk_signal_connect (GTK_OBJECT (toggle), "toggled",
@ -902,7 +904,7 @@ static void
levels_preview (LevelsDialog *ld)
{
if (!ld->image_map)
g_warning ("No image map");
g_warning (_("No image map"));
active_tool->preserve = TRUE;
image_map_apply (ld->image_map, levels, (void *) ld);
active_tool->preserve = FALSE;

View File

@ -24,6 +24,8 @@
#include "magnify.h"
#include "scale.h"
#include "libgimp/gimpintl.h"
/* types of magnify operations */
#define ZOOMIN 0
#define ZOOMOUT 1
@ -128,7 +130,7 @@ create_magnify_options (void)
vbox = gtk_vbox_new (FALSE, 1);
/* the main label */
label = gtk_label_new ("Magnify Options");
label = gtk_label_new (_("Magnify Options"));
gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
gtk_widget_show (label);
@ -136,7 +138,7 @@ create_magnify_options (void)
/* the allow_resize toggle button */
allow_resize_toggle = gtk_check_button_new ();
gtk_box_pack_start (GTK_BOX (vbox), allow_resize_toggle, FALSE, FALSE, 0);
label = gtk_label_new ("Allow Window Resizing");
label = gtk_label_new (_("Allow Window Resizing"));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_container_add (GTK_CONTAINER (allow_resize_toggle), label);
gtk_widget_show (label);

View File

@ -165,17 +165,17 @@ static ProcArg progress_init_args[] =
{
{ PDB_STRING,
"message",
N_("Message to use in the progress dialog.") },
"Message to use in the progress dialog." },
{ PDB_INT32,
"gdisplay",
N_("GDisplay to update progressbar in, or -1 for a seperate window") }
"GDisplay to update progressbar in, or -1 for a seperate window" }
};
static ProcRecord progress_init_proc =
{
"gimp_progress_init",
N_("Initializes the progress bar for the current plug-in"),
N_("Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Initializes the progress bar for the current plug-in",
"Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -191,14 +191,14 @@ static ProcArg progress_update_args[] =
{
{ PDB_FLOAT,
"percentage",
N_("Percentage of progress completed") }
"Percentage of progress completed" }
};
static ProcRecord progress_update_proc =
{
"gimp_progress_update",
N_("Updates the progress bar for the current plug-in"),
N_("Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Updates the progress bar for the current plug-in",
"Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -215,14 +215,14 @@ static ProcArg message_args[] =
{
{ PDB_STRING,
"message",
N_("Message to display in the dialog.") }
"Message to display in the dialog." }
};
static ProcRecord message_proc =
{
"gimp_message",
N_("Displays a dialog box with a message"),
N_("Displays a dialog box with a message. Useful for status or error reporting."),
"Displays a dialog box with a message",
"Displays a dialog box with a message. Useful for status or error reporting.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -239,14 +239,14 @@ static ProcArg message_handler_get_out_args[] =
{
{ PDB_INT32,
"handler",
N_("the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_get_proc =
{
"gimp_message_handler_get",
N_("Returns the current state of where warning messages are displayed."),
N_("This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Returns the current state of where warning messages are displayed.",
"This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -262,14 +262,14 @@ static ProcArg message_handler_set_args[] =
{
{ PDB_INT32,
"handler",
N_("the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_set_proc =
{
"gimp_message_handler_set",
N_("Controls where warning messages are displayed."),
N_("This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Controls where warning messages are displayed.",
"This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -285,15 +285,15 @@ static ProcArg plugin_temp_PDB_name_out_args[] =
{
{ PDB_STRING,
"Temp name",
N_("A unique temporary name for a temporary PDB entry name"),
"A unique temporary name for a temporary PDB entry name",
},
};
static ProcRecord plugin_temp_PDB_name_proc =
{
"gimp_temp_PDB_name",
N_("Generates a unique temporary PDB name"),
N_("This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name."),
"Generates a unique temporary PDB name",
"This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name.",
"Andy Thomas",
"Andy Thomas",
"1998",

View File

@ -27,6 +27,8 @@
#include "move.h"
#include "undo.h"
#include "libgimp/gimpintl.h"
typedef struct _MoveTool MoveTool;
struct _MoveTool
@ -418,7 +420,7 @@ tools_new_move_tool ()
MoveTool * private;
if (! move_options)
move_options = tools_register_no_options (MOVE, "Move Tool Options");
move_options = tools_register_no_options (MOVE, _("Move Tool Options"));
tool = (Tool *) g_malloc (sizeof (Tool));
private = (MoveTool *) g_malloc (sizeof (MoveTool));

View File

@ -28,6 +28,8 @@
#include "tile_manager_pvt.h" /* For copy-on-write */
#include "tile.h" /* ick. */
#include "libgimp/gimpintl.h"
#include <stdio.h>
#define STD_BUF_SIZE 1021
@ -57,24 +59,24 @@ struct _LayerMode
LayerMode layer_modes[] =
{
{ 1, "Normal" },
{ 1, "Dissolve" },
{ 1, "Behind" },
{ 0, "Multiply (Burn)" },
{ 0, "Screen" },
{ 0, "Overlay" },
{ 0, "Difference" },
{ 0, "Addition" },
{ 0, "Subtraction" },
{ 0, "Darken Only" },
{ 0, "Lighten Only" },
{ 0, "Hue" },
{ 0, "Saturation" },
{ 0, "Color" },
{ 0, "Value" },
{ 0, "Divide (Dodge)" },
{ 1, "Erase" },
{ 1, "Replace" }
{ 1, N_("Normal") },
{ 1, N_("Dissolve") },
{ 1, N_("Behind") },
{ 0, N_("Multiply (Burn)") },
{ 0, N_("Screen") },
{ 0, N_("Overlay") },
{ 0, N_("Difference") },
{ 0, N_("Addition") },
{ 0, N_("Subtraction") },
{ 0, N_("Darken Only") },
{ 0, N_("Lighten Only") },
{ 0, N_("Hue") },
{ 0, N_("Saturation") },
{ 0, N_("Color") },
{ 0, N_("Value") },
{ 0, N_("Divide (Dodge)") },
{ 1, N_("Erase") },
{ 1, N_("Replace") }
};
/* ColorHash structure */
@ -1004,7 +1006,7 @@ replace_pixels (unsigned char *src1,
if (bytes1 != bytes2)
{
g_message ("replace_pixels only works on commensurate pixel regions");
g_message (_("replace_pixels only works on commensurate pixel regions"));
return;
}
@ -4063,7 +4065,7 @@ border_region(PixelRegion *src, gint16 radius)
if (radius < 0)
{
g_warning ("border_region: negative radius specified.");
g_warning (_("border_region: negative radius specified."));
return;
}
if (radius == 0)

View File

@ -549,31 +549,31 @@ ProcArg clone_args[] =
{
{ PDB_DRAWABLE,
"drawable",
N_("the drawable")
"the drawable"
},
{ PDB_DRAWABLE,
"src_drawable",
N_("the source drawable")
"the source drawable"
},
{ PDB_INT32,
"clone_type",
N_("the type of clone: { IMAGE-CLONE (0), PATTERN-CLONE (1) }")
"the type of clone: { IMAGE-CLONE (0), PATTERN-CLONE (1) }"
},
{ PDB_FLOAT,
"src_x",
N_("the x coordinate in the source image")
"the x coordinate in the source image"
},
{ PDB_FLOAT,
"src_y",
N_("the y coordinate in the source image")
"the y coordinate in the source image"
},
{ PDB_INT32,
"num_strokes",
N_("number of stroke control points (count each coordinate as 2 points)")
"number of stroke control points (count each coordinate as 2 points)"
},
{ PDB_FLOATARRAY,
"strokes",
N_("array of stroke coordinates: {s1.x, s1.y, s2.x, s2.y, ..., sn.x, sn.y}")
"array of stroke coordinates: {s1.x, s1.y, s2.x, s2.y, ..., sn.x, sn.y}"
}
};
@ -581,8 +581,8 @@ ProcArg clone_args[] =
ProcRecord clone_proc =
{
"gimp_clone",
N_("Clone from the source to the dest drawable using the current brush"),
N_("This tool clones (copies) from the source drawable starting at the specified source coordinates to the dest drawable. If the \"clone_type\" argument is set to PATTERN-CLONE, then the current pattern is used as the source and the \"src_drawable\" argument is ignored. Pattern cloning assumes a tileable pattern and mods the sum of the src coordinates and subsequent stroke offsets with the width and height of the pattern. For image cloning, if the sum of the src coordinates and subsequent stroke offsets exceeds the extents of the src drawable, then no paint is transferred. The clone tool is capable of transforming between any image types including RGB->Indexed--although converting from any type to indexed is significantly slower."),
"Clone from the source to the dest drawable using the current brush",
"This tool clones (copies) from the source drawable starting at the specified source coordinates to the dest drawable. If the \"clone_type\" argument is set to PATTERN-CLONE, then the current pattern is used as the source and the \"src_drawable\" argument is ignored. Pattern cloning assumes a tileable pattern and mods the sum of the src coordinates and subsequent stroke offsets with the width and height of the pattern. For image cloning, if the sum of the src coordinates and subsequent stroke offsets exceeds the extents of the src drawable, then no paint is transferred. The clone tool is capable of transforming between any image types including RGB->Indexed--although converting from any type to indexed is significantly slower.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",

View File

@ -426,23 +426,23 @@ ProcArg convolve_args[] =
{
{ PDB_DRAWABLE,
"drawable",
N_("the drawable")
"the drawable"
},
{ PDB_FLOAT,
"pressure",
N_("the pressure: 0 <= pressure <= 100")
"the pressure: 0 <= pressure <= 100"
},
{ PDB_INT32,
"convolve_type",
N_("convolve type: { BLUR (0), SHARPEN (1) }")
"convolve type: { BLUR (0), SHARPEN (1) }"
},
{ PDB_INT32,
"num_strokes",
N_("number of stroke control points (count each coordinate as 2 points)")
"number of stroke control points (count each coordinate as 2 points)"
},
{ PDB_FLOATARRAY,
"strokes",
N_("array of stroke coordinates: {s1.x, s1.y, s2.x, s2.y, ..., sn.x, sn.y}")
"array of stroke coordinates: {s1.x, s1.y, s2.x, s2.y, ..., sn.x, sn.y}"
}
};
@ -450,8 +450,8 @@ ProcArg convolve_args[] =
ProcRecord convolve_proc =
{
"gimp_convolve",
N_("Convolve (Blur, Sharpen) using the current brush"),
N_("This tool convolves the specified drawable with either a sharpening or blurring kernel. The pressure parameter controls the magnitude of the operation. Like the paintbrush, this tool linearly interpolates between the specified stroke coordinates."),
"Convolve (Blur, Sharpen) using the current brush",
"This tool convolves the specified drawable with either a sharpening or blurring kernel. The pressure parameter controls the magnitude of the operation. Like the paintbrush, this tool linearly interpolates between the specified stroke coordinates.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",

View File

@ -29,6 +29,8 @@
#include "selection.h"
#include "tools.h"
#include "libgimp/gimpintl.h"
/* forward function declarations */
static void pencil_motion (PaintCore *, GimpDrawable *);
static Argument * pencil_invoker (Argument *);
@ -68,7 +70,7 @@ tools_new_pencil ()
PaintCore * private;
if (!pencil_options)
pencil_options = tools_register_no_options (PENCIL, "Pencil Options");
pencil_options = tools_register_no_options (PENCIL, _("Pencil Options"));
tool = paint_core_new (PENCIL);

View File

@ -549,31 +549,31 @@ ProcArg clone_args[] =
{
{ PDB_DRAWABLE,
"drawable",
N_("the drawable")
"the drawable"
},
{ PDB_DRAWABLE,
"src_drawable",
N_("the source drawable")
"the source drawable"
},
{ PDB_INT32,
"clone_type",
N_("the type of clone: { IMAGE-CLONE (0), PATTERN-CLONE (1) }")
"the type of clone: { IMAGE-CLONE (0), PATTERN-CLONE (1) }"
},
{ PDB_FLOAT,
"src_x",
N_("the x coordinate in the source image")
"the x coordinate in the source image"
},
{ PDB_FLOAT,
"src_y",
N_("the y coordinate in the source image")
"the y coordinate in the source image"
},
{ PDB_INT32,
"num_strokes",
N_("number of stroke control points (count each coordinate as 2 points)")
"number of stroke control points (count each coordinate as 2 points)"
},
{ PDB_FLOATARRAY,
"strokes",
N_("array of stroke coordinates: {s1.x, s1.y, s2.x, s2.y, ..., sn.x, sn.y}")
"array of stroke coordinates: {s1.x, s1.y, s2.x, s2.y, ..., sn.x, sn.y}"
}
};
@ -581,8 +581,8 @@ ProcArg clone_args[] =
ProcRecord clone_proc =
{
"gimp_clone",
N_("Clone from the source to the dest drawable using the current brush"),
N_("This tool clones (copies) from the source drawable starting at the specified source coordinates to the dest drawable. If the \"clone_type\" argument is set to PATTERN-CLONE, then the current pattern is used as the source and the \"src_drawable\" argument is ignored. Pattern cloning assumes a tileable pattern and mods the sum of the src coordinates and subsequent stroke offsets with the width and height of the pattern. For image cloning, if the sum of the src coordinates and subsequent stroke offsets exceeds the extents of the src drawable, then no paint is transferred. The clone tool is capable of transforming between any image types including RGB->Indexed--although converting from any type to indexed is significantly slower."),
"Clone from the source to the dest drawable using the current brush",
"This tool clones (copies) from the source drawable starting at the specified source coordinates to the dest drawable. If the \"clone_type\" argument is set to PATTERN-CLONE, then the current pattern is used as the source and the \"src_drawable\" argument is ignored. Pattern cloning assumes a tileable pattern and mods the sum of the src coordinates and subsequent stroke offsets with the width and height of the pattern. For image cloning, if the sum of the src coordinates and subsequent stroke offsets exceeds the extents of the src drawable, then no paint is transferred. The clone tool is capable of transforming between any image types including RGB->Indexed--although converting from any type to indexed is significantly slower.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",

View File

@ -33,6 +33,8 @@
#include "tools.h"
#include "undo.h"
#include "libgimp/gimpintl.h"
#include "tile.h" /* ick. */
#define SQR(x) ((x) * (x))
@ -421,7 +423,7 @@ paint_core_init (paint_core, drawable, x, y)
}
if (!(brush = get_active_brush ()))
{
g_message ("No brushes available for use with this tool.");
g_message (_("No brushes available for use with this tool."));
return FALSE;
}
gtk_object_ref(GTK_OBJECT(brush));
@ -1101,7 +1103,7 @@ paint_core_replace (paint_core, brush_mask, drawable, brush_opacity, image_opaci
if (mode != INCREMENTAL)
{
g_message ("paint_core_replace only works in INCREMENTAL mode");
g_message (_("paint_core_replace only works in INCREMENTAL mode"));
return;
}
@ -1242,7 +1244,7 @@ set_undo_tiles (drawable, x, y, w, h)
if (undo_tiles == NULL)
{
g_warning ("set_undo_tiles: undo_tiles is null");
g_warning (_("set_undo_tiles: undo_tiles is null"));
return;
}

View File

@ -28,6 +28,8 @@
#include "tile_manager_pvt.h" /* For copy-on-write */
#include "tile.h" /* ick. */
#include "libgimp/gimpintl.h"
#include <stdio.h>
#define STD_BUF_SIZE 1021
@ -57,24 +59,24 @@ struct _LayerMode
LayerMode layer_modes[] =
{
{ 1, "Normal" },
{ 1, "Dissolve" },
{ 1, "Behind" },
{ 0, "Multiply (Burn)" },
{ 0, "Screen" },
{ 0, "Overlay" },
{ 0, "Difference" },
{ 0, "Addition" },
{ 0, "Subtraction" },
{ 0, "Darken Only" },
{ 0, "Lighten Only" },
{ 0, "Hue" },
{ 0, "Saturation" },
{ 0, "Color" },
{ 0, "Value" },
{ 0, "Divide (Dodge)" },
{ 1, "Erase" },
{ 1, "Replace" }
{ 1, N_("Normal") },
{ 1, N_("Dissolve") },
{ 1, N_("Behind") },
{ 0, N_("Multiply (Burn)") },
{ 0, N_("Screen") },
{ 0, N_("Overlay") },
{ 0, N_("Difference") },
{ 0, N_("Addition") },
{ 0, N_("Subtraction") },
{ 0, N_("Darken Only") },
{ 0, N_("Lighten Only") },
{ 0, N_("Hue") },
{ 0, N_("Saturation") },
{ 0, N_("Color") },
{ 0, N_("Value") },
{ 0, N_("Divide (Dodge)") },
{ 1, N_("Erase") },
{ 1, N_("Replace") }
};
/* ColorHash structure */
@ -1004,7 +1006,7 @@ replace_pixels (unsigned char *src1,
if (bytes1 != bytes2)
{
g_message ("replace_pixels only works on commensurate pixel regions");
g_message (_("replace_pixels only works on commensurate pixel regions"));
return;
}
@ -4063,7 +4065,7 @@ border_region(PixelRegion *src, gint16 radius)
if (radius < 0)
{
g_warning ("border_region: negative radius specified.");
g_warning (_("border_region: negative radius specified."));
return;
}
if (radius == 0)

View File

@ -29,6 +29,8 @@
#include "selection.h"
#include "tools.h"
#include "libgimp/gimpintl.h"
/* forward function declarations */
static void paintbrush_motion (PaintCore *, GimpDrawable *, double, gboolean);
static Argument * paintbrush_invoker (Argument *);
@ -92,7 +94,7 @@ create_paint_options (void)
vbox = gtk_vbox_new (FALSE, 1);
/* the main label */
label = gtk_label_new ("Paintbrush Options");
label = gtk_label_new (_("Paintbrush Options"));
gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
gtk_widget_show (label);
@ -100,7 +102,7 @@ create_paint_options (void)
hbox = gtk_hbox_new (FALSE, 1);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
label = gtk_label_new ("Fade Out");
label = gtk_label_new (_("Fade Out"));
gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
gtk_widget_show (label);
@ -117,7 +119,7 @@ create_paint_options (void)
/* the incremental toggle */
incremental_toggle = gtk_check_button_new_with_label ("Incremental");
incremental_toggle = gtk_check_button_new_with_label (_("Incremental"));
gtk_box_pack_start (GTK_BOX (vbox), incremental_toggle, FALSE, FALSE, 0);
gtk_signal_connect (GTK_OBJECT (incremental_toggle), "toggled",
(GtkSignalFunc) paintbrush_toggle_update,

View File

@ -29,6 +29,7 @@
#include "paint_funcs.h"
#include "session.h"
#include "libgimp/gimpintl.h"
#define MIN_CELL_SIZE 32
#define MAX_CELL_SIZE 45
@ -72,8 +73,8 @@ static void pattern_select_scroll_update (GtkAdjustment *, gpointer);
/* the action area structure */
static ActionAreaItem action_items[2] =
{
{ "Close", pattern_select_close_callback, NULL, NULL },
{ "Refresh", pattern_select_refresh_callback, NULL, NULL },
{ N_("Close"), pattern_select_close_callback, NULL, NULL },
{ N_("Refresh"), pattern_select_refresh_callback, NULL, NULL },
};
gint NUM_PATTERN_COLUMNS = 6;
@ -108,7 +109,7 @@ pattern_select_new (gchar * title,
gtk_window_set_wmclass (GTK_WINDOW (psp->shell), "patternselection", "Gimp");
if(!title)
{
gtk_window_set_title (GTK_WINDOW (psp->shell), "Pattern Selection");
gtk_window_set_title (GTK_WINDOW (psp->shell), _("Pattern Selection"));
session_set_window_geometry (psp->shell, &pattern_select_session_info, TRUE);
}
else
@ -144,7 +145,7 @@ pattern_select_new (gchar * title,
label_box = gtk_hbox_new (FALSE, 1);
gtk_container_set_border_width (GTK_CONTAINER (label_box), 2);
gtk_box_pack_start (GTK_BOX (psp->options_box), label_box, FALSE, FALSE, 0);
psp->pattern_name = gtk_label_new ("Active");
psp->pattern_name = gtk_label_new (_("Active"));
gtk_box_pack_start (GTK_BOX (label_box), psp->pattern_name, FALSE, FALSE, 2);
psp->pattern_size = gtk_label_new ("(0x0)");
gtk_box_pack_start (GTK_BOX (label_box), psp->pattern_size, FALSE, FALSE, 5);
@ -251,7 +252,7 @@ pattern_change_callbacks(PatternSelectP psp, gint closing)
PDB_END);
if (!return_vals || return_vals[0].value.pdb_int != PDB_SUCCESS)
g_message ("failed to run pattern callback function");
g_message (_("failed to run pattern callback function"));
procedural_db_destroy_args (return_vals, nreturn_vals);
}

View File

@ -36,6 +36,7 @@
#include "gimprc.h"
#include "menus.h"
#include "libgimp/gimpintl.h"
/* global variables */
GPatternP active_pattern = NULL;
@ -133,7 +134,7 @@ get_active_pattern ()
{
have_default_pattern = 0;
if (!active_pattern)
fatal_error ("Specified default pattern not found!");
fatal_error (_("Specified default pattern not found!"));
}
else if (! active_pattern && pattern_list)
@ -202,7 +203,7 @@ load_pattern (char *filename)
/* Check for correct version */
if (header.version != FILE_VERSION)
{
g_message ("Unknown GIMP version #%d in \"%s\"\n", header.version,
g_message (_("Unknown GIMP version #%d in \"%s\"\n"), header.version,
filename);
fclose (fp);
free_pattern (pattern);
@ -218,21 +219,21 @@ load_pattern (char *filename)
pattern->name = (char *) g_malloc (sizeof (char) * bn_size);
if ((fread (pattern->name, 1, bn_size, fp)) < bn_size)
{
g_message ("Error in GIMP pattern file...aborting.");
g_message (_("Error in GIMP pattern file...aborting."));
fclose (fp);
free_pattern (pattern);
return;
}
}
else
pattern->name = g_strdup ("Unnamed");
pattern->name = g_strdup (_("Unnamed"));
/* Read the pattern mask data */
/* Read the image data */
if ((fread (temp_buf_data (pattern->mask), 1,
header.width * header.height * header.bytes, fp)) <
header.width * header.height * header.bytes)
g_message ("GIMP pattern file appears to be truncated.");
g_message (_("GIMP pattern file appears to be truncated."));
/* Clean up */
fclose (fp);

View File

@ -29,6 +29,8 @@
#include "selection.h"
#include "tools.h"
#include "libgimp/gimpintl.h"
/* forward function declarations */
static void pencil_motion (PaintCore *, GimpDrawable *);
static Argument * pencil_invoker (Argument *);
@ -68,7 +70,7 @@ tools_new_pencil ()
PaintCore * private;
if (!pencil_options)
pencil_options = tools_register_no_options (PENCIL, "Pencil Options");
pencil_options = tools_register_no_options (PENCIL, _("Pencil Options"));
tool = paint_core_new (PENCIL);

View File

@ -29,6 +29,8 @@
#include "transform_tool.h"
#include "undo.h"
#include "libgimp/gimpintl.h"
#include "tile_manager_pvt.h"
#define X0 0
@ -68,7 +70,7 @@ perspective_tool_transform (tool, gdisp_ptr, state)
case INIT :
if (!transform_info)
{
transform_info = info_dialog_new ("Perspective Transform Information");
transform_info = info_dialog_new (_("Perspective Transform Information"));
info_dialog_add_field (transform_info, "Matrix: ",
matrix_row_buf[0], NULL, NULL);
info_dialog_add_field (transform_info, " ",

View File

@ -165,17 +165,17 @@ static ProcArg progress_init_args[] =
{
{ PDB_STRING,
"message",
N_("Message to use in the progress dialog.") },
"Message to use in the progress dialog." },
{ PDB_INT32,
"gdisplay",
N_("GDisplay to update progressbar in, or -1 for a seperate window") }
"GDisplay to update progressbar in, or -1 for a seperate window" }
};
static ProcRecord progress_init_proc =
{
"gimp_progress_init",
N_("Initializes the progress bar for the current plug-in"),
N_("Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Initializes the progress bar for the current plug-in",
"Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -191,14 +191,14 @@ static ProcArg progress_update_args[] =
{
{ PDB_FLOAT,
"percentage",
N_("Percentage of progress completed") }
"Percentage of progress completed" }
};
static ProcRecord progress_update_proc =
{
"gimp_progress_update",
N_("Updates the progress bar for the current plug-in"),
N_("Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Updates the progress bar for the current plug-in",
"Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -215,14 +215,14 @@ static ProcArg message_args[] =
{
{ PDB_STRING,
"message",
N_("Message to display in the dialog.") }
"Message to display in the dialog." }
};
static ProcRecord message_proc =
{
"gimp_message",
N_("Displays a dialog box with a message"),
N_("Displays a dialog box with a message. Useful for status or error reporting."),
"Displays a dialog box with a message",
"Displays a dialog box with a message. Useful for status or error reporting.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -239,14 +239,14 @@ static ProcArg message_handler_get_out_args[] =
{
{ PDB_INT32,
"handler",
N_("the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_get_proc =
{
"gimp_message_handler_get",
N_("Returns the current state of where warning messages are displayed."),
N_("This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Returns the current state of where warning messages are displayed.",
"This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -262,14 +262,14 @@ static ProcArg message_handler_set_args[] =
{
{ PDB_INT32,
"handler",
N_("the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_set_proc =
{
"gimp_message_handler_set",
N_("Controls where warning messages are displayed."),
N_("This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Controls where warning messages are displayed.",
"This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -285,15 +285,15 @@ static ProcArg plugin_temp_PDB_name_out_args[] =
{
{ PDB_STRING,
"Temp name",
N_("A unique temporary name for a temporary PDB entry name"),
"A unique temporary name for a temporary PDB entry name",
},
};
static ProcRecord plugin_temp_PDB_name_proc =
{
"gimp_temp_PDB_name",
N_("Generates a unique temporary PDB name"),
N_("This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name."),
"Generates a unique temporary PDB name",
"This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name.",
"Andy Thomas",
"Andy Thomas",
"1998",

View File

@ -165,17 +165,17 @@ static ProcArg progress_init_args[] =
{
{ PDB_STRING,
"message",
N_("Message to use in the progress dialog.") },
"Message to use in the progress dialog." },
{ PDB_INT32,
"gdisplay",
N_("GDisplay to update progressbar in, or -1 for a seperate window") }
"GDisplay to update progressbar in, or -1 for a seperate window" }
};
static ProcRecord progress_init_proc =
{
"gimp_progress_init",
N_("Initializes the progress bar for the current plug-in"),
N_("Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Initializes the progress bar for the current plug-in",
"Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -191,14 +191,14 @@ static ProcArg progress_update_args[] =
{
{ PDB_FLOAT,
"percentage",
N_("Percentage of progress completed") }
"Percentage of progress completed" }
};
static ProcRecord progress_update_proc =
{
"gimp_progress_update",
N_("Updates the progress bar for the current plug-in"),
N_("Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Updates the progress bar for the current plug-in",
"Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -215,14 +215,14 @@ static ProcArg message_args[] =
{
{ PDB_STRING,
"message",
N_("Message to display in the dialog.") }
"Message to display in the dialog." }
};
static ProcRecord message_proc =
{
"gimp_message",
N_("Displays a dialog box with a message"),
N_("Displays a dialog box with a message. Useful for status or error reporting."),
"Displays a dialog box with a message",
"Displays a dialog box with a message. Useful for status or error reporting.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -239,14 +239,14 @@ static ProcArg message_handler_get_out_args[] =
{
{ PDB_INT32,
"handler",
N_("the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_get_proc =
{
"gimp_message_handler_get",
N_("Returns the current state of where warning messages are displayed."),
N_("This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Returns the current state of where warning messages are displayed.",
"This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -262,14 +262,14 @@ static ProcArg message_handler_set_args[] =
{
{ PDB_INT32,
"handler",
N_("the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_set_proc =
{
"gimp_message_handler_set",
N_("Controls where warning messages are displayed."),
N_("This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Controls where warning messages are displayed.",
"This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -285,15 +285,15 @@ static ProcArg plugin_temp_PDB_name_out_args[] =
{
{ PDB_STRING,
"Temp name",
N_("A unique temporary name for a temporary PDB entry name"),
"A unique temporary name for a temporary PDB entry name",
},
};
static ProcRecord plugin_temp_PDB_name_proc =
{
"gimp_temp_PDB_name",
N_("Generates a unique temporary PDB name"),
N_("This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name."),
"Generates a unique temporary PDB name",
"This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name.",
"Andy Thomas",
"Andy Thomas",
"1998",

View File

@ -165,17 +165,17 @@ static ProcArg progress_init_args[] =
{
{ PDB_STRING,
"message",
N_("Message to use in the progress dialog.") },
"Message to use in the progress dialog." },
{ PDB_INT32,
"gdisplay",
N_("GDisplay to update progressbar in, or -1 for a seperate window") }
"GDisplay to update progressbar in, or -1 for a seperate window" }
};
static ProcRecord progress_init_proc =
{
"gimp_progress_init",
N_("Initializes the progress bar for the current plug-in"),
N_("Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Initializes the progress bar for the current plug-in",
"Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -191,14 +191,14 @@ static ProcArg progress_update_args[] =
{
{ PDB_FLOAT,
"percentage",
N_("Percentage of progress completed") }
"Percentage of progress completed" }
};
static ProcRecord progress_update_proc =
{
"gimp_progress_update",
N_("Updates the progress bar for the current plug-in"),
N_("Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Updates the progress bar for the current plug-in",
"Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -215,14 +215,14 @@ static ProcArg message_args[] =
{
{ PDB_STRING,
"message",
N_("Message to display in the dialog.") }
"Message to display in the dialog." }
};
static ProcRecord message_proc =
{
"gimp_message",
N_("Displays a dialog box with a message"),
N_("Displays a dialog box with a message. Useful for status or error reporting."),
"Displays a dialog box with a message",
"Displays a dialog box with a message. Useful for status or error reporting.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -239,14 +239,14 @@ static ProcArg message_handler_get_out_args[] =
{
{ PDB_INT32,
"handler",
N_("the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_get_proc =
{
"gimp_message_handler_get",
N_("Returns the current state of where warning messages are displayed."),
N_("This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Returns the current state of where warning messages are displayed.",
"This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -262,14 +262,14 @@ static ProcArg message_handler_set_args[] =
{
{ PDB_INT32,
"handler",
N_("the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_set_proc =
{
"gimp_message_handler_set",
N_("Controls where warning messages are displayed."),
N_("This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Controls where warning messages are displayed.",
"This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -285,15 +285,15 @@ static ProcArg plugin_temp_PDB_name_out_args[] =
{
{ PDB_STRING,
"Temp name",
N_("A unique temporary name for a temporary PDB entry name"),
"A unique temporary name for a temporary PDB entry name",
},
};
static ProcRecord plugin_temp_PDB_name_proc =
{
"gimp_temp_PDB_name",
N_("Generates a unique temporary PDB name"),
N_("This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name."),
"Generates a unique temporary PDB name",
"This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name.",
"Andy Thomas",
"Andy Thomas",
"1998",

View File

@ -165,17 +165,17 @@ static ProcArg progress_init_args[] =
{
{ PDB_STRING,
"message",
N_("Message to use in the progress dialog.") },
"Message to use in the progress dialog." },
{ PDB_INT32,
"gdisplay",
N_("GDisplay to update progressbar in, or -1 for a seperate window") }
"GDisplay to update progressbar in, or -1 for a seperate window" }
};
static ProcRecord progress_init_proc =
{
"gimp_progress_init",
N_("Initializes the progress bar for the current plug-in"),
N_("Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Initializes the progress bar for the current plug-in",
"Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -191,14 +191,14 @@ static ProcArg progress_update_args[] =
{
{ PDB_FLOAT,
"percentage",
N_("Percentage of progress completed") }
"Percentage of progress completed" }
};
static ProcRecord progress_update_proc =
{
"gimp_progress_update",
N_("Updates the progress bar for the current plug-in"),
N_("Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Updates the progress bar for the current plug-in",
"Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -215,14 +215,14 @@ static ProcArg message_args[] =
{
{ PDB_STRING,
"message",
N_("Message to display in the dialog.") }
"Message to display in the dialog." }
};
static ProcRecord message_proc =
{
"gimp_message",
N_("Displays a dialog box with a message"),
N_("Displays a dialog box with a message. Useful for status or error reporting."),
"Displays a dialog box with a message",
"Displays a dialog box with a message. Useful for status or error reporting.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -239,14 +239,14 @@ static ProcArg message_handler_get_out_args[] =
{
{ PDB_INT32,
"handler",
N_("the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_get_proc =
{
"gimp_message_handler_get",
N_("Returns the current state of where warning messages are displayed."),
N_("This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Returns the current state of where warning messages are displayed.",
"This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -262,14 +262,14 @@ static ProcArg message_handler_set_args[] =
{
{ PDB_INT32,
"handler",
N_("the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_set_proc =
{
"gimp_message_handler_set",
N_("Controls where warning messages are displayed."),
N_("This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Controls where warning messages are displayed.",
"This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -285,15 +285,15 @@ static ProcArg plugin_temp_PDB_name_out_args[] =
{
{ PDB_STRING,
"Temp name",
N_("A unique temporary name for a temporary PDB entry name"),
"A unique temporary name for a temporary PDB entry name",
},
};
static ProcRecord plugin_temp_PDB_name_proc =
{
"gimp_temp_PDB_name",
N_("Generates a unique temporary PDB name"),
N_("This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name."),
"Generates a unique temporary PDB name",
"This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name.",
"Andy Thomas",
"Andy Thomas",
"1998",

View File

@ -165,17 +165,17 @@ static ProcArg progress_init_args[] =
{
{ PDB_STRING,
"message",
N_("Message to use in the progress dialog.") },
"Message to use in the progress dialog." },
{ PDB_INT32,
"gdisplay",
N_("GDisplay to update progressbar in, or -1 for a seperate window") }
"GDisplay to update progressbar in, or -1 for a seperate window" }
};
static ProcRecord progress_init_proc =
{
"gimp_progress_init",
N_("Initializes the progress bar for the current plug-in"),
N_("Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Initializes the progress bar for the current plug-in",
"Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -191,14 +191,14 @@ static ProcArg progress_update_args[] =
{
{ PDB_FLOAT,
"percentage",
N_("Percentage of progress completed") }
"Percentage of progress completed" }
};
static ProcRecord progress_update_proc =
{
"gimp_progress_update",
N_("Updates the progress bar for the current plug-in"),
N_("Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Updates the progress bar for the current plug-in",
"Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -215,14 +215,14 @@ static ProcArg message_args[] =
{
{ PDB_STRING,
"message",
N_("Message to display in the dialog.") }
"Message to display in the dialog." }
};
static ProcRecord message_proc =
{
"gimp_message",
N_("Displays a dialog box with a message"),
N_("Displays a dialog box with a message. Useful for status or error reporting."),
"Displays a dialog box with a message",
"Displays a dialog box with a message. Useful for status or error reporting.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -239,14 +239,14 @@ static ProcArg message_handler_get_out_args[] =
{
{ PDB_INT32,
"handler",
N_("the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_get_proc =
{
"gimp_message_handler_get",
N_("Returns the current state of where warning messages are displayed."),
N_("This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Returns the current state of where warning messages are displayed.",
"This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -262,14 +262,14 @@ static ProcArg message_handler_set_args[] =
{
{ PDB_INT32,
"handler",
N_("the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_set_proc =
{
"gimp_message_handler_set",
N_("Controls where warning messages are displayed."),
N_("This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Controls where warning messages are displayed.",
"This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -285,15 +285,15 @@ static ProcArg plugin_temp_PDB_name_out_args[] =
{
{ PDB_STRING,
"Temp name",
N_("A unique temporary name for a temporary PDB entry name"),
"A unique temporary name for a temporary PDB entry name",
},
};
static ProcRecord plugin_temp_PDB_name_proc =
{
"gimp_temp_PDB_name",
N_("Generates a unique temporary PDB name"),
N_("This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name."),
"Generates a unique temporary PDB name",
"This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name.",
"Andy Thomas",
"Andy Thomas",
"1998",

View File

@ -165,17 +165,17 @@ static ProcArg progress_init_args[] =
{
{ PDB_STRING,
"message",
N_("Message to use in the progress dialog.") },
"Message to use in the progress dialog." },
{ PDB_INT32,
"gdisplay",
N_("GDisplay to update progressbar in, or -1 for a seperate window") }
"GDisplay to update progressbar in, or -1 for a seperate window" }
};
static ProcRecord progress_init_proc =
{
"gimp_progress_init",
N_("Initializes the progress bar for the current plug-in"),
N_("Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Initializes the progress bar for the current plug-in",
"Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -191,14 +191,14 @@ static ProcArg progress_update_args[] =
{
{ PDB_FLOAT,
"percentage",
N_("Percentage of progress completed") }
"Percentage of progress completed" }
};
static ProcRecord progress_update_proc =
{
"gimp_progress_update",
N_("Updates the progress bar for the current plug-in"),
N_("Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Updates the progress bar for the current plug-in",
"Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -215,14 +215,14 @@ static ProcArg message_args[] =
{
{ PDB_STRING,
"message",
N_("Message to display in the dialog.") }
"Message to display in the dialog." }
};
static ProcRecord message_proc =
{
"gimp_message",
N_("Displays a dialog box with a message"),
N_("Displays a dialog box with a message. Useful for status or error reporting."),
"Displays a dialog box with a message",
"Displays a dialog box with a message. Useful for status or error reporting.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -239,14 +239,14 @@ static ProcArg message_handler_get_out_args[] =
{
{ PDB_INT32,
"handler",
N_("the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_get_proc =
{
"gimp_message_handler_get",
N_("Returns the current state of where warning messages are displayed."),
N_("This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Returns the current state of where warning messages are displayed.",
"This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -262,14 +262,14 @@ static ProcArg message_handler_set_args[] =
{
{ PDB_INT32,
"handler",
N_("the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_set_proc =
{
"gimp_message_handler_set",
N_("Controls where warning messages are displayed."),
N_("This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Controls where warning messages are displayed.",
"This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -285,15 +285,15 @@ static ProcArg plugin_temp_PDB_name_out_args[] =
{
{ PDB_STRING,
"Temp name",
N_("A unique temporary name for a temporary PDB entry name"),
"A unique temporary name for a temporary PDB entry name",
},
};
static ProcRecord plugin_temp_PDB_name_proc =
{
"gimp_temp_PDB_name",
N_("Generates a unique temporary PDB name"),
N_("This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name."),
"Generates a unique temporary PDB name",
"This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name.",
"Andy Thomas",
"Andy Thomas",
"1998",

View File

@ -165,17 +165,17 @@ static ProcArg progress_init_args[] =
{
{ PDB_STRING,
"message",
N_("Message to use in the progress dialog.") },
"Message to use in the progress dialog." },
{ PDB_INT32,
"gdisplay",
N_("GDisplay to update progressbar in, or -1 for a seperate window") }
"GDisplay to update progressbar in, or -1 for a seperate window" }
};
static ProcRecord progress_init_proc =
{
"gimp_progress_init",
N_("Initializes the progress bar for the current plug-in"),
N_("Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Initializes the progress bar for the current plug-in",
"Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -191,14 +191,14 @@ static ProcArg progress_update_args[] =
{
{ PDB_FLOAT,
"percentage",
N_("Percentage of progress completed") }
"Percentage of progress completed" }
};
static ProcRecord progress_update_proc =
{
"gimp_progress_update",
N_("Updates the progress bar for the current plug-in"),
N_("Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Updates the progress bar for the current plug-in",
"Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -215,14 +215,14 @@ static ProcArg message_args[] =
{
{ PDB_STRING,
"message",
N_("Message to display in the dialog.") }
"Message to display in the dialog." }
};
static ProcRecord message_proc =
{
"gimp_message",
N_("Displays a dialog box with a message"),
N_("Displays a dialog box with a message. Useful for status or error reporting."),
"Displays a dialog box with a message",
"Displays a dialog box with a message. Useful for status or error reporting.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -239,14 +239,14 @@ static ProcArg message_handler_get_out_args[] =
{
{ PDB_INT32,
"handler",
N_("the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_get_proc =
{
"gimp_message_handler_get",
N_("Returns the current state of where warning messages are displayed."),
N_("This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Returns the current state of where warning messages are displayed.",
"This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -262,14 +262,14 @@ static ProcArg message_handler_set_args[] =
{
{ PDB_INT32,
"handler",
N_("the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_set_proc =
{
"gimp_message_handler_set",
N_("Controls where warning messages are displayed."),
N_("This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Controls where warning messages are displayed.",
"This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -285,15 +285,15 @@ static ProcArg plugin_temp_PDB_name_out_args[] =
{
{ PDB_STRING,
"Temp name",
N_("A unique temporary name for a temporary PDB entry name"),
"A unique temporary name for a temporary PDB entry name",
},
};
static ProcRecord plugin_temp_PDB_name_proc =
{
"gimp_temp_PDB_name",
N_("Generates a unique temporary PDB name"),
N_("This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name."),
"Generates a unique temporary PDB name",
"This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name.",
"Andy Thomas",
"Andy Thomas",
"1998",

View File

@ -165,17 +165,17 @@ static ProcArg progress_init_args[] =
{
{ PDB_STRING,
"message",
N_("Message to use in the progress dialog.") },
"Message to use in the progress dialog." },
{ PDB_INT32,
"gdisplay",
N_("GDisplay to update progressbar in, or -1 for a seperate window") }
"GDisplay to update progressbar in, or -1 for a seperate window" }
};
static ProcRecord progress_init_proc =
{
"gimp_progress_init",
N_("Initializes the progress bar for the current plug-in"),
N_("Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Initializes the progress bar for the current plug-in",
"Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -191,14 +191,14 @@ static ProcArg progress_update_args[] =
{
{ PDB_FLOAT,
"percentage",
N_("Percentage of progress completed") }
"Percentage of progress completed" }
};
static ProcRecord progress_update_proc =
{
"gimp_progress_update",
N_("Updates the progress bar for the current plug-in"),
N_("Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Updates the progress bar for the current plug-in",
"Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -215,14 +215,14 @@ static ProcArg message_args[] =
{
{ PDB_STRING,
"message",
N_("Message to display in the dialog.") }
"Message to display in the dialog." }
};
static ProcRecord message_proc =
{
"gimp_message",
N_("Displays a dialog box with a message"),
N_("Displays a dialog box with a message. Useful for status or error reporting."),
"Displays a dialog box with a message",
"Displays a dialog box with a message. Useful for status or error reporting.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -239,14 +239,14 @@ static ProcArg message_handler_get_out_args[] =
{
{ PDB_INT32,
"handler",
N_("the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_get_proc =
{
"gimp_message_handler_get",
N_("Returns the current state of where warning messages are displayed."),
N_("This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Returns the current state of where warning messages are displayed.",
"This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -262,14 +262,14 @@ static ProcArg message_handler_set_args[] =
{
{ PDB_INT32,
"handler",
N_("the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_set_proc =
{
"gimp_message_handler_set",
N_("Controls where warning messages are displayed."),
N_("This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Controls where warning messages are displayed.",
"This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -285,15 +285,15 @@ static ProcArg plugin_temp_PDB_name_out_args[] =
{
{ PDB_STRING,
"Temp name",
N_("A unique temporary name for a temporary PDB entry name"),
"A unique temporary name for a temporary PDB entry name",
},
};
static ProcRecord plugin_temp_PDB_name_proc =
{
"gimp_temp_PDB_name",
N_("Generates a unique temporary PDB name"),
N_("This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name."),
"Generates a unique temporary PDB name",
"This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name.",
"Andy Thomas",
"Andy Thomas",
"1998",

View File

@ -165,17 +165,17 @@ static ProcArg progress_init_args[] =
{
{ PDB_STRING,
"message",
N_("Message to use in the progress dialog.") },
"Message to use in the progress dialog." },
{ PDB_INT32,
"gdisplay",
N_("GDisplay to update progressbar in, or -1 for a seperate window") }
"GDisplay to update progressbar in, or -1 for a seperate window" }
};
static ProcRecord progress_init_proc =
{
"gimp_progress_init",
N_("Initializes the progress bar for the current plug-in"),
N_("Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Initializes the progress bar for the current plug-in",
"Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -191,14 +191,14 @@ static ProcArg progress_update_args[] =
{
{ PDB_FLOAT,
"percentage",
N_("Percentage of progress completed") }
"Percentage of progress completed" }
};
static ProcRecord progress_update_proc =
{
"gimp_progress_update",
N_("Updates the progress bar for the current plug-in"),
N_("Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Updates the progress bar for the current plug-in",
"Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -215,14 +215,14 @@ static ProcArg message_args[] =
{
{ PDB_STRING,
"message",
N_("Message to display in the dialog.") }
"Message to display in the dialog." }
};
static ProcRecord message_proc =
{
"gimp_message",
N_("Displays a dialog box with a message"),
N_("Displays a dialog box with a message. Useful for status or error reporting."),
"Displays a dialog box with a message",
"Displays a dialog box with a message. Useful for status or error reporting.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -239,14 +239,14 @@ static ProcArg message_handler_get_out_args[] =
{
{ PDB_INT32,
"handler",
N_("the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_get_proc =
{
"gimp_message_handler_get",
N_("Returns the current state of where warning messages are displayed."),
N_("This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Returns the current state of where warning messages are displayed.",
"This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -262,14 +262,14 @@ static ProcArg message_handler_set_args[] =
{
{ PDB_INT32,
"handler",
N_("the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_set_proc =
{
"gimp_message_handler_set",
N_("Controls where warning messages are displayed."),
N_("This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Controls where warning messages are displayed.",
"This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -285,15 +285,15 @@ static ProcArg plugin_temp_PDB_name_out_args[] =
{
{ PDB_STRING,
"Temp name",
N_("A unique temporary name for a temporary PDB entry name"),
"A unique temporary name for a temporary PDB entry name",
},
};
static ProcRecord plugin_temp_PDB_name_proc =
{
"gimp_temp_PDB_name",
N_("Generates a unique temporary PDB name"),
N_("This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name."),
"Generates a unique temporary PDB name",
"This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name.",
"Andy Thomas",
"Andy Thomas",
"1998",

View File

@ -165,17 +165,17 @@ static ProcArg progress_init_args[] =
{
{ PDB_STRING,
"message",
N_("Message to use in the progress dialog.") },
"Message to use in the progress dialog." },
{ PDB_INT32,
"gdisplay",
N_("GDisplay to update progressbar in, or -1 for a seperate window") }
"GDisplay to update progressbar in, or -1 for a seperate window" }
};
static ProcRecord progress_init_proc =
{
"gimp_progress_init",
N_("Initializes the progress bar for the current plug-in"),
N_("Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Initializes the progress bar for the current plug-in",
"Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -191,14 +191,14 @@ static ProcArg progress_update_args[] =
{
{ PDB_FLOAT,
"percentage",
N_("Percentage of progress completed") }
"Percentage of progress completed" }
};
static ProcRecord progress_update_proc =
{
"gimp_progress_update",
N_("Updates the progress bar for the current plug-in"),
N_("Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Updates the progress bar for the current plug-in",
"Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -215,14 +215,14 @@ static ProcArg message_args[] =
{
{ PDB_STRING,
"message",
N_("Message to display in the dialog.") }
"Message to display in the dialog." }
};
static ProcRecord message_proc =
{
"gimp_message",
N_("Displays a dialog box with a message"),
N_("Displays a dialog box with a message. Useful for status or error reporting."),
"Displays a dialog box with a message",
"Displays a dialog box with a message. Useful for status or error reporting.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -239,14 +239,14 @@ static ProcArg message_handler_get_out_args[] =
{
{ PDB_INT32,
"handler",
N_("the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_get_proc =
{
"gimp_message_handler_get",
N_("Returns the current state of where warning messages are displayed."),
N_("This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Returns the current state of where warning messages are displayed.",
"This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -262,14 +262,14 @@ static ProcArg message_handler_set_args[] =
{
{ PDB_INT32,
"handler",
N_("the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_set_proc =
{
"gimp_message_handler_set",
N_("Controls where warning messages are displayed."),
N_("This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Controls where warning messages are displayed.",
"This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -285,15 +285,15 @@ static ProcArg plugin_temp_PDB_name_out_args[] =
{
{ PDB_STRING,
"Temp name",
N_("A unique temporary name for a temporary PDB entry name"),
"A unique temporary name for a temporary PDB entry name",
},
};
static ProcRecord plugin_temp_PDB_name_proc =
{
"gimp_temp_PDB_name",
N_("Generates a unique temporary PDB name"),
N_("This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name."),
"Generates a unique temporary PDB name",
"This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name.",
"Andy Thomas",
"Andy Thomas",
"1998",

View File

@ -165,17 +165,17 @@ static ProcArg progress_init_args[] =
{
{ PDB_STRING,
"message",
N_("Message to use in the progress dialog.") },
"Message to use in the progress dialog." },
{ PDB_INT32,
"gdisplay",
N_("GDisplay to update progressbar in, or -1 for a seperate window") }
"GDisplay to update progressbar in, or -1 for a seperate window" }
};
static ProcRecord progress_init_proc =
{
"gimp_progress_init",
N_("Initializes the progress bar for the current plug-in"),
N_("Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Initializes the progress bar for the current plug-in",
"Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -191,14 +191,14 @@ static ProcArg progress_update_args[] =
{
{ PDB_FLOAT,
"percentage",
N_("Percentage of progress completed") }
"Percentage of progress completed" }
};
static ProcRecord progress_update_proc =
{
"gimp_progress_update",
N_("Updates the progress bar for the current plug-in"),
N_("Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Updates the progress bar for the current plug-in",
"Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -215,14 +215,14 @@ static ProcArg message_args[] =
{
{ PDB_STRING,
"message",
N_("Message to display in the dialog.") }
"Message to display in the dialog." }
};
static ProcRecord message_proc =
{
"gimp_message",
N_("Displays a dialog box with a message"),
N_("Displays a dialog box with a message. Useful for status or error reporting."),
"Displays a dialog box with a message",
"Displays a dialog box with a message. Useful for status or error reporting.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -239,14 +239,14 @@ static ProcArg message_handler_get_out_args[] =
{
{ PDB_INT32,
"handler",
N_("the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_get_proc =
{
"gimp_message_handler_get",
N_("Returns the current state of where warning messages are displayed."),
N_("This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Returns the current state of where warning messages are displayed.",
"This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -262,14 +262,14 @@ static ProcArg message_handler_set_args[] =
{
{ PDB_INT32,
"handler",
N_("the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_set_proc =
{
"gimp_message_handler_set",
N_("Controls where warning messages are displayed."),
N_("This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Controls where warning messages are displayed.",
"This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -285,15 +285,15 @@ static ProcArg plugin_temp_PDB_name_out_args[] =
{
{ PDB_STRING,
"Temp name",
N_("A unique temporary name for a temporary PDB entry name"),
"A unique temporary name for a temporary PDB entry name",
},
};
static ProcRecord plugin_temp_PDB_name_proc =
{
"gimp_temp_PDB_name",
N_("Generates a unique temporary PDB name"),
N_("This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name."),
"Generates a unique temporary PDB name",
"This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name.",
"Andy Thomas",
"Andy Thomas",
"1998",

View File

@ -165,17 +165,17 @@ static ProcArg progress_init_args[] =
{
{ PDB_STRING,
"message",
N_("Message to use in the progress dialog.") },
"Message to use in the progress dialog." },
{ PDB_INT32,
"gdisplay",
N_("GDisplay to update progressbar in, or -1 for a seperate window") }
"GDisplay to update progressbar in, or -1 for a seperate window" }
};
static ProcRecord progress_init_proc =
{
"gimp_progress_init",
N_("Initializes the progress bar for the current plug-in"),
N_("Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Initializes the progress bar for the current plug-in",
"Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -191,14 +191,14 @@ static ProcArg progress_update_args[] =
{
{ PDB_FLOAT,
"percentage",
N_("Percentage of progress completed") }
"Percentage of progress completed" }
};
static ProcRecord progress_update_proc =
{
"gimp_progress_update",
N_("Updates the progress bar for the current plug-in"),
N_("Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Updates the progress bar for the current plug-in",
"Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -215,14 +215,14 @@ static ProcArg message_args[] =
{
{ PDB_STRING,
"message",
N_("Message to display in the dialog.") }
"Message to display in the dialog." }
};
static ProcRecord message_proc =
{
"gimp_message",
N_("Displays a dialog box with a message"),
N_("Displays a dialog box with a message. Useful for status or error reporting."),
"Displays a dialog box with a message",
"Displays a dialog box with a message. Useful for status or error reporting.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -239,14 +239,14 @@ static ProcArg message_handler_get_out_args[] =
{
{ PDB_INT32,
"handler",
N_("the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_get_proc =
{
"gimp_message_handler_get",
N_("Returns the current state of where warning messages are displayed."),
N_("This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Returns the current state of where warning messages are displayed.",
"This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -262,14 +262,14 @@ static ProcArg message_handler_set_args[] =
{
{ PDB_INT32,
"handler",
N_("the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_set_proc =
{
"gimp_message_handler_set",
N_("Controls where warning messages are displayed."),
N_("This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Controls where warning messages are displayed.",
"This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -285,15 +285,15 @@ static ProcArg plugin_temp_PDB_name_out_args[] =
{
{ PDB_STRING,
"Temp name",
N_("A unique temporary name for a temporary PDB entry name"),
"A unique temporary name for a temporary PDB entry name",
},
};
static ProcRecord plugin_temp_PDB_name_proc =
{
"gimp_temp_PDB_name",
N_("Generates a unique temporary PDB name"),
N_("This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name."),
"Generates a unique temporary PDB name",
"This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name.",
"Andy Thomas",
"Andy Thomas",
"1998",

View File

@ -165,17 +165,17 @@ static ProcArg progress_init_args[] =
{
{ PDB_STRING,
"message",
N_("Message to use in the progress dialog.") },
"Message to use in the progress dialog." },
{ PDB_INT32,
"gdisplay",
N_("GDisplay to update progressbar in, or -1 for a seperate window") }
"GDisplay to update progressbar in, or -1 for a seperate window" }
};
static ProcRecord progress_init_proc =
{
"gimp_progress_init",
N_("Initializes the progress bar for the current plug-in"),
N_("Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Initializes the progress bar for the current plug-in",
"Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -191,14 +191,14 @@ static ProcArg progress_update_args[] =
{
{ PDB_FLOAT,
"percentage",
N_("Percentage of progress completed") }
"Percentage of progress completed" }
};
static ProcRecord progress_update_proc =
{
"gimp_progress_update",
N_("Updates the progress bar for the current plug-in"),
N_("Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Updates the progress bar for the current plug-in",
"Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -215,14 +215,14 @@ static ProcArg message_args[] =
{
{ PDB_STRING,
"message",
N_("Message to display in the dialog.") }
"Message to display in the dialog." }
};
static ProcRecord message_proc =
{
"gimp_message",
N_("Displays a dialog box with a message"),
N_("Displays a dialog box with a message. Useful for status or error reporting."),
"Displays a dialog box with a message",
"Displays a dialog box with a message. Useful for status or error reporting.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -239,14 +239,14 @@ static ProcArg message_handler_get_out_args[] =
{
{ PDB_INT32,
"handler",
N_("the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_get_proc =
{
"gimp_message_handler_get",
N_("Returns the current state of where warning messages are displayed."),
N_("This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Returns the current state of where warning messages are displayed.",
"This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -262,14 +262,14 @@ static ProcArg message_handler_set_args[] =
{
{ PDB_INT32,
"handler",
N_("the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_set_proc =
{
"gimp_message_handler_set",
N_("Controls where warning messages are displayed."),
N_("This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Controls where warning messages are displayed.",
"This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -285,15 +285,15 @@ static ProcArg plugin_temp_PDB_name_out_args[] =
{
{ PDB_STRING,
"Temp name",
N_("A unique temporary name for a temporary PDB entry name"),
"A unique temporary name for a temporary PDB entry name",
},
};
static ProcRecord plugin_temp_PDB_name_proc =
{
"gimp_temp_PDB_name",
N_("Generates a unique temporary PDB name"),
N_("This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name."),
"Generates a unique temporary PDB name",
"This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name.",
"Andy Thomas",
"Andy Thomas",
"1998",

View File

@ -165,17 +165,17 @@ static ProcArg progress_init_args[] =
{
{ PDB_STRING,
"message",
N_("Message to use in the progress dialog.") },
"Message to use in the progress dialog." },
{ PDB_INT32,
"gdisplay",
N_("GDisplay to update progressbar in, or -1 for a seperate window") }
"GDisplay to update progressbar in, or -1 for a seperate window" }
};
static ProcRecord progress_init_proc =
{
"gimp_progress_init",
N_("Initializes the progress bar for the current plug-in"),
N_("Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Initializes the progress bar for the current plug-in",
"Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -191,14 +191,14 @@ static ProcArg progress_update_args[] =
{
{ PDB_FLOAT,
"percentage",
N_("Percentage of progress completed") }
"Percentage of progress completed" }
};
static ProcRecord progress_update_proc =
{
"gimp_progress_update",
N_("Updates the progress bar for the current plug-in"),
N_("Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Updates the progress bar for the current plug-in",
"Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -215,14 +215,14 @@ static ProcArg message_args[] =
{
{ PDB_STRING,
"message",
N_("Message to display in the dialog.") }
"Message to display in the dialog." }
};
static ProcRecord message_proc =
{
"gimp_message",
N_("Displays a dialog box with a message"),
N_("Displays a dialog box with a message. Useful for status or error reporting."),
"Displays a dialog box with a message",
"Displays a dialog box with a message. Useful for status or error reporting.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -239,14 +239,14 @@ static ProcArg message_handler_get_out_args[] =
{
{ PDB_INT32,
"handler",
N_("the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_get_proc =
{
"gimp_message_handler_get",
N_("Returns the current state of where warning messages are displayed."),
N_("This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Returns the current state of where warning messages are displayed.",
"This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -262,14 +262,14 @@ static ProcArg message_handler_set_args[] =
{
{ PDB_INT32,
"handler",
N_("the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_set_proc =
{
"gimp_message_handler_set",
N_("Controls where warning messages are displayed."),
N_("This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Controls where warning messages are displayed.",
"This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -285,15 +285,15 @@ static ProcArg plugin_temp_PDB_name_out_args[] =
{
{ PDB_STRING,
"Temp name",
N_("A unique temporary name for a temporary PDB entry name"),
"A unique temporary name for a temporary PDB entry name",
},
};
static ProcRecord plugin_temp_PDB_name_proc =
{
"gimp_temp_PDB_name",
N_("Generates a unique temporary PDB name"),
N_("This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name."),
"Generates a unique temporary PDB name",
"This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name.",
"Andy Thomas",
"Andy Thomas",
"1998",

View File

@ -165,17 +165,17 @@ static ProcArg progress_init_args[] =
{
{ PDB_STRING,
"message",
N_("Message to use in the progress dialog.") },
"Message to use in the progress dialog." },
{ PDB_INT32,
"gdisplay",
N_("GDisplay to update progressbar in, or -1 for a seperate window") }
"GDisplay to update progressbar in, or -1 for a seperate window" }
};
static ProcRecord progress_init_proc =
{
"gimp_progress_init",
N_("Initializes the progress bar for the current plug-in"),
N_("Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Initializes the progress bar for the current plug-in",
"Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -191,14 +191,14 @@ static ProcArg progress_update_args[] =
{
{ PDB_FLOAT,
"percentage",
N_("Percentage of progress completed") }
"Percentage of progress completed" }
};
static ProcRecord progress_update_proc =
{
"gimp_progress_update",
N_("Updates the progress bar for the current plug-in"),
N_("Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Updates the progress bar for the current plug-in",
"Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -215,14 +215,14 @@ static ProcArg message_args[] =
{
{ PDB_STRING,
"message",
N_("Message to display in the dialog.") }
"Message to display in the dialog." }
};
static ProcRecord message_proc =
{
"gimp_message",
N_("Displays a dialog box with a message"),
N_("Displays a dialog box with a message. Useful for status or error reporting."),
"Displays a dialog box with a message",
"Displays a dialog box with a message. Useful for status or error reporting.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -239,14 +239,14 @@ static ProcArg message_handler_get_out_args[] =
{
{ PDB_INT32,
"handler",
N_("the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_get_proc =
{
"gimp_message_handler_get",
N_("Returns the current state of where warning messages are displayed."),
N_("This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Returns the current state of where warning messages are displayed.",
"This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -262,14 +262,14 @@ static ProcArg message_handler_set_args[] =
{
{ PDB_INT32,
"handler",
N_("the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_set_proc =
{
"gimp_message_handler_set",
N_("Controls where warning messages are displayed."),
N_("This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Controls where warning messages are displayed.",
"This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -285,15 +285,15 @@ static ProcArg plugin_temp_PDB_name_out_args[] =
{
{ PDB_STRING,
"Temp name",
N_("A unique temporary name for a temporary PDB entry name"),
"A unique temporary name for a temporary PDB entry name",
},
};
static ProcRecord plugin_temp_PDB_name_proc =
{
"gimp_temp_PDB_name",
N_("Generates a unique temporary PDB name"),
N_("This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name."),
"Generates a unique temporary PDB name",
"This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name.",
"Andy Thomas",
"Andy Thomas",
"1998",

View File

@ -165,17 +165,17 @@ static ProcArg progress_init_args[] =
{
{ PDB_STRING,
"message",
N_("Message to use in the progress dialog.") },
"Message to use in the progress dialog." },
{ PDB_INT32,
"gdisplay",
N_("GDisplay to update progressbar in, or -1 for a seperate window") }
"GDisplay to update progressbar in, or -1 for a seperate window" }
};
static ProcRecord progress_init_proc =
{
"gimp_progress_init",
N_("Initializes the progress bar for the current plug-in"),
N_("Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Initializes the progress bar for the current plug-in",
"Initializes the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -191,14 +191,14 @@ static ProcArg progress_update_args[] =
{
{ PDB_FLOAT,
"percentage",
N_("Percentage of progress completed") }
"Percentage of progress completed" }
};
static ProcRecord progress_update_proc =
{
"gimp_progress_update",
N_("Updates the progress bar for the current plug-in"),
N_("Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in."),
"Updates the progress bar for the current plug-in",
"Updates the progress bar for the current plug-in. It is only valid to call this procedure from a plug-in.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -215,14 +215,14 @@ static ProcArg message_args[] =
{
{ PDB_STRING,
"message",
N_("Message to display in the dialog.") }
"Message to display in the dialog." }
};
static ProcRecord message_proc =
{
"gimp_message",
N_("Displays a dialog box with a message"),
N_("Displays a dialog box with a message. Useful for status or error reporting."),
"Displays a dialog box with a message",
"Displays a dialog box with a message. Useful for status or error reporting.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -239,14 +239,14 @@ static ProcArg message_handler_get_out_args[] =
{
{ PDB_INT32,
"handler",
N_("the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the current handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_get_proc =
{
"gimp_message_handler_get",
N_("Returns the current state of where warning messages are displayed."),
N_("This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Returns the current state of where warning messages are displayed.",
"This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -262,14 +262,14 @@ static ProcArg message_handler_set_args[] =
{
{ PDB_INT32,
"handler",
N_("the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }") }
"the new handler type: { MESSAGE_BOX (0), CONSOLE (1) }" }
};
static ProcRecord message_handler_set_proc =
{
"gimp_message_handler_set",
N_("Controls where warning messages are displayed."),
N_("This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started."),
"Controls where warning messages are displayed.",
"This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.",
"Manish Singh",
"Manish Singh",
"1998",
@ -285,15 +285,15 @@ static ProcArg plugin_temp_PDB_name_out_args[] =
{
{ PDB_STRING,
"Temp name",
N_("A unique temporary name for a temporary PDB entry name"),
"A unique temporary name for a temporary PDB entry name",
},
};
static ProcRecord plugin_temp_PDB_name_proc =
{
"gimp_temp_PDB_name",
N_("Generates a unique temporary PDB name"),
N_("This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name."),
"Generates a unique temporary PDB name",
"This procedure generates a temporary PDB entry name that is guaranteed to be unique. It is many used by the interactive popup dialogs to generate a PDB entry name.",
"Andy Thomas",
"Andy Thomas",
"1998",

View File

@ -26,6 +26,8 @@
#include "interface.h"
#include "posterize.h"
#include "libgimp/gimpintl.h"
#define TEXT_WIDTH 55
typedef struct _Posterize Posterize;
@ -198,7 +200,7 @@ tools_new_posterize ()
/* The tool options */
if (!posterize_options)
posterize_options = tools_register_no_options (POSTERIZE, "Posterize Options");
posterize_options = tools_register_no_options (POSTERIZE, _("Posterize Options"));
/* The posterize dialog */
if (!posterize_dialog)
@ -247,7 +249,7 @@ posterize_initialize (GDisplay *gdisp)
{
if (drawable_indexed (gimage_active_drawable (gdisp->gimage)))
{
g_message ("Posterize does not operate on indexed drawables.");
g_message (_("Posterize does not operate on indexed drawables."));
return;
}
@ -271,8 +273,8 @@ posterize_initialize (GDisplay *gdisp)
/* the action area structure */
static ActionAreaItem action_items[] =
{
{ "OK", posterize_ok_callback, NULL, NULL },
{ "Cancel", posterize_cancel_callback, NULL, NULL }
{ N_("OK"), posterize_ok_callback, NULL, NULL },
{ N_("Cancel"), posterize_cancel_callback, NULL, NULL }
};
static PosterizeDialog *
@ -291,7 +293,7 @@ posterize_new_dialog ()
/* The shell and main vbox */
pd->shell = gtk_dialog_new ();
gtk_window_set_wmclass (GTK_WINDOW (pd->shell), "posterize", "Gimp");
gtk_window_set_title (GTK_WINDOW (pd->shell), "Posterize");
gtk_window_set_title (GTK_WINDOW (pd->shell), _("Posterize"));
gtk_signal_connect (GTK_OBJECT (pd->shell), "delete_event",
GTK_SIGNAL_FUNC (posterize_delete_callback),
@ -305,7 +307,7 @@ posterize_new_dialog ()
hbox = gtk_hbox_new (TRUE, 2);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
label = gtk_label_new ("Posterize Levels: ");
label = gtk_label_new (_("Posterize Levels: "));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_box_pack_start (GTK_BOX (hbox), label, TRUE, FALSE, 0);
gtk_widget_show (label);
@ -326,7 +328,7 @@ posterize_new_dialog ()
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
/* The preview toggle */
toggle = gtk_check_button_new_with_label ("Preview");
toggle = gtk_check_button_new_with_label (_("Preview"));
gtk_toggle_button_set_state (GTK_TOGGLE_BUTTON (toggle), pd->preview);
gtk_box_pack_start (GTK_BOX (hbox), toggle, TRUE, FALSE, 0);
gtk_signal_connect (GTK_OBJECT (toggle), "toggled",
@ -352,7 +354,7 @@ static void
posterize_preview (PosterizeDialog *pd)
{
if (!pd->image_map)
g_message ("posterize_preview(): No image map");
g_message (_("posterize_preview(): No image map"));
active_tool->preserve = TRUE;
image_map_apply (pd->image_map, posterize, (void *) pd);
active_tool->preserve = FALSE;

View File

@ -122,15 +122,15 @@ static ProcArg procedural_db_dump_args[] =
{
{ PDB_STRING,
"filename",
N_("the dump filename")
"the dump filename"
}
};
ProcRecord procedural_db_dump_proc =
{
"gimp_procedural_db_dump",
N_("Dumps the current contents of the procedural database"),
N_("This procedure dumps the contents of the procedural database to the specified file. The file will contain all of the information provided for each registered procedure. This file is in a format appropriate for use with the supplied \"pdb_self_doc.el\" Elisp script, which generates a texinfo document."),
"Dumps the current contents of the procedural database",
"This procedure dumps the contents of the procedural database to the specified file. The file will contain all of the information provided for each registered procedure. This file is in a format appropriate for use with the supplied \"pdb_self_doc.el\" Elisp script, which generates a texinfo document.",
"Spencer Kimball & Josh MacDonald",
"Spencer Kimball & Josh MacDonald & Peter Mattis",
"1995-1996",
@ -156,7 +156,7 @@ static ProcArg procedural_db_proc_info_args[] =
{
{ PDB_STRING,
"procedure",
N_("the procedure name")
"the procedure name"
}
};
@ -164,43 +164,43 @@ static ProcArg procedural_db_proc_info_out_args[] =
{
{ PDB_STRING,
"blurb",
N_("a short blurb")
"a short blurb"
},
{ PDB_STRING,
"help",
N_("detailed procedure help")
"detailed procedure help"
},
{ PDB_STRING,
"author",
N_("author(s) of the procedure")
"author(s) of the procedure"
},
{ PDB_STRING,
"copyright",
N_("the copyright")
"the copyright"
},
{ PDB_STRING,
"date",
N_("copyright date")
"copyright date"
},
{ PDB_INT32,
"proc_type",
N_("the procedure type: { INTERNAL (0), PLUGIN (1), EXTENSION (2) }"),
"the procedure type: { INTERNAL (0), PLUGIN (1), EXTENSION (2) }",
},
{ PDB_INT32,
"num_args",
N_("the number of input arguments")
"the number of input arguments"
},
{ PDB_INT32,
"num_rvals",
N_("the number of return values")
"the number of return values"
}
};
ProcRecord procedural_db_proc_info_proc =
{
"gimp_procedural_db_proc_info",
N_("Queries the procedural database for information on the specified procedure"),
N_("This procedure returns information on the specified procedure. A short blurb, detailed help, author(s), copyright information, procedure type, number of input, and number of return values are returned. For specific information on each input argument and return value, use the 'gimp_procedural_db_query_proc_arg' and 'gimp_procedural_db_query_proc_val' procedures"),
"Queries the procedural database for information on the specified procedure",
"This procedure returns information on the specified procedure. A short blurb, detailed help, author(s), copyright information, procedure type, number of input, and number of return values are returned. For specific information on each input argument and return value, use the 'gimp_procedural_db_query_proc_arg' and 'gimp_procedural_db_query_proc_val' procedures",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1997",
@ -226,11 +226,11 @@ static ProcArg procedural_db_proc_arg_args[] =
{
{ PDB_STRING,
"procedure",
N_("the procedure name")
"the procedure name"
},
{ PDB_INT32,
"arg_num",
N_("the argument number")
"the argument number"
}
};
@ -238,23 +238,23 @@ static ProcArg procedural_db_proc_arg_out_args[] =
{
{ PDB_INT32,
"arg_type",
N_("the type of argument { PDB_INT32 (0), PDB_INT16 (1), PDB_INT8 (2), PDB_FLOAT (3), PDB_STRING (4), PDB_INT32ARRAY (5), PDB_INT16ARRAY (6), PDB_INT8ARRAY (7), PDB_FLOATARRAY (8), PDB_STRINGARRAY (9), PDB_COLOR (10), PDB_REGION (11), PDB_DISPLAY (12), PDB_IMAGE (13), PDB_LAYER (14), PDB_CHANNEL (15), PDB_DRAWABLE (16), PDB_SELECTION (17), PDB_BOUNDARY (18), PDB_PATH (19), PDB_PARASITE (20), PDB_STATUS (21) }")
"the type of argument { PDB_INT32 (0), PDB_INT16 (1), PDB_INT8 (2), PDB_FLOAT (3), PDB_STRING (4), PDB_INT32ARRAY (5), PDB_INT16ARRAY (6), PDB_INT8ARRAY (7), PDB_FLOATARRAY (8), PDB_STRINGARRAY (9), PDB_COLOR (10), PDB_REGION (11), PDB_DISPLAY (12), PDB_IMAGE (13), PDB_LAYER (14), PDB_CHANNEL (15), PDB_DRAWABLE (16), PDB_SELECTION (17), PDB_BOUNDARY (18), PDB_PATH (19), PDB_PARASITE (20), PDB_STATUS (21) }"
},
{ PDB_STRING,
"arg_name",
N_("the name of the argument")
"the name of the argument"
},
{ PDB_STRING,
"arg_desc",
N_("a description of the argument")
"a description of the argument"
}
};
ProcRecord procedural_db_proc_arg_proc =
{
"gimp_procedural_db_proc_arg",
N_("Queries the procedural database for information on the specified procedure's argument"),
N_("This procedure returns information on the specified procedure's argument. The argument type, name, and a description are retrieved."),
"Queries the procedural database for information on the specified procedure's argument",
"This procedure returns information on the specified procedure's argument. The argument type, name, and a description are retrieved.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1997",
@ -280,11 +280,11 @@ static ProcArg procedural_db_proc_val_args[] =
{
{ PDB_STRING,
"procedure",
N_("the procedure name")
"the procedure name"
},
{ PDB_INT32,
"val_num",
N_("the return value number")
"the return value number"
}
};
@ -292,23 +292,23 @@ static ProcArg procedural_db_proc_val_out_args[] =
{
{ PDB_INT32,
"val_type",
N_("the type of return value { PDB_INT32 (0), PDB_INT16 (1), PDB_INT8 (2), PDB_FLOAT (3), PDB_STRING (4), PDB_INT32ARRAY (5), PDB_INT16ARRAY (6), PDB_INT8ARRAY (7), PDB_FLOATARRAY (8), PDB_STRINGARRAY (9), PDB_COLOR (10), PDB_REGION (11), PDB_DISPLAY (12), PDB_IMAGE (13), PDB_LAYER (14), PDB_CHANNEL (15), PDB_DRAWABLE (16), PDB_SELECTION (17), PDB_BOUNDARY (18), PDB_PATH (19), PDB_PARASITE (20), PDB_STATUS (21) }")
"the type of return value { PDB_INT32 (0), PDB_INT16 (1), PDB_INT8 (2), PDB_FLOAT (3), PDB_STRING (4), PDB_INT32ARRAY (5), PDB_INT16ARRAY (6), PDB_INT8ARRAY (7), PDB_FLOATARRAY (8), PDB_STRINGARRAY (9), PDB_COLOR (10), PDB_REGION (11), PDB_DISPLAY (12), PDB_IMAGE (13), PDB_LAYER (14), PDB_CHANNEL (15), PDB_DRAWABLE (16), PDB_SELECTION (17), PDB_BOUNDARY (18), PDB_PATH (19), PDB_PARASITE (20), PDB_STATUS (21) }"
},
{ PDB_STRING,
"val_name",
N_("the name of the return value")
"the name of the return value"
},
{ PDB_STRING,
"val_desc",
N_("a description of the return value")
"a description of the return value"
}
};
ProcRecord procedural_db_proc_val_proc =
{
"gimp_procedural_db_proc_val",
N_("Queries the procedural database for information on the specified procedure's return value"),
N_("This procedure returns information on the specified procedure's return value. The return value type, name, and a description are retrieved."),
"Queries the procedural database for information on the specified procedure's return value",
"This procedure returns information on the specified procedure's return value. The return value type, name, and a description are retrieved.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1997",
@ -334,7 +334,7 @@ static ProcArg procedural_db_get_data_size_args[] =
{
{ PDB_STRING,
"identifier",
N_("the identifier associated with data")
"the identifier associated with data"
},
};
@ -342,15 +342,15 @@ static ProcArg procedural_db_get_data_size_out_args[] =
{
{ PDB_INT32,
"bytes",
N_("the number of bytes in the data")
"the number of bytes in the data"
}
};
ProcRecord procedural_db_get_data_size_proc =
{
"gimp_procedural_db_get_data_size",
N_("Returns size of data associated with the specified identifier"),
N_("This procedure returns the size of any data which may have been associated with the specified identifier. If no data has been associated with the identifier, an error is returned."),
"Returns size of data associated with the specified identifier",
"This procedure returns the size of any data which may have been associated with the specified identifier. If no data has been associated with the identifier, an error is returned.",
"Nick Lamb",
"Nick Lamb",
"1998",
@ -375,7 +375,7 @@ static ProcArg procedural_db_get_data_args[] =
{
{ PDB_STRING,
"identifier",
N_("the identifier associated with data")
"the identifier associated with data"
},
};
@ -383,19 +383,19 @@ static ProcArg procedural_db_get_data_out_args[] =
{
{ PDB_INT32,
"bytes",
N_("the number of bytes in the data")
"the number of bytes in the data"
},
{ PDB_INT8ARRAY,
"data",
N_("a byte array containing data")
"a byte array containing data"
}
};
ProcRecord procedural_db_get_data_proc =
{
"gimp_procedural_db_get_data",
N_("Returns data associated with the specified identifier"),
N_("This procedure returns any data which may have been associated with the specified identifier. The data is a variable length array of bytes. If no data has been associated with the identifier, an error is returned."),
"Returns data associated with the specified identifier",
"This procedure returns any data which may have been associated with the specified identifier. The data is a variable length array of bytes. If no data has been associated with the identifier, an error is returned.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1997",
@ -421,23 +421,23 @@ static ProcArg procedural_db_set_data_args[] =
{
{ PDB_STRING,
"identifier",
N_("the identifier for association with data")
"the identifier for association with data"
},
{ PDB_INT32,
"bytes",
N_("the number of bytes in data")
"the number of bytes in data"
},
{ PDB_INT8ARRAY,
"data",
N_("the data")
"the data"
}
};
ProcRecord procedural_db_set_data_proc =
{
"gimp_procedural_db_set_data",
N_("Associates the specified identifier with the supplied data"),
N_("This procedure associates the supplied data with the provided identifier. The data may be subsequently retrieved by a call to 'procedural_db_get_data'."),
"Associates the specified identifier with the supplied data",
"This procedure associates the supplied data with the provided identifier. The data may be subsequently retrieved by a call to 'procedural_db_get_data'.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1997",
@ -463,31 +463,31 @@ static ProcArg procedural_db_query_args[] =
{
{ PDB_STRING,
"name",
N_("the regex for procedure name")
"the regex for procedure name"
},
{ PDB_STRING,
"blurb",
N_("the regex for procedure blurb")
"the regex for procedure blurb"
},
{ PDB_STRING,
"help",
N_("the regex for procedure help")
"the regex for procedure help"
},
{ PDB_STRING,
"author",
N_("the regex for procedure author")
"the regex for procedure author"
},
{ PDB_STRING,
"copyright",
N_("the regex for procedure copyright")
"the regex for procedure copyright"
},
{ PDB_STRING,
"date",
N_("the regex for procedure date")
"the regex for procedure date"
},
{ PDB_STRING,
"proc_type",
N_("the regex for procedure type: {'Internal GIMP procedure', 'GIMP Plug-In', 'GIMP Extension'}")
"the regex for procedure type: {'Internal GIMP procedure', 'GIMP Plug-In', 'GIMP Extension'}"
}
};
@ -495,19 +495,19 @@ static ProcArg procedural_db_query_out_args[] =
{
{ PDB_INT32,
"num_matches",
N_("the number of matching procedures")
"the number of matching procedures"
},
{ PDB_STRINGARRAY,
"procedure_names",
N_("the list of procedure names")
"the list of procedure names"
}
};
ProcRecord procedural_db_query_proc =
{
"gimp_procedural_db_query",
N_("Queries the procedural database for its contents using regular expression matching"),
N_("This procedure queries the contents of the procedural database. It is supplied with seven arguments matching procedures on {name, blurb, help, author, copyright, date, procedure type}. This is accomplished using regular expression matching. For instance, to find all procedures with \"jpeg\" listed in the blurb, all seven arguments can be supplied as \".*\", except for the second, which can be supplied as \".*jpeg.*\". There are two return arguments for this procedure. The first is the number of procedures matching the query. The second is a concatenated list of procedure names corresponding to those matching the query. If no matching entries are found, then the returned string is NULL and the number of entries is 0."),
"Queries the procedural database for its contents using regular expression matching",
"This procedure queries the contents of the procedural database. It is supplied with seven arguments matching procedures on {name, blurb, help, author, copyright, date, procedure type}. This is accomplished using regular expression matching. For instance, to find all procedures with \"jpeg\" listed in the blurb, all seven arguments can be supplied as \".*\", except for the second, which can be supplied as \".*jpeg.*\". There are two return arguments for this procedure. The first is the number of procedures matching the query. The second is a concatenated list of procedure names corresponding to those matching the query. If no matching entries are found, then the returned string is NULL and the number of entries is 0.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",

View File

@ -725,43 +725,43 @@ ProcArg rect_select_args[] =
{
{ PDB_IMAGE,
"image",
N_("the image")
"the image"
},
{ PDB_FLOAT,
"x",
N_("x coordinate of upper-left corner of rectangle")
"x coordinate of upper-left corner of rectangle"
},
{ PDB_FLOAT,
"y",
N_("y coordinate of upper-left corner of rectangle")
"y coordinate of upper-left corner of rectangle"
},
{ PDB_FLOAT,
"width",
N_("the width of the rectangle: width > 0")
"the width of the rectangle: width > 0"
},
{ PDB_FLOAT,
"height",
N_("the height of the rectangle: height > 0")
"the height of the rectangle: height > 0"
},
{ PDB_INT32,
"operation",
N_("the selection operation: { ADD (0), SUB (1), REPLACE (2), INTERSECT (3) }")
"the selection operation: { ADD (0), SUB (1), REPLACE (2), INTERSECT (3) }"
},
{ PDB_INT32,
"feather",
N_("feather option for selections")
"feather option for selections"
},
{ PDB_FLOAT,
"feather_radius",
N_("radius for feather operation")
"radius for feather operation"
}
};
ProcRecord rect_select_proc =
{
"gimp_rect_select",
N_("Create a rectangular selection over the specified image"),
N_("This tool creates a rectangular selection over the specified image. The rectangular region can be either added to, subtracted from, or replace the contents of the previous selection mask. If the feather option is enabled, the resulting selection is blurred before combining. The blur is a gaussian blur with the specified feather radius."),
"Create a rectangular selection over the specified image",
"This tool creates a rectangular selection over the specified image. The rectangular region can be either added to, subtracted from, or replace the contents of the previous selection mask. If the feather option is enabled, the resulting selection is blurred before combining. The blur is a gaussian blur with the specified feather radius.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",

View File

@ -378,15 +378,15 @@ ProcArg rotate_args[] =
{
{ PDB_DRAWABLE,
"drawable",
N_("the affected drawable")
"the affected drawable"
},
{ PDB_INT32,
"interpolation",
N_("whether to use interpolation")
"whether to use interpolation"
},
{ PDB_FLOAT,
"angle",
N_("the angle of rotation (radians)"),
"the angle of rotation (radians)",
}
};
@ -394,15 +394,15 @@ ProcArg rotate_out_args[] =
{
{ PDB_DRAWABLE,
"drawable",
N_("the rotated drawable")
"the rotated drawable"
}
};
ProcRecord rotate_proc =
{
"gimp_rotate",
N_("Rotate the specified drawable about its center through the specified angle"),
N_("This tool rotates the specified drawable if no selection exists. If a selection exists, the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then rotated by the specified amount. The interpolation parameter can be set to TRUE to indicate that either linear or cubic interpolation should be used to smooth the resulting rotated drawable. The return value is the ID of the rotated drawable. If there was no selection, this will be equal to the drawable ID supplied as input. Otherwise, this will be the newly created and rotated drawable."),
"Rotate the specified drawable about its center through the specified angle",
"This tool rotates the specified drawable if no selection exists. If a selection exists, the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then rotated by the specified amount. The interpolation parameter can be set to TRUE to indicate that either linear or cubic interpolation should be used to smooth the resulting rotated drawable. The return value is the ID of the rotated drawable. If there was no selection, this will be equal to the drawable ID supplied as input. Otherwise, this will be the newly created and rotated drawable.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",

View File

@ -440,27 +440,27 @@ ProcArg scale_args[] =
{
{ PDB_DRAWABLE,
"drawable",
N_("the affected drawable")
"the affected drawable"
},
{ PDB_INT32,
"interpolation",
N_("whether to use interpolation")
"whether to use interpolation"
},
{ PDB_FLOAT,
"x1",
N_("the x coordinate of the upper-left corner of newly scaled region")
"the x coordinate of the upper-left corner of newly scaled region"
},
{ PDB_FLOAT,
"y1",
N_("the y coordinate of the upper-left corner of newly scaled region")
"the y coordinate of the upper-left corner of newly scaled region"
},
{ PDB_FLOAT,
"x2",
N_("the x coordinate of the lower-right corner of newly scaled region")
"the x coordinate of the lower-right corner of newly scaled region"
},
{ PDB_FLOAT,
"y2",
N_("the y coordinate of the lower-right corner of newly scaled region")
"the y coordinate of the lower-right corner of newly scaled region"
}
};
@ -468,15 +468,15 @@ ProcArg scale_out_args[] =
{
{ PDB_DRAWABLE,
"drawable",
N_("the scaled drawable")
"the scaled drawable"
}
};
ProcRecord scale_proc =
{
"gimp_scale",
N_("Scale the specified drawable"),
N_("This tool scales the specified drawable if no selection exists. If a selection exists, the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then scaled by the specified amount. The interpolation parameter can be set to TRUE to indicate that either linear or cubic interpolation should be used to smooth the resulting scaled drawable. The return value is the ID of the scaled drawable. If there was no selection, this will be equal to the drawable ID supplied as input. Otherwise, this will be the newly created and scaled drawable."),
"Scale the specified drawable",
"This tool scales the specified drawable if no selection exists. If a selection exists, the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then scaled by the specified amount. The interpolation parameter can be set to TRUE to indicate that either linear or cubic interpolation should be used to smooth the resulting scaled drawable. The return value is the ID of the scaled drawable. If there was no selection, this will be equal to the drawable ID supplied as input. Otherwise, this will be the newly created and scaled drawable.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",

View File

@ -365,19 +365,19 @@ ProcArg shear_args[] =
{
{ PDB_DRAWABLE,
"drawable",
N_("the affected drawable")
"the affected drawable"
},
{ PDB_INT32,
"interpolation",
N_("whether to use interpolation")
"whether to use interpolation"
},
{ PDB_INT32,
"shear_type",
N_("Type of shear: { HORIZONTAL (0), VERTICAL (1) }")
"Type of shear: { HORIZONTAL (0), VERTICAL (1) }"
},
{ PDB_FLOAT,
"magnitude",
N_("the magnitude of the shear")
"the magnitude of the shear"
}
};
@ -385,15 +385,15 @@ ProcArg shear_out_args[] =
{
{ PDB_DRAWABLE,
"drawable",
N_("the sheard drawable")
"the sheard drawable"
}
};
ProcRecord shear_proc =
{
"gimp_shear",
N_("Shear the specified drawable about its center by the specified magnitude"),
N_("This tool shears the specified drawable if no selection exists. If a selection exists, the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then sheard by the specified amount. The interpolation parameter can be set to TRUE to indicate that either linear or cubic interpolation should be used to smooth the resulting sheard drawable. The return value is the ID of the sheard drawable. If there was no selection, this will be equal to the drawable ID supplied as input. Otherwise, this will be the newly created and sheard drawable. The shear type parameter indicates whether the shear will be applied horizontally or vertically. The magnitude can be either positive or negative and indicates the extent (in pixels) to shear by."),
"Shear the specified drawable about its center by the specified magnitude",
"This tool shears the specified drawable if no selection exists. If a selection exists, the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then sheard by the specified amount. The interpolation parameter can be set to TRUE to indicate that either linear or cubic interpolation should be used to smooth the resulting sheard drawable. The return value is the ID of the sheard drawable. If there was no selection, this will be equal to the drawable ID supplied as input. Otherwise, this will be the newly created and sheard drawable. The shear type parameter indicates whether the shear will be applied horizontally or vertically. The magnitude can be either positive or negative and indicates the extent (in pixels) to shear by.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",

View File

@ -916,63 +916,63 @@ ProcArg text_tool_args[] =
{
{ PDB_IMAGE,
"image",
N_("the image")
"the image"
},
{ PDB_DRAWABLE,
"drawable",
N_("the affected drawable: (-1 for a new text layer)")
"the affected drawable: (-1 for a new text layer)"
},
{ PDB_FLOAT,
"x",
N_("the x coordinate for the left side of text bounding box")
"the x coordinate for the left side of text bounding box"
},
{ PDB_FLOAT,
"y",
N_("the y coordinate for the top of text bounding box")
"the y coordinate for the top of text bounding box"
},
{ PDB_STRING,
"text",
N_("the text to generate")
"the text to generate"
},
{ PDB_INT32,
"border",
N_("the size of the border: border >= 0")
"the size of the border: border >= 0"
},
{ PDB_INT32,
"antialias",
N_("generate antialiased text")
"generate antialiased text"
},
{ PDB_FLOAT,
"size",
N_("the size of text in either pixels or points")
"the size of text in either pixels or points"
},
{ PDB_INT32,
"size_type",
N_("the units of the specified size: { PIXELS (0), POINTS (1) }")
"the units of the specified size: { PIXELS (0), POINTS (1) }"
},
{ PDB_STRING,
"foundry",
N_("the font foundry, \"*\" for any")
"the font foundry, \"*\" for any"
},
{ PDB_STRING,
"family",
N_("the font family, \"*\" for any")
"the font family, \"*\" for any"
},
{ PDB_STRING,
"weight",
N_("the font weight, \"*\" for any")
"the font weight, \"*\" for any"
},
{ PDB_STRING,
"slant",
N_("the font slant, \"*\" for any")
"the font slant, \"*\" for any"
},
{ PDB_STRING,
"set_width",
N_("the font set-width parameter, \"*\" for any")
"the font set-width parameter, \"*\" for any"
},
{ PDB_STRING,
"spacing",
N_("the font spacing, \"*\" for any")
"the font spacing, \"*\" for any"
}
};
@ -980,18 +980,18 @@ ProcArg text_tool_out_args[] =
{
{ PDB_LAYER,
"text_layer",
N_("the new text layer")
"the new text layer"
}
};
ProcRecord text_tool_proc =
{
"gimp_text",
N_("Add text at the specified location as a floating selection or a new layer."),
N_("This tool requires font information in the form of seven parameters: {size, foundry, family, weight, slant, set_width, spacing}. The font size can either be specified in units of pixels or points, and the appropriate metric is specified using the size_type "
"argument. The x and y parameters together control the placement of the new text by specifying the upper left corner of the text bounding box. If the antialias parameter is non-zero, the generated text will blend more smoothly with underlying layers. "
"This option requires more time and memory to compute than non-antialiased text; the resulting floating selection or layer, however, will require the same amount of memory with or without antialiasing. If the specified drawable parameter is valid, the "
"text will be created as a floating selection attached to the drawable. If the drawable parameter is not valid (-1), the text will appear as a new layer. Finally, a border can be specified around the final rendered text. The border is measured in pixels."),
"Add text at the specified location as a floating selection or a new layer.",
"This tool requires font information in the form of seven parameters: {size, foundry, family, weight, slant, set_width, spacing}. The font size can either be specified in units of pixels or points, and the appropriate metric is specified using the size_type "
"argument. The x and y parameters together control the placement of the new text by specifying the upper left corner of the text bounding box. If the antialias parameter is non-zero, the generated text will blend more smoothly with underlying layers. "
"This option requires more time and memory to compute than non-antialiased text; the resulting floating selection or layer, however, will require the same amount of memory with or without antialiasing. If the specified drawable parameter is valid, the "
"text will be created as a floating selection attached to the drawable. If the drawable parameter is not valid (-1), the text will appear as a new layer. Finally, a border can be specified around the final rendered text. The border is measured in pixels.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -1015,71 +1015,71 @@ ProcArg text_tool_args_ext[] =
{
{ PDB_IMAGE,
"image",
N_("the image")
"the image"
},
{ PDB_DRAWABLE,
"drawable",
N_("the affected drawable: (-1 for a new text layer)")
"the affected drawable: (-1 for a new text layer)"
},
{ PDB_FLOAT,
"x",
N_("the x coordinate for the left side of text bounding box")
"the x coordinate for the left side of text bounding box"
},
{ PDB_FLOAT,
"y",
N_("the y coordinate for the top of text bounding box")
"the y coordinate for the top of text bounding box"
},
{ PDB_STRING,
"text",
N_("the text to generate")
"the text to generate"
},
{ PDB_INT32,
"border",
N_("the size of the border: border >= 0")
"the size of the border: border >= 0"
},
{ PDB_INT32,
"antialias",
N_("generate antialiased text")
"generate antialiased text"
},
{ PDB_FLOAT,
"size",
N_("the size of text in either pixels or points")
"the size of text in either pixels or points"
},
{ PDB_INT32,
"size_type",
N_("the units of the specified size: { PIXELS (0), POINTS (1) }")
"the units of the specified size: { PIXELS (0), POINTS (1) }"
},
{ PDB_STRING,
"foundry",
N_("the font foundry, \"*\" for any")
"the font foundry, \"*\" for any"
},
{ PDB_STRING,
"family",
N_("the font family, \"*\" for any")
"the font family, \"*\" for any"
},
{ PDB_STRING,
"weight",
N_("the font weight, \"*\" for any")
"the font weight, \"*\" for any"
},
{ PDB_STRING,
"slant",
N_("the font slant, \"*\" for any")
"the font slant, \"*\" for any"
},
{ PDB_STRING,
"set_width",
N_("the font set-width parameter, \"*\" for any")
"the font set-width parameter, \"*\" for any"
},
{ PDB_STRING,
"spacing",
N_("the font spacing, \"*\" for any")
"the font spacing, \"*\" for any"
},
{ PDB_STRING,
"registry",
N_("the font registry, \"*\" for any")
"the font registry, \"*\" for any"
},
{ PDB_STRING,
"encoding",
N_("the font encoding, \"*\" for any")
"the font encoding, \"*\" for any"
}
};
@ -1087,18 +1087,18 @@ ProcArg text_tool_out_args_ext[] =
{
{ PDB_LAYER,
"text_layer",
N_("the new text layer")
"the new text layer"
}
};
ProcRecord text_tool_proc_ext =
{
"gimp_text_ext",
N_("Add text at the specified location as a floating selection or a new layer."),
N_("This tool requires font information in the form of nine parameters: {size, foundry, family, weight, slant, set_width, spacing, registry, encoding}. The font size can either be specified in units of pixels or points, and the appropriate metric is specified using the size_type "
"argument. The x and y parameters together control the placement of the new text by specifying the upper left corner of the text bounding box. If the antialias parameter is non-zero, the generated text will blend more smoothly with underlying layers. "
"This option requires more time and memory to compute than non-antialiased text; the resulting floating selection or layer, however, will require the same amount of memory with or without antialiasing. If the specified drawable parameter is valid, the "
"text will be created as a floating selection attached to the drawable. If the drawable parameter is not valid (-1), the text will appear as a new layer. Finally, a border can be specified around the final rendered text. The border is measured in pixels."),
"Add text at the specified location as a floating selection or a new layer.",
"This tool requires font information in the form of nine parameters: {size, foundry, family, weight, slant, set_width, spacing, registry, encoding}. The font size can either be specified in units of pixels or points, and the appropriate metric is specified using the size_type "
"argument. The x and y parameters together control the placement of the new text by specifying the upper left corner of the text bounding box. If the antialias parameter is non-zero, the generated text will blend more smoothly with underlying layers. "
"This option requires more time and memory to compute than non-antialiased text; the resulting floating selection or layer, however, will require the same amount of memory with or without antialiasing. If the specified drawable parameter is valid, the "
"text will be created as a floating selection attached to the drawable. If the drawable parameter is not valid (-1), the text will appear as a new layer. Finally, a border can be specified around the final rendered text. The border is measured in pixels.",
"Martin Edlman",
"Spencer Kimball & Peter Mattis",
"1998",
@ -1122,43 +1122,43 @@ ProcArg text_tool_args_fontname[] =
{
{ PDB_IMAGE,
"image",
N_("the image")
"the image"
},
{ PDB_DRAWABLE,
"drawable",
N_("the affected drawable: (-1 for a new text layer)")
"the affected drawable: (-1 for a new text layer)"
},
{ PDB_FLOAT,
"x",
N_("the x coordinate for the left side of text bounding box")
"the x coordinate for the left side of text bounding box"
},
{ PDB_FLOAT,
"y",
N_("the y coordinate for the top of text bounding box")
"the y coordinate for the top of text bounding box"
},
{ PDB_STRING,
"text",
N_("the text to generate")
"the text to generate"
},
{ PDB_INT32,
"border",
N_("the size of the border: border >= 0")
"the size of the border: border >= 0"
},
{ PDB_INT32,
"antialias",
N_("generate antialiased text")
"generate antialiased text"
},
{ PDB_FLOAT,
"size",
N_("the size of text in either pixels or points")
"the size of text in either pixels or points"
},
{ PDB_INT32,
"size_type",
N_("the units of the specified size: { PIXELS (0), POINTS (1) }")
"the units of the specified size: { PIXELS (0), POINTS (1) }"
},
{ PDB_STRING,
"fontname",
N_("the fontname (conforming to the X Logical Font Description Conventions)")
"the fontname (conforming to the X Logical Font Description Conventions)"
}
};
@ -1166,18 +1166,18 @@ ProcArg text_tool_out_args_fontname[] =
{
{ PDB_LAYER,
"text_layer",
N_("the new text layer")
"the new text layer"
}
};
ProcRecord text_tool_proc_fontname =
{
"gimp_text_fontname",
N_("Add text at the specified location as a floating selection or a new layer."),
N_("This tool requires font information as a fontname conforming to the 'X Logical Font Description Conventions'. You can specify the fontsize in units of pixels or points, and the appropriate metric is specified using the size_type argument. The fontsize specified in the fontname is silently ignored."
"The x and y parameters together control the placement of the new text by specifying the upper left corner of the text bounding box. If the antialias parameter is non-zero, the generated text will blend more smoothly with underlying layers. "
"This option requires more time and memory to compute than non-antialiased text; the resulting floating selection or layer, however, will require the same amount of memory with or without antialiasing. If the specified drawable parameter is valid, the "
"text will be created as a floating selection attached to the drawable. If the drawable parameter is not valid (-1), the text will appear as a new layer. Finally, a border can be specified around the final rendered text. The border is measured in pixels."),
"Add text at the specified location as a floating selection or a new layer.",
"This tool requires font information as a fontname conforming to the 'X Logical Font Description Conventions'. You can specify the fontsize in units of pixels or points, and the appropriate metric is specified using the size_type argument. The fontsize specified in the fontname is silently ignored."
"The x and y parameters together control the placement of the new text by specifying the upper left corner of the text bounding box. If the antialias parameter is non-zero, the generated text will blend more smoothly with underlying layers. "
"This option requires more time and memory to compute than non-antialiased text; the resulting floating selection or layer, however, will require the same amount of memory with or without antialiasing. If the specified drawable parameter is valid, the "
"text will be created as a floating selection attached to the drawable. If the drawable parameter is not valid (-1), the text will appear as a new layer. Finally, a border can be specified around the final rendered text. The border is measured in pixels.",
"Martin Edlman, Sven Neumann",
"Spencer Kimball & Peter Mattis",
"1998",
@ -1202,39 +1202,39 @@ ProcArg text_tool_get_extents_args[] =
{
{ PDB_STRING,
"text",
N_("the text to generate")
"the text to generate"
},
{ PDB_FLOAT,
"size",
N_("the size of text in either pixels or points")
"the size of text in either pixels or points"
},
{ PDB_INT32,
"size_type",
N_("the units of the specified size: { PIXELS (0), POINTS (1) }")
"the units of the specified size: { PIXELS (0), POINTS (1) }"
},
{ PDB_STRING,
"foundry",
N_("the font foundry, \"*\" for any")
"the font foundry, \"*\" for any"
},
{ PDB_STRING,
"family",
N_("the font family, \"*\" for any")
"the font family, \"*\" for any"
},
{ PDB_STRING,
"weight",
N_("the font weight, \"*\" for any")
"the font weight, \"*\" for any"
},
{ PDB_STRING,
"slant",
N_("the font slant, \"*\" for any")
"the font slant, \"*\" for any"
},
{ PDB_STRING,
"set_width",
N_("the font set-width parameter, \"*\" for any")
"the font set-width parameter, \"*\" for any"
},
{ PDB_STRING,
"spacing",
N_("the font spacing, \"*\" for any")
"the font spacing, \"*\" for any"
}
};
@ -1242,27 +1242,27 @@ ProcArg text_tool_get_extents_out_args[] =
{
{ PDB_INT32,
"width",
N_("the width of the specified text")
"the width of the specified text"
},
{ PDB_INT32,
"height",
N_("the height of the specified text")
"the height of the specified text"
},
{ PDB_INT32,
"ascent",
N_("the ascent of the specified font")
"the ascent of the specified font"
},
{ PDB_INT32,
"descent",
N_("the descent of the specified font")
"the descent of the specified font"
}
};
ProcRecord text_tool_get_extents_proc =
{
"gimp_text_get_extents",
N_("Get extents of the bounding box for the specified text"),
N_("This tool returns the width and height of a bounding box for the specified text string with the specified font information. Ascent and descent for the specified font are returned as well."),
"Get extents of the bounding box for the specified text",
"This tool returns the width and height of a bounding box for the specified text string with the specified font information. Ascent and descent for the specified font are returned as well.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",
@ -1286,47 +1286,47 @@ ProcArg text_tool_get_extents_args_ext[] =
{
{ PDB_STRING,
"text",
N_("the text to generate")
"the text to generate"
},
{ PDB_FLOAT,
"size",
N_("the size of text in either pixels or points")
"the size of text in either pixels or points"
},
{ PDB_INT32,
"size_type",
N_("the units of the specified size: { PIXELS (0), POINTS (1) }")
"the units of the specified size: { PIXELS (0), POINTS (1) }"
},
{ PDB_STRING,
"foundry",
N_("the font foundry, \"*\" for any")
"the font foundry, \"*\" for any"
},
{ PDB_STRING,
"family",
N_("the font family, \"*\" for any")
"the font family, \"*\" for any"
},
{ PDB_STRING,
"weight",
N_("the font weight, \"*\" for any")
"the font weight, \"*\" for any"
},
{ PDB_STRING,
"slant",
N_("the font slant, \"*\" for any")
"the font slant, \"*\" for any"
},
{ PDB_STRING,
"set_width",
N_("the font set-width parameter, \"*\" for any")
"the font set-width parameter, \"*\" for any"
},
{ PDB_STRING,
"spacing",
N_("the font spacing, \"*\" for any")
"the font spacing, \"*\" for any"
},
{ PDB_STRING,
"registry",
N_("the font registry, \"*\" for any")
"the font registry, \"*\" for any"
},
{ PDB_STRING,
"encoding",
N_("the font encoding, \"*\" for any")
"the font encoding, \"*\" for any"
}
};
@ -1334,27 +1334,27 @@ ProcArg text_tool_get_extents_out_args_ext[] =
{
{ PDB_INT32,
"width",
N_("the width of the specified text")
"the width of the specified text"
},
{ PDB_INT32,
"height",
N_("the height of the specified text")
"the height of the specified text"
},
{ PDB_INT32,
"ascent",
N_("the ascent of the specified font")
"the ascent of the specified font"
},
{ PDB_INT32,
"descent",
N_("the descent of the specified font")
"the descent of the specified font"
}
};
ProcRecord text_tool_get_extents_proc_ext =
{
"gimp_text_get_extents_ext",
N_("Get extents of the bounding box for the specified text"),
N_("This tool returns the width and height of a bounding box for the specified text string with the specified font information. Ascent and descent for the specified font are returned as well."),
"Get extents of the bounding box for the specified text",
"This tool returns the width and height of a bounding box for the specified text string with the specified font information. Ascent and descent for the specified font are returned as well.",
"Martin Edlman",
"Spencer Kimball & Peter Mattis",
"1998",
@ -1378,19 +1378,19 @@ ProcArg text_tool_get_extents_args_fontname[] =
{
{ PDB_STRING,
"text",
N_("the text to generate")
"the text to generate"
},
{ PDB_FLOAT,
"size",
N_("the size of text in either pixels or points")
"the size of text in either pixels or points"
},
{ PDB_INT32,
"size_type",
N_("the units of the specified size: { PIXELS (0), POINTS (1) }")
"the units of the specified size: { PIXELS (0), POINTS (1) }"
},
{ PDB_STRING,
"fontname",
N_("the fontname (conforming to the X Logical Font Description Conventions)")
"the fontname (conforming to the X Logical Font Description Conventions)"
}
};
@ -1398,27 +1398,27 @@ ProcArg text_tool_get_extents_out_args_fontname[] =
{
{ PDB_INT32,
"width",
N_("the width of the specified text")
"the width of the specified text"
},
{ PDB_INT32,
"height",
N_("the height of the specified text")
"the height of the specified text"
},
{ PDB_INT32,
"ascent",
N_("the ascent of the specified font")
"the ascent of the specified font"
},
{ PDB_INT32,
"descent",
N_("the descent of the specified font")
"the descent of the specified font"
}
};
ProcRecord text_tool_get_extents_proc_fontname =
{
"gimp_text_get_extents_fontname",
N_("Get extents of the bounding box for the specified text"),
N_("This tool returns the width and height of a bounding box for the specified text string with the specified font information. Ascent and descent for the specified font are returned as well."),
"Get extents of the bounding box for the specified text",
"This tool returns the width and height of a bounding box for the specified text string with the specified font information. Ascent and descent for the specified font are returned as well.",
"Martin Edlman, Sven Neumann",
"Spencer Kimball & Peter Mattis",
"1998",

View File

@ -613,23 +613,23 @@ ProcArg threshold_args[] =
{
{ PDB_DRAWABLE,
"drawable",
N_("the drawable")
"the drawable"
},
{ PDB_INT32,
"low_threshold",
N_("the low threshold value: (0 <= low_threshold <= 255)")
"the low threshold value: (0 <= low_threshold <= 255)"
},
{ PDB_INT32,
"high_threshold",
N_("the high threshold value: (0 <= high_threshold <= 255)")
"the high threshold value: (0 <= high_threshold <= 255)"
}
};
ProcRecord threshold_proc =
{
"gimp_threshold",
N_("Threshold the specified drawable"),
N_("This procedures generates a threshold map of the specified drawable. All pixels between the values of 'low_threshold' and 'high_threshold' are replaced with white, and all other pixels with black."),
"Threshold the specified drawable",
"This procedures generates a threshold map of the specified drawable. All pixels between the values of 'low_threshold' and 'high_threshold' are replaced with white, and all other pixels with black.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1997",

View File

@ -1374,7 +1374,7 @@ bezier_convert (BezierSelect *bezier_sel,
list = list->next;
/*
if (!list)
g_message ("cannot properly scanline convert bezier curve: %d", i);
g_message (_("cannot properly scanline convert bezier curve: %d"), i);
else
*/
{

View File

@ -1712,67 +1712,67 @@ ProcArg blend_args[] =
{
{ PDB_DRAWABLE,
"drawable",
N_("The affected drawable")
"The affected drawable"
},
{ PDB_INT32,
"blend_mode",
N_("The type of blend: { FG-BG-RGB (0), FG-BG-HSV (1), FG-TRANS (2), CUSTOM (3) }")
"The type of blend: { FG-BG-RGB (0), FG-BG-HSV (1), FG-TRANS (2), CUSTOM (3) }"
},
{ PDB_INT32,
"paint_mode",
N_("the paint application mode: { NORMAL (0), DISSOLVE (1), BEHIND (2), MULTIPLY/BURN (3), SCREEN (4), OVERLAY (5) DIFFERENCE (6), ADDITION (7), SUBTRACT (8), DARKEN-ONLY (9), LIGHTEN-ONLY (10), HUE (11), SATURATION (12), COLOR (13), VALUE (14), DIVIDE/DODGE (15) }")
"the paint application mode: { NORMAL (0), DISSOLVE (1), BEHIND (2), MULTIPLY/BURN (3), SCREEN (4), OVERLAY (5) DIFFERENCE (6), ADDITION (7), SUBTRACT (8), DARKEN-ONLY (9), LIGHTEN-ONLY (10), HUE (11), SATURATION (12), COLOR (13), VALUE (14), DIVIDE/DODGE (15) }"
},
{ PDB_INT32,
"gradient_type",
N_("The type of gradient: { LINEAR (0), BILINEAR (1), RADIAL (2), SQUARE (3), CONICAL-SYMMETRIC (4), CONICAL-ASYMMETRIC (5), SHAPEBURST-ANGULAR (6), SHAPEBURST-SPHERICAL (7), SHAPEBURST-DIMPLED (8) }")
"The type of gradient: { LINEAR (0), BILINEAR (1), RADIAL (2), SQUARE (3), CONICAL-SYMMETRIC (4), CONICAL-ASYMMETRIC (5), SHAPEBURST-ANGULAR (6), SHAPEBURST-SPHERICAL (7), SHAPEBURST-DIMPLED (8) }"
},
{ PDB_FLOAT,
"opacity",
N_("The opacity of the final blend (0 <= opacity <= 100)")
"The opacity of the final blend (0 <= opacity <= 100)"
},
{ PDB_FLOAT,
"offset",
N_("Offset relates to the starting and ending coordinates specified for the blend. This parameter is mode depndent (0 <= offset)")
"Offset relates to the starting and ending coordinates specified for the blend. This parameter is mode depndent (0 <= offset)"
},
{ PDB_INT32,
"repeat",
N_("Repeat mode: { REPEAT-NONE (0), REPEAT-SAWTOOTH (1), REPEAT-TRIANGULAR (2) }")
"Repeat mode: { REPEAT-NONE (0), REPEAT-SAWTOOTH (1), REPEAT-TRIANGULAR (2) }"
},
{ PDB_INT32,
"supersample",
N_("Do adaptive supersampling (true / false)")
"Do adaptive supersampling (true / false)"
},
{ PDB_INT32,
"max_depth",
N_("Maximum recursion levels for supersampling")
"Maximum recursion levels for supersampling"
},
{ PDB_FLOAT,
"threshold",
N_("Supersampling threshold")
"Supersampling threshold"
},
{ PDB_FLOAT,
"x1",
N_("The x coordinate of this blend's starting point")
"The x coordinate of this blend's starting point"
},
{ PDB_FLOAT,
"y1",
N_("The y coordinate of this blend's starting point")
"The y coordinate of this blend's starting point"
},
{ PDB_FLOAT,
"x2",
N_("The x coordinate of this blend's ending point")
"The x coordinate of this blend's ending point"
},
{ PDB_FLOAT,
"y2",
N_("The y coordinate of this blend's ending point")
"The y coordinate of this blend's ending point"
}
};
ProcRecord blend_proc =
{
"gimp_blend",
N_("Blend between the starting and ending coordinates with the specified blend mode and gradient type."),
N_("This tool requires information on the paint application mode, the blend mode, and the gradient type. It creates the specified variety of blend using the starting and ending coordinates as defined for each gradient type."),
"Blend between the starting and ending coordinates with the specified blend mode and gradient type.",
"This tool requires information on the paint application mode, the blend mode, and the gradient type. It creates the specified variety of blend using the starting and ending coordinates as defined for each gradient type.",
"Spencer Kimball & Peter Mattis & Federico Mena Quintero",
"Spencer Kimball & Peter Mattis & Federico Mena Quintero",
"1995-1996",

View File

@ -549,31 +549,31 @@ ProcArg clone_args[] =
{
{ PDB_DRAWABLE,
"drawable",
N_("the drawable")
"the drawable"
},
{ PDB_DRAWABLE,
"src_drawable",
N_("the source drawable")
"the source drawable"
},
{ PDB_INT32,
"clone_type",
N_("the type of clone: { IMAGE-CLONE (0), PATTERN-CLONE (1) }")
"the type of clone: { IMAGE-CLONE (0), PATTERN-CLONE (1) }"
},
{ PDB_FLOAT,
"src_x",
N_("the x coordinate in the source image")
"the x coordinate in the source image"
},
{ PDB_FLOAT,
"src_y",
N_("the y coordinate in the source image")
"the y coordinate in the source image"
},
{ PDB_INT32,
"num_strokes",
N_("number of stroke control points (count each coordinate as 2 points)")
"number of stroke control points (count each coordinate as 2 points)"
},
{ PDB_FLOATARRAY,
"strokes",
N_("array of stroke coordinates: {s1.x, s1.y, s2.x, s2.y, ..., sn.x, sn.y}")
"array of stroke coordinates: {s1.x, s1.y, s2.x, s2.y, ..., sn.x, sn.y}"
}
};
@ -581,8 +581,8 @@ ProcArg clone_args[] =
ProcRecord clone_proc =
{
"gimp_clone",
N_("Clone from the source to the dest drawable using the current brush"),
N_("This tool clones (copies) from the source drawable starting at the specified source coordinates to the dest drawable. If the \"clone_type\" argument is set to PATTERN-CLONE, then the current pattern is used as the source and the \"src_drawable\" argument is ignored. Pattern cloning assumes a tileable pattern and mods the sum of the src coordinates and subsequent stroke offsets with the width and height of the pattern. For image cloning, if the sum of the src coordinates and subsequent stroke offsets exceeds the extents of the src drawable, then no paint is transferred. The clone tool is capable of transforming between any image types including RGB->Indexed--although converting from any type to indexed is significantly slower."),
"Clone from the source to the dest drawable using the current brush",
"This tool clones (copies) from the source drawable starting at the specified source coordinates to the dest drawable. If the \"clone_type\" argument is set to PATTERN-CLONE, then the current pattern is used as the source and the \"src_drawable\" argument is ignored. Pattern cloning assumes a tileable pattern and mods the sum of the src coordinates and subsequent stroke offsets with the width and height of the pattern. For image cloning, if the sum of the src coordinates and subsequent stroke offsets exceeds the extents of the src drawable, then no paint is transferred. The clone tool is capable of transforming between any image types including RGB->Indexed--although converting from any type to indexed is significantly slower.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",

View File

@ -392,7 +392,7 @@ color_balance_new_dialog ()
/* The shell and main vbox */
cbd->shell = gtk_dialog_new ();
gtk_window_set_wmclass (GTK_WINDOW (cbd->shell), "color_balance", "Gimp");
gtk_window_set_title (GTK_WINDOW (cbd->shell), N_("Color Balance"));
gtk_window_set_title (GTK_WINDOW (cbd->shell), _("Color Balance"));
/* handle the wm close signal */
gtk_signal_connect (GTK_OBJECT (cbd->shell), "delete_event",
@ -879,35 +879,35 @@ ProcArg color_balance_args[] =
{
{ PDB_DRAWABLE,
"drawable",
N_("the drawable")
"the drawable"
},
{ PDB_INT32,
"transfer_mode",
N_("Transfer mode: { SHADOWS (0), MIDTONES (1), HIGHLIGHTS (2) }")
"Transfer mode: { SHADOWS (0), MIDTONES (1), HIGHLIGHTS (2) }"
},
{ PDB_INT32,
"preserve_lum",
N_("Preserve luminosity values at each pixel")
"Preserve luminosity values at each pixel"
},
{ PDB_FLOAT,
"cyan_red",
N_("Cyan-Red color balance: (-100 <= cyan_red <= 100)")
"Cyan-Red color balance: (-100 <= cyan_red <= 100)"
},
{ PDB_FLOAT,
"magenta_green",
N_("Magenta-Green color balance: (-100 <= magenta_green <= 100)")
"Magenta-Green color balance: (-100 <= magenta_green <= 100)"
},
{ PDB_FLOAT,
"yellow_blue",
N_("Yellow-Blue color balance: (-100 <= yellow_blue <= 100)")
"Yellow-Blue color balance: (-100 <= yellow_blue <= 100)"
}
};
ProcRecord color_balance_proc =
{
"gimp_color_balance",
N_("Modify the color balance of the specified drawable"),
N_("Modify the color balance of the specified drawable. There are three axis which can be modified: cyan-red, magenta-green, and yellow-blue. Negative values increase the amount of the former, positive values increase the amount of the latter. Color balance can be controlled with the 'transfer_mode' setting, which allows shadows, midtones, and highlights in an image to be affected differently. The 'preserve_lum' parameter, if non-zero, ensures that the luminosity of each pixel remains fixed."),
"Modify the color balance of the specified drawable",
"Modify the color balance of the specified drawable. There are three axis which can be modified: cyan-red, magenta-green, and yellow-blue. Negative values increase the amount of the former, positive values increase the amount of the latter. Color balance can be controlled with the 'transfer_mode' setting, which allows shadows, midtones, and highlights in an image to be affected differently. The 'preserve_lum' parameter, if non-zero, ensures that the luminosity of each pixel remains fixed.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1997",

View File

@ -426,23 +426,23 @@ ProcArg convolve_args[] =
{
{ PDB_DRAWABLE,
"drawable",
N_("the drawable")
"the drawable"
},
{ PDB_FLOAT,
"pressure",
N_("the pressure: 0 <= pressure <= 100")
"the pressure: 0 <= pressure <= 100"
},
{ PDB_INT32,
"convolve_type",
N_("convolve type: { BLUR (0), SHARPEN (1) }")
"convolve type: { BLUR (0), SHARPEN (1) }"
},
{ PDB_INT32,
"num_strokes",
N_("number of stroke control points (count each coordinate as 2 points)")
"number of stroke control points (count each coordinate as 2 points)"
},
{ PDB_FLOATARRAY,
"strokes",
N_("array of stroke coordinates: {s1.x, s1.y, s2.x, s2.y, ..., sn.x, sn.y}")
"array of stroke coordinates: {s1.x, s1.y, s2.x, s2.y, ..., sn.x, sn.y}"
}
};
@ -450,8 +450,8 @@ ProcArg convolve_args[] =
ProcRecord convolve_proc =
{
"gimp_convolve",
N_("Convolve (Blur, Sharpen) using the current brush"),
N_("This tool convolves the specified drawable with either a sharpening or blurring kernel. The pressure parameter controls the magnitude of the operation. Like the paintbrush, this tool linearly interpolates between the specified stroke coordinates."),
"Convolve (Blur, Sharpen) using the current brush",
"This tool convolves the specified drawable with either a sharpening or blurring kernel. The pressure parameter controls the magnitude of the operation. Like the paintbrush, this tool linearly interpolates between the specified stroke coordinates.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",

View File

@ -334,11 +334,11 @@ ProcArg flip_args[] =
{
{ PDB_DRAWABLE,
"drawable",
N_("the affected drawable")
"the affected drawable"
},
{ PDB_INT32,
"flip_type",
N_("Type of flip: { HORIZONTAL (0), VERTICAL (1) }")
"Type of flip: { HORIZONTAL (0), VERTICAL (1) }"
}
};
@ -346,15 +346,15 @@ ProcArg flip_out_args[] =
{
{ PDB_DRAWABLE,
"drawable",
N_("the flipped drawable")
"the flipped drawable"
}
};
ProcRecord flip_proc =
{
"gimp_flip",
N_("Flip the specified drawable about its center either vertically or horizontally"),
N_("This tool flips the specified drawable if no selection exists. If a selection exists, the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then flipd by the specified amount. The return value is the ID of the flipped drawable. If there was no selection, this will be equal to the drawable ID supplied as input. Otherwise, this will be the newly created and flipd drawable. The flip type parameter indicates whether the flip will be applied horizontally or vertically."),
"Flip the specified drawable about its center either vertically or horizontally",
"This tool flips the specified drawable if no selection exists. If a selection exists, the portion of the drawable which lies under the selection is cut from the drawable and made into a floating selection which is then flipd by the specified amount. The return value is the ID of the flipped drawable. If there was no selection, this will be equal to the drawable ID supplied as input. Otherwise, this will be the newly created and flipd drawable. The flip type parameter indicates whether the flip will be applied horizontally or vertically.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",

View File

@ -491,39 +491,39 @@ ProcArg free_select_args[] =
{
{ PDB_IMAGE,
"image",
N_("the image")
"the image"
},
{ PDB_INT32,
"num_pts",
N_("number of points (count 1 coordinate as two points)")
"number of points (count 1 coordinate as two points)"
},
{ PDB_FLOATARRAY,
"segs",
N_("array of points: { p1.x, p1.y, p2.x, p2.y, ..., pn.x, pn.y}")
"array of points: { p1.x, p1.y, p2.x, p2.y, ..., pn.x, pn.y}"
},
{ PDB_INT32,
"operation",
N_("the selection operation: { ADD (0), SUB (1), REPLACE (2), INTERSECT (3) }")
"the selection operation: { ADD (0), SUB (1), REPLACE (2), INTERSECT (3) }"
},
{ PDB_INT32,
"antialias",
N_("antialiasing option for selections")
"antialiasing option for selections"
},
{ PDB_INT32,
"feather",
N_("feather option for selections")
"feather option for selections"
},
{ PDB_FLOAT,
"feather_radius",
N_("radius for feather operation")
"radius for feather operation"
}
};
ProcRecord free_select_proc =
{
"gimp_free_select",
N_("Create a polygonal selection over the specified image"),
N_("This tool creates a polygonal selection over the specified image. The polygonal region can be either added to, subtracted from, or replace the contents of the previous selection mask. The polygon is specified through an array of floating point numbers and its length. The length of array must be 2n, where n is the number of points. Each point is defined by 2 floating point values which correspond to the x and y coordinates. If the final point does not connect to the starting point, a connecting segment is automatically added. If the feather option is enabled, the resulting selection is blurred before combining. The blur is a gaussian blur with the specified feather radius."),
"Create a polygonal selection over the specified image",
"This tool creates a polygonal selection over the specified image. The polygonal region can be either added to, subtracted from, or replace the contents of the previous selection mask. The polygon is specified through an array of floating point numbers and its length. The length of array must be 2n, where n is the number of points. Each point is defined by 2 floating point values which correspond to the x and y coordinates. If the final point does not connect to the starting point, a connecting segment is automatically added. If the feather option is enabled, the resulting selection is blurred before combining. The blur is a gaussian blur with the specified feather radius.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",

View File

@ -1712,67 +1712,67 @@ ProcArg blend_args[] =
{
{ PDB_DRAWABLE,
"drawable",
N_("The affected drawable")
"The affected drawable"
},
{ PDB_INT32,
"blend_mode",
N_("The type of blend: { FG-BG-RGB (0), FG-BG-HSV (1), FG-TRANS (2), CUSTOM (3) }")
"The type of blend: { FG-BG-RGB (0), FG-BG-HSV (1), FG-TRANS (2), CUSTOM (3) }"
},
{ PDB_INT32,
"paint_mode",
N_("the paint application mode: { NORMAL (0), DISSOLVE (1), BEHIND (2), MULTIPLY/BURN (3), SCREEN (4), OVERLAY (5) DIFFERENCE (6), ADDITION (7), SUBTRACT (8), DARKEN-ONLY (9), LIGHTEN-ONLY (10), HUE (11), SATURATION (12), COLOR (13), VALUE (14), DIVIDE/DODGE (15) }")
"the paint application mode: { NORMAL (0), DISSOLVE (1), BEHIND (2), MULTIPLY/BURN (3), SCREEN (4), OVERLAY (5) DIFFERENCE (6), ADDITION (7), SUBTRACT (8), DARKEN-ONLY (9), LIGHTEN-ONLY (10), HUE (11), SATURATION (12), COLOR (13), VALUE (14), DIVIDE/DODGE (15) }"
},
{ PDB_INT32,
"gradient_type",
N_("The type of gradient: { LINEAR (0), BILINEAR (1), RADIAL (2), SQUARE (3), CONICAL-SYMMETRIC (4), CONICAL-ASYMMETRIC (5), SHAPEBURST-ANGULAR (6), SHAPEBURST-SPHERICAL (7), SHAPEBURST-DIMPLED (8) }")
"The type of gradient: { LINEAR (0), BILINEAR (1), RADIAL (2), SQUARE (3), CONICAL-SYMMETRIC (4), CONICAL-ASYMMETRIC (5), SHAPEBURST-ANGULAR (6), SHAPEBURST-SPHERICAL (7), SHAPEBURST-DIMPLED (8) }"
},
{ PDB_FLOAT,
"opacity",
N_("The opacity of the final blend (0 <= opacity <= 100)")
"The opacity of the final blend (0 <= opacity <= 100)"
},
{ PDB_FLOAT,
"offset",
N_("Offset relates to the starting and ending coordinates specified for the blend. This parameter is mode depndent (0 <= offset)")
"Offset relates to the starting and ending coordinates specified for the blend. This parameter is mode depndent (0 <= offset)"
},
{ PDB_INT32,
"repeat",
N_("Repeat mode: { REPEAT-NONE (0), REPEAT-SAWTOOTH (1), REPEAT-TRIANGULAR (2) }")
"Repeat mode: { REPEAT-NONE (0), REPEAT-SAWTOOTH (1), REPEAT-TRIANGULAR (2) }"
},
{ PDB_INT32,
"supersample",
N_("Do adaptive supersampling (true / false)")
"Do adaptive supersampling (true / false)"
},
{ PDB_INT32,
"max_depth",
N_("Maximum recursion levels for supersampling")
"Maximum recursion levels for supersampling"
},
{ PDB_FLOAT,
"threshold",
N_("Supersampling threshold")
"Supersampling threshold"
},
{ PDB_FLOAT,
"x1",
N_("The x coordinate of this blend's starting point")
"The x coordinate of this blend's starting point"
},
{ PDB_FLOAT,
"y1",
N_("The y coordinate of this blend's starting point")
"The y coordinate of this blend's starting point"
},
{ PDB_FLOAT,
"x2",
N_("The x coordinate of this blend's ending point")
"The x coordinate of this blend's ending point"
},
{ PDB_FLOAT,
"y2",
N_("The y coordinate of this blend's ending point")
"The y coordinate of this blend's ending point"
}
};
ProcRecord blend_proc =
{
"gimp_blend",
N_("Blend between the starting and ending coordinates with the specified blend mode and gradient type."),
N_("This tool requires information on the paint application mode, the blend mode, and the gradient type. It creates the specified variety of blend using the starting and ending coordinates as defined for each gradient type."),
"Blend between the starting and ending coordinates with the specified blend mode and gradient type.",
"This tool requires information on the paint application mode, the blend mode, and the gradient type. It creates the specified variety of blend using the starting and ending coordinates as defined for each gradient type.",
"Spencer Kimball & Peter Mattis & Federico Mena Quintero",
"Spencer Kimball & Peter Mattis & Federico Mena Quintero",
"1995-1996",

View File

@ -549,31 +549,31 @@ ProcArg clone_args[] =
{
{ PDB_DRAWABLE,
"drawable",
N_("the drawable")
"the drawable"
},
{ PDB_DRAWABLE,
"src_drawable",
N_("the source drawable")
"the source drawable"
},
{ PDB_INT32,
"clone_type",
N_("the type of clone: { IMAGE-CLONE (0), PATTERN-CLONE (1) }")
"the type of clone: { IMAGE-CLONE (0), PATTERN-CLONE (1) }"
},
{ PDB_FLOAT,
"src_x",
N_("the x coordinate in the source image")
"the x coordinate in the source image"
},
{ PDB_FLOAT,
"src_y",
N_("the y coordinate in the source image")
"the y coordinate in the source image"
},
{ PDB_INT32,
"num_strokes",
N_("number of stroke control points (count each coordinate as 2 points)")
"number of stroke control points (count each coordinate as 2 points)"
},
{ PDB_FLOATARRAY,
"strokes",
N_("array of stroke coordinates: {s1.x, s1.y, s2.x, s2.y, ..., sn.x, sn.y}")
"array of stroke coordinates: {s1.x, s1.y, s2.x, s2.y, ..., sn.x, sn.y}"
}
};
@ -581,8 +581,8 @@ ProcArg clone_args[] =
ProcRecord clone_proc =
{
"gimp_clone",
N_("Clone from the source to the dest drawable using the current brush"),
N_("This tool clones (copies) from the source drawable starting at the specified source coordinates to the dest drawable. If the \"clone_type\" argument is set to PATTERN-CLONE, then the current pattern is used as the source and the \"src_drawable\" argument is ignored. Pattern cloning assumes a tileable pattern and mods the sum of the src coordinates and subsequent stroke offsets with the width and height of the pattern. For image cloning, if the sum of the src coordinates and subsequent stroke offsets exceeds the extents of the src drawable, then no paint is transferred. The clone tool is capable of transforming between any image types including RGB->Indexed--although converting from any type to indexed is significantly slower."),
"Clone from the source to the dest drawable using the current brush",
"This tool clones (copies) from the source drawable starting at the specified source coordinates to the dest drawable. If the \"clone_type\" argument is set to PATTERN-CLONE, then the current pattern is used as the source and the \"src_drawable\" argument is ignored. Pattern cloning assumes a tileable pattern and mods the sum of the src coordinates and subsequent stroke offsets with the width and height of the pattern. For image cloning, if the sum of the src coordinates and subsequent stroke offsets exceeds the extents of the src drawable, then no paint is transferred. The clone tool is capable of transforming between any image types including RGB->Indexed--although converting from any type to indexed is significantly slower.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",

View File

@ -392,7 +392,7 @@ color_balance_new_dialog ()
/* The shell and main vbox */
cbd->shell = gtk_dialog_new ();
gtk_window_set_wmclass (GTK_WINDOW (cbd->shell), "color_balance", "Gimp");
gtk_window_set_title (GTK_WINDOW (cbd->shell), N_("Color Balance"));
gtk_window_set_title (GTK_WINDOW (cbd->shell), _("Color Balance"));
/* handle the wm close signal */
gtk_signal_connect (GTK_OBJECT (cbd->shell), "delete_event",
@ -879,35 +879,35 @@ ProcArg color_balance_args[] =
{
{ PDB_DRAWABLE,
"drawable",
N_("the drawable")
"the drawable"
},
{ PDB_INT32,
"transfer_mode",
N_("Transfer mode: { SHADOWS (0), MIDTONES (1), HIGHLIGHTS (2) }")
"Transfer mode: { SHADOWS (0), MIDTONES (1), HIGHLIGHTS (2) }"
},
{ PDB_INT32,
"preserve_lum",
N_("Preserve luminosity values at each pixel")
"Preserve luminosity values at each pixel"
},
{ PDB_FLOAT,
"cyan_red",
N_("Cyan-Red color balance: (-100 <= cyan_red <= 100)")
"Cyan-Red color balance: (-100 <= cyan_red <= 100)"
},
{ PDB_FLOAT,
"magenta_green",
N_("Magenta-Green color balance: (-100 <= magenta_green <= 100)")
"Magenta-Green color balance: (-100 <= magenta_green <= 100)"
},
{ PDB_FLOAT,
"yellow_blue",
N_("Yellow-Blue color balance: (-100 <= yellow_blue <= 100)")
"Yellow-Blue color balance: (-100 <= yellow_blue <= 100)"
}
};
ProcRecord color_balance_proc =
{
"gimp_color_balance",
N_("Modify the color balance of the specified drawable"),
N_("Modify the color balance of the specified drawable. There are three axis which can be modified: cyan-red, magenta-green, and yellow-blue. Negative values increase the amount of the former, positive values increase the amount of the latter. Color balance can be controlled with the 'transfer_mode' setting, which allows shadows, midtones, and highlights in an image to be affected differently. The 'preserve_lum' parameter, if non-zero, ensures that the luminosity of each pixel remains fixed."),
"Modify the color balance of the specified drawable",
"Modify the color balance of the specified drawable. There are three axis which can be modified: cyan-red, magenta-green, and yellow-blue. Negative values increase the amount of the former, positive values increase the amount of the latter. Color balance can be controlled with the 'transfer_mode' setting, which allows shadows, midtones, and highlights in an image to be affected differently. The 'preserve_lum' parameter, if non-zero, ensures that the luminosity of each pixel remains fixed.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1997",

View File

@ -426,23 +426,23 @@ ProcArg convolve_args[] =
{
{ PDB_DRAWABLE,
"drawable",
N_("the drawable")
"the drawable"
},
{ PDB_FLOAT,
"pressure",
N_("the pressure: 0 <= pressure <= 100")
"the pressure: 0 <= pressure <= 100"
},
{ PDB_INT32,
"convolve_type",
N_("convolve type: { BLUR (0), SHARPEN (1) }")
"convolve type: { BLUR (0), SHARPEN (1) }"
},
{ PDB_INT32,
"num_strokes",
N_("number of stroke control points (count each coordinate as 2 points)")
"number of stroke control points (count each coordinate as 2 points)"
},
{ PDB_FLOATARRAY,
"strokes",
N_("array of stroke coordinates: {s1.x, s1.y, s2.x, s2.y, ..., sn.x, sn.y}")
"array of stroke coordinates: {s1.x, s1.y, s2.x, s2.y, ..., sn.x, sn.y}"
}
};
@ -450,8 +450,8 @@ ProcArg convolve_args[] =
ProcRecord convolve_proc =
{
"gimp_convolve",
N_("Convolve (Blur, Sharpen) using the current brush"),
N_("This tool convolves the specified drawable with either a sharpening or blurring kernel. The pressure parameter controls the magnitude of the operation. Like the paintbrush, this tool linearly interpolates between the specified stroke coordinates."),
"Convolve (Blur, Sharpen) using the current brush",
"This tool convolves the specified drawable with either a sharpening or blurring kernel. The pressure parameter controls the magnitude of the operation. Like the paintbrush, this tool linearly interpolates between the specified stroke coordinates.",
"Spencer Kimball & Peter Mattis",
"Spencer Kimball & Peter Mattis",
"1995-1996",

Some files were not shown because too many files have changed in this diff Show More