feat(vocab): add dashboard learning summary and related endpoints
- Introduced `getDashboardLearningSummary` method in `VocabService` to provide a compact overview of enrolled courses and current lessons for users. - Updated `vocabController` to include a new route for the dashboard widget, allowing users to access their learning summary. - Enhanced `vocabRouter` to route requests for the new dashboard widget endpoint. - Added localization support for the new dashboard features across multiple languages, improving user engagement and accessibility. - Updated UI components to integrate the new dashboard widget, ensuring a seamless user experience.
This commit is contained in:
@@ -574,6 +574,20 @@
|
||||
"voteError": "Error while submitting the vote",
|
||||
"voteAllError": "Error while submitting the votes",
|
||||
"applyError": "Application could not be submitted.",
|
||||
"benefits": {
|
||||
"daily_salary": "Daily office stipend (once per day): about {amount}",
|
||||
"tax_exemption": "Tax exemption: {regions}",
|
||||
"tax_exemption_all": "Tax exemption: all regional levels",
|
||||
"generic": "Benefit ({code})"
|
||||
},
|
||||
"regionLevels": {
|
||||
"city": "City",
|
||||
"county": "County",
|
||||
"shire": "Shire",
|
||||
"markgrave": "Margravate",
|
||||
"duchy": "Duchy",
|
||||
"country": "Country"
|
||||
},
|
||||
"current": {
|
||||
"office": "Office",
|
||||
"region": "Region",
|
||||
|
||||
@@ -92,6 +92,16 @@
|
||||
},
|
||||
"falukant": {
|
||||
"emptyValue": "—"
|
||||
},
|
||||
"vocabCourses": {
|
||||
"empty": "You are not enrolled in any vocabulary course yet.",
|
||||
"browseCourses": "Browse courses",
|
||||
"unnamedCourse": "Untitled course",
|
||||
"lessonLine": "Lesson #{number}: {title}",
|
||||
"noLessons": "No lessons in this course yet.",
|
||||
"allDone": "All lessons completed",
|
||||
"openLesson": "Go to lesson",
|
||||
"openCourse": "Open course"
|
||||
}
|
||||
},
|
||||
"gender": {
|
||||
|
||||
@@ -23,7 +23,8 @@
|
||||
"news": "News",
|
||||
"birthdays": "Birthdays",
|
||||
"upcoming": "Upcoming appointments",
|
||||
"calendar": "Calendar"
|
||||
"calendar": "Calendar",
|
||||
"vocabCourses": "Language courses"
|
||||
},
|
||||
"overview": {
|
||||
"activeWidgetsLabel": "Active widgets",
|
||||
|
||||
Reference in New Issue
Block a user