spanish-quizzer

An app to quiz you on Spanish vocabulary and verb conjugations
git clone https://git.ashermorgan.net/spanish-quizzer/
Log | Files | Refs | README

commit bcbb1256b224a10118602dbffec562d30377b949
parent bda3bcb361d222fee43c391d68a799d24791ec87
Author: AsherMorgan <59518073+AsherMorgan@users.noreply.github.com>
Date:   Wed, 27 May 2020 19:55:17 -0700

Implement more filters for present participles.

Diffstat:
MScripts/Quizzer.js | 10++++++++++
MScripts/Settings.js | 4++--
2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/Scripts/Quizzer.js b/Scripts/Quizzer.js @@ -108,6 +108,11 @@ function ApplyFilter(vocabSet, name) { value = []; break; + case "Present Participle non-Regular": + io = [[0,3]]; + value = [[2, ["Regular"], true]]; + break; + case "Present non-Regular": io = [[0,5], [0,6], [0,7], [0,8], [0,9]]; value = [[4, ["Regular"], true]]; @@ -123,6 +128,11 @@ function ApplyFilter(vocabSet, name) { value = [[16, ["Regular"], true]]; break; + case "Present Participle Regular": + io = [[0,3]]; + value = [[2, ["Regular"], false]]; + break; + case "Present Regular": io = [[0,5], [0,6], [0,7], [0,8], [0,9]]; value = [[4, ["Regular"], false]]; diff --git a/Scripts/Settings.js b/Scripts/Settings.js @@ -220,8 +220,8 @@ function settingsSetChanged(setName) { case "Verbs": items = ["All Definitions", "All Conjugations", "Reverse Conjugations", "Present Participles", "Present Tense", "Preterite Tense", "Imperfect Tense", - "Present non-Regular", "Preterite non-Regular", "Imperfect non-Regular", - "Present Regular", "Preterite Regular", "Imperfect Regular"]; + "Present Participle non-Regular", "Present non-Regular", "Preterite non-Regular", "Imperfect non-Regular", + "Present Participle Regular", "Present Regular", "Preterite Regular", "Imperfect Regular"]; break; case "Adjectives":