Skip to content

Commit 5ee1c99

Browse files
marcnarcpaulusmack
authored andcommitted
gitk: Use translated version of "Command line" in getcommitlines
This is needed for getcommitlines to work properly when a language translation is being used. Signed-off-by: Marc Branchaud <marcnarc@xiplink.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
1 parent 0deb5c9 commit 5ee1c99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1442,7 +1442,7 @@ proc getcommitlines {fd inst view updating} {
14421442
if {[string range $err 0 4] == "usage"} {
14431443
set err "Gitk: error reading commits$fv:\
14441444
bad arguments to git log."
1445-
if {$viewname($view) eq "Command line"} {
1445+
if {$viewname($view) eq [mc "Command line"]} {
14461446
append err \
14471447
" (Note: arguments to gitk are passed to git log\
14481448
to allow selection of commits to be displayed.)"

0 commit comments

Comments
 (0)