mirror of
https://github.com/pepaskopec-blip/Graduately.git
synced 2026-10-27 15:14:35 +00:00
Add in-app search for subjects, lessons and exercises.
The header magnifier and Cmd/Ctrl+K open a palette that jumps straight to a matching page. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
45ed500fa2
commit
cafa18b189
8 changed files with 658 additions and 5 deletions
14
src/i18n.c
14
src/i18n.c
|
|
@ -221,6 +221,19 @@ const TrEntry tr_ui[] = {
|
|||
{"stats_ex_fmt", "%d / %d", "%d / %d"},
|
||||
{"stats_pct_fmt", "%d %%", "%d %%"},
|
||||
{"stats_units_fmt", "%d / %d", "%d / %d"},
|
||||
{"search", "Hledat", "Search"},
|
||||
{"search_placeholder", "Hledat předmět, lekci nebo cvičení",
|
||||
"Search a subject, lesson or exercise"},
|
||||
{"search_empty", "Nic se nenašlo", "No matches"},
|
||||
{"search_hint", "Zkuste předmět, lekci nebo název cvičení",
|
||||
"Try a subject, lesson or exercise name"},
|
||||
{"search_subject", "Předmět", "Subject"},
|
||||
{"search_unit", "Jednotka", "Unit"},
|
||||
{"search_lesson", "Lekce", "Lesson"},
|
||||
{"search_exercise", "Cvičení", "Exercise"},
|
||||
{"search_book", "Četba", "Reading"},
|
||||
{"search_page", "Stránka", "Page"},
|
||||
{"search_home", "Úvod", "Welcome"},
|
||||
{"subjects_title", "Předměty", "Subjects"},
|
||||
{"subjects_sub", "Otevřený předmět spustí učební cestu. Zamčené zatím jen čekají.",
|
||||
"An open subject opens its path. Locked ones are placeholders for now."},
|
||||
|
|
@ -1519,4 +1532,5 @@ void apply_language(void) {
|
|||
update_apply_lang();
|
||||
net_lessons_apply_lang();
|
||||
hw_lessons_apply_lang();
|
||||
search_apply_lang();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue