feat(vocab): implement pagination and localization for vocabulary dictionaries
All checks were successful
Deploy to production / deploy (push) Successful in 3m2s
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:
@@ -802,7 +802,10 @@
|
||||
"notFound": "Walay access o wala makita.",
|
||||
"languageTitle": "Dictionary: {name}",
|
||||
"courseTitle": "Dictionary sa kurso: {name}",
|
||||
"courseLearningColumn": "Pagkat-on nga pinulongan (kurso)"
|
||||
"courseLearningColumn": "Pagkat-on nga pinulongan (kurso)",
|
||||
"dictionaryPagerPrev": "Balik",
|
||||
"dictionaryPagerNext": "Sunod",
|
||||
"dictionaryPager": "{from}–{to} sa {total} · Page {page} sa {pages}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -479,7 +479,10 @@
|
||||
"notFound": "No access or not found.",
|
||||
"languageTitle": "Dictionary: {name}",
|
||||
"courseTitle": "Course dictionary: {name}",
|
||||
"courseLearningColumn": "Learning language (course)"
|
||||
"courseLearningColumn": "Learning language (course)",
|
||||
"dictionaryPagerPrev": "Previous",
|
||||
"dictionaryPagerNext": "Next",
|
||||
"dictionaryPager": "{from}–{to} of {total} · Page {page} of {pages}"
|
||||
},
|
||||
"courses": {
|
||||
"title": "Language Learning Courses",
|
||||
|
||||
@@ -477,7 +477,10 @@
|
||||
"notFound": "Sin acceso o no encontrado.",
|
||||
"languageTitle": "Diccionario: {name}",
|
||||
"courseTitle": "Diccionario del curso: {name}",
|
||||
"courseLearningColumn": "Idioma de aprendizaje (curso)"
|
||||
"courseLearningColumn": "Idioma de aprendizaje (curso)",
|
||||
"dictionaryPagerPrev": "Anterior",
|
||||
"dictionaryPagerNext": "Siguiente",
|
||||
"dictionaryPager": "{from}–{to} de {total} · Página {page} de {pages}"
|
||||
},
|
||||
"courses": {
|
||||
"title": "Cursos de idiomas",
|
||||
|
||||
@@ -477,7 +477,10 @@
|
||||
"notFound": "Pas d’accès ou introuvable.",
|
||||
"languageTitle": "Dictionnaire : {name}",
|
||||
"courseTitle": "Dictionnaire du cours : {name}",
|
||||
"courseLearningColumn": "Langue apprise (cours)"
|
||||
"courseLearningColumn": "Langue apprise (cours)",
|
||||
"dictionaryPagerPrev": "Précédent",
|
||||
"dictionaryPagerNext": "Suivant",
|
||||
"dictionaryPager": "{from}–{to} sur {total} · Page {page} sur {pages}"
|
||||
},
|
||||
"courses": {
|
||||
"title": "Cours d'apprentissage des langues",
|
||||
|
||||
Reference in New Issue
Block a user