* app/tools/*.c: HIGify capitalization for dialogs.  More
	progress on bug #123699.
This commit is contained in:
William Skaggs
2004-06-23 20:29:46 +00:00
parent 0de43cb089
commit b4197cf30e
24 changed files with 72 additions and 67 deletions

View File

@ -1,3 +1,8 @@
2004-06-23 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/*.c: HIGify capitalization for dialogs. More
progress on bug #123699.
2004-06-23 Michael Natterer <mitch@gimp.org>
* modules/controller_midi.c: added utility function midi_event()

View File

@ -298,7 +298,7 @@ gimp_blend_options_gui (GimpToolOptions *tool_options)
/* supersampling toggle */
button = gimp_prop_check_button_new (config, "supersample",
_("Adaptive Supersampling"));
_("Adaptive supersampling"));
gtk_frame_set_label_widget (GTK_FRAME (frame), button);
gtk_widget_show (button);

View File

@ -266,8 +266,8 @@ gimp_bucket_fill_options_gui (GimpToolOptions *tool_options)
str = g_strdup_printf (_("Affected Area %s"), gimp_get_mod_name_shift ());
frame = gimp_prop_boolean_radio_frame_new (config, "fill-selection",
str,
_("Fill Whole Selection"),
_("Fill Similar Colors"));
_("Fill whole selection"),
_("Fill similar colors"));
g_free (str);
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
@ -289,13 +289,13 @@ gimp_bucket_fill_options_gui (GimpToolOptions *tool_options)
/* the fill transparent areas toggle */
button = gimp_prop_check_button_new (config, "fill-transparent",
_("Fill Transparent Areas"));
_("Fill transparent areas"));
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);
gtk_widget_show (button);
/* the sample merged toggle */
button = gimp_prop_check_button_new (config, "sample-merged",
_("Sample Merged"));
_("Sample merged"));
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);
gtk_widget_show (button);

View File

@ -324,7 +324,7 @@ gimp_color_balance_tool_dialog (GimpImageMapTool *image_map_tool)
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox);
button = gtk_button_new_with_mnemonic (_("R_eset Range"));
button = gtk_button_new_with_mnemonic (_("R_eset range"));
gtk_box_pack_end (GTK_BOX (hbox), button, FALSE, FALSE, 0);
gtk_widget_show (button);
@ -333,7 +333,7 @@ gimp_color_balance_tool_dialog (GimpImageMapTool *image_map_tool)
cb_tool);
cb_tool->preserve_toggle =
gtk_check_button_new_with_mnemonic (_("Preserve _Luminosity"));
gtk_check_button_new_with_mnemonic (_("Preserve _luminosity"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (cb_tool->preserve_toggle),
cb_tool->color_balance->preserve_luminosity);
gtk_box_pack_end (GTK_BOX (image_map_tool->main_vbox),

View File

@ -182,7 +182,7 @@ gimp_color_options_gui (GimpToolOptions *tool_options)
gtk_widget_show (table);
button = gimp_prop_check_button_new (config, "sample-average",
_("Sample Average"));
_("Sample average"));
gtk_frame_set_label_widget (GTK_FRAME (frame), button);
gtk_widget_show (button);

View File

@ -167,7 +167,7 @@ gimp_color_picker_options_gui (GimpToolOptions *tool_options)
/* the sample merged toggle button */
button = gimp_prop_check_button_new (config, "sample-merged",
_("Sample Merged"));
_("Sample merged"));
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
gtk_widget_show (button);

View File

@ -206,12 +206,12 @@ gimp_crop_options_gui (GimpToolOptions *tool_options)
/* layer toggle */
button = gimp_prop_check_button_new (config, "layer-only",
_("Current Layer only"));
_("Current layer only"));
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
gtk_widget_show (button);
/* enlarge toggle */
str = g_strdup_printf (_("Allow Enlarging %s"), gimp_get_mod_name_alt ());
str = g_strdup_printf (_("Allow enlarging %s"), gimp_get_mod_name_alt ());
button = gimp_prop_check_button_new (config, "allow-enlarge", str);
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
@ -220,7 +220,7 @@ gimp_crop_options_gui (GimpToolOptions *tool_options)
g_free (str);
/* layer toggle */
str = g_strdup_printf (_("Keep Aspect ratio %s"), gimp_get_mod_name_shift());
str = g_strdup_printf (_("Keep aspect ratio %s"), gimp_get_mod_name_shift());
button = gimp_prop_check_button_new (config, "keep-aspect", str);
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
gtk_widget_show (button);

