provide some info for translators about patches and hunks
authorPaul <paul@claws-mail.org>
Tue, 5 Nov 2019 10:56:20 +0000 (10:56 +0000)
committerPaul <paul@claws-mail.org>
Tue, 5 Nov 2019 10:56:20 +0000 (10:56 +0000)
src/prefs_msg_colors.c

index 7a6030b7b58602ab83dc4eb25cf1f965fa04d26a..0c4b600236e9b13b3d98da36fff70178e2855002 100644 (file)
@@ -310,7 +310,9 @@ static void prefs_msg_colors_create_widget(PrefsPage *_page, GtkWindow *window,
        COLOR_LABEL_PACK_START(hbox, COL_SIGNATURE, _("Signatures"));
        SET_TOGGLE_SENSITIVITY(checkbtn_enable_colors, label[COL_SIGNATURE]);
 
        COLOR_LABEL_PACK_START(hbox, COL_SIGNATURE, _("Signatures"));
        SET_TOGGLE_SENSITIVITY(checkbtn_enable_colors, label[COL_SIGNATURE]);
 
-       vbox4 = gtkut_get_options_frame(vbox2, &frame_diff, _("Patch messages and attachments"));
+       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"));
        SET_TOGGLE_SENSITIVITY(checkbtn_enable_colors, frame_diff);
 
        hbox = gtk_hbox_new(FALSE, VBOX_BORDER);
        SET_TOGGLE_SENSITIVITY(checkbtn_enable_colors, frame_diff);
 
        hbox = gtk_hbox_new(FALSE, VBOX_BORDER);
@@ -337,10 +339,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,
        gtk_box_pack_start (GTK_BOX (vbox4), hbox, FALSE, FALSE, 0);
 
        COLOR_BUTTON_PACK_START(hbox, COL_DIFF_HUNK,
-                               C_("Tooltip", "Pick color for hunk lines"));
+                               C_("Tooltip. A hunk is a section of the patch indicating how the files differ",
+                                  "Pick color for hunk lines"));
 
        COLOR_LABEL_PACK_START(hbox, COL_DIFF_HUNK,
 
        COLOR_LABEL_PACK_START(hbox, COL_DIFF_HUNK,
-                              _("Hunk lines"));
+                              C_("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"));
 
 
        vbox2 = gtkut_get_options_frame(vbox1, &frame_folder, _("Folder list"));