Missing mnemonics on several file dialogs

This path corrects missing mnemonics on several save/open/export dialogs.

save: file
open: file, dds, fits, tiff
export: bmp, dds, fli, gbr, gih, mng, pat, pnm, pdf, raw, sunras, sgi, webp
This commit is contained in:
Sabri Ünal 2019-09-09 18:06:29 +00:00 committed by Alexandre Prokoudine
parent d93fefb174
commit a60ac57207
19 changed files with 87 additions and 80 deletions

View File

@ -756,7 +756,7 @@ gimp_file_dialog_add_proc_selection (GimpFileDialog *dialog)
/* Checkbox to show all files. */
checkbox = gimp_prop_check_button_new (G_OBJECT (dialog),
"show-all-files",
_("Show All Files"));
_("Show _All Files"));
gtk_box_pack_end (GTK_BOX (box), checkbox, FALSE, FALSE, 1);
gtk_widget_show (checkbox);
}

View File

@ -323,7 +323,7 @@ gimp_save_dialog_add_extra_widgets (GimpSaveDialog *dialog)
/* Compression toggle. */
compression_toggle =
gtk_check_button_new_with_label (_("Save this XCF file with better but slower compression"));
gtk_check_button_new_with_mnemonic (_("Save this _XCF file with better but slower compression"));
gtk_widget_set_tooltip_text (compression_toggle,
_("On edge cases, better compression algorithms might still "
"end up on bigger file size; manual check recommended"));

View File

