diff -Naur /usr/share/python-support/trac/trac/web/auth.py.org /usr/share/python-support/trac/trac/web/auth.py
old
|
new
|
|
85 | 85 | if req.authname and req.authname != 'anonymous': |
86 | 86 | yield ('metanav', 'login', 'logged in as %s' % req.authname) |
87 | 87 | yield ('metanav', 'logout', |
88 | | html.A('Logout', href=req.href.logout())) |
| 88 | html.A('Logout(o)', href=req.href.logout(), accesskey='o')) |
89 | 89 | else: |
90 | 90 | yield ('metanav', 'login', |
91 | | html.A('Login', href=req.href.login())) |
| 91 | html.A('Login(l)', href=req.href.login(), accesskey='l')) |
92 | 92 | |
93 | 93 | # IRequestHandler methods |
94 | 94 | |
diff -Naur /usr/share/python-support/trac/trac/wiki/web_ui.py.org /usr/share/python-support/trac/trac/wiki/web_ui.py
old
|
new
|
|
65 | 65 | if not req.perm.has_permission('WIKI_VIEW'): |
66 | 66 | return |
67 | 67 | yield ('mainnav', 'wiki', |
68 | | html.A('Wiki', href=req.href.wiki(), accesskey=1)) |
| 68 | html.A('Wiki(1)', href=req.href.wiki(), accesskey=1)) |
69 | 69 | yield ('metanav', 'help', |
70 | | html.A('Help/Guide', href=req.href.wiki('TracGuide'), |
| 70 | html.A('Help/Guide(6)', href=req.href.wiki('TracGuide'), |
71 | 71 | accesskey=6)) |
72 | 72 | |
73 | 73 | # IPermissionRequestor methods |
diff -Naur /usr/share/python-support/trac/trac/versioncontrol/web_ui/browser.py.org /usr/share/python-support/trac/trac/versioncontrol/web_ui/browser.py
old
|
new
|
|
78 | 78 | if not req.perm.has_permission('BROWSER_VIEW'): |
79 | 79 | return |
80 | 80 | yield ('mainnav', 'browser', |
81 | | html.A('Browse Source', href=req.href.browser())) |
| 81 | html.A('Browse Source(5)', href=req.href.browser(), accesskey='5')) |
82 | 82 | |
83 | 83 | # IPermissionRequestor methods |
84 | 84 | |
diff -Naur /usr/share/python-support/trac/trac/Timeline.py.org /usr/share/python-support/trac/trac/Timeline.py
old
|
new
|
|
77 | 77 | if not req.perm.has_permission('TIMELINE_VIEW'): |
78 | 78 | return |
79 | 79 | yield ('mainnav', 'timeline', |
80 | | html.A('Timeline', href=req.href.timeline(), accesskey=2)) |
| 80 | html.A('Timeline(2)', href=req.href.timeline(), accesskey=2)) |
81 | 81 | |
82 | 82 | # IPermissionRequestor methods |
83 | 83 | |
diff -Naur /usr/share/python-support/trac/trac/Settings.py.org /usr/share/python-support/trac/trac/Settings.py
old
|
new
|
|
33 | 33 | |
34 | 34 | def get_navigation_items(self, req): |
35 | 35 | yield ('metanav', 'settings', |
36 | | html.A('Settings', href=req.href.settings())) |
| 36 | html.A('Settings(t)', href=req.href.settings(), accesskey='t')) |
37 | 37 | |
38 | 38 | # IRequestHandler methods |
39 | 39 | |
diff -Naur /usr/share/python-support/trac/trac/ticket/report.py.org /usr/share/python-support/trac/trac/ticket/report.py
old
|
new
|
|
46 | 46 | if not req.perm.has_permission('REPORT_VIEW'): |
47 | 47 | return |
48 | 48 | yield ('mainnav', 'tickets', |
49 | | html.A('View Tickets', href=req.href.report())) |
| 49 | html.A('View Tickets(8)', href=req.href.report(), accesskey=8)) |
50 | 50 | |
51 | 51 | # IPermissionRequestor methods |
52 | 52 | |
diff -Naur /usr/share/python-support/trac/trac/ticket/web_ui.py.org /usr/share/python-support/trac/trac/ticket/web_ui.py
old
|
new
|
|
107 | 107 | if not req.perm.has_permission('TICKET_CREATE'): |
108 | 108 | return |
109 | 109 | yield ('mainnav', 'newticket', |
110 | | html.A('New Ticket', href=req.href.newticket(), accesskey=7)) |
| 110 | html.A('New Ticket(7)', href=req.href.newticket(), accesskey=7)) |
111 | 111 | |
112 | 112 | # IRequestHandler methods |
113 | 113 | |
diff -Naur /usr/share/python-support/trac/trac/ticket/roadmap.py.org /usr/share/python-support/trac/trac/ticket/roadmap.py
old
|
new
|
|
129 | 129 | if not req.perm.has_permission('ROADMAP_VIEW'): |
130 | 130 | return |
131 | 131 | yield ('mainnav', 'roadmap', |
132 | | html.a('Roadmap', href=req.href.roadmap(), accesskey=3)) |
| 132 | html.a('Roadmap(3)', href=req.href.roadmap(), accesskey=3)) |
133 | 133 | |
134 | 134 | # IPermissionRequestor methods |
135 | 135 | |
diff -Naur /usr/share/python-support/trac/trac/Search.py.org /usr/share/python-support/trac/trac/Search.py
old
|
new
|
|
132 | 132 | if not req.perm.has_permission('SEARCH_VIEW'): |
133 | 133 | return |
134 | 134 | yield ('mainnav', 'search', |
135 | | html.A('Search', href=req.href.search(), accesskey=4)) |
| 135 | html.A('Search(4)', href=req.href.search(), accesskey=4)) |
136 | 136 | |
137 | 137 | # IPermissionRequestor methods |
138 | 138 | |
diff -Naur /usr/share/trac/templates/wiki.cs.org /usr/share/trac/templates/wiki.cs
old
|
new
|
|
8 | 8 | <li class="first"><?cs |
9 | 9 | if:len(chrome.links.prev) ?> ← |
10 | 10 | <a class="prev" href="<?cs var:chrome.links.prev.0.href ?>" title="<?cs |
11 | | var:chrome.links.prev.0.title ?>">Previous Change</a><?cs |
| 11 | var:chrome.links.prev.0.title ?>" accesskey='p'>(P)revious Change</a><?cs |
12 | 12 | else ?> |
13 | 13 | <span class="missing">← Previous Change</span><?cs |
14 | 14 | /if ?> |
15 | 15 | </li> |
16 | | <li><a href="<?cs var:wiki.history_href ?>">Page History</a></li> |
| 16 | <li><a href="<?cs var:wiki.history_href ?>" accesskey='h'>Page (H)istory</a></li> |
17 | 17 | <li class="last"><?cs |
18 | 18 | if:len(chrome.links.next) ?> |
19 | 19 | <a class="next" href="<?cs var:chrome.links.next.0.href ?>" title="<?cs |
20 | | var:chrome.links.next.0.title ?>">Next Change</a> → <?cs |
| 20 | var:chrome.links.next.0.title ?>" accesskey='n'>(N)ext Change</a> → <?cs |
21 | 21 | else ?> |
22 | 22 | <span class="missing">Next Change →</span><?cs |
23 | 23 | /if ?> |
24 | 24 | </li><?cs |
25 | 25 | elif:wiki.action == "history" ?> |
26 | | <li class="last"><a href="<?cs var:wiki.current_href ?>">View Latest Version</a></li><?cs |
| 26 | <li class="last"><a href="<?cs var:wiki.current_href ?>" accesskey='v'>(V)iew Latest Version</a></li><?cs |
27 | 27 | else ?> |
28 | 28 | <li><a href="<?cs var:trac.href.wiki ?>">Start Page</a></li> |
29 | 29 | <li><a href="<?cs var:trac.href.wiki ?>/TitleIndex">Index by Title</a></li> |
30 | 30 | <li><a href="<?cs var:trac.href.wiki ?>/RecentChanges">Index by Date</a></li> |
31 | | <li class="last"><a href="<?cs var:wiki.last_change_href ?>">Last Change</a></li><?cs |
| 31 | <li class="last"><a href="<?cs var:wiki.last_change_href ?>" accesskey='h'>Last Change(h)</a></li><?cs |
32 | 32 | /if ?> |
33 | 33 | </ul> |
34 | 34 | <hr /> |
… |
… |
|
201 | 201 | <?cs if:len(wiki.history) ?><form class="printableform" method="get" action=""> |
202 | 202 | <input type="hidden" name="action" value="diff" /> |
203 | 203 | <div class="buttons"> |
204 | | <input type="submit" value="View changes" /> |
| 204 | <input type="submit" value="View (c)hanges" accesskey='c'/> |
205 | 205 | </div> |
206 | 206 | <table id="wikihist" class="listing" summary="Change history"> |
207 | 207 | <thead><tr> |
… |
… |
|
319 | 319 | <input type="submit" name="preview" value="Preview" disabled="disabled" /> |
320 | 320 | <input type="submit" name="save" value="Submit changes" disabled="disabled" /> |
321 | 321 | <?cs else ?> |
322 | | <input type="submit" name="preview" value="Preview" accesskey="r" /> |
323 | | <input type="submit" name="save" value="Submit changes" /> |
| 322 | <input type="submit" name="preview" value="Preview(p)" accesskey="p" /> |
| 323 | <input type="submit" name="save" value="Submit changes(s)" accesskey="s" /> |
324 | 324 | <?cs /if ?> |
325 | 325 | <input type="submit" name="cancel" value="Cancel" /> |
326 | 326 | </div> |
… |
… |
|
360 | 360 | <form method="get" action="<?cs var:wiki.current_href ?>"><div> |
361 | 361 | <input type="hidden" name="action" value="edit" /> |
362 | 362 | <input type="submit" value="<?cs if:wiki.exists ?>Edit<?cs |
363 | | else ?>Create<?cs /if ?> this page" accesskey="e" /> |
| 363 | else ?>Create<?cs /if ?> this page(e)" accesskey="e" /> |
364 | 364 | </div></form><?cs |
365 | 365 | if:wiki.exists ?> |
366 | 366 | <form method="get" action="<?cs var:wiki.attach_href ?>"><div> |
367 | 367 | <input type="hidden" name="action" value="new" /> |
368 | | <input type="submit" value="Attach file" /> |
| 368 | <input type="submit" value="Attach file(a)" accesskey="a" /> |
369 | 369 | </div></form><?cs |
370 | 370 | /if ?><?cs |
371 | 371 | /if ?><?cs |
… |
… |
|
374 | 374 | <input type="hidden" name="action" value="delete" /> |
375 | 375 | <input type="hidden" name="version" value="<?cs var:wiki.version ?>" /><?cs |
376 | 376 | if:wiki.version == wiki.latest_version ?> |
377 | | <input type="submit" name="delete_version" value="Delete this version" /><?cs |
| 377 | <input type="submit" name="delete_version" value="Delete this version(d)" accesskey="d" /><?cs |
378 | 378 | /if ?> |
379 | 379 | <input type="submit" value="Delete page" /> |
380 | 380 | </div></form> |
diff -Naur /usr/share/trac/templates/report.cs.org /usr/share/trac/templates/report.cs
old
|
new
|
|
5 | 5 | <h2>Report Navigation</h2> |
6 | 6 | <ul><li class="first"><?cs |
7 | 7 | if:chrome.links.up.0.href ?><a href="<?cs |
8 | | var:chrome.links.up.0.href ?>">Available Reports</a><?cs |
| 8 | var:chrome.links.up.0.href ?>" accesskey='a'>(A)vailable Reports</a><?cs |
9 | 9 | else ?>Available Reports<?cs |
10 | 10 | /if ?></li><?cs |
11 | 11 | if:report.query_href ?><li class="last"><a href="<?cs |
diff -Naur /usr/share/trac/templates/browser.cs.org /usr/share/trac/templates/browser.cs
old
|
new
|
|
3 | 3 | |
4 | 4 | <div id="ctxtnav" class="nav"> |
5 | 5 | <ul> |
6 | | <li class="first"><a href="<?cs var:browser.restr_changeset_href ?>"> |
7 | | Last Change</a></li> |
8 | | <li class="last"><a href="<?cs var:browser.log_href ?>"> |
9 | | Revision Log</a></li> |
| 6 | <li class="first"><a href="<?cs var:browser.restr_changeset_href ?>" accesskey='c'> |
| 7 | Last (C)hange</a></li> |
| 8 | <li class="last"><a href="<?cs var:browser.log_href ?>" accesskey='r'> |
| 9 | (R)evision Log</a></li> |
10 | 10 | </ul> |
11 | 11 | </div> |
12 | 12 | |
diff -Naur /usr/share/trac/templates/log.cs.org /usr/share/trac/templates/log.cs
old
|
new
|
|
4 | 4 | <div id="ctxtnav" class="nav"> |
5 | 5 | <ul> |
6 | 6 | <li class="first <?cs if:len(chrome.links.prev)+len(chrome.links.next) == 0 ?>last<?cs /if ?>"> |
7 | | <a href="<?cs var:log.browser_href ?>">View Latest Revision</a> |
| 7 | <a href="<?cs var:log.browser_href ?>" accesskey='v'>(V)iew Latest Revision</a> |
8 | 8 | </li><?cs |
9 | 9 | if:len(chrome.links.prev) ?> |
10 | 10 | <li class="<?cs if:!len(chrome.links.next) ?> last<?cs /if ?>"> |
… |
… |
|
78 | 78 | </div> |
79 | 79 | |
80 | 80 | <form class="printableform" action="<?cs var:log.changeset_href ?>" method="get"> |
81 | | <div class="buttons"><input type="submit" value="View changes" |
82 | | title="Diff from Old Revision to New Revision (select them below)" /> |
| 81 | <div class="buttons"><input type="submit" value="View (c)hanges" |
| 82 | title="Diff from Old Revision to New Revision (select them below)" accesskey='c'/> |
83 | 83 | </div> |
84 | 84 | <table id="chglist" class="listing"> |
85 | 85 | <thead> |
diff -Naur /usr/share/trac/templates/changeset.cs.org /usr/share/trac/templates/changeset.cs
old
|
new
|
|
14 | 14 | <li class="first"><?cs |
15 | 15 | if:len(links.prev) ?> ← |
16 | 16 | <a class="prev" href="<?cs var:links.prev.0.href ?>" title="<?cs |
17 | | var:links.prev.0.title ?>">Previous <?cs var:change ?></a> <?cs |
| 17 | var:links.prev.0.title ?>" accesskey='p'>(P)revious <?cs var:change ?></a> <?cs |
18 | 18 | else ?> |
19 | 19 | <span class="missing">← Previous <?cs var:change ?></span><?cs |
20 | 20 | /if ?> |
… |
… |
|
22 | 22 | <li class="last"><?cs |
23 | 23 | if:len(links.next) ?> |
24 | 24 | <a class="next" href="<?cs var:links.next.0.href ?>" title="<?cs |
25 | | var:links.next.0.title ?>">Next <?cs var:change ?></a> → <?cs |
| 25 | var:links.next.0.title ?>" accesskey='n'>(N)ext <?cs var:change ?></a> → <?cs |
26 | 26 | else ?> |
27 | 27 | <span class="missing">Next <?cs var:change ?> →</span><?cs |
28 | 28 | /if ?> |
29 | 29 | </li><?cs |
30 | 30 | else ?> |
31 | | <li class="last"><a href="<?cs var:changeset.reverse_href ?>">Reverse Diff</a></li><?cs |
| 31 | <li class="last"><a href="<?cs var:changeset.reverse_href ?>" accesskey='r'>(R)everse Diff</a></li><?cs |
32 | 32 | /if ?> |
33 | 33 | </ul><?cs |
34 | 34 | /with ?> |
diff -Naur /usr/share/trac/templates/newticket.cs.org /usr/share/trac/templates/newticket.cs
old
|
new
|
|
111 | 111 | /if ?> |
112 | 112 | |
113 | 113 | <div class="buttons"> |
114 | | <input type="submit" name="preview" value="Preview" accesskey="r" /> |
115 | | <input type="submit" value="Submit ticket" /> |
| 114 | <input type="submit" name="preview" value="(P)review" accesskey="p" /> |
| 115 | <input type="submit" value="(S)ubmit ticket" accesskey="s"/> |
116 | 116 | </div> |
117 | 117 | </form> |
118 | 118 | |