From 90b0cded85a5d0bf5ba4fc39a0422c1e019903f4 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 26 Oct 2012 02:08:52 +0900 Subject: [PATCH] mention custom study in finished msg --- anki/sched.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/anki/sched.py b/anki/sched.py index ee4769c45..098505ae4 100644 --- a/anki/sched.py +++ b/anki/sched.py @@ -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 "
".join(line) + if self.haveCustomStudy: + line.append(_("""\ +To study outside of the normal schedule, click the Custom Study button below.""")) + return "

".join(line) def revDue(self): "True if there are any rev cards due."