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>
This commit is contained in:
parent
0deb5c9721
commit
5ee1c99ad1
2
gitk
2
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.)"
|
||||
|
Loading…
Reference in New Issue
Block a user