mirror of
https://github.com/git/git.git
synced 2024-11-01 14:57:52 +01:00
[PATCH] gitk: Fix "Key bindings" message
The "Key bindings" message under the "Help" menu was too long and could not be parsed by the translation engine. Fix both issues by translating one line at a time. Signed-off-by: Michele Ballabio <barra_cuda@katamail.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
646f3a149d
commit
3d2c998e30
1 changed files with 38 additions and 38 deletions
76
gitk
76
gitk
|
@ -1307,45 +1307,45 @@ proc keys {} {
|
||||||
}
|
}
|
||||||
toplevel $w
|
toplevel $w
|
||||||
wm title $w [mc "Gitk key bindings"]
|
wm title $w [mc "Gitk key bindings"]
|
||||||
message $w.m -text [mc "
|
message $w.m -text "
|
||||||
Gitk key bindings:
|
[mc "Gitk key bindings:"]
|
||||||
|
|
||||||
<$M1T-Q> Quit
|
[mc "<%s-Q> Quit" $M1T]
|
||||||
<Home> Move to first commit
|
[mc "<Home> Move to first commit"]
|
||||||
<End> Move to last commit
|
[mc "<End> Move to last commit"]
|
||||||
<Up>, p, i Move up one commit
|
[mc "<Up>, p, i Move up one commit"]
|
||||||
<Down>, n, k Move down one commit
|
[mc "<Down>, n, k Move down one commit"]
|
||||||
<Left>, z, j Go back in history list
|
[mc "<Left>, z, j Go back in history list"]
|
||||||
<Right>, x, l Go forward in history list
|
[mc "<Right>, x, l Go forward in history list"]
|
||||||
<PageUp> Move up one page in commit list
|
[mc "<PageUp> Move up one page in commit list"]
|
||||||
<PageDown> Move down one page in commit list
|
[mc "<PageDown> Move down one page in commit list"]
|
||||||
<$M1T-Home> Scroll to top of commit list
|
[mc "<%s-Home> Scroll to top of commit list" $M1T]
|
||||||
<$M1T-End> Scroll to bottom of commit list
|
[mc "<%s-End> Scroll to bottom of commit list" $M1T]
|
||||||
<$M1T-Up> Scroll commit list up one line
|
[mc "<%s-Up> Scroll commit list up one line" $M1T]
|
||||||
<$M1T-Down> Scroll commit list down one line
|
[mc "<%s-Down> Scroll commit list down one line" $M1T]
|
||||||
<$M1T-PageUp> Scroll commit list up one page
|
[mc "<%s-PageUp> Scroll commit list up one page" $M1T]
|
||||||
<$M1T-PageDown> Scroll commit list down one page
|
[mc "<%s-PageDown> Scroll commit list down one page" $M1T]
|
||||||
<Shift-Up> Find backwards (upwards, later commits)
|
[mc "<Shift-Up> Find backwards (upwards, later commits)"]
|
||||||
<Shift-Down> Find forwards (downwards, earlier commits)
|
[mc "<Shift-Down> Find forwards (downwards, earlier commits)"]
|
||||||
<Delete>, b Scroll diff view up one page
|
[mc "<Delete>, b Scroll diff view up one page"]
|
||||||
<Backspace> Scroll diff view up one page
|
[mc "<Backspace> Scroll diff view up one page"]
|
||||||
<Space> Scroll diff view down one page
|
[mc "<Space> Scroll diff view down one page"]
|
||||||
u Scroll diff view up 18 lines
|
[mc "u Scroll diff view up 18 lines"]
|
||||||
d Scroll diff view down 18 lines
|
[mc "d Scroll diff view down 18 lines"]
|
||||||
<$M1T-F> Find
|
[mc "<%s-F> Find" $M1T]
|
||||||
<$M1T-G> Move to next find hit
|
[mc "<%s-G> Move to next find hit" $M1T]
|
||||||
<Return> Move to next find hit
|
[mc "<Return> Move to next find hit"]
|
||||||
/ Move to next find hit, or redo find
|
[mc "/ Move to next find hit, or redo find"]
|
||||||
? Move to previous find hit
|
[mc "? Move to previous find hit"]
|
||||||
f Scroll diff view to next file
|
[mc "f Scroll diff view to next file"]
|
||||||
<$M1T-S> Search for next hit in diff view
|
[mc "<%s-S> Search for next hit in diff view" $M1T]
|
||||||
<$M1T-R> Search for previous hit in diff view
|
[mc "<%s-R> Search for previous hit in diff view" $M1T]
|
||||||
<$M1T-KP+> Increase font size
|
[mc "<%s-KP+> Increase font size" $M1T]
|
||||||
<$M1T-plus> Increase font size
|
[mc "<%s-plus> Increase font size" $M1T]
|
||||||
<$M1T-KP-> Decrease font size
|
[mc "<%s-KP-> Decrease font size" $M1T]
|
||||||
<$M1T-minus> Decrease font size
|
[mc "<%s-minus> Decrease font size" $M1T]
|
||||||
<F5> Update
|
[mc "<F5> Update"]
|
||||||
"] \
|
" \
|
||||||
-justify left -bg white -border 2 -relief groove
|
-justify left -bg white -border 2 -relief groove
|
||||||
pack $w.m -side top -fill both -padx 2 -pady 2
|
pack $w.m -side top -fill both -padx 2 -pady 2
|
||||||
button $w.ok -text [mc "Close"] -command "destroy $w" -default active
|
button $w.ok -text [mc "Close"] -command "destroy $w" -default active
|
||||||
|
|
Loading…
Reference in a new issue