Skip to content

Commit

Permalink
Merge ../gitk
Browse files Browse the repository at this point in the history
* ../gitk:
  gitk: Update German translation.
  gitk: Fix typo in user message.
  gitk: Fix the Makefile to cope with systems lacking msgfmt
  • Loading branch information
Junio C Hamano committed Jan 11, 2008
2 parents 8c3c7b2 + 7d8856d commit 887ad79
Show file tree
Hide file tree
Showing 5 changed files with 363 additions and 202 deletions.
7 changes: 6 additions & 1 deletion gitk-git/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ TCLTK_PATH_SQ = $(subst ','\'',$(TCLTK_PATH))

## po-file creation rules
XGETTEXT ?= xgettext
MSGFMT ?= msgfmt
ifdef NO_MSGFMT
MSGFMT ?= $(TCL_PATH) po/po2msg.sh
else
MSGFMT ?= msgfmt
endif

PO_TEMPLATE = po/gitk.pot
ALL_POFILES = $(wildcard po/*.po)
ALL_MSGFILES = $(subst .po,.msg,$(ALL_POFILES))
Expand Down
6 changes: 3 additions & 3 deletions gitk-git/gitk
Original file line number Diff line number Diff line change
Expand Up @@ -2629,12 +2629,12 @@ proc askrelhighlight {row id} {

if {![info exists selectedline]} return
set isbold 0
if {$highlight_related eq [mc "Descendent"] ||
$highlight_related eq [mc "Not descendent"]} {
if {$highlight_related eq [mc "Descendant"] ||
$highlight_related eq [mc "Not descendant"]} {
if {![info exists descendent($id)]} {
is_descendent $id
}
if {$descendent($id) == ($highlight_related eq [mc "Descendent"])} {
if {$descendent($id) == ($highlight_related eq [mc "Descendant"])} {
set isbold 1
}
} elseif {$highlight_related eq [mc "Ancestor"] ||
Expand Down
1 change: 1 addition & 0 deletions gitk-git/po/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.msg
Loading

0 comments on commit 887ad79

Please sign in to comment.