Select search results and delete them together (#80)

Long-press a result to enter selection mode; the search field swaps for a
contextual bar with the count, select-all and delete. Search hits now carry
whether their event recurs, so a batch holding one asks the usual scope
question once and applies it to the recurring hits only. Results in
read-only calendars stay out of the selection rather than failing at write
time, and the list re-runs its query after the batch.
This commit is contained in:
2026-08-02 20:56:16 +02:00
parent 4e38866dfd
commit 7ab8fcb5f5
9 changed files with 686 additions and 49 deletions

View File

@@ -318,6 +318,24 @@
<string name="search_idle_hint">Search your events by title, location or notes.</string>
<string name="search_empty">No events match “%1$s”.</string>
<!-- Selecting search results to delete several at once (#80) -->
<plurals name="search_selected_count">
<item quantity="one">%d selected</item>
<item quantity="other">%d selected</item>
</plurals>
<string name="search_selection_close">Cancel selection</string>
<string name="search_select_all">Select all</string>
<string name="search_delete_selected">Delete selected</string>
<plurals name="search_delete_title">
<item quantity="one">Delete %d event?</item>
<item quantity="other">Delete %d events?</item>
</plurals>
<plurals name="search_delete_done">
<item quantity="one">%d event deleted</item>
<item quantity="other">%d events deleted</item>
</plurals>
<string name="search_delete_partial">%1$d deleted, %2$d couldn\'t be</string>
<!-- Home-screen widgets -->
<string name="widget_agenda_title">Upcoming</string>
<string name="widget_agenda_label">Calendula agenda</string>