Skip to content

Commit

Permalink
Translation for fix SmartSearch menu item missing configuration
Browse files Browse the repository at this point in the history
SmartSearch evaluates 2 parameters - show_suggested_query and show_explained_query on the results page (/components/com_finder/views/search/tmpl/default_results.php) that haven't been configurable through the menu item configuration since its deployment through jXtended. But it should be configurable whether or not to suggest alternative search terms or explain how to improve the search rather than overriding the view just for this circumstance.
So i added these two options to the menu item configuration file (/components/com_finder/views/search/tmpl/default.xml) and added translation to (/administrator/language/en-GB/en-GB.com_finder.sys) thus enabling the evaluation of these parameters to do what a parameter should do: enable/disable.
  • Loading branch information
itbra committed Mar 12, 2014
1 parent 16b9d3f commit fba4897
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions administrator/language/en-GB/en-GB.com_finder.sys.ini
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ COM_FINDER_CONFIG_SHOW_FEED_TEXT_DESC="Show the associated text with the feed, o
COM_FINDER_SELECT_SEARCH_FILTER="Select filter"
COM_FINDER_ALLOW_EMPTY_QUERY_LABEL="Allow Empty Search"
COM_FINDER_ALLOW_EMPTY_QUERY_DESC="Only if a filter is selected, allow an empty search string to initiate a search within the filter constraints."
COM_FINDER_SHOW_SUGGESTED_QUERY_LABEL="Show Suggestions"
COM_FINDER_SHOW_SUGGESTED_QUERY_DESC="When searching for a given term returns no matching taxonomy shall similar search terms be suggested?"
COM_FINDER_SHOW_EXPLAINED_QUERY_LABEL="Show Explanation"
COM_FINDER_SHOW_EXPLAINED_QUERY_DESC="When searching returns no results shall a help text on how to improve one's search be shown?"

COM_FINDER_CONFIG_SORT_DIRECTION_DESC="The direction in which to sort the search results."
COM_FINDER_CONFIG_SORT_DIRECTION_LABEL="Sort Direction"
Expand Down

0 comments on commit fba4897

Please sign in to comment.