From ae7a128126c86737ccaa5effeb70bc44415e8bf1 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 12 Aug 2018 06:02:06 +0530 Subject: [PATCH] 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) --- src/calibre/gui2/init.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/calibre/gui2/init.py b/src/calibre/gui2/init.py index 6b0694abf8..896f041f58 100644 --- a/src/calibre/gui2/init.py +++ b/src/calibre/gui2/init.py @@ -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)