From 9b8ad4596fd07be3d05451f3c751f558da8cc9d6 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 6 Jun 2009 01:13:40 +0900 Subject: [PATCH] use a smaller font instead of italics, it renders badly --- ankiqt/ui/main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ankiqt/ui/main.py b/ankiqt/ui/main.py index ddf1205b3..a1ebacd45 100644 --- a/ankiqt/ui/main.py +++ b/ankiqt/ui/main.py @@ -995,7 +995,7 @@ your deck.""")) for c, d in enumerate(self.config['recentDeckPaths']): if ui.splash.finished: 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): toRemove.append(d) continue @@ -1074,8 +1074,9 @@ your deck.""")) n = n[:30] + "..." mod = _("%s ago") % anki.utils.fmtTimeSpan( time.time() - deck['mod']) + mod = "%s" % mod layout.addWidget(QLabel( - "%d. %s
    %s" % + "%d. %s
    %s" % (c+1, n, mod)), c+1, 0) # due col = '%s'