From: Marc Branchaud Date: Tue, 7 Apr 2015 15:53:37 +0000 (-0400) Subject: gitk: Use translated version of "Command line" in getcommitlines X-Git-Tag: v2.6.0-rc2~1^2~6 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/5ee1c99ad17357a2f8a4e0139b5b0e276d17e092 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 --- 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.)"