mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
presets
This commit is contained in:
parent
ba667cc94d
commit
d88c307758
1 changed files with 16 additions and 0 deletions
|
@ -79,3 +79,19 @@ def dynOrderLabels():
|
|||
5: _("Order added"),
|
||||
6: _("Order due"),
|
||||
}
|
||||
|
||||
def dynExamples():
|
||||
# defaults are resched=True, steps=None, deck=True
|
||||
return [
|
||||
[_("<select preset>"), None],
|
||||
[_("Preview new cards"), dict(
|
||||
search="is:new", resched=False, steps="1", order=5)],
|
||||
[_("Review today's forgotten cards"), dict(
|
||||
search="rated:1:1", order=4)],
|
||||
[_("Review ahead by two days"), dict(
|
||||
search="prop:due<2", order=6)],
|
||||
[_("Study all cards in random order"), dict(
|
||||
search="", order=1, steps="1 10")],
|
||||
[_("Review due cards with tag 'important'"), dict(
|
||||
search="is:due tag:important", order=6)]
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue