Skip to content
Snippets Groups Projects
Unverified Commit c5bd5721 authored by Michael Große's avatar Michael Große
Browse files

l10n(search): localization for the toggle tools button

parent 3850270c
No related branches found
No related tags found
No related merge requests found
...@@ -168,8 +168,8 @@ class Search extends Ui ...@@ -168,8 +168,8 @@ class Search extends Ui
*/ */
protected function addSearchAssistanceElements(Form $searchForm) protected function addSearchAssistanceElements(Form $searchForm)
{ {
// FIXME localize global $lang;
$searchForm->addButton('toggleAssistant', 'toggle search assistant') $searchForm->addButton('toggleAssistant', $lang['search_toggle_tools'])
->attr('type', 'button') ->attr('type', 'button')
->addClass('toggleAssistant'); ->addClass('toggleAssistant');
......
...@@ -72,6 +72,7 @@ $lang['nosecedit'] = 'The page was changed in the meantime, section ...@@ -72,6 +72,7 @@ $lang['nosecedit'] = 'The page was changed in the meantime, section
$lang['searchcreatepage'] = 'If you didn\'t find what you were looking for, you can create or edit the page %s, named after your query, with the appropriate tool.'; $lang['searchcreatepage'] = 'If you didn\'t find what you were looking for, you can create or edit the page %s, named after your query, with the appropriate tool.';
$lang['search_fullresults'] = 'Fulltext results'; $lang['search_fullresults'] = 'Fulltext results';
$lang['search_toggle_tools'] = 'Toggle search tools';
$lang['search_exact_match'] = 'Exact match'; $lang['search_exact_match'] = 'Exact match';
$lang['search_starts_with'] = 'Starts with'; $lang['search_starts_with'] = 'Starts with';
$lang['search_ends_with'] = 'Ends with'; $lang['search_ends_with'] = 'Ends with';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment