diff --git a/resources/lang/en_US/firefly.php b/resources/lang/en_US/firefly.php index 65e810481c..f10e621e4f 100644 --- a/resources/lang/en_US/firefly.php +++ b/resources/lang/en_US/firefly.php @@ -329,8 +329,9 @@ return [ 'search_query' => 'Query', 'search_found_transactions' => 'Firefly III found :count transaction in :time seconds.|Firefly III found :count transactions in :time seconds.', 'search_found_more_transactions' => 'Firefly III found more than :count transactions in :time seconds.', - 'search_for_query' => 'Firefly III is searching for transactions with all of these words in them: :query', - 'search_for_excluded_words' => 'Firefly III is searching for transactions with none of these words in them: :excluded_words', + 'search_for_overview' => 'Firefly III is searching for transactions that fulfill all of the following conditions:', + 'search_for_query' => 'All of these words must be present: :query', + 'search_for_excluded_words' => 'None of these words may be present: :excluded_words', 'invalid_operators_list' => 'These search parameters are not valid and have been ignored.', // old @@ -730,7 +731,6 @@ return [ // Ignore this comment // END - 'modifiers_applies_are' => 'The following modifiers are applied to the search as well:', 'general_search_error' => 'An error occurred while searching. Please check the log files for more information.', 'search_box' => 'Search', 'search_box_intro' => 'Welcome to the search function of Firefly III. Enter your search query in the box. Make sure you check out the help file because the search is pretty advanced.', diff --git a/resources/views/search/index.twig b/resources/views/search/index.twig index f4346c55b1..844f00f16a 100644 --- a/resources/views/search/index.twig +++ b/resources/views/search/index.twig @@ -38,17 +38,31 @@ {% endif %} +
+ {{ trans('firefly.search_for_overview') |raw }} +
+- {{ trans('firefly.search_for_query', {query: query|escape})|raw }} -
+- {{ trans('firefly.search_for_excluded_words', {excluded_words: excludedWords|escape})|raw }} -
+{{ trans('firefly.invalid_operators_list') }}
{{ trans('firefly.modifiers_applies_are') }}
-