View File

@ -1032,7 +1032,7 @@ crop_info_create (GimpCropTool *crop)
gtk_table_set_row_spacing (GTK_TABLE (crop->crop_info->info_table), 2, 0);
widget =
info_dialog_add_spinbutton (crop->crop_info, _("Aspect Ratio:"),
info_dialog_add_spinbutton (crop->crop_info, _("Aspect ratio:"),
&(crop->aspect_ratio),
0, 65536, 0.01, 0.1, 1, 1, 2,
G_CALLBACK (crop_aspect_changed),
@ -1045,7 +1045,7 @@ crop_info_create (GimpCropTool *crop)
gtk_button_box_set_layout (GTK_BUTTON_BOX (bbox), GTK_BUTTONBOX_SPREAD);
gtk_box_set_spacing (GTK_BOX (bbox), 4);
button = gtk_button_new_with_label (_("From Selection"));
button = gtk_button_new_with_label (_("From selection"));
gtk_container_add (GTK_CONTAINER (bbox), button);
gtk_widget_show (button);
@ -1053,7 +1053,7 @@ crop_info_create (GimpCropTool *crop)
G_CALLBACK (crop_selection_callback),
crop);
button = gtk_button_new_with_label (_("Auto Shrink"));
button = gtk_button_new_with_label (_("Auto shrink"));
gtk_container_add (GTK_CONTAINER (bbox), button);
gtk_widget_show (button);

View File

@ -489,7 +489,7 @@ gimp_curves_tool_dialog (GimpImageMapTool *image_map_tool)
tool->channel_menu = menu;
button = gtk_button_new_with_mnemonic (_("R_eset Channel"));
button = gtk_button_new_with_mnemonic (_("R_eset channel"));
gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, FALSE, 0);
gtk_widget_show (button);

View File

@ -182,7 +182,7 @@ gimp_eraser_options_gui (GimpToolOptions *tool_options)
vbox = gimp_paint_options_gui (tool_options);
/* the anti_erase toggle */
str = g_strdup_printf (_("Anti Erase %s"), gimp_get_mod_name_alt ());
str = g_strdup_printf (_("Anti erase %s"), gimp_get_mod_name_alt ());
button = gimp_prop_check_button_new (config, "anti-erase", str);
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);

View File

@ -163,7 +163,7 @@ gimp_hue_saturation_tool_class_init (GimpHueSaturationToolClass *klass)
tool_class->initialize = gimp_hue_saturation_tool_initialize;
image_map_tool_class->shell_desc = _("Adjust Hue / Lightness / Saturation");
image_map_tool_class->shell_desc = _("Adjust hue / lightness / saturation");
image_map_tool_class->map = gimp_hue_saturation_tool_map;
image_map_tool_class->dialog = gimp_hue_saturation_tool_dialog;
@ -404,7 +404,7 @@ gimp_hue_saturation_tool_dialog (GimpImageMapTool *image_map_tool)
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox);
button = gtk_button_new_with_mnemonic (_("R_eset Color"));
button = gtk_button_new_with_mnemonic (_("R_eset color"));
gtk_box_pack_end (GTK_BOX (hbox), button, FALSE, FALSE, 0);
gtk_widget_show (button);

View File

@ -348,15 +348,15 @@ gimp_levels_tool_color_picker_new (GimpLevelsTool *tool,
{
case LOW_INPUT:
stock_id = GIMP_STOCK_COLOR_PICKER_BLACK;
help = _("Pick Black Point");
help = _("Pick black point");
break;
case GAMMA:
stock_id = GIMP_STOCK_COLOR_PICKER_GRAY;
help = _("Pick Gray Point");
help = _("Pick gray point");
break;
case HIGH_INPUT:
stock_id = GIMP_STOCK_COLOR_PICKER_WHITE;
help = _("Pick White Point");
help = _("Pick white point");
break;
default:
return NULL;
@ -423,7 +423,7 @@ gimp_levels_tool_dialog (GimpImageMapTool *image_map_tool)
tool->channel_menu = menu;
button = gtk_button_new_with_mnemonic (_("R_eset Channel"));
button = gtk_button_new_with_mnemonic (_("R_eset channel"));
gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, FALSE, 0);
gtk_widget_show (button);

View File

@ -222,7 +222,7 @@ gimp_magnify_options_gui (GimpToolOptions *tool_options)
/* the auto_resize toggle button */
button = gimp_prop_check_button_new (config, "auto-resize",
_("Auto-Resize Window"));
_("Auto-resize window"));
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
gtk_widget_show (button);

