aboutsummaryrefslogtreecommitdiff
path: root/internal/i18n/lang
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-07-29 13:45:19 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-07-29 13:45:19 +0200
commit6964ee56de01f9769a39ba480dc787339b642f7a (patch)
treece20ba33e56a414e96e81a3d9d438c373534027e /internal/i18n/lang
parent8ab0502569264478697bf3dbd060eadb82459647 (diff)
downloadlectio-6964ee56de01f9769a39ba480dc787339b642f7a.tar.gz
lectio-6964ee56de01f9769a39ba480dc787339b642f7a.zip
tui(reader): filter bookmarks by tag, and show tags in the list
Bookmarks stored tags but the list neither showed them nor let you use them. Now each row shows "Ref — note #tag1 #tag2", and `/` opens a live tag filter (case-insensitive substring over a bookmark's tags): type to narrow, Enter keeps the filter while j/k navigate the filtered list, Esc clears it. Navigation, open and delete all act on the visible (filtered) list. Reuses the store's existing tag data; help keybar (en/pl) updated; test covers filter/keys.
Diffstat (limited to 'internal/i18n/lang')
-rw-r--r--internal/i18n/lang/en.ini2
-rw-r--r--internal/i18n/lang/pl.ini2
2 files changed, 2 insertions, 2 deletions
diff --git a/internal/i18n/lang/en.ini b/internal/i18n/lang/en.ini
index 4f2d023..87face3 100644
--- a/internal/i18n/lang/en.ini
+++ b/internal/i18n/lang/en.ini
@@ -20,7 +20,7 @@ reader_no_text = (no text in this version)
reader_no_match = (no matching books)
reader_mark_prompt = note (enter to save, esc to cancel)
reader_bookmarks_title = bookmarks
-reader_bookmarks_keys = j/k move enter open d delete esc back q quit
+reader_bookmarks_keys = j/k move enter open d delete / tag esc back q quit
reader_no_bookmarks = no bookmarks yet — press m while reading
reader_mark_verse_keys = ↑/↓ pick verse enter add note esc cancel
reader_confirm_delete = Delete this bookmark?
diff --git a/internal/i18n/lang/pl.ini b/internal/i18n/lang/pl.ini
index 1a202dd..cce1854 100644
--- a/internal/i18n/lang/pl.ini
+++ b/internal/i18n/lang/pl.ini
@@ -20,7 +20,7 @@ reader_no_text = (brak tekstu w tej wersji)
reader_no_match = (brak pasujących ksiąg)
reader_mark_prompt = notatka (enter zapisz, esc anuluj)
reader_bookmarks_title = zakładki
-reader_bookmarks_keys = j/k ruch enter otwórz d usuń esc wróć q wyjście
+reader_bookmarks_keys = j/k ruch enter otwórz d usuń / tag esc wróć q wyjście
reader_no_bookmarks = brak zakładek — naciśnij m podczas czytania
reader_mark_verse_keys = ↑/↓ wybierz werset enter notatka esc anuluj
reader_confirm_delete = Usunąć zakładkę?