feat(VocabPracticeDialog): implement SRS session management and enhance UI feedback

- Added support for spaced repetition system (SRS) session management, allowing users to resume practice sessions with due items.
- Introduced new UI elements to display SRS session status, including total due, completed, and remaining items.
- Enhanced localization for SRS-related messages in multiple languages, improving user experience and clarity.
- Updated methods for saving and loading SRS session data to local storage, ensuring persistence across sessions.
This commit is contained in:
Torsten Schulz (local)
2026-04-17 16:28:19 +02:00
parent 27d280fb4a
commit e221660221
6 changed files with 233 additions and 3 deletions

View File

@@ -124,6 +124,32 @@
"children": "Children",
"children_unbaptised": "Unbaptised children"
},
"genderAge": {
"ageGroups": "infant:2|toddler:4|child:12|teen:18|youngAdult:25|adult:50|mature:70|elder:999",
"neutral": {
"child": "Child"
},
"male": {
"infant": "Baby boy",
"toddler": "Toddler",
"child": "Boy",
"teen": "Young man",
"youngAdult": "Young man",
"adult": "Man",
"mature": "Older man",
"elder": "Elder"
},
"female": {
"infant": "Baby girl",
"toddler": "Toddler",
"child": "Girl",
"teen": "Young woman",
"youngAdult": "Young woman",
"adult": "Woman",
"mature": "Older woman",
"elder": "Elder"
}
},
"overview": {
"title": "Falukant - Overview",
"heroIntro": "Your status in economy, family and property in a condensed overview.",

View File

@@ -452,6 +452,9 @@
"wrong": "Wrong.",
"acceptable": "Acceptable answers:",
"stats": "Stats",
"dueToday": "Due today",
"done": "Done",
"remaining": "Remaining",
"success": "Success",
"fail": "Fail",
"srsRateTitle": "How solid did it feel?",
@@ -462,7 +465,9 @@
"srsGood": "Good",
"srsGoodHint": "normal schedule",
"srsEasy": "Easy",
"srsEasyHint": "longer interval"
"srsEasyHint": "longer interval",
"srsFinishedTitle": "Done for today",
"srsFinishedDesc": "You have practiced all due items from this round. When new items become due later, you can continue here."
},
"search": {
"open": "Search",