mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
c69316ecb5
commit
d6afe28648
@ -49,8 +49,8 @@ class Check(QWidget):
|
|||||||
self.clear_help(_('Check has not been run'))
|
self.clear_help(_('Check has not been run'))
|
||||||
|
|
||||||
def clear_help(self, msg):
|
def clear_help(self, msg):
|
||||||
self.help.setText('<h2>%s</h2><p><a href="run:check">%s</a></p>' % (
|
self.help.setText('<h2>%s</h2><p><a style="text-decoration:none" title="%s" href="run:check">%s</a></p>' % (
|
||||||
msg, _('Run check')))
|
msg, _('Click to run a check on the book'), _('Run check')))
|
||||||
|
|
||||||
def link_clicked(self, url):
|
def link_clicked(self, url):
|
||||||
url = unicode(url.toString())
|
url = unicode(url.toString())
|
||||||
@ -81,8 +81,8 @@ class Check(QWidget):
|
|||||||
self.help.setText(
|
self.help.setText(
|
||||||
'''<h2 style="text-align:center">%s</h2>
|
'''<h2 style="text-align:center">%s</h2>
|
||||||
<p>%s</p>
|
<p>%s</p>
|
||||||
<div><a style="text-decoration:none" href="activate:item">%s %s</a></div>
|
<div><a style="text-decoration:none" href="activate:item" title="%s">%s %s</a></div>
|
||||||
''' % (header, err.msg, err.name, loc))
|
''' % (header, err.msg, _('Click to open in editor'), err.name, loc))
|
||||||
|
|
||||||
def run_checks(self, container):
|
def run_checks(self, container):
|
||||||
from calibre.gui2.tweak_book.boss import BusyCursor
|
from calibre.gui2.tweak_book.boss import BusyCursor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user