Updated translation template

This commit is contained in:
Kovid Goyal 2009-12-10 13:14:20 -07:00
parent 244c9368c8
commit 994a0015bd
2 changed files with 375 additions and 245 deletions

View File

@ -678,17 +678,15 @@ class DocumentView(QWebView):
elif key == 'Previous Page': elif key == 'Previous Page':
self.previous_page() self.previous_page()
elif key == 'Section Top': elif key == 'Section Top':
if event.modifiers() & Qt.ControlModifier: self.scroll_to(0)
if self.manager is not None: elif key == 'Document Top':
self.manager.goto_start() if self.manager is not None:
else: self.manager.goto_start()
self.scroll_to(0)
elif key == 'Section Bottom': elif key == 'Section Bottom':
if event.modifiers() & Qt.ControlModifier: self.scroll_to(1)
if self.manager is not None: elif key == 'Document Bottom':
self.manager.goto_end() if self.manager is not None:
else: self.manager.goto_end()
self.scroll_to(1)
elif key == 'Down': elif key == 'Down':
self.scroll_by(y=15) self.scroll_by(y=15)
elif key == 'Up': elif key == 'Up':

File diff suppressed because it is too large Load Diff