Refactor vocabulary search functionality in VocabService and update UI components

- Modified the searchVocabs method in VocabService to consolidate search parameters into a single query term for improved flexibility.
- Updated VocabSearchDialog to replace separate input fields for mother tongue and learning language with a unified search term input.
- Adjusted button logic to enable search only when a term is provided, enhancing user experience.
- Added new translations for the search term in both German and English locales to support the updated UI.
This commit is contained in:
Torsten Schulz (local)
2026-01-05 16:58:18 +01:00
parent f5e3a9a4a2
commit c17af04cbf
4 changed files with 19 additions and 24 deletions

View File

@@ -312,6 +312,7 @@
"search": {
"open": "Suche",
"title": "Vokabeln suchen",
"term": "Suchbegriff",
"motherTongue": "Muttersprache",
"learningLanguage": "Lernsprache",
"lesson": "Lektion",

View File

@@ -312,6 +312,7 @@
"search": {
"open": "Search",
"title": "Search vocabulary",
"term": "Search term",
"motherTongue": "Mother tongue",
"learningLanguage": "Learning language",
"lesson": "Lesson",