diff --git a/app/core/core-enums.c b/app/core/core-enums.c index 3baf9ee169..8eaaf9fa5e 100644 --- a/app/core/core-enums.c +++ b/app/core/core-enums.c @@ -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 } }; diff --git a/app/dialogs/convert-indexed-dialog.c b/app/dialogs/convert-indexed-dialog.c index 1ed00d688e..f59f4c82f3 100644 --- a/app/dialogs/convert-indexed-dialog.c +++ b/app/dialogs/convert-indexed-dialog.c @@ -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); diff --git a/app/dialogs/image-properties-dialog.c b/app/dialogs/image-properties-dialog.c index 8fac9da8cc..1d0cbc204a 100644 --- a/app/dialogs/image-properties-dialog.c +++ b/app/dialogs/image-properties-dialog.c @@ -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); diff --git a/app/dialogs/layer-options-dialog.c b/app/dialogs/layer-options-dialog.c index e1c076570e..47ad440124 100644 --- a/app/dialogs/layer-options-dialog.c +++ b/app/dialogs/layer-options-dialog.c @@ -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), diff --git a/app/dialogs/stroke-dialog.c b/app/dialogs/stroke-dialog.c index b58b2f5049..3d619219c0 100644 --- a/app/dialogs/stroke-dialog.c +++ b/app/dialogs/stroke-dialog.c @@ -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); diff --git a/app/propgui/gimppropgui-newsprint.c b/app/propgui/gimppropgui-newsprint.c index ecdc0dcdef..214c53420c 100644 --- a/app/propgui/gimppropgui-newsprint.c +++ b/app/propgui/gimppropgui-newsprint.c @@ -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); diff --git a/app/widgets/gimpimagecommenteditor.c b/app/widgets/gimpimagecommenteditor.c index e41accc99b..490ba567d4 100644 --- a/app/widgets/gimpimagecommenteditor.c +++ b/app/widgets/gimpimagecommenteditor.c @@ -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 " diff --git a/libgimpbase/gimpbaseenums.c b/libgimpbase/gimpbaseenums.c index abbbe48ca4..8e571fb865 100644 --- a/libgimpbase/gimpbaseenums.c +++ b/libgimpbase/gimpbaseenums.c @@ -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 } }; diff --git a/plug-ins/common/sample-colorize.c b/plug-ins/common/sample-colorize.c index d70b7ff7d1..ee7c5b3de1 100644 --- a/plug-ins/common/sample-colorize.c +++ b/plug-ins/common/sample-colorize.c @@ -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); diff --git a/plug-ins/fractal-explorer/fractal-explorer-dialogs.c b/plug-ins/fractal-explorer/fractal-explorer-dialogs.c index 7e49c17f6c..62c11a5f68 100644 --- a/plug-ins/fractal-explorer/fractal-explorer-dialogs.c +++ b/plug-ins/fractal-explorer/fractal-explorer-dialogs.c @@ -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), diff --git a/plug-ins/metadata/metadata-editor.c b/plug-ins/metadata/metadata-editor.c index 1b5a658a67..309896af9c 100644 --- a/plug-ins/metadata/metadata-editor.c +++ b/plug-ins/metadata/metadata-editor.c @@ -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; diff --git a/plug-ins/python/spyro-plus.py b/plug-ins/python/spyro-plus.py index 55a88922c4..32a2fd7874 100644 --- a/plug-ins/python/spyro-plus.py +++ b/plug-ins/python/spyro-plus.py @@ -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( diff --git a/plug-ins/script-fu/scripts/distress-selection.scm b/plug-ins/script-fu/scripts/distress-selection.scm index 11f9cbf49c..ef87b7926d 100644 --- a/plug-ins/script-fu/scripts/distress-selection.scm +++ b/plug-ins/script-fu/scripts/distress-selection.scm @@ -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" diff --git a/plug-ins/script-fu/scripts/guides-new-percent.scm b/plug-ins/script-fu/scripts/guides-new-percent.scm index 093f88b936..c42d4572f2 100644 --- a/plug-ins/script-fu/scripts/guides-new-percent.scm +++ b/plug-ins/script-fu/scripts/guides-new-percent.scm @@ -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" diff --git a/plug-ins/script-fu/scripts/guides-new.scm b/plug-ins/script-fu/scripts/guides-new.scm index 6cbd64e4ca..08217afa86 100644 --- a/plug-ins/script-fu/scripts/guides-new.scm +++ b/plug-ins/script-fu/scripts/guides-new.scm @@ -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" diff --git a/plug-ins/script-fu/scripts/paste-as-brush.scm b/plug-ins/script-fu/scripts/paste-as-brush.scm index 5a86228aa3..062e97d140 100644 --- a/plug-ins/script-fu/scripts/paste-as-brush.scm +++ b/plug-ins/script-fu/scripts/paste-as-brush.scm @@ -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" diff --git a/plug-ins/script-fu/scripts/paste-as-pattern.scm b/plug-ins/script-fu/scripts/paste-as-pattern.scm index 7bf1f0a933..01381a2c91 100644 --- a/plug-ins/script-fu/scripts/paste-as-pattern.scm +++ b/plug-ins/script-fu/scripts/paste-as-pattern.scm @@ -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" diff --git a/plug-ins/script-fu/scripts/select-to-brush.scm b/plug-ins/script-fu/scripts/select-to-brush.scm index 9d29cdfdbe..c4ccf874be 100644 --- a/plug-ins/script-fu/scripts/select-to-brush.scm +++ b/plug-ins/script-fu/scripts/select-to-brush.scm @@ -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) ) diff --git a/plug-ins/script-fu/scripts/select-to-pattern.scm b/plug-ins/script-fu/scripts/select-to-pattern.scm index 3869fa8193..6b2f9ebfcf 100644 --- a/plug-ins/script-fu/scripts/select-to-pattern.scm +++ b/plug-ins/script-fu/scripts/select-to-pattern.scm @@ -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" ) diff --git a/plug-ins/script-fu/scripts/selection-round.scm b/plug-ins/script-fu/scripts/selection-round.scm index 037b9ccffe..afbc91c517 100644 --- a/plug-ins/script-fu/scripts/selection-round.scm +++ b/plug-ins/script-fu/scripts/selection-round.scm @@ -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"