[PATCH] gitk: Use translated version of "Command line" in getcommitlines.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] gitk: Use translated version of "Command line" in getcommitlines.

Marc Branchaud
Signed-off-by: Marc Branchaud <[hidden email]>
---

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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [hidden email]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] gitk: Use translated version of "Command line" in getcommitlines.

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

Thanks, applied.

Paul.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [hidden email]
More majordomo info at  http://vger.kernel.org/majordomo-info.html