All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gitk: Use translated version of "Command line" in getcommitlines.
@ 2015-04-07 15:53 Marc Branchaud
  2015-05-17  4:29 ` Paul Mackerras
  0 siblings, 1 reply; 2+ messages in thread
From: Marc Branchaud @ 2015-04-07 15:53 UTC (permalink / raw)
  To: git; +Cc: Paul Mackerras

Signed-off-by: Marc Branchaud <marcnarc@xiplink.com>
---

I noticed this today.  I think this change is needed for getcommitlines to
work properly with translated gitk's.

		M.

 gitk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gitk b/gitk
index 90419e3..fd5b50a 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.)"
-- 
2.3.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] gitk: Use translated version of "Command line" in getcommitlines.
  2015-04-07 15:53 [PATCH] gitk: Use translated version of "Command line" in getcommitlines Marc Branchaud
@ 2015-05-17  4:29 ` Paul Mackerras
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Mackerras @ 2015-05-17  4:29 UTC (permalink / raw)
  To: Marc Branchaud; +Cc: git

On Tue, Apr 07, 2015 at 11:53:37AM -0400, Marc Branchaud wrote:
> Signed-off-by: Marc Branchaud <marcnarc@xiplink.com>
> ---
> 
> I noticed this today.  I think this change is needed for getcommitlines to
> work properly with translated gitk's.

Thanks, applied.

Paul.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-17  6:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-07 15:53 [PATCH] gitk: Use translated version of "Command line" in getcommitlines Marc Branchaud
2015-05-17  4:29 ` Paul Mackerras

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.