From 49091960d443f54ece9d2641e5c1da1b38dac747 Mon Sep 17 00:00:00 2001 From: Paul Date: Tue, 5 Nov 2019 11:09:23 +0000 Subject: [PATCH] ammend last commit in order to avoid misusing gettext's context --- src/prefs_msg_colors.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/prefs_msg_colors.c b/src/prefs_msg_colors.c index 0c4b60023..108b9baf2 100644 --- a/src/prefs_msg_colors.c +++ b/src/prefs_msg_colors.c @@ -311,8 +311,9 @@ static void prefs_msg_colors_create_widget(PrefsPage *_page, GtkWindow *window, SET_TOGGLE_SENSITIVITY(checkbtn_enable_colors, label[COL_SIGNATURE]); vbox4 = gtkut_get_options_frame(vbox2, &frame_diff, - C_("A patch is a text file listing the differences between 2 or more different " - "versions of the same text file", "Patch messages and attachments")); + /* TRANSLATORS: A patch is a text file listing the differences between 2 or more different */ + /* versions of the same text file */ + _("Patch messages and attachments")); SET_TOGGLE_SENSITIVITY(checkbtn_enable_colors, frame_diff); hbox = gtk_hbox_new(FALSE, VBOX_BORDER); @@ -339,12 +340,12 @@ static void prefs_msg_colors_create_widget(PrefsPage *_page, GtkWindow *window, gtk_box_pack_start (GTK_BOX (vbox4), hbox, FALSE, FALSE, 0); COLOR_BUTTON_PACK_START(hbox, COL_DIFF_HUNK, - C_("Tooltip. A hunk is a section of the patch indicating how the files differ", - "Pick color for hunk lines")); + /* TRANSLATORS: A hunk is a section of the patch indicating how the files differ */ + C_("Tooltip.", "Pick color for hunk lines")); COLOR_LABEL_PACK_START(hbox, COL_DIFF_HUNK, - C_("A hunk is a section of the patch indicating how the files differ", - "Hunk lines")); + /* TRANSLATORS: A hunk is a section of the patch indicating how the files differ */ + _("Hunk lines")); vbox2 = gtkut_get_options_frame(vbox1, &frame_folder, _("Folder list")); -- 2.25.1