summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Branchaud <marcnarc@xiplink.com>2015-04-07 11:53:37 -0400
committerPaul Mackerras <paulus@samba.org>2015-05-17 14:26:46 +1000
commit5ee1c99ad17357a2f8a4e0139b5b0e276d17e092 (patch)
tree3c1444b635a4aa5df90f5745c442ec91a9976820
parent0deb5c97217b9d4695f3d09c081e39fee58ed60f (diff)
downloadgit-5ee1c99ad17357a2f8a4e0139b5b0e276d17e092.tar.gz
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>
-rwxr-xr-xgitk2
1 files changed, 1 insertions, 1 deletions
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.)"