View File

@ -168,7 +168,7 @@ gimp_measure_options_gui (GimpToolOptions *tool_options)
/* the use_info_window toggle button */
button = gimp_prop_check_button_new (config, "use-info-window",
_("Use Info Window"));
_("Use info window"));
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
gtk_widget_show (button);

View File

@ -176,18 +176,18 @@ gimp_move_options_notify_type (GimpMoveOptions *move_options,
switch (move_options->move_type)
{
case GIMP_TRANSFORM_TYPE_LAYER:
false_label = _("Pick a Layer or Guide to Move");
true_label = _("Move the Current Layer");
false_label = _("Pick a layer or guide to Move");
true_label = _("Move the current layer");
break;
case GIMP_TRANSFORM_TYPE_SELECTION:
false_label = _("Move Selection");
true_label = _("Move Selection");
false_label = _("Move selection");
true_label = _("Move selection");
break;
case GIMP_TRANSFORM_TYPE_PATH:
false_label = _("Pick a Path to Move");
true_label = _("Move the Current Path");
false_label = _("Pick a path to move");
true_label = _("Move the current path");
break;
}

View File

@ -233,7 +233,7 @@ gimp_paint_options_gui (GimpToolOptions *tool_options)
tool_type == GIMP_TYPE_DODGE_BURN_TOOL ||
tool_type == GIMP_TYPE_SMUDGE_TOOL)
{
button = gimp_prop_check_button_new (config, "hard", _("Hard Edge"));
button = gimp_prop_check_button_new (config, "hard", _("Hard edge"));
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
gtk_widget_show (button);
}
@ -290,7 +290,7 @@ pressure_options_gui (GimpPressureOptions *pressure,
{
GtkWidget *inner_frame;
frame = gtk_expander_new (_("Pressure Sensitivity"));
frame = gtk_expander_new (_("Pressure sensitivity"));
gtk_expander_set_expanded (GTK_EXPANDER (frame), FALSE);
inner_frame = gimp_frame_new ("<expander>");
@ -396,7 +396,7 @@ fade_options_gui (GimpFadeOptions *fade,
gtk_widget_show (table);
button = gimp_prop_check_button_new (config, "use-fade",
_("Fade Out"));
_("Fade out"));
gtk_frame_set_label_widget (GTK_FRAME (frame), button);
gtk_widget_show (button);
@ -452,7 +452,7 @@ gradient_options_gui (GimpGradientOptions *gradient,
gtk_widget_show (table);
button = gimp_prop_check_button_new (config, "use-gradient",
_("Use Color from Gradient"));
_("Use color from gradient"));
gtk_frame_set_label_widget (GTK_FRAME (frame), button);
gtk_widget_show (button);

View File

@ -220,7 +220,7 @@ gimp_posterize_tool_dialog (GimpImageMapTool *image_map_tool)
gtk_widget_show (table);
data = gimp_scale_entry_new (GTK_TABLE (table), 0, 0,
_("Posterize _Levels:"), SLIDER_WIDTH, -1,
_("Posterize _levels:"), SLIDER_WIDTH, -1,
posterize_tool->levels,
2.0, 256.0, 1.0, 10.0, 0,
TRUE, 0.0, 0.0,

View File

@ -156,7 +156,7 @@ gimp_scale_tool_init (GimpScaleTool *scale_tool)
gimp_tool_control_set_tool_cursor (tool->control, GIMP_TOOL_CURSOR_RESIZE);
tr_tool->shell_desc = _("Scaling Information");
tr_tool->shell_desc = _("Scaling information");
tr_tool->progress_text = _("Scaling...");
}
@ -173,11 +173,11 @@ gimp_scale_tool_dialog (GimpTransformTool *tr_tool)
orig_height_buf);
spinbutton = info_dialog_add_spinbutton (tr_tool->info_dialog,
_("Current Width:"),
_("Current width:"),
NULL, -1, 1, 1, 10, 1, 1, 2,
NULL, NULL);
sizeentry = info_dialog_add_sizeentry (tr_tool->info_dialog,
_("Current Height:"),
_("Current height:"),
size_vals, 1,
GIMP_UNIT_PIXEL, "%a",
TRUE, TRUE, FALSE,
@ -192,10 +192,10 @@ gimp_scale_tool_dialog (GimpTransformTool *tr_tool)
GTK_SPIN_BUTTON (spinbutton), NULL);
info_dialog_add_label (tr_tool->info_dialog,
_("Scale Ratio X:"),
_("Scale ratio X:"),
x_ratio_buf);
info_dialog_add_label (tr_tool->info_dialog,
_("Scale Ratio Y:"),
_("Scale ratio Y:"),
y_ratio_buf);
gtk_table_set_row_spacing (GTK_TABLE (tr_tool->info_dialog->info_table),

View File

@ -423,7 +423,7 @@ gimp_selection_options_gui (GimpToolOptions *tool_options)
gtk_widget_show (table);
button = gimp_prop_check_button_new (config, "feather",
_("Feather Edges"));
_("Feather edges"));
gtk_frame_set_label_widget (GTK_FRAME (frame), button);
gtk_widget_show (button);
@ -458,7 +458,7 @@ gimp_selection_options_gui (GimpToolOptions *tool_options)
if (tool_options->tool_info->tool_type == GIMP_TYPE_ISCISSORS_TOOL)
{
button = gimp_prop_check_button_new (config, "interactive",
_("Show Interactive Boundary"));
_("Show interactive boundary"));
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
gtk_widget_show (button);
}
@ -482,13 +482,13 @@ gimp_selection_options_gui (GimpToolOptions *tool_options)
/* the select transparent areas toggle */
button = gimp_prop_check_button_new (config, "select-transparent",
_("Select Transparent Areas"));
_("Select transparent areas"));
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);
gtk_widget_show (button);
/* the sample merged toggle */
button = gimp_prop_check_button_new (config, "sample-merged",
_("Sample Merged"));
_("Sample merged"));
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);
gtk_widget_show (button);
@ -527,7 +527,7 @@ gimp_selection_options_gui (GimpToolOptions *tool_options)
gtk_widget_show (vbox2);
button = gimp_prop_check_button_new (config, "auto-shrink",
_("Auto Shrink Selection"));
_("Auto shrink selection"));
gtk_frame_set_label_widget (GTK_FRAME (frame), button);
gtk_widget_show (button);
@ -535,7 +535,7 @@ gimp_selection_options_gui (GimpToolOptions *tool_options)
g_object_set_data (G_OBJECT (button), "set_sensitive", vbox2);
button = gimp_prop_check_button_new (config, "shrink-merged",
_("Sample Merged"));
_("Sample merged"));
gtk_box_pack_start (GTK_BOX (vbox2), button, FALSE, FALSE, 0);
gtk_widget_show (button);