@ -346,7 +346,7 @@ save_dialog (void)
gtk_entry_set_activates_default (GTK_ENTRY (entry), TRUE);
gtk_entry_set_text (GTK_ENTRY (entry), info.description);
gimp_grid_attach_aligned (GTK_GRID (grid), 0, 0,
_("Description:"), 1.0, 0.5,
_("_Description:"), 1.0, 0.5,
entry, 1);
g_signal_connect (entry, "changed",
@ -358,7 +358,7 @@ save_dialog (void)
gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton), TRUE);
gtk_entry_set_activates_default (GTK_ENTRY (spinbutton), TRUE);
gimp_grid_attach_aligned (GTK_GRID (grid), 0, 1,
_("Spacing:"), 1.0, 0.5,
_("_Spacing:"), 1.0, 0.5,
spinbutton, 1);
g_signal_connect (adj, "value-changed",

View File

@ -618,7 +618,7 @@ gih_save_dialog (GimpImage *image)
gtk_widget_set_size_request (entry, 200, -1);
gtk_entry_set_text (GTK_ENTRY (entry), info.description);
gimp_grid_attach_aligned (GTK_GRID (grid), 0, 0,
_("Description:"), 0.0, 0.5,
_("_Description:"), 0.0, 0.5,
entry, 1);
g_signal_connect (entry, "changed",
@ -632,7 +632,7 @@ gih_save_dialog (GimpImage *image)
spinbutton = gimp_spin_button_new (adjustment, 1.0, 0);
gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton), TRUE);
gimp_grid_attach_aligned (GTK_GRID (grid), 0, 1,
_("Spacing (percent):"), 0.0, 0.5,
_("_Spacing (percent):"), 0.0, 0.5,
spinbutton, 1);
g_signal_connect (adjustment, "value-changed",
@ -691,7 +691,7 @@ gih_save_dialog (GimpImage *image)
gtk_widget_show (label);
gimp_grid_attach_aligned (GTK_GRID (grid), 0, 2,
_("Cell size:"), 0.0, 0.5,
_("Ce_ll size:"), 0.0, 0.5,
box, 1);
g_list_free (layers);
@ -703,7 +703,7 @@ gih_save_dialog (GimpImage *image)
spinbutton = gimp_spin_button_new (adjustment, 1.0, 0);
gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton), TRUE);
gimp_grid_attach_aligned (GTK_GRID (grid), 0, 3,
_("Number of cells:"), 0.0, 0.5,
_("_Number of cells:"), 0.0, 0.5,
spinbutton, 1);
g_signal_connect (adjustment, "value-changed",
@ -764,7 +764,7 @@ gih_save_dialog (GimpImage *image)
spinbutton = gimp_spin_button_new (adjustment, 1.0, 0);
gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton), TRUE);
gimp_grid_attach_aligned (GTK_GRID (grid), 0, 5,
_("Dimension:"), 0.0, 0.5,
_("Di_mension:"), 0.0, 0.5,
spinbutton, 1);
g_signal_connect (adjustment, "value-changed",

View File

@ -1592,7 +1592,7 @@ mng_save_dialog (GimpImage *image)
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_container_add (GTK_CONTAINER (frame), vbox);
toggle = gtk_check_button_new_with_label (_("Interlace"));
toggle = gtk_check_button_new_with_mnemonic (_("_Interlace"));
gtk_box_pack_start (GTK_BOX (vbox), toggle, FALSE, FALSE, 0);
g_signal_connect (toggle, "toggled",
@ -1604,7 +1604,7 @@ mng_save_dialog (GimpImage *image)
gtk_widget_show (toggle);
toggle = gtk_check_button_new_with_label (_("Save background color"));
toggle = gtk_check_button_new_with_mnemonic (_("Save _background color"));
gtk_widget_set_sensitive (toggle, FALSE);
gtk_box_pack_start (GTK_BOX (vbox), toggle, FALSE, FALSE, 0);
g_signal_connect (toggle, "toggled",
@ -1615,7 +1615,7 @@ mng_save_dialog (GimpImage *image)
gtk_widget_show (toggle);
toggle = gtk_check_button_new_with_label (_("Save gamma"));
toggle = gtk_check_button_new_with_mnemonic (_("Save _gamma"));
gtk_box_pack_start (GTK_BOX (vbox), toggle, FALSE, FALSE, 0);
g_signal_connect (toggle, "toggled",
G_CALLBACK (gimp_toggle_button_update),
@ -1636,7 +1636,7 @@ mng_save_dialog (GimpImage *image)
gtk_widget_show (toggle);
toggle = gtk_check_button_new_with_label (_("Save creation time"));
toggle = gtk_check_button_new_with_mnemonic (_("Save creation _time"));
gtk_box_pack_start (GTK_BOX (vbox), toggle, FALSE, FALSE, 0);
g_signal_connect (toggle, "toggled",
G_CALLBACK (gimp_toggle_button_update),
@ -1689,7 +1689,7 @@ mng_save_dialog (GimpImage *image)
&mng_data.default_dispose);
gimp_grid_attach_aligned (GTK_GRID (grid), 0, 1,
_("Default frame disposal:"), 0.0, 0.5,
_("Default _frame disposal:"), 0.0, 0.5,
combo, 1);
scale_adj = gtk_adjustment_new (mng_data.compression_level,
@ -1700,7 +1700,7 @@ mng_save_dialog (GimpImage *image)
gtk_scale_set_value_pos (GTK_SCALE (scale), GTK_POS_TOP);
gtk_scale_set_digits (GTK_SCALE (scale), 0);
gimp_grid_attach_aligned (GTK_GRID (grid), 0, 2,
_("PNG compression level:"), 0.0, 0.9,
_("_PNG compression level:"), 0.0, 0.9,
scale, 1);
g_signal_connect (scale_adj, "value-changed",
@ -1753,7 +1753,7 @@ mng_save_dialog (GimpImage *image)
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_container_add (GTK_CONTAINER (frame), vbox);
toggle = gtk_check_button_new_with_label (_("Loop"));
toggle = gtk_check_button_new_with_mnemonic (_("_Loop"));
gtk_box_pack_start (GTK_BOX (vbox), toggle, FALSE, FALSE, 0);
g_signal_connect (toggle, "toggled",
G_CALLBACK (gimp_toggle_button_update),

View File

@ -305,7 +305,7 @@ save_dialog (void)
gtk_entry_set_activates_default (GTK_ENTRY (entry), TRUE);
gtk_entry_set_text (GTK_ENTRY (entry), description);
gimp_grid_attach_aligned (GTK_GRID (grid), 0, 0,
_("Description:"), 1.0, 0.5,
_("_Description:"), 1.0, 0.5,
entry, 1);
gtk_widget_show (entry);

View File

@ -882,17 +882,17 @@ gui_single (void)
gtk_container_set_border_width (GTK_CONTAINER (window), 12);
ignore_hidden_c = gtk_check_button_new_with_label (_("Omit hidden layers and layers with zero opacity"));
ignore_hidden_c = gtk_check_button_new_with_mnemonic (_("_Omit hidden layers and layers with zero opacity"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (ignore_hidden_c),
optimize.ignore_hidden);
gtk_box_pack_end (GTK_BOX (vbox), ignore_hidden_c, TRUE, TRUE, 0);
vectorize_c = gtk_check_button_new_with_label (_("Convert bitmaps to vector graphics where possible"));
vectorize_c = gtk_check_button_new_with_mnemonic (_("Convert _bitmaps to vector graphics where possible"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (vectorize_c),
optimize.vectorize);
gtk_box_pack_end (GTK_BOX (vbox), vectorize_c, TRUE, TRUE, 0);
apply_c = gtk_check_button_new_with_label (_("Apply layer masks before saving"));
apply_c = gtk_check_button_new_with_mnemonic (_("_Apply layer masks before saving"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (apply_c),
optimize.apply_masks);
gtk_box_pack_end (GTK_BOX (vbox), apply_c, TRUE, TRUE, 0);
@ -902,17 +902,17 @@ gui_single (void)
frame = gtk_frame_new (NULL);
gtk_box_pack_end (GTK_BOX (vbox), frame, TRUE, TRUE, 0);
text = g_strdup_printf (_("Layers as pages (%s)"),
text = g_strdup_printf (_("_Layers as pages (%s)"),
optimize.reverse_order ?
_("top layers first") : _("bottom layers first"));
layers_as_pages_c = gtk_check_button_new_with_label (text);
layers_as_pages_c = gtk_check_button_new_with_mnemonic (text);
g_free (text);
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (layers_as_pages_c),
optimize.layers_as_pages);
gtk_frame_set_label_widget (GTK_FRAME (frame), layers_as_pages_c);
g_free (gimp_image_get_layers (multi_page.images[0], &n_layers));
reverse_order_c = gtk_check_button_new_with_label (_("Reverse the pages order"));
reverse_order_c = gtk_check_button_new_with_mnemonic (_("_Reverse the pages order"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (reverse_order_c),
optimize.reverse_order);
gtk_container_add (GTK_CONTAINER (frame), reverse_order_c);
@ -1042,17 +1042,17 @@ gui_multi (void)
gtk_box_pack_start (GTK_BOX (vbox), h_box, FALSE, FALSE, 0);
ignore_hidden_c = gtk_check_button_new_with_label (_("Omit hidden layers and layers with zero opacity"));
ignore_hidden_c = gtk_check_button_new_with_mnemonic (_("_Omit hidden layers and layers with zero opacity"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (ignore_hidden_c),
optimize.ignore_hidden);
gtk_box_pack_end (GTK_BOX (vbox), ignore_hidden_c, FALSE, FALSE, 0);
vectorize_c = gtk_check_button_new_with_label (_("Convert bitmaps to vector graphics where possible"));
vectorize_c = gtk_check_button_new_with_mnemonic (_("Convert _bitmaps to vector graphics where possible"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (vectorize_c),
optimize.vectorize);
gtk_box_pack_end (GTK_BOX (vbox), vectorize_c, FALSE, FALSE, 0);
apply_c = gtk_check_button_new_with_label (_("Apply layer masks before saving"));
apply_c = gtk_check_button_new_with_mnemonic (_("_Apply layer masks before saving"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (apply_c),
optimize.apply_masks);
gtk_box_pack_end (GTK_BOX (vbox), apply_c, FALSE, FALSE, 0);

View File

@ -1687,8 +1687,8 @@ save_dialog (void)
G_CALLBACK (gimp_radio_button_update),
&psvals.raw, psvals.raw,
_("Raw"), TRUE, NULL,
_("ASCII"), FALSE, NULL,
_("_Raw"), TRUE, NULL,
_("_ASCII"), FALSE, NULL,
NULL);
gtk_container_set_border_width (GTK_CONTAINER (frame), 6);

View File

@ -1786,8 +1786,8 @@ save_dialog (void)
G_CALLBACK (gimp_radio_button_update),
&psvals.rle, psvals.rle,
_("RunLength Encoded"), TRUE, NULL,
_("Standard"), FALSE, NULL,
_("_RunLength Encoded"), TRUE, NULL,
_("_Standard"), FALSE, NULL,
NULL);

View File

@ -971,7 +971,7 @@ save_dialog (gint channels)
gtk_container_add (GTK_CONTAINER (frame), vbox);
gtk_widget_show (vbox);
toggle = gtk_radio_button_new_with_label (group, "R5 G6 B5");
toggle = gtk_radio_button_new_with_mnemonic (group, "_R5 G6 B5");
group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (toggle));
gtk_box_pack_start (GTK_BOX (vbox), toggle, FALSE, FALSE, 0);
gtk_widget_show (toggle);
@ -979,7 +979,7 @@ save_dialog (gint channels)
G_CALLBACK (format_callback),
GINT_TO_POINTER (RGB_565));
toggle = gtk_radio_button_new_with_label (group, "A1 R5 G5 B5");
toggle = gtk_radio_button_new_with_mnemonic (group, "_A1 R5 G5 B5");
group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (toggle));
gtk_box_pack_start (GTK_BOX (vbox), toggle, FALSE, FALSE, 0);
@ -991,7 +991,7 @@ save_dialog (gint channels)
g_signal_connect (toggle, "toggled",
G_CALLBACK (format_callback),
GINT_TO_POINTER (RGBA_5551));
toggle = gtk_radio_button_new_with_label (group, "X1 R5 G5 B5");
toggle = gtk_radio_button_new_with_mnemonic (group, "_X1 R5 G5 B5");
group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (toggle));
gtk_box_pack_start (GTK_BOX (vbox), toggle, FALSE, FALSE, 0);
gtk_widget_show (toggle);
@ -1003,7 +1003,7 @@ save_dialog (gint channels)
gtk_box_pack_start (GTK_BOX (vbox2), frame, FALSE, FALSE, 0);
gtk_widget_show (frame);
toggle = gtk_radio_button_new_with_label (group, "R8 G8 B8");
toggle = gtk_radio_button_new_with_mnemonic (group, "R_8 G8 B8");
group = gtk_radio_button_get_group (GTK_RADIO_BUTTON(toggle));
gtk_container_add (GTK_CONTAINER (frame), toggle);
gtk_widget_show (toggle);
@ -1024,7 +1024,7 @@ save_dialog (gint channels)
gtk_container_add (GTK_CONTAINER (frame), vbox);
gtk_widget_show (vbox);
toggle = gtk_radio_button_new_with_label (group, "A8 R8 G8 B8");
toggle = gtk_radio_button_new_with_mnemonic (group, "A8 R8 G8 _B8");
group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (toggle));
gtk_box_pack_start (GTK_BOX (vbox), toggle, FALSE, FALSE, 0);
gtk_widget_show (toggle);
@ -1043,7 +1043,7 @@ save_dialog (gint channels)
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (toggle), TRUE);
}
toggle = gtk_radio_button_new_with_label (group, "X8 R8 G8 B8");
toggle = gtk_radio_button_new_with_mnemonic (group, "X8 R8 G8 _B8");
group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (toggle));
gtk_box_pack_start (GTK_BOX (vbox), toggle, FALSE, FALSE, 0);
gtk_widget_show (toggle);

View File

@ -1273,8 +1273,8 @@ load_dialog (void)
dlg = gimp_dialog_new (_("Load DDS"), "dds", NULL, GTK_WIN_POS_MOUSE,
gimp_standard_help_func, LOAD_PROC,
_("Cancel"), GTK_RESPONSE_CANCEL,
_("OK"), GTK_RESPONSE_OK,
_("_Cancel"), GTK_RESPONSE_CANCEL,
_("_OK"), GTK_RESPONSE_OK,
NULL);
g_signal_connect (dlg, "response",
@ -1290,14 +1290,14 @@ load_dialog (void)
vbox, 1, 1, 0);
gtk_widget_show (vbox);
check = gtk_check_button_new_with_label (_("Load mipmaps"));
check = gtk_check_button_new_with_mnemonic (_("_Load mipmaps"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (check), dds_read_vals.mipmaps);
g_signal_connect (check, "clicked",
G_CALLBACK (toggle_clicked), &dds_read_vals.mipmaps);
gtk_box_pack_start (GTK_BOX (vbox), check, 1, 1, 0);
gtk_widget_show (check);
check = gtk_check_button_new_with_label (_("Automatically decode YCoCg/AExp images when detected"));
check = gtk_check_button_new_with_mnemonic (_("_Automatically decode YCoCg/AExp images when detected"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (check), dds_read_vals.decode_images);
g_signal_connect (check, "clicked",
G_CALLBACK (toggle_clicked), &dds_read_vals.decode_images);

View File

@ -2048,7 +2048,7 @@ save_dialog (GimpImage *image,
compress_opt = opt;
check = gtk_check_button_new_with_label (_("Use perceptual error metric"));
check = gtk_check_button_new_with_mnemonic (_("Use _perceptual error metric"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (check),
dds_write_vals.perceptual_metric);
gtk_grid_attach (GTK_GRID (grid), check, 1, 1, 1, 1);
@ -2193,7 +2193,7 @@ save_dialog (GimpImage *image,
mipmap_wrap_opt = opt;
check = gtk_check_button_new_with_label (_("Apply gamma correction"));
check = gtk_check_button_new_with_mnemonic (_("Appl_y gamma correction"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (check),
dds_write_vals.gamma_correct &&
dds_write_vals.mipmaps);
@ -2206,7 +2206,7 @@ save_dialog (GimpImage *image,
gamma_chk = check;
check = gtk_check_button_new_with_label (_("Use sRGB colorspace"));
check = gtk_check_button_new_with_mnemonic (_("Use s_RGB colorspace"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (check),
dds_write_vals.gamma_correct &&
dds_write_vals.srgb);
@ -2234,7 +2234,7 @@ save_dialog (GimpImage *image,
gamma_spin = spin;
check = gtk_check_button_new_with_label (_("Preserve alpha test coverage"));
check = gtk_check_button_new_with_mnemonic (_("Preserve alpha _test coverage"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (check),
dds_write_vals.preserve_alpha_coverage &&
dds_write_vals.mipmaps);

View File

@ -1190,8 +1190,8 @@ load_dialog (void)
G_CALLBACK (gimp_radio_button_update),
&plvals.replace, plvals.replace,
_("Black"), 0, NULL,
_("White"), 255, NULL,
_("_Black"), 0, NULL,
_("_White"), 255, NULL,
NULL);
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
@ -1202,8 +1202,8 @@ load_dialog (void)
G_CALLBACK (gimp_radio_button_update),
&plvals.use_datamin, plvals.use_datamin,
_("Automatic"), FALSE, NULL,
_("By DATAMIN/DATAMAX"), TRUE, NULL,
_("_Automatic"), FALSE, NULL,
_("By _DATAMIN/DATAMAX"), TRUE, NULL,
NULL);
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
@ -1214,8 +1214,8 @@ load_dialog (void)
G_CALLBACK (gimp_radio_button_update),
&plvals.compose, plvals.compose,
C_("composing", "None"), FALSE, NULL,
"NAXIS=3, NAXIS3=2,...,4", TRUE, NULL,
C_("composing", "_None"), FALSE, NULL,
"NA_XIS=3, NAXIS3=2,...,4", TRUE, NULL,
NULL);
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);

View File

@ -902,7 +902,7 @@ load_dialog (const gchar *filename)
spinbutton = gimp_spin_button_new (adj, 1, 0);
gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton), TRUE);
gimp_grid_attach_aligned (GTK_GRID (grid), 0, 0,
C_("frame-range", "From:"), 0.0, 0.5,
C_("frame-range", "_From:"), 0.0, 0.5,
spinbutton, 1);
g_signal_connect (adj, "value-changed",
G_CALLBACK (gimp_int_adjustment_update),
@ -912,7 +912,7 @@ load_dialog (const gchar *filename)
spinbutton = gimp_spin_button_new (adj, 1, 0);
gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton), TRUE);
gimp_grid_attach_aligned (GTK_GRID (grid), 0, 1,
C_("frame-range", "To:"), 0.0, 0.5,
C_("frame-range", "_To:"), 0.0, 0.5,
spinbutton, 1);
g_signal_connect (adj, "value-changed",
G_CALLBACK (gimp_int_adjustment_update),
@ -960,7 +960,7 @@ save_dialog (GimpImage *image)
spinbutton = gimp_spin_button_new (adj, 1, 0);
gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton), TRUE);
gimp_grid_attach_aligned (GTK_GRID (grid), 0, 0,
C_("frame-range", "From:"), 0.0, 0.5,
C_("frame-range", "_From:"), 0.0, 0.5,
spinbutton, 1);
g_signal_connect (adj, "value-changed",
G_CALLBACK (gimp_int_adjustment_update),
@ -970,7 +970,7 @@ save_dialog (GimpImage *image)
spinbutton = gimp_spin_button_new (adj, 1, 0);
gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton), TRUE);
gimp_grid_attach_aligned (GTK_GRID (grid), 0, 1,
C_("frame-range", "To:"), 0.0, 0.5,
C_("frame-range", "_To:"), 0.0, 0.5,
spinbutton, 1);
g_signal_connect (adj, "value-changed",
G_CALLBACK (gimp_int_adjustment_update),

View File

@ -680,11 +680,11 @@ save_dialog (void)
G_CALLBACK (gimp_radio_button_update),
&compression, compression,
_("No compression"),
_("_No compression"),
SGI_COMP_NONE, NULL,
_("RLE compression"),
_("_RLE compression"),
SGI_COMP_RLE, NULL,
_("Aggressive RLE\n(not supported by SGI)"),
_("_Aggressive RLE\n(not supported by SGI)"),
SGI_COMP_ARLE, NULL,
NULL);

View File

@ -1916,7 +1916,7 @@ load_dialog (TIFF *tif,
or keep as much empty space as possible.
Note that there seems to be no way to keep the empty
space on the right and bottom. */
crop_option = gtk_check_button_new_with_label (_("Keep empty space around imported layers"));
crop_option = gtk_check_button_new_with_mnemonic (_("_Keep empty space around imported layers"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (crop_option),
pages->keep_empty_space);
gtk_box_pack_start (GTK_BOX (vbox), crop_option, TRUE, TRUE, 0);
@ -1936,9 +1936,9 @@ load_dialog (TIFF *tif,
extra_radio = gimp_int_radio_group_new (TRUE, _("Process extra channel as:"),
(GCallback) gimp_radio_button_update,
default_extra, GIMP_TIFF_LOAD_UNASSALPHA,
_("Non-premultiplied alpha"), GIMP_TIFF_LOAD_UNASSALPHA, NULL,
_("Premultiplied alpha"), GIMP_TIFF_LOAD_ASSOCALPHA, NULL,
_("Channel"), GIMP_TIFF_LOAD_CHANNEL, NULL,
_("_Non-premultiplied alpha"), GIMP_TIFF_LOAD_UNASSALPHA, NULL,
_("Pre_multiplied alpha"), GIMP_TIFF_LOAD_ASSOCALPHA, NULL,
_("Channe_l"), GIMP_TIFF_LOAD_CHANNEL, NULL,
NULL);
gtk_box_pack_start (GTK_BOX (vbox), extra_radio, TRUE, TRUE, 0);
gtk_widget_show (extra_radio);

View File

@ -123,7 +123,7 @@ save_dialog (WebPSaveParams *params,
gtk_widget_show (grid);
/* Create the lossless checkbox */
toggle = gtk_check_button_new_with_label (_("Lossless"));
toggle = gtk_check_button_new_with_mnemonic (_("_Lossless"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (toggle),
params->lossless);
gtk_grid_attach (GTK_GRID (grid), toggle, 0, row, 3, 1);
@ -137,7 +137,7 @@ save_dialog (WebPSaveParams *params,
/* Create the slider for image quality */
quality_scale = gimp_scale_entry_new (GTK_GRID (grid),
0, row++,
_("Image quality:"),
_("Image _quality:"),
125,
0,
params->quality,
@ -156,7 +156,7 @@ save_dialog (WebPSaveParams *params,
/* Create the slider for alpha channel quality */
alpha_quality_scale = gimp_scale_entry_new (GTK_GRID (grid),
0, row++,
_("Alpha quality:"),
_("Alpha q_uality:"),
125,
0,
params->alpha_quality,
@ -189,7 +189,7 @@ save_dialog (WebPSaveParams *params,
"Text", WEBP_PRESET_TEXT,
NULL);
label = gimp_grid_attach_aligned (GTK_GRID (grid), 0, row++,
_("Source type:"), 0.0, 0.5,
_("Source _type:"), 0.0, 0.5,
combo, 2);
gimp_help_set_help_data (label,
_("WebP encoder \"preset\""),
@ -253,7 +253,7 @@ save_dialog (WebPSaveParams *params,
gtk_widget_show (animation_box);
/* loop animation checkbox */
toggle = gtk_check_button_new_with_label (_("Loop forever"));
toggle = gtk_check_button_new_with_mnemonic (_("Loop _forever"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (toggle), params->loop);
gtk_box_pack_start (GTK_BOX (animation_box), toggle,
FALSE, FALSE, 0);
@ -305,7 +305,7 @@ save_dialog (WebPSaveParams *params,
show_maxkeyframe_hints (adj_kf, GTK_LABEL (label_kf));
/* minimize-size checkbox */
toggle_minsize = gtk_check_button_new_with_label (_("Minimize output size (slower)"));
toggle_minsize = gtk_check_button_new_with_mnemonic (_("_Minimize output size (slower)"));
gtk_box_pack_start (GTK_BOX (animation_box), toggle_minsize,
FALSE, FALSE, 0);
@ -350,7 +350,7 @@ save_dialog (WebPSaveParams *params,
gtk_widget_show (label);
/* Create the force-delay checkbox */
toggle = gtk_check_button_new_with_label (_("Use delay entered above for all frames"));
toggle = gtk_check_button_new_with_mnemonic (_("Use _delay entered above for all frames"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (toggle),
params->force_delay);
gtk_box_pack_start (GTK_BOX (animation_box), toggle, FALSE, FALSE, 0);
@ -362,7 +362,7 @@ save_dialog (WebPSaveParams *params,
}
/* Save EXIF data */
toggle = gtk_check_button_new_with_mnemonic (_("Save _Exif data"));
toggle = gtk_check_button_new_with_mnemonic (_("_Save Exif data"));
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (toggle), params->exif);
gtk_box_pack_start (GTK_BOX (vbox), toggle, FALSE, FALSE, 0);
gtk_widget_show (toggle);

View File

@ -16,7 +16,7 @@
<property name="spacing">2</property>
<child>
<object class="GtkRadioButton" id="image-type-standard">
<property name="label" translatable="yes">Standard (R,G,B)</property>
<property name="label" translatable="yes">_Standard (R,G,B)</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@ -26,7 +26,7 @@
</child>
<child>
<object class="GtkRadioButton" id="image-type-planar">
<property name="label" translatable="yes">Planar (RRR,GGG,BBB)</property>
<property name="label" translatable="yes">_Planar (RRR,GGG,BBB)</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@ -49,7 +49,7 @@
<property name="spacing">2</property>
<child>
<object class="GtkRadioButton" id="palette-type-normal">
<property name="label" translatable="yes">R, G, B (normal)</property>
<property name="label" translatable="yes">_R, G, B (normal)</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
@ -59,7 +59,7 @@
</child>
<child>
<object class="GtkRadioButton" id="palette-type-bmp">
<property name="label" translatable="yes">B, G, R, X (BMP style)</property>
<property name="label" translatable="yes">_B, G, R, X (BMP style)</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>

View File

@ -32,10 +32,11 @@
</child>
<child>
<object class="GtkCheckButton" id="save-layers">
<property name="label" translatable="yes">Save layers</property>
<property name="label" translatable="yes">Save _layers</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="use_underline">True</property>
<property name="draw_indicator">True</property>
</object>
<packing>
@ -46,11 +47,12 @@
</child>
<child>
<object class="GtkCheckButton" id="save-alpha">
<property name="label" translatable="yes">Save color values from transparent pixels</property>
<property name="label" translatable="yes">Save color _values from transparent pixels</property>
<property name="tooltip_text" translatable="yes">Colors are not stored premultiplied by the associated alpha</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="draw_indicator">True</property>
</object>
<packing>
@ -61,10 +63,11 @@
</child>
<child>
<object class="GtkCheckButton" id="save-exif">
<property name="label" translatable="yes">Save Exif data</property>
<property name="label" translatable="yes">S_ave Exif data</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="draw_indicator">True</property>
</object>
<packing>
@ -75,10 +78,11 @@
</child>
<child>
<object class="GtkCheckButton" id="save-xmp">
<property name="label" translatable="yes">Save XMP data</property>
<property name="label" translatable="yes">Save _XMP data</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="draw_indicator">True</property>
</object>
<packing>
@ -89,10 +93,11 @@
</child>
<child>
<object class="GtkCheckButton" id="save-iptc">
<property name="label" translatable="yes">Save IPTC data</property>
<property name="label" translatable="yes">Save _IPTC data</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="draw_indicator">True</property>
</object>
<packing>
@ -103,10 +108,11 @@
</child>
<child>
<object class="GtkCheckButton" id="save-thumbnail">
<property name="label" translatable="yes">Save thumbnail</property>
<property name="label" translatable="yes">Save _thumbnail</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="draw_indicator">True</property>
</object>
<packing>
@ -117,10 +123,11 @@
</child>
<child>
<object class="GtkCheckButton" id="save-color-profile">
<property name="label" translatable="yes">Save color profile</property>
<property name="label" translatable="yes">Save color _profile</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="use_underline">True</property>
<property name="draw_indicator">True</property>
</object>
<packing>