mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
use a smaller font instead of italics, it renders badly
This commit is contained in:
parent
c4c3bf102a
commit
9b8ad4596f
1 changed files with 3 additions and 2 deletions
|
@ -995,7 +995,7 @@ your deck."""))
|
||||||
for c, d in enumerate(self.config['recentDeckPaths']):
|
for c, d in enumerate(self.config['recentDeckPaths']):
|
||||||
if ui.splash.finished:
|
if ui.splash.finished:
|
||||||
self.updateProgress(_("Checking deck %(x)d of %(y)d...") % {
|
self.updateProgress(_("Checking deck %(x)d of %(y)d...") % {
|
||||||
'x': c, 'y': len(self.config['recentDeckPaths'])})
|
'x': c+1, 'y': len(self.config['recentDeckPaths'])})
|
||||||
if not os.path.exists(d):
|
if not os.path.exists(d):
|
||||||
toRemove.append(d)
|
toRemove.append(d)
|
||||||
continue
|
continue
|
||||||
|
@ -1074,8 +1074,9 @@ your deck."""))
|
||||||
n = n[:30] + "..."
|
n = n[:30] + "..."
|
||||||
mod = _("%s ago") % anki.utils.fmtTimeSpan(
|
mod = _("%s ago") % anki.utils.fmtTimeSpan(
|
||||||
time.time() - deck['mod'])
|
time.time() - deck['mod'])
|
||||||
|
mod = "<font size=-1>%s</font>" % mod
|
||||||
layout.addWidget(QLabel(
|
layout.addWidget(QLabel(
|
||||||
"%d. <b>%s</b><br> <i>%s</i>" %
|
"%d. <b>%s</b><br> %s" %
|
||||||
(c+1, n, mod)), c+1, 0)
|
(c+1, n, mod)), c+1, 0)
|
||||||
# due
|
# due
|
||||||
col = '<b><font color=#0000ff>%s</font></b>'
|
col = '<b><font color=#0000ff>%s</font></b>'
|
||||||
|
|
Loading…
Reference in a new issue