mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
mention pygame not required, change titlebar
This commit is contained in:
parent
d0e13d081f
commit
78221100d3
2 changed files with 3 additions and 3 deletions
2
README
2
README
|
@ -20,7 +20,7 @@ For furigana generation:
|
|||
|
||||
For audio support:
|
||||
|
||||
- pygame
|
||||
- mplayer
|
||||
|
||||
Running / Installation
|
||||
-------------------------------------
|
||||
|
|
|
@ -1621,12 +1621,12 @@ day = :d""", d=yesterday)
|
|||
deckpath = self.deck.name()
|
||||
if self.deck.modifiedSinceSave():
|
||||
deckpath += "*"
|
||||
title = _("%(path)s (%(facts)d facts, %(cards)d cards)"
|
||||
title = _("%(path)s (%(due)d of %(cards)d due)"
|
||||
" - %(title)s") % {
|
||||
"path": deckpath,
|
||||
"title": title,
|
||||
"cards": self.deck.cardCount,
|
||||
"facts": self.deck.factCount,
|
||||
"due": self.deck.failedSoonCount + self.deck.revCount
|
||||
}
|
||||
self.setWindowTitle(title)
|
||||
|
||||
|
|
Loading…
Reference in a new issue