mirror of https://github.com/GNOME/gimp.git
Missing mnemonics on several dialogs
paste as brush, paste as pattern, select to new brush, select to new pattern fill selection outline, fill path, stroke selection, distort, rounded rectangle indexed color conversion, merge visible layers, new guide, new guide (by percent) image properties, newsprint, fractal explorer, sample colorize, new layer metadata editor (just a button), spyroplus (only common buttons)
This commit is contained in:
parent
90053e477f
commit
2e766f67d4
|
@ -606,8 +606,8 @@ gimp_fill_style_get_type (void)
|
|||
|
||||
static const GimpEnumDesc descs[] =
|
||||
{
|
||||
{ GIMP_FILL_STYLE_SOLID, NC_("fill-style", "Solid color"), NULL },
|
||||
{ GIMP_FILL_STYLE_PATTERN, NC_("fill-style", "Pattern"), NULL },
|
||||
{ GIMP_FILL_STYLE_SOLID, NC_("fill-style", "_Solid color"), NULL },
|
||||
{ GIMP_FILL_STYLE_PATTERN, NC_("fill-style", "_Pattern"), NULL },
|
||||
{ 0, NULL, NULL }
|
||||
};
|
||||
|
||||
|
|
|
@ -276,7 +276,7 @@ convert_indexed_dialog_new (GimpImage *image,
|
|||
|
||||
|
||||
toggle =
|
||||
gtk_check_button_new_with_mnemonic (_("Enable dithering of text layers"));
|
||||
gtk_check_button_new_with_mnemonic (_("Enable dithering of text _layers"));
|
||||
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (toggle),
|
||||
private->dither_text_layers);
|
||||
gtk_box_pack_start (GTK_BOX (vbox), toggle, FALSE, FALSE, 0);
|
||||
|
|
|
@ -83,17 +83,17 @@ image_properties_dialog_new (GimpImage *image,
|
|||
view = gimp_image_prop_view_new (image);
|
||||
gtk_container_set_border_width (GTK_CONTAINER (view), 12);
|
||||
gtk_notebook_append_page (GTK_NOTEBOOK (notebook),
|
||||
view, gtk_label_new (_("Properties")));
|
||||
view, gtk_label_new_with_mnemonic (_("_Properties")));
|
||||
gtk_widget_show (view);
|
||||
|
||||
view = gimp_image_profile_view_new (image);
|
||||
gtk_notebook_append_page (GTK_NOTEBOOK (notebook),
|
||||
view, gtk_label_new (_("Color Profile")));
|
||||
view, gtk_label_new_with_mnemonic (_("C_olor Profile")));
|
||||
gtk_widget_show (view);
|
||||
|
||||
view = gimp_image_comment_editor_new (image);
|
||||
gtk_notebook_append_page (GTK_NOTEBOOK (notebook),
|
||||
view, gtk_label_new (_("Comment")));
|
||||
view, gtk_label_new_with_mnemonic (_("Co_mment")));
|
||||
gtk_widget_show (view);
|
||||
|
||||
gtk_notebook_set_current_page (GTK_NOTEBOOK (notebook), 0);
|
||||
|
|
|
@ -200,7 +200,7 @@ layer_options_dialog_new (GimpImage *image,
|
|||
|
||||
private->blend_space_combo = combo =
|
||||
gimp_enum_combo_box_new_with_model (GIMP_ENUM_STORE (space_model));
|
||||
item_options_dialog_add_widget (dialog, _("Blend space:"), combo);
|
||||
item_options_dialog_add_widget (dialog, _("_Blend space:"), combo);
|
||||
gimp_enum_combo_box_set_icon_prefix (GIMP_ENUM_COMBO_BOX (combo),
|
||||
"gimp-layer-color-space");
|
||||
gimp_int_combo_box_connect (GIMP_INT_COMBO_BOX (combo),
|
||||
|
@ -210,7 +210,7 @@ layer_options_dialog_new (GimpImage *image,
|
|||
|
||||
private->composite_space_combo = combo =
|
||||
gimp_enum_combo_box_new_with_model (GIMP_ENUM_STORE (space_model));
|
||||
item_options_dialog_add_widget (dialog, _("Composite space:"), combo);
|
||||
item_options_dialog_add_widget (dialog, _("Compos_ite space:"), combo);
|
||||
gimp_enum_combo_box_set_icon_prefix (GIMP_ENUM_COMBO_BOX (combo),
|
||||
"gimp-layer-color-space");
|
||||
gimp_int_combo_box_connect (GIMP_INT_COMBO_BOX (combo),
|
||||
|
@ -222,7 +222,7 @@ layer_options_dialog_new (GimpImage *image,
|
|||
|
||||
private->composite_mode_combo = combo =
|
||||
gimp_enum_combo_box_new (GIMP_TYPE_LAYER_COMPOSITE_MODE);
|
||||
item_options_dialog_add_widget (dialog, _("Composite mode:"), combo);
|
||||
item_options_dialog_add_widget (dialog, _("Composite mo_de:"), combo);
|
||||
gimp_enum_combo_box_set_icon_prefix (GIMP_ENUM_COMBO_BOX (combo),
|
||||
"gimp-layer-composite");
|
||||
gimp_int_combo_box_connect (GIMP_INT_COMBO_BOX (combo),
|
||||
|
|
|
@ -227,7 +227,7 @@ stroke_dialog_new (GimpItem *item,
|
|||
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
|
||||
gtk_widget_show (hbox);
|
||||
|
||||
label = gtk_label_new (_("Paint tool:"));
|
||||
label = gtk_label_new_with_mnemonic (_("P_aint tool:"));
|
||||
gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
|
||||
gtk_widget_show (label);
|
||||
|
||||
|
|
|
@ -233,7 +233,7 @@ _gimp_prop_gui_new_newsprint (GObject *config,
|
|||
gtk_widget_show (hbox);
|
||||
|
||||
np->pattern_check = check =
|
||||
gtk_check_button_new_with_label (_("Lock patterns"));
|
||||
gtk_check_button_new_with_mnemonic (_("_Lock patterns"));
|
||||
gtk_box_pack_start (GTK_BOX (hbox), check, FALSE, FALSE, 0);
|
||||
gtk_widget_show (check);
|
||||
|
||||
|
@ -242,7 +242,7 @@ _gimp_prop_gui_new_newsprint (GObject *config,
|
|||
np);
|
||||
|
||||
np->period_check = check =
|
||||
gtk_check_button_new_with_label (_("Lock periods"));
|
||||
gtk_check_button_new_with_mnemonic (_("Loc_k periods"));
|
||||
gtk_box_pack_start (GTK_BOX (hbox), check, FALSE, FALSE, 0);
|
||||
gtk_widget_show (check);
|
||||
|
||||
|
@ -251,7 +251,7 @@ _gimp_prop_gui_new_newsprint (GObject *config,
|
|||
np);
|
||||
|
||||
np->angle_check = check =
|
||||
gtk_check_button_new_with_label (_("Lock angles"));
|
||||
gtk_check_button_new_with_mnemonic (_("Lock a_ngles"));
|
||||
gtk_box_pack_start (GTK_BOX (hbox), check, FALSE, FALSE, 0);
|
||||
gtk_widget_show (check);
|
||||
|
||||
|
|
|
@ -104,7 +104,7 @@ gimp_image_comment_editor_init (GimpImageCommentEditor *editor)
|
|||
gtk_widget_show (text_view);
|
||||
|
||||
/* Button */
|
||||
button = gtk_button_new_with_label (_("Use default comment"));
|
||||
button = gtk_button_new_with_mnemonic (_("Use _default comment"));
|
||||
gimp_help_set_help_data (GTK_WIDGET (button),
|
||||
_("Replace the current image comment with the "
|
||||
"default comment set in "
|
||||
|
|
|
@ -414,10 +414,10 @@ gimp_convert_palette_type_get_type (void)
|
|||
|
||||
static const GimpEnumDesc descs[] =
|
||||
{
|
||||
{ GIMP_CONVERT_PALETTE_GENERATE, NC_("convert-palette-type", "Generate optimum palette"), NULL },
|
||||
{ GIMP_CONVERT_PALETTE_WEB, NC_("convert-palette-type", "Use web-optimized palette"), NULL },
|
||||
{ GIMP_CONVERT_PALETTE_MONO, NC_("convert-palette-type", "Use black and white (1-bit) palette"), NULL },
|
||||
{ GIMP_CONVERT_PALETTE_CUSTOM, NC_("convert-palette-type", "Use custom palette"), NULL },
|
||||
{ GIMP_CONVERT_PALETTE_GENERATE, NC_("convert-palette-type", "_Generate optimum palette"), NULL },
|
||||
{ GIMP_CONVERT_PALETTE_WEB, NC_("convert-palette-type", "Use _web-optimized palette"), NULL },
|
||||
{ GIMP_CONVERT_PALETTE_MONO, NC_("convert-palette-type", "Use _black and white (1-bit) palette"), NULL },
|
||||
{ GIMP_CONVERT_PALETTE_CUSTOM, NC_("convert-palette-type", "Use c_ustom palette"), NULL },
|
||||
{ 0, NULL, NULL }
|
||||
};
|
||||
|
||||
|
@ -1092,9 +1092,9 @@ gimp_merge_type_get_type (void)
|
|||
|
||||
static const GimpEnumDesc descs[] =
|
||||
{
|
||||
{ GIMP_EXPAND_AS_NECESSARY, NC_("merge-type", "Expanded as necessary"), NULL },
|
||||
{ GIMP_CLIP_TO_IMAGE, NC_("merge-type", "Clipped to image"), NULL },
|
||||
{ GIMP_CLIP_TO_BOTTOM_LAYER, NC_("merge-type", "Clipped to bottom layer"), NULL },
|
||||
{ GIMP_EXPAND_AS_NECESSARY, NC_("merge-type", "_Expanded as necessary"), NULL },
|
||||
{ GIMP_CLIP_TO_IMAGE, NC_("merge-type", "Clipped to _image"), NULL },
|
||||
{ GIMP_CLIP_TO_BOTTOM_LAYER, NC_("merge-type", "Clipped to _bottom layer"), NULL },
|
||||
{ GIMP_FLATTEN_IMAGE, NC_("merge-type", "Flatten"), NULL },
|
||||
{ 0, NULL, NULL }
|
||||
};
|
||||
|
@ -1670,8 +1670,8 @@ gimp_stroke_method_get_type (void)
|
|||
|
||||
static const GimpEnumDesc descs[] =
|
||||
{
|
||||
{ GIMP_STROKE_LINE, NC_("stroke-method", "Stroke line"), NULL },
|
||||
{ GIMP_STROKE_PAINT_METHOD, NC_("stroke-method", "Stroke with a paint tool"), NULL },
|
||||
{ GIMP_STROKE_LINE, NC_("stroke-method", "S_troke line"), NULL },
|
||||
{ GIMP_STROKE_PAINT_METHOD, NC_("stroke-method", "Stroke _with a paint tool"), NULL },
|
||||
{ 0, NULL, NULL }
|
||||
};
|
||||
|
||||
|
|
|
@ -1465,7 +1465,7 @@ smp_dialog (void)
|
|||
gtk_widget_show (hbox);
|
||||
|
||||
/* check button */
|
||||
check_button = gtk_check_button_new_with_label (_("Show selection"));
|
||||
check_button = gtk_check_button_new_with_mnemonic (_("Sho_w selection"));
|
||||
gtk_box_pack_start (GTK_BOX (hbox), check_button, FALSE, FALSE, 0);
|
||||
gtk_widget_show (check_button);
|
||||
|
||||
|
@ -1476,7 +1476,7 @@ smp_dialog (void)
|
|||
g_di.dst_show_selection);
|
||||
|
||||
/* check button */
|
||||
check_button = gtk_check_button_new_with_label (_("Show color"));
|
||||
check_button = gtk_check_button_new_with_mnemonic (_("Show co_lor"));
|
||||
gtk_box_pack_start (GTK_BOX (hbox), check_button, FALSE, FALSE, 0);
|
||||
gtk_widget_show (check_button);
|
||||
|
||||
|
@ -1491,7 +1491,7 @@ smp_dialog (void)
|
|||
gtk_widget_show (hbox);
|
||||
|
||||
/* check button */
|
||||
check_button = gtk_check_button_new_with_label (_("Show selection"));
|
||||
check_button = gtk_check_button_new_with_mnemonic (_("Show selec_tion"));
|
||||
gtk_box_pack_start (GTK_BOX (hbox), check_button, FALSE, FALSE, 0);
|
||||
gtk_widget_show (check_button);
|
||||
|
||||
|
@ -1502,7 +1502,7 @@ smp_dialog (void)
|
|||
g_di.sample_show_selection);
|
||||
|
||||
/* check button */
|
||||
check_button = gtk_check_button_new_with_label (_("Show color"));
|
||||
check_button = gtk_check_button_new_with_mnemonic (_("Show c_olor"));
|
||||
gtk_box_pack_start (GTK_BOX (hbox), check_button, FALSE, FALSE, 0);
|
||||
gtk_widget_show (check_button);
|
||||
|
||||
|
@ -1718,7 +1718,7 @@ smp_dialog (void)
|
|||
gtk_widget_show (hbox);
|
||||
|
||||
/* check button */
|
||||
check_button = gtk_check_button_new_with_label (_("Hold intensity"));
|
||||
check_button = gtk_check_button_new_with_mnemonic (_("Hold _intensity"));
|
||||
gtk_box_pack_start (GTK_BOX (hbox), check_button, FALSE, FALSE, 0);
|
||||
gtk_widget_show (check_button);
|
||||
|
||||
|
@ -1729,7 +1729,7 @@ smp_dialog (void)
|
|||
g_values.hold_inten);
|
||||
|
||||
/* check button */
|
||||
check_button = gtk_check_button_new_with_label (_("Original intensity"));
|
||||
check_button = gtk_check_button_new_with_mnemonic (_("Original i_ntensity"));
|
||||
g_di.orig_inten_button = check_button;
|
||||
gtk_box_pack_start (GTK_BOX (hbox), check_button, FALSE, FALSE, 0);
|
||||
gtk_widget_set_sensitive (g_di.orig_inten_button, g_values.hold_inten);
|
||||
|
@ -1746,7 +1746,7 @@ smp_dialog (void)
|
|||
gtk_widget_show (hbox);
|
||||
|
||||
/* check button */
|
||||
check_button = gtk_check_button_new_with_label (_("Use subcolors"));
|
||||
check_button = gtk_check_button_new_with_mnemonic (_("Us_e subcolors"));
|
||||
gtk_box_pack_start (GTK_BOX (hbox), check_button, FALSE, FALSE, 0);
|
||||
gtk_widget_show (check_button);
|
||||
|
||||
|
@ -1757,7 +1757,7 @@ smp_dialog (void)
|
|||
g_values.rnd_subcolors);
|
||||
|
||||
/* check button */
|
||||
check_button = gtk_check_button_new_with_label (_("Smooth samples"));
|
||||
check_button = gtk_check_button_new_with_mnemonic (_("S_mooth samples"));
|
||||
gtk_box_pack_start (GTK_BOX (hbox), check_button, FALSE, FALSE, 0);
|
||||
gtk_widget_show (check_button);
|
||||
|
||||
|
|
|
@ -631,7 +631,7 @@ explorer_dialog (void)
|
|||
GDK_ENTER_NOTIFY_MASK));
|
||||
gtk_widget_show (wint.preview);
|
||||
|
||||
toggle = gtk_check_button_new_with_label (_("Realtime preview"));
|
||||
toggle = gtk_check_button_new_with_mnemonic (_("Re_altime preview"));
|
||||
gtk_box_pack_start (GTK_BOX (vbox), toggle, FALSE, FALSE, 0);
|
||||
g_signal_connect (toggle, "toggled",
|
||||
G_CALLBACK (explorer_toggle_update),
|
||||
|
|
|
@ -561,7 +561,7 @@ metadata_editor_dialog (GimpImage *image,
|
|||
NULL, 0,
|
||||
gimp_standard_help_func, PLUG_IN_PROC,
|
||||
_("_Cancel"), GTK_RESPONSE_NO,
|
||||
_("Write Metadata"), GTK_RESPONSE_YES,
|
||||
_("_Write Metadata"), GTK_RESPONSE_YES,
|
||||
NULL);
|
||||
|
||||
meta_args.dialog = dialog;
|
||||
|
|
|
@ -1325,12 +1325,12 @@ class SpyroWindow(Gtk.Window):
|
|||
def dialog_button_box():
|
||||
hbox = Gtk.HBox(homogeneous=True, spacing=20)
|
||||
|
||||
add_button_to_box(hbox, _("Redraw"), self.redraw,
|
||||
add_button_to_box(hbox, _("Re_draw"), self.redraw,
|
||||
_("If you change the settings of a tool, change color, or change the selection, "
|
||||
"press this to preview how the pattern looks."))
|
||||
add_button_to_box(hbox, _("Reset"), self.reset_params)
|
||||
add_button_to_box(hbox, _("Cancel"), self.cancel_window)
|
||||
self.ok_btn = add_button_to_box(hbox, _("OK"), self.ok_window)
|
||||
add_button_to_box(hbox, _("_Reset"), self.reset_params)
|
||||
add_button_to_box(hbox, _("_Cancel"), self.cancel_window)
|
||||
self.ok_btn = add_button_to_box(hbox, _("_OK"), self.ok_window)
|
||||
|
||||
self.keep_separate_layer_checkbox = Gtk.CheckButton(label=_("Keep\nLayer"))
|
||||
self.keep_separate_layer_checkbox.set_tooltip_text(
|
||||
|
|
|
@ -110,12 +110,12 @@
|
|||
"RGB*,GRAY*"
|
||||
SF-IMAGE "The image" 0
|
||||
SF-DRAWABLE "The layer" 0
|
||||
SF-ADJUSTMENT _"Threshold (bigger 1<-->254 smaller)" '(127 1 254 1 10 0 0)
|
||||
SF-ADJUSTMENT _"Spread" '(8 0 1000 1 10 0 1)
|
||||
SF-ADJUSTMENT _"Granularity (1 is low)" '(4 1 25 1 10 0 1)
|
||||
SF-ADJUSTMENT _"Smooth" '(2 1 150 1 10 0 1)
|
||||
SF-TOGGLE _"Smooth horizontally" TRUE
|
||||
SF-TOGGLE _"Smooth vertically" TRUE
|
||||
SF-ADJUSTMENT _"_Threshold (bigger 1<-->254 smaller)" '(127 1 254 1 10 0 0)
|
||||
SF-ADJUSTMENT _"_Spread" '(8 0 1000 1 10 0 1)
|
||||
SF-ADJUSTMENT _"_Granularity (1 is low)" '(4 1 25 1 10 0 1)
|
||||
SF-ADJUSTMENT _"S_mooth" '(2 1 150 1 10 0 1)
|
||||
SF-TOGGLE _"Smooth hor_izontally" TRUE
|
||||
SF-TOGGLE _"Smooth _vertically" TRUE
|
||||
)
|
||||
|
||||
(script-fu-menu-register "script-fu-distress-selection"
|
||||
|
|
|
@ -32,9 +32,9 @@
|
|||
"*"
|
||||
SF-IMAGE "Input Image" 0
|
||||
SF-DRAWABLE "Input Drawable" 0
|
||||
SF-OPTION _"Direction" '(_"Horizontal"
|
||||
SF-OPTION _"_Direction" '(_"Horizontal"
|
||||
_"Vertical")
|
||||
SF-ADJUSTMENT _"Position (in %)" '(50 0 100 1 10 2 1)
|
||||
SF-ADJUSTMENT _"_Position (in %)" '(50 0 100 1 10 2 1)
|
||||
)
|
||||
|
||||
(script-fu-menu-register "script-fu-guide-new-percent"
|
||||
|
|
|
@ -32,8 +32,8 @@
|
|||
"*"
|
||||
SF-IMAGE "Image" 0
|
||||
SF-DRAWABLE "Drawable" 0
|
||||
SF-OPTION _"Direction" '(_"Horizontal" _"Vertical")
|
||||
SF-ADJUSTMENT _"Position" (list 0 0 MAX-IMAGE-SIZE 1 10 0 1)
|
||||
SF-OPTION _"_Direction" '(_"Horizontal" _"Vertical")
|
||||
SF-ADJUSTMENT _"_Position" (list 0 0 MAX-IMAGE-SIZE 1 10 0 1)
|
||||
)
|
||||
|
||||
(script-fu-menu-register "script-fu-guide-new"
|
||||
|
|
|
@ -65,9 +65,9 @@
|
|||
"Michael Natterer"
|
||||
"2005-09-25"
|
||||
""
|
||||
SF-STRING _"Brush name" "My Brush"
|
||||
SF-STRING _"File name" "mybrush"
|
||||
SF-ADJUSTMENT _"Spacing" '(25 0 1000 1 1 1 0)
|
||||
SF-STRING _"_Brush name" "My Brush"
|
||||
SF-STRING _"_File name" "mybrush"
|
||||
SF-ADJUSTMENT _"_Spacing" '(25 0 1000 1 1 1 0)
|
||||
)
|
||||
|
||||
(script-fu-menu-register "script-fu-paste-as-brush"
|
||||
|
|
|
@ -53,8 +53,8 @@
|
|||
"Michael Natterer"
|
||||
"2005-09-25"
|
||||
""
|
||||
SF-STRING _"Pattern name" "My Pattern"
|
||||
SF-STRING _"File name" "mypattern"
|
||||
SF-STRING _"_Pattern name" "My Pattern"
|
||||
SF-STRING _"_File name" "mypattern"
|
||||
)
|
||||
|
||||
(script-fu-menu-register "script-fu-paste-as-pattern"
|
||||
|
|
|
@ -138,7 +138,7 @@
|
|||
"RGB* GRAY*"
|
||||
SF-IMAGE "Image" 0
|
||||
SF-DRAWABLE "Drawable" 0
|
||||
SF-STRING _"Brush name" "My Brush"
|
||||
SF-STRING _"File name" "mybrush"
|
||||
SF-ADJUSTMENT _"Spacing" '(25 0 1000 1 1 1 0)
|
||||
SF-STRING _"_Brush name" "My Brush"
|
||||
SF-STRING _"_File name" "mybrush"
|
||||
SF-ADJUSTMENT _"_Spacing" '(25 0 1000 1 1 1 0)
|
||||
)
|
||||
|
|
|
@ -98,6 +98,6 @@
|
|||
"RGB* GRAY*"
|
||||
SF-IMAGE "Image" 0
|
||||
SF-DRAWABLE "Drawable" 0
|
||||
SF-STRING _"Pattern name" "My Pattern"
|
||||
SF-STRING _"File name" "mypattern"
|
||||
SF-STRING _"_Pattern name" "My Pattern"
|
||||
SF-STRING _"_File name" "mypattern"
|
||||
)
|
||||
|
|
|
@ -144,8 +144,8 @@
|
|||
"*"
|
||||
SF-IMAGE "Image" 0
|
||||
SF-DRAWABLE "Drawable" 0
|
||||
SF-ADJUSTMENT _"Radius (%)" '(50 0 100 1 10 0 0)
|
||||
SF-TOGGLE _"Concave" FALSE
|
||||
SF-ADJUSTMENT _"R_adius (%)" '(50 0 100 1 10 0 0)
|
||||
SF-TOGGLE _"Co_ncave" FALSE
|
||||
)
|
||||
|
||||
(script-fu-register "script-fu-selection-round"
|
||||
|
|
Loading…
Reference in New Issue