Commit

43ce3bafb8b886a02887e714d18ca74a0a43f27e

gitk: use more natural language for labels of color preferences

The labels used to be clickable buttons. These would have looked funny
if they carried long texts. For this reason, jargon and abbreviations
were used to keep them short. Since there is no button frame around the
labels anymore, the texts can become longer without becoming ugly.
Bring them closer to natural language.

Remove the prefix "Diff" from labels, because the remaining texts are
sufficiently unambiguous that they are about diff text.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>

Johannes Sixt <j6t@kdbg.org> · 2026-08-03 21:37 UTC

Browse files
1 file changed, +9 −9
modified gitk
@@ -11838,31 +11838,31 @@ proc prefspage_colors {notebook} {
11838 11838 [mc "Background"] \
11839 11839 [mc "background"] \
11840 11840 fg fgcolor {} \
11841 - [mc "Foreground"] \
11841 + [mc "Main text"] \
11842 11842 [mc "foreground"] \
11843 11843 diffold diffcolors 0 \
11844 - [mc "Diff: old lines"] \
11844 + [mc "Old line text"] \
11845 11845 [mc "diff old lines"] \
11846 11846 diffoldbg diffbgcolors 0 \
11847 - [mc "Diff: old lines bg"] \
11847 + [mc "Old line background"] \
11848 11848 [mc "diff old lines bg"] \
11849 11849 diffnew diffcolors 1 \
11850 - [mc "Diff: new lines"] \
11850 + [mc "New line text"] \
11851 11851 [mc "diff new lines"] \
11852 11852 diffnewbg diffbgcolors 1 \
11853 - [mc "Diff: new lines bg"] \
11853 + [mc "New line background"] \
11854 11854 [mc "diff new lines bg"] \
11855 11855 hunksep diffcolors 2 \
11856 - [mc "Diff: hunk header"] \
11856 + [mc "Hunk header text"] \
11857 11857 [mc "diff hunk header"] \
11858 11858 markbg markbgcolor {} \
11859 - [mc "Marked line bg"] \
11859 + [mc "Marked line background"] \
11860 11860 [mc "marked line background"] \
11861 11861 selbg selectbgcolor {} \
11862 - [mc "Select bg"] \
11862 + [mc "Selected text background"] \
11863 11863 [mc "background"] \
11864 11864 linkfg linkfgcolor {} \
11865 - [mc "Link"] \
11865 + [mc "Link text"] \
11866 11866 [mc "link"] \
11867 11867 ]
11868 11868