From e070c3ed2bec4ea4a6c2a216a5c836d1e02ab381 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Wed, 15 Oct 2025 00:08:40 +0200 Subject: Implement search form (#8103) * Add UI for advanced search To help users with the seach operators. Obviously not as powerful as a manually-written search query. Lack in particular negation and logical *and* for now, but I might try to do something about it. image * Consistency: allow multiple user queries like S:1,2 * Fix user query and add tests --- app/i18n/tr/gen.php | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'app/i18n/tr') diff --git a/app/i18n/tr/gen.php b/app/i18n/tr/gen.php index 9dfa52a81..13714a004 100644 --- a/app/i18n/tr/gen.php +++ b/app/i18n/tr/gen.php @@ -189,6 +189,7 @@ return array( 'about' => 'Hakkında', 'account' => 'Hesap', 'admin' => 'Yönetim', + 'advanced_search' => 'Advanced Search', // TODO 'archiving' => 'Arşivleme', 'authentication' => 'Kimlik doğrulama', 'check_install' => 'Kurulum kontrolü', @@ -221,6 +222,32 @@ return array( 'language' => 'Language', // IGNORE 'translated' => 'Progress', // IGNORE ), + 'search' => array( + 'advanced_search_help' => 'This form helps construct search queries, but manual queries are even more powerful.', // TODO + 'authors' => 'Authors', // TODO + 'categories' => 'Categories', // TODO + 'content' => 'Content', // TODO + 'date_from' => 'From', // TODO + 'date_past' => 'In the past', // TODO + 'date_published' => 'Publication Date', // TODO + 'date_range' => 'Date Range', // TODO + 'date_received' => 'Received Date', // TODO + 'date_to' => 'To', // TODO + 'feeds' => 'Feeds', // TODO + 'free_text' => 'Free Text', // TODO + 'free_text_help' => 'Search both in title and content', // TODO + 'full_documentation' => 'View full search documentation', // TODO + 'labels' => 'My Labels', // TODO + 'multiple_help' => 'Select one or more (hold Ctrl or Cmd)', // TODO + 'sources' => 'Sources', // TODO + 'tags' => 'Article Tags', // TODO + 'text' => 'Text Search', // TODO + 'text_help' => 'Multiple lines are combined by a logical or. Also supports regular expressions.', // TODO + 'text_placeholder' => 'Keyword', // TODO + 'title' => 'Title', // TODO + 'url' => 'URL', // TODO + 'user_queries' => 'User Queries', // TODO + ), 'share' => array( 'Known' => 'Bilinen tabanlı siteler', 'archiveIS' => 'archive.is', // IGNORE -- cgit v1.2.3