diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-11-15 04:27:19 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-11-15 04:27:19 +0000 |
commit | a4df77a015527dea272d8b643e89a33f8929361b (patch) | |
tree | 903896a5c55e3337d02efea214c16ab2f7ce4b64 /mod/search/languages | |
parent | 9fb9b8565d6a95df0264ef0054106df6b2d3943e (diff) | |
download | elgg-a4df77a015527dea272d8b643e89a33f8929361b.tar.gz elgg-a4df77a015527dea272d8b643e89a33f8929361b.tar.bz2 |
Search changes.
Fixes #1376: Only fetching ft_min_word_length if the query != false.
Using IN BOOLEAN MODE for metadata search (comments, tags) to avoid a fulltext index on the metastrings table. Slower for search, faster for site.
Simplified and modularized logic for pulling out relevant substrings and highlighting.
Corrected the elipse oddities in relevancy substring concatenation.
Added pagination on non-homepages.
Added missing language strings.
Updated and standardized comment results listings.
Repeat query in searchbar.
Dealing with comments on unavailable entities better (though not well).
Increased default word context to 30 characters.
Decreased default context max length to 300 characters.
Promise to start making atomic commits real soon now.
git-svn-id: http://code.elgg.org/elgg/trunk@3684 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/search/languages')
-rw-r--r-- | mod/search/languages/en.php | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/mod/search/languages/en.php b/mod/search/languages/en.php index 52c29c7ed..f601256d0 100644 --- a/mod/search/languages/en.php +++ b/mod/search/languages/en.php @@ -1,10 +1,20 @@ <?php - $language_array = array('search:enterterm' => 'Enter a search term:', - 'search:noresults' => 'No results.', - 'search:matched' => 'Matched: ' - ); +$language_array = array( + 'search:enter_term' => 'Enter a search term:', + 'search:no_results' => 'No results.', + 'search:matched' => 'Matched: ', + 'search:results' => 'Results for %s', + 'search:no_query' => 'Please enter a query to search.', + 'search:search_error' => 'Error', -add_translation('en', $language_array); + 'search:more' => '+%s more %s', + + 'search_types:tags' => 'Tags', -?> + 'search_types:comments' => 'Comments', + 'search:comment_on' => 'Comment on "%s"', + 'search:unavailable_entity' => 'Unavailable Entity', +); + +add_translation('en', $language_array); |