diff --git a/ankiqt/ui/status.py b/ankiqt/ui/status.py index 7f6a25037..b4cff7ddd 100644 --- a/ankiqt/ui/status.py +++ b/ankiqt/ui/status.py @@ -170,13 +170,23 @@ class StatusView(object): self.remText.setText(remStr % stats) stats['spaced'] = self.main.deck.spacedCardCount() stats['new2'] = self.main.deck.newCount - self.remText.setToolTip(_( - "

Remaining cards

" - "

There are %(failed)d failed cards due soon.
" - "There are %(rev)d cards awaiting review.
" - "There are %(new)d new cards due today.

" - "There are %(new2)d new cards in total.
" - "There are %(spaced)d delayed cards.") % stats) + self.remText.setToolTip("

" +_( + "Remaining cards") + "

" + + ngettext("There is %d failed card due soon.", \ + "There are %d failed cards due soon.", \ + stats['failed']) % stats['failed'] + "
" + + ngettext("There is %d card awaiting review.", + "There are %d cards awaiting review.", \ + stats['rev']) % stats['rev'] + "
" + + ngettext("There is %d new card due today.", \ + "There are %d new cards due today.",\ + stats['new']) % stats['new'] + "

" + + ngettext("There is %d new card in total.", \ + "There are %d new cards in total.",\ + stats['new2']) % stats['new2'] + "
" + + ngettext("There is %d delayed card.", \ + "There are %d delayed cards.", \ + stats['spaced']) % stats['spaced']) # eta self.etaText.setText(_("ETA: %(timeLeft)s") % stats) # retention & progress bars