mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
mention custom study in finished msg
This commit is contained in:
parent
62e69c3178
commit
90b0cded85
1 changed files with 6 additions and 1 deletions
|
@ -17,6 +17,8 @@ from anki.hooks import runHook
|
|||
|
||||
class Scheduler(object):
|
||||
name = "std"
|
||||
haveCustomStudy = True
|
||||
|
||||
def __init__(self, col):
|
||||
self.col = col
|
||||
self.queueLimit = 50
|
||||
|
@ -1126,7 +1128,10 @@ There are more new cards available, but the daily limit has been
|
|||
reached. You can increase the limit in the options, but please
|
||||
bear in mind that the more new cards you introduce, the higher
|
||||
your short-term review workload will become."""))
|
||||
return "<br>".join(line)
|
||||
if self.haveCustomStudy:
|
||||
line.append(_("""\
|
||||
To study outside of the normal schedule, click the Custom Study button below."""))
|
||||
return "<p>".join(line)
|
||||
|
||||
def revDue(self):
|
||||
"True if there are any rev cards due."
|
||||
|
|
Loading…
Reference in a new issue