mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12: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:
|
For audio support:
|
||||||
|
|
||||||
- pygame
|
- mplayer
|
||||||
|
|
||||||
Running / Installation
|
Running / Installation
|
||||||
-------------------------------------
|
-------------------------------------
|
||||||
|
|
|
@ -1621,12 +1621,12 @@ day = :d""", d=yesterday)
|
||||||
deckpath = self.deck.name()
|
deckpath = self.deck.name()
|
||||||
if self.deck.modifiedSinceSave():
|
if self.deck.modifiedSinceSave():
|
||||||
deckpath += "*"
|
deckpath += "*"
|
||||||
title = _("%(path)s (%(facts)d facts, %(cards)d cards)"
|
title = _("%(path)s (%(due)d of %(cards)d due)"
|
||||||
" - %(title)s") % {
|
" - %(title)s") % {
|
||||||
"path": deckpath,
|
"path": deckpath,
|
||||||
"title": title,
|
"title": title,
|
||||||
"cards": self.deck.cardCount,
|
"cards": self.deck.cardCount,
|
||||||
"facts": self.deck.factCount,
|
"due": self.deck.failedSoonCount + self.deck.revCount
|
||||||
}
|
}
|
||||||
self.setWindowTitle(title)
|
self.setWindowTitle(title)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue