[gimp/gimp-2-10] Missing mnemonics on several file dialogs
- From: Alexandre Prokoudine <aprokoudine src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] Missing mnemonics on several file dialogs
- Date: Thu, 5 Sep 2019 12:46:24 +0000 (UTC)
commit a02958c5ce7780cb68717f719a03203ddae94279
Author: Sabri Ünal <libreajans gmail com>
Date: Thu Sep 5 12:46:14 2019 +0000
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
app/widgets/gimpfiledialog.c | 2 +-
app/widgets/gimpsavedialog.c | 2 +-
plug-ins/common/file-gbr.c | 4 ++--
plug-ins/common/file-gih.c | 10 +++++-----
plug-ins/common/file-mng.c | 14 +++++++-------
plug-ins/common/file-pat.c | 2 +-
plug-ins/common/file-pdf-save.c | 18 +++++++++---------
plug-ins/common/file-pnm.c | 4 ++--
plug-ins/common/file-sunras.c | 4 ++--
plug-ins/file-bmp/bmp-save.c | 12 ++++++------
plug-ins/file-dds/ddsread.c | 8 ++++----
plug-ins/file-dds/ddswrite.c | 8 ++++----
plug-ins/file-fits/fits.c | 12 ++++++------
plug-ins/file-fli/fli-gimp.c | 8 ++++----
plug-ins/file-sgi/sgi.c | 6 +++---
plug-ins/file-tiff/file-tiff-load.c | 8 ++++----
plug-ins/file-webp/file-webp-dialog.c | 16 ++++++++--------
plug-ins/ui/plug-in-file-raw.ui | 8 ++++----
plug-ins/ui/plug-in-file-tiff.ui | 21 ++++++++++++++-------
19 files changed, 87 insertions(+), 80 deletions(-)
---
diff --git a/app/widgets/gimpfiledialog.c b/app/widgets/gimpfiledialog.c
index 4e48e65450..0b22b376a2 100644
--- a/app/widgets/gimpfiledialog.c
+++ b/app/widgets/gimpfiledialog.c
@@ -766,7 +766,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);
}
diff --git a/app/widgets/gimpsavedialog.c b/app/widgets/gimpsavedialog.c
index b2eed56f9a..4dc90a30f4 100644
--- a/app/widgets/gimpsavedialog.c
+++ b/app/widgets/gimpsavedialog.c
@@ -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"));
diff --git a/plug-ins/common/file-gbr.c b/plug-ins/common/file-gbr.c
index c66d1d5ebd..90c7b65032 100644
--- a/plug-ins/common/file-gbr.c
+++ b/plug-ins/common/file-gbr.c
@@ -329,7 +329,7 @@ save_dialog (void)
gtk_entry_set_activates_default (GTK_ENTRY (entry), TRUE);
gtk_entry_set_text (GTK_ENTRY (entry), info.description);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 0,
- _("Description:"), 1.0, 0.5,
+ _("_Description:"), 1.0, 0.5,
entry, 1, FALSE);
g_signal_connect (entry, "changed",
@@ -341,7 +341,7 @@ save_dialog (void)
gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton), TRUE);
gtk_entry_set_activates_default (GTK_ENTRY (spinbutton), TRUE);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 1,
- _("Spacing:"), 1.0, 0.5,
+ _("_Spacing:"), 1.0, 0.5,
spinbutton, 1, TRUE);
g_signal_connect (adj, "value-changed",
diff --git a/plug-ins/common/file-gih.c b/plug-ins/common/file-gih.c
index bf63669db8..6e44f9a24c 100644
--- a/plug-ins/common/file-gih.c
+++ b/plug-ins/common/file-gih.c
@@ -564,7 +564,7 @@ gih_save_dialog (gint32 image_ID)
gtk_widget_set_size_request (entry, 200, -1);
gtk_entry_set_text (GTK_ENTRY (entry), info.description);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 0,
- _("Description:"), 0.0, 0.5,
+ _("_Description:"), 0.0, 0.5,
entry, 1, FALSE);
g_signal_connect (entry, "changed",
@@ -579,7 +579,7 @@ gih_save_dialog (gint32 image_ID)
spinbutton = gimp_spin_button_new (adjustment, 1.0, 0);
gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton), TRUE);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 1,
- _("Spacing (percent):"), 0.0, 0.5,
+ _("_Spacing (percent):"), 0.0, 0.5,
spinbutton, 1, TRUE);
g_signal_connect (adjustment, "value-changed",
@@ -639,7 +639,7 @@ gih_save_dialog (gint32 image_ID)
gtk_widget_show (label);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 2,
- _("Cell size:"), 0.0, 0.5,
+ _("Ce_ll size:"), 0.0, 0.5,
box, 1, FALSE);
g_free (layer_ID);
@@ -652,7 +652,7 @@ gih_save_dialog (gint32 image_ID)
spinbutton = gimp_spin_button_new (adjustment, 1.0, 0);
gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton), TRUE);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 3,
- _("Number of cells:"), 0.0, 0.5,
+ _("_Number of cells:"), 0.0, 0.5,
spinbutton, 1, TRUE);
g_signal_connect (adjustment, "value-changed",
@@ -713,7 +713,7 @@ gih_save_dialog (gint32 image_ID)
spinbutton = gimp_spin_button_new (adjustment, 1.0, 0);
gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton), TRUE);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 5,
- _("Dimension:"), 0.0, 0.5,
+ _("Di_mension:"), 0.0, 0.5,
spinbutton, 1, TRUE);
g_signal_connect (adjustment, "value-changed",
diff --git a/plug-ins/common/file-mng.c b/plug-ins/common/file-mng.c
index 508db98407..9019cdcff8 100644
--- a/plug-ins/common/file-mng.c
+++ b/plug-ins/common/file-mng.c
@@ -1347,7 +1347,7 @@ mng_save_dialog (gint32 image_id)
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",
@@ -1359,7 +1359,7 @@ mng_save_dialog (gint32 image_id)
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",
@@ -1370,7 +1370,7 @@ mng_save_dialog (gint32 image_id)
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),
@@ -1391,7 +1391,7 @@ mng_save_dialog (gint32 image_id)
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),
@@ -1444,7 +1444,7 @@ mng_save_dialog (gint32 image_id)
&mng_data.default_dispose);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 1,
- _("Default frame disposal:"), 0.0, 0.5,
+ _("Default _frame disposal:"), 0.0, 0.5,
combo, 1, FALSE);
scale_adj = (GtkAdjustment *)
@@ -1456,7 +1456,7 @@ mng_save_dialog (gint32 image_id)
gtk_scale_set_value_pos (GTK_SCALE (scale), GTK_POS_TOP);
gtk_scale_set_digits (GTK_SCALE (scale), 0);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 2,
- _("PNG compression level:"), 0.0, 0.9,
+ _("_PNG compression level:"), 0.0, 0.9,
scale, 1, FALSE);
g_signal_connect (scale_adj, "value-changed",
@@ -1511,7 +1511,7 @@ mng_save_dialog (gint32 image_id)
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),
diff --git a/plug-ins/common/file-pat.c b/plug-ins/common/file-pat.c
index 26795ab19a..3d1e43ca3f 100644
--- a/plug-ins/common/file-pat.c
+++ b/plug-ins/common/file-pat.c
@@ -299,7 +299,7 @@ save_dialog (void)
gtk_entry_set_activates_default (GTK_ENTRY (entry), TRUE);
gtk_entry_set_text (GTK_ENTRY (entry), description);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 0,
- _("Description:"), 1.0, 0.5,
+ _("_Description:"), 1.0, 0.5,
entry, 1, FALSE);
gtk_widget_show (entry);
diff --git a/plug-ins/common/file-pdf-save.c b/plug-ins/common/file-pdf-save.c
index 9cfe4d93c2..42c073d400 100644
--- a/plug-ins/common/file-pdf-save.c
+++ b/plug-ins/common/file-pdf-save.c
@@ -820,17 +820,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);
@@ -840,17 +840,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);
@@ -980,17 +980,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);
diff --git a/plug-ins/common/file-pnm.c b/plug-ins/common/file-pnm.c
index 2885bfddc2..2132eeccf4 100644
--- a/plug-ins/common/file-pnm.c
+++ b/plug-ins/common/file-pnm.c
@@ -1618,8 +1618,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);
diff --git a/plug-ins/common/file-sunras.c b/plug-ins/common/file-sunras.c
index 83331079be..127d67d2d4 100644
--- a/plug-ins/common/file-sunras.c
+++ b/plug-ins/common/file-sunras.c
@@ -1755,8 +1755,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);
diff --git a/plug-ins/file-bmp/bmp-save.c b/plug-ins/file-bmp/bmp-save.c
index 32fe00a2c6..2ba46eb1a1 100644
--- a/plug-ins/file-bmp/bmp-save.c
+++ b/plug-ins/file-bmp/bmp-save.c
@@ -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);
diff --git a/plug-ins/file-dds/ddsread.c b/plug-ins/file-dds/ddsread.c
index 33e8041f97..6d3b2b8cdb 100644
--- a/plug-ins/file-dds/ddsread.c
+++ b/plug-ins/file-dds/ddsread.c
@@ -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);
diff --git a/plug-ins/file-dds/ddswrite.c b/plug-ins/file-dds/ddswrite.c
index 267affe932..91e66ee9bd 100644
--- a/plug-ins/file-dds/ddswrite.c
+++ b/plug-ins/file-dds/ddswrite.c
@@ -1991,7 +1991,7 @@ save_dialog (gint32 image_id,
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_table_attach (GTK_TABLE (table), check, 1, 2, 1, 2,
@@ -2137,7 +2137,7 @@ save_dialog (gint32 image_id,
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);
@@ -2151,7 +2151,7 @@ save_dialog (gint32 image_id,
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);
@@ -2180,7 +2180,7 @@ save_dialog (gint32 image_id,
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);
diff --git a/plug-ins/file-fits/fits.c b/plug-ins/file-fits/fits.c
index eca0de3011..b843a68005 100644
--- a/plug-ins/file-fits/fits.c
+++ b/plug-ins/file-fits/fits.c
@@ -1171,8 +1171,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);
@@ -1183,8 +1183,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);
@@ -1195,8 +1195,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);
diff --git a/plug-ins/file-fli/fli-gimp.c b/plug-ins/file-fli/fli-gimp.c
index 335edd54f4..fb146493eb 100644
--- a/plug-ins/file-fli/fli-gimp.c
+++ b/plug-ins/file-fli/fli-gimp.c
@@ -900,7 +900,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_table_attach_aligned (GTK_TABLE (table), 0, 0,
- C_("frame-range", "From:"), 0.0, 0.5,
+ C_("frame-range", "_From:"), 0.0, 0.5,
spinbutton, 1, TRUE);
g_signal_connect (adj, "value-changed",
G_CALLBACK (gimp_int_adjustment_update),
@@ -910,7 +910,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_table_attach_aligned (GTK_TABLE (table), 0, 1,
- C_("frame-range", "To:"), 0.0, 0.5,
+ C_("frame-range", "_To:"), 0.0, 0.5,
spinbutton, 1, TRUE);
g_signal_connect (adj, "value-changed",
G_CALLBACK (gimp_int_adjustment_update),
@@ -958,7 +958,7 @@ save_dialog (gint32 image_id)
spinbutton = gimp_spin_button_new (adj, 1, 0);
gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton), TRUE);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 0,
- C_("frame-range", "From:"), 0.0, 0.5,
+ C_("frame-range", "_From:"), 0.0, 0.5,
spinbutton, 1, TRUE);
g_signal_connect (adj, "value-changed",
G_CALLBACK (gimp_int_adjustment_update),
@@ -968,7 +968,7 @@ save_dialog (gint32 image_id)
spinbutton = gimp_spin_button_new (adj, 1, 0);
gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton), TRUE);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 1,
- C_("frame-range", "To:"), 0.0, 0.5,
+ C_("frame-range", "_To:"), 0.0, 0.5,
spinbutton, 1, TRUE);
g_signal_connect (adj, "value-changed",
G_CALLBACK (gimp_int_adjustment_update),
diff --git a/plug-ins/file-sgi/sgi.c b/plug-ins/file-sgi/sgi.c
index f62db7883f..3e6535a040 100644
--- a/plug-ins/file-sgi/sgi.c
+++ b/plug-ins/file-sgi/sgi.c
@@ -673,11 +673,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);
diff --git a/plug-ins/file-tiff/file-tiff-load.c b/plug-ins/file-tiff/file-tiff-load.c
index 3aee77e2e9..2817633aa7 100644
--- a/plug-ins/file-tiff/file-tiff-load.c
+++ b/plug-ins/file-tiff/file-tiff-load.c
@@ -1896,7 +1896,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);
@@ -1916,9 +1916,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);
diff --git a/plug-ins/file-webp/file-webp-dialog.c b/plug-ins/file-webp/file-webp-dialog.c
index 240d5c2140..74b2d24fbe 100644
--- a/plug-ins/file-webp/file-webp-dialog.c
+++ b/plug-ins/file-webp/file-webp-dialog.c
@@ -121,7 +121,7 @@ save_dialog (WebPSaveParams *params,
gtk_widget_show (table);
/* 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_table_attach (GTK_TABLE (table), toggle,
@@ -137,7 +137,7 @@ save_dialog (WebPSaveParams *params,
/* Create the slider for image quality */
quality_scale = gimp_scale_entry_new (GTK_TABLE (table),
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_TABLE (table),
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_table_attach_aligned (GTK_TABLE (table), 0, row++,
- _("Source type:"), 0.0, 0.5,
+ _("Source _type:"), 0.0, 0.5,
combo, 2, FALSE);
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);
@@ -351,7 +351,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);
@@ -363,7 +363,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);
diff --git a/plug-ins/ui/plug-in-file-raw.ui b/plug-ins/ui/plug-in-file-raw.ui
index fc787771d6..25a4c5f63c 100644
--- a/plug-ins/ui/plug-in-file-raw.ui
+++ b/plug-ins/ui/plug-in-file-raw.ui
@@ -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>
diff --git a/plug-ins/ui/plug-in-file-tiff.ui b/plug-ins/ui/plug-in-file-tiff.ui
index 6619e1583e..a2c0624724 100644
--- a/plug-ins/ui/plug-in-file-tiff.ui
+++ b/plug-ins/ui/plug-in-file-tiff.ui
@@ -41,10 +41,11 @@
<property name="can_focus">False</property>
<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">False</property>
+ <property name="use_underline">True</property>
<property name="draw_indicator">True</property>
</object>
<packing>
@@ -55,11 +56,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>
@@ -139,10 +141,11 @@
<property name="can_focus">False</property>
<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>
@@ -153,10 +156,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>
@@ -167,10 +171,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>
@@ -192,10 +197,11 @@
<property name="can_focus">False</property>
<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>
@@ -206,10 +212,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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]