View File

@ -163,14 +163,14 @@ static void
gimp_shear_tool_dialog (GimpTransformTool *tr_tool)
{
info_dialog_add_spinbutton (tr_tool->info_dialog,
_("Shear Magnitude X:"),
_("Shear magnitude X:"),
&xshear_val,
-65536, 65536, 1, 15, 1, 1, 0,
G_CALLBACK (shear_x_mag_changed),
tr_tool);
info_dialog_add_spinbutton (tr_tool->info_dialog,
_("Shear Magnitude Y:"),
_("Shear magnitude Y:"),
&yshear_val,
-65536, 65536, 1, 15, 1, 1, 0,
G_CALLBACK (shear_y_mag_changed),

View File

@ -457,7 +457,7 @@ gimp_text_options_gui (GimpToolOptions *tool_options)
row++;
auto_button = gimp_prop_check_button_new (config, "autohint",
_("Force Auto-Hinter"));
_("Force auto-hinter"));
gtk_table_attach (GTK_TABLE (table), auto_button, 0, 3, row, row + 1,
GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 0);
gtk_widget_show (auto_button);
@ -494,10 +494,10 @@ gimp_text_options_gui (GimpToolOptions *tool_options)
spinbutton = gimp_prop_spin_button_new (config, "line-spacing", 1.0, 10.0, 1);
gtk_entry_set_width_chars (GTK_ENTRY (spinbutton), 5);
gimp_table_attach_stock (GTK_TABLE (table), row++,
_("Line\nSpacing:"), 0.0,
_("Line\nspacing:"), 0.0,
spinbutton, 1, GIMP_STOCK_LINE_SPACING);
button = gtk_button_new_with_label (_("Create Path from Text"));
button = gtk_button_new_with_label (_("Create path from text"));
gtk_box_pack_end (GTK_BOX (vbox), button, FALSE, FALSE, 0);
gtk_widget_set_sensitive (button, FALSE);
gtk_widget_show (button);

View File

@ -205,7 +205,7 @@ gimp_vector_options_gui (GimpToolOptions *tool_options)
gimp_get_mod_name_control ());
button = gimp_button_new ();
gtk_button_set_label (GTK_BUTTON (button), _("Create Selection from Path"));
gtk_button_set_label (GTK_BUTTON (button), _("Create selection from path"));
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
gtk_widget_set_sensitive (button, FALSE);
gimp_help_set_help_data (button, str, GIMP_HELP_PATH_SELECTION_REPLACE);
@ -216,7 +216,7 @@ gimp_vector_options_gui (GimpToolOptions *tool_options)
g_object_set_data (G_OBJECT (tool_options),
"gimp-vectors-to-selection", button);
button = gtk_button_new_with_label (_("Stroke Path"));
button = gtk_button_new_with_label (_("Stroke path"));
gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
gtk_widget_set_sensitive (button, FALSE);
gimp_help_set_help_data (button, NULL, GIMP_HELP_PATH_STROKE);

View File

@ -1865,7 +1865,7 @@ gimp_vector_tool_to_selection_extended (GimpVectorTool *vector_tool,
}
gimp_channel_select_vectors (gimp_image_get_mask (gimage),
_("Path to Selection"),
_("Path to selection"),
vector_tool->vectors,
operation,
TRUE, FALSE, 0, 0);

View File

@ -11,9 +11,9 @@
static const GEnumValue gimp_color_pick_mode_enum_values[] =
{
{ GIMP_COLOR_PICK_MODE_NONE, N_("Pick Only"), "none" },
{ GIMP_COLOR_PICK_MODE_FOREGROUND, N_("Set Foreground Color"), "foreground" },
{ GIMP_COLOR_PICK_MODE_BACKGROUND, N_("Set Background Color"), "background" },
{ GIMP_COLOR_PICK_MODE_NONE, N_("Pick only"), "none" },
{ GIMP_COLOR_PICK_MODE_FOREGROUND, N_("Set foreground color"), "foreground" },
{ GIMP_COLOR_PICK_MODE_BACKGROUND, N_("Set background color"), "background" },
{ 0, NULL, NULL }
};
@ -50,9 +50,9 @@ gimp_crop_mode_get_type (void)
static const GEnumValue gimp_rect_select_mode_enum_values[] =
{
{ GIMP_RECT_SELECT_MODE_FREE, N_("Free Select"), "free" },
{ GIMP_RECT_SELECT_MODE_FIXED_SIZE, N_("Fixed Size"), "fixed-size" },
{ GIMP_RECT_SELECT_MODE_FIXED_RATIO, N_("Fixed Aspect Ratio"), "fixed-ratio" },
{ GIMP_RECT_SELECT_MODE_FREE, N_("Free select"), "free" },
{ GIMP_RECT_SELECT_MODE_FIXED_SIZE, N_("Fixed size"), "fixed-size" },
{ GIMP_RECT_SELECT_MODE_FIXED_RATIO, N_("Fixed aspect ratio"), "fixed-ratio" },
{ 0, NULL, NULL }
};
@ -70,9 +70,9 @@ gimp_rect_select_mode_get_type (void)
static const GEnumValue gimp_transform_type_enum_values[] =
{
{ GIMP_TRANSFORM_TYPE_LAYER, N_("Transform Layer"), "layer" },
{ GIMP_TRANSFORM_TYPE_SELECTION, N_("Transform Selection"), "selection" },
{ GIMP_TRANSFORM_TYPE_PATH, N_("Transform Path"), "path" },
{ GIMP_TRANSFORM_TYPE_LAYER, N_("Transform layer"), "layer" },
{ GIMP_TRANSFORM_TYPE_SELECTION, N_("Transform selection"), "selection" },
{ GIMP_TRANSFORM_TYPE_PATH, N_("Transform path"), "path" },
{ 0, NULL, NULL }
};
@ -110,9 +110,9 @@ gimp_vector_mode_get_type (void)
static const GEnumValue gimp_transform_grid_type_enum_values[] =
{
{ GIMP_TRANSFORM_GRID_TYPE_NONE, N_("Don't Show Grid"), "none" },
{ GIMP_TRANSFORM_GRID_TYPE_N_LINES, N_("Number of Grid Lines"), "n-lines" },
{ GIMP_TRANSFORM_GRID_TYPE_SPACING, N_("Grid Line Spacing"), "spacing" },
{ GIMP_TRANSFORM_GRID_TYPE_NONE, N_("Don't show grid"), "none" },
{ GIMP_TRANSFORM_GRID_TYPE_N_LINES, N_("Number of grid lines"), "n-lines" },
{ GIMP_TRANSFORM_GRID_TYPE_SPACING, N_("Grid line spacing"), "spacing" },
{ 0, NULL, NULL }
};