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>
Marc Branchaud committed
Apr 7, 2015 at 11:53 UTC
5ee1c99ad17357a2f8a4e0139b5b0e276d17e092
1 file changed
+1
-1
gitk
+1
-1
@@ -1442,7 +1442,7 @@ proc getcommitlines {fd inst view updating} {
1442
if {[string range $err 0 4] == "usage"} {
1443
set err "Gitk: error reading commits$fv:\
1444
bad arguments to git log."
1445
- if {$viewname($view) eq "Command line"} {
1445
+ if {$viewname($view) eq [mc "Command line"]} {
1446
append err \
1447
" (Note: arguments to gitk are passed to git log\
1448
to allow selection of commits to be displayed.)"