From 9d94f49d8e77b7906fd7a5c94aa318b4ef952613 Mon Sep 17 00:00:00 2001 From: Anthony Fuentes Date: Mon, 6 Apr 2020 20:19:50 +0000 Subject: [PATCH] Update searchable components toolbar tips fixes: https://qubeshub.org/support/tickets/1831 --- .../com_search/admin/language/en-GB/en-GB.com_search.ini | 4 ++-- .../com_search/admin/views/searchable/tmpl/display.php | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/core/components/com_search/admin/language/en-GB/en-GB.com_search.ini b/core/components/com_search/admin/language/en-GB/en-GB.com_search.ini index 5d19c542305..94c0005f014 100644 --- a/core/components/com_search/admin/language/en-GB/en-GB.com_search.ini +++ b/core/components/com_search/admin/language/en-GB/en-GB.com_search.ini @@ -119,8 +119,8 @@ COM_SEARCH_FACET_DELETE_PROTECTED="Did not delete protected facet: %s" COM_SEARCH_FACET_DELETE_FAILED="Failed to delete facet: %s" COM_SEARCH_FACET_HAS_CHILDREN="The facet '%s' has children. Please remove child facets before deleting the parent." COM_SEARCH_FACET_DELETE="Deleted '%s'." -COM_SEARCH_ADD_FACET="Add Facet" -COM_SEARCH_DELETE_FACET="Delete selected facets" +COM_SEARCH_DELETE_COMPONENT_RESULTS="Delete component(s) results" +COM_SEARCH_DELETE_COMPONENT_ENTRY="Remove component(s)" COM_SEARCH_DELETE_COMPONENT_SUCCESS="Successfully removed %s component from solr index." COM_SEARCH_TRASH_COMPONENT_SUCCESS="Successfully trashed '%s' Search Component." diff --git a/core/components/com_search/admin/views/searchable/tmpl/display.php b/core/components/com_search/admin/views/searchable/tmpl/display.php index 661b5406d9a..12fcdcf3744 100644 --- a/core/components/com_search/admin/views/searchable/tmpl/display.php +++ b/core/components/com_search/admin/views/searchable/tmpl/display.php @@ -10,9 +10,8 @@ Toolbar::title(Lang::txt('Solr Search: Components')); Toolbar::addNew(); -Toolbar::custom('activateIndex', 'publish', 'activateindex', 'COM_SEARCH_ADD_FACET', false); -Toolbar::custom('deleteIndex', 'unpublish', 'deactivateindex', 'COM_SEARCH_DELETE_FACET', true); -Toolbar::custom('trashIndex', 'trash', 'trashindex', 'COM_SEARCH_DELETE_FACET', true); +Toolbar::custom('deleteIndex', 'unpublish', 'deactivateindex', 'COM_SEARCH_DELETE_COMPONENT_RESULTS', true); +Toolbar::custom('trashIndex', 'trash', 'trashindex', 'COM_SEARCH_DELETE_COMPONENT_ENTRY', true); Toolbar::spacer(); Toolbar::custom('discover', 'refresh', 'refresh', 'COM_SEARCH_SOLR_DISCOVER', false); Toolbar::spacer();