mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1786592 [Clicking on the version link should open the What's new page in the languge of calibre](https://bugs.launchpad.net/calibre/+bug/1786592)
This commit is contained in:
parent
6c40845e7a
commit
ae7a128126
@ -24,6 +24,7 @@ from calibre.gui2.book_details import BookDetails
|
||||
from calibre.gui2.notify import get_notifier
|
||||
from calibre.gui2.layout_menu import LayoutMenu
|
||||
from calibre.customize.ui import find_plugin
|
||||
from calibre.utils.localization import localize_website_link
|
||||
|
||||
_keep_refs = []
|
||||
|
||||
@ -227,7 +228,7 @@ class VersionLabel(QLabel): # {{{
|
||||
self.setToolTip(_('See what\'s new in this calibre release'))
|
||||
|
||||
def mouseReleaseEvent(self, ev):
|
||||
open_url('https://calibre-ebook.com/whats-new')
|
||||
open_url(localize_website_link('https://calibre-ebook.com/whats-new'))
|
||||
ev.accept()
|
||||
return QLabel.mouseReleaseEvent(self, ev)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user