Skip to content

Commit 3d2c998

Browse files
chungapaulusmack
authored andcommitted
[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>
1 parent 646f3a1 commit 3d2c998

File tree

1 file changed

+39
-39
lines changed

1 file changed

+39
-39
lines changed

gitk

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1307,45 +1307,45 @@ proc keys {} {
13071307
}
13081308
toplevel $w
13091309
wm title $w [mc "Gitk key bindings"]
1310-
message $w.m -text [mc "
1311-
Gitk key bindings:
1312-
1313-
<$M1T-Q> Quit
1314-
<Home> Move to first commit
1315-
<End> Move to last commit
1316-
<Up>, p, i Move up one commit
1317-
<Down>, n, k Move down one commit
1318-
<Left>, z, j Go back in history list
1319-
<Right>, x, l Go forward in history list
1320-
<PageUp> Move up one page in commit list
1321-
<PageDown> Move down one page in commit list
1322-
<$M1T-Home> Scroll to top of commit list
1323-
<$M1T-End> Scroll to bottom of commit list
1324-
<$M1T-Up> Scroll commit list up one line
1325-
<$M1T-Down> Scroll commit list down one line
1326-
<$M1T-PageUp> Scroll commit list up one page
1327-
<$M1T-PageDown> Scroll commit list down one page
1328-
<Shift-Up> Find backwards (upwards, later commits)
1329-
<Shift-Down> Find forwards (downwards, earlier commits)
1330-
<Delete>, b Scroll diff view up one page
1331-
<Backspace> Scroll diff view up one page
1332-
<Space> Scroll diff view down one page
1333-
u Scroll diff view up 18 lines
1334-
d Scroll diff view down 18 lines
1335-
<$M1T-F> Find
1336-
<$M1T-G> Move to next find hit
1337-
<Return> Move to next find hit
1338-
/ Move to next find hit, or redo find
1339-
? Move to previous find hit
1340-
f Scroll diff view to next file
1341-
<$M1T-S> Search for next hit in diff view
1342-
<$M1T-R> Search for previous hit in diff view
1343-
<$M1T-KP+> Increase font size
1344-
<$M1T-plus> Increase font size
1345-
<$M1T-KP-> Decrease font size
1346-
<$M1T-minus> Decrease font size
1347-
<F5> Update
1348-
"] \
1310+
message $w.m -text "
1311+
[mc "Gitk key bindings:"]
1312+
1313+
[mc "<%s-Q> Quit" $M1T]
1314+
[mc "<Home> Move to first commit"]
1315+
[mc "<End> Move to last commit"]
1316+
[mc "<Up>, p, i Move up one commit"]
1317+
[mc "<Down>, n, k Move down one commit"]
1318+
[mc "<Left>, z, j Go back in history list"]
1319+
[mc "<Right>, x, l Go forward in history list"]
1320+
[mc "<PageUp> Move up one page in commit list"]
1321+
[mc "<PageDown> Move down one page in commit list"]
1322+
[mc "<%s-Home> Scroll to top of commit list" $M1T]
1323+
[mc "<%s-End> Scroll to bottom of commit list" $M1T]
1324+
[mc "<%s-Up> Scroll commit list up one line" $M1T]
1325+
[mc "<%s-Down> Scroll commit list down one line" $M1T]
1326+
[mc "<%s-PageUp> Scroll commit list up one page" $M1T]
1327+
[mc "<%s-PageDown> Scroll commit list down one page" $M1T]
1328+
[mc "<Shift-Up> Find backwards (upwards, later commits)"]
1329+
[mc "<Shift-Down> Find forwards (downwards, earlier commits)"]
1330+
[mc "<Delete>, b Scroll diff view up one page"]
1331+
[mc "<Backspace> Scroll diff view up one page"]
1332+
[mc "<Space> Scroll diff view down one page"]
1333+
[mc "u Scroll diff view up 18 lines"]
1334+
[mc "d Scroll diff view down 18 lines"]
1335+
[mc "<%s-F> Find" $M1T]
1336+
[mc "<%s-G> Move to next find hit" $M1T]
1337+
[mc "<Return> Move to next find hit"]
1338+
[mc "/ Move to next find hit, or redo find"]
1339+
[mc "? Move to previous find hit"]
1340+
[mc "f Scroll diff view to next file"]
1341+
[mc "<%s-S> Search for next hit in diff view" $M1T]
1342+
[mc "<%s-R> Search for previous hit in diff view" $M1T]
1343+
[mc "<%s-KP+> Increase font size" $M1T]
1344+
[mc "<%s-plus> Increase font size" $M1T]
1345+
[mc "<%s-KP-> Decrease font size" $M1T]
1346+
[mc "<%s-minus> Decrease font size" $M1T]
1347+
[mc "<F5> Update"]
1348+
" \
13491349
-justify left -bg white -border 2 -relief groove
13501350
pack $w.m -side top -fill both -padx 2 -pady 2
13511351
button $w.ok -text [mc "Close"] -command "destroy $w" -default active

0 commit comments

Comments
 (0)