gitk: Use translated version of "Command line" in getcommitlines
[gitweb.git] / gitk
diff --git a/gitk b/gitk
index 68c6e701b03c2a1b39f454bf1b7a45fff5fe7675..2cb12bd7a80634d5811dbbc53d240bf98d036595 100755 (executable)
--- 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.)"