feat(vocab): implement pagination and localization for vocabulary dictionaries
All checks were successful
Deploy to production / deploy (push) Successful in 3m2s

- Added pagination functionality to the vocabulary dictionary views, allowing users to navigate through results efficiently.
- Introduced a new method `_parseDictionaryPaging` in `VocabService` to handle pagination parameters.
- Updated `getLanguageDictionary` and `getCourseDictionary` methods to return pagination details alongside results.
- Enhanced the `VocabDictionaryView` component with pagination controls and updated UI for better user experience.
- Added localization entries for pagination in Cebuano, German, English, Spanish, and French, ensuring a consistent user experience across languages.
This commit is contained in:
Torsten Schulz (local)
2026-04-10 14:35:50 +02:00
parent f46c864bbc
commit c6419c6c34
7 changed files with 217 additions and 43 deletions

View File

@@ -479,7 +479,10 @@
"notFound": "Kein Zugriff oder nicht gefunden.",
"languageTitle": "Wörterbuch: {name}",
"courseTitle": "Kurs-Wörterbuch: {name}",
"courseLearningColumn": "Lernsprache (Kurs)"
"courseLearningColumn": "Lernsprache (Kurs)",
"dictionaryPagerPrev": "Zurück",
"dictionaryPagerNext": "Weiter",
"dictionaryPager": "{from}{to} von {total} · Seite {page} von {pages}"
},
"courses": {
"title": "Sprachlernkurse",