From 5ee1c99ad17357a2f8a4e0139b5b0e276d17e092 Mon Sep 17 00:00:00 2001 From: Marc Branchaud Date: Tue, 7 Apr 2015 11:53:37 -0400 Subject: [PATCH] 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 Signed-off-by: Paul Mackerras --- gitk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitk b/gitk index 68c6e701b0..2cb12bd7a8 100755 --- a/gitk +++ b/gitk @@ -1442,7 +1442,7 @@ proc getcommitlines {fd inst view updating} { if {[string range $err 0 4] == "usage"} { set err "Gitk: error reading commits$fv:\ bad arguments to git log." - if {$viewname($view) eq "Command line"} { + if {$viewname($view) eq [mc "Command line"]} { append err \ " (Note: arguments to gitk are passed to git log\ to allow selection of commits to be displayed.)" -- 2.11.4.GIT