Commit 95bbb037 authored by Robert Lyon's avatar Robert Lyon
Browse files

Updating lang strings in elastic search



- including fixing hard coded lang string

Change-Id: Ied8163ac94711ef74555d820a9d3493dfb7a50bc
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent a5af1aa2
......@@ -60,7 +60,8 @@ $string['Portfolio'] = 'Portfolio';
$string['record'] = 'record';
$string['records'] = 'records';
$string['relevance'] = 'Relevance';
$string['resetallindexes'] = 'reset ALL indexes';
$string['reset'] = 'Reset';
$string['resetallindexes'] = 'Reset ALL indexes';
$string['resetdescription'] = 'This table shows the number of records of each type currently in the queue to be sent to the Elasticsearch server. Items are sent to the Elasticsearch server each time the search plugin\'s cron task runs (every 5 minutes). Click on the button at the bottom to reset the search index, deleting all records and requeuing them.';
$string['resetlegend'] = 'Index reset';
$string['resume'] = 'Résumé';
......
......@@ -302,14 +302,14 @@ class PluginSearchElasticsearch extends PluginSearch {
'value' => $count_in_queue,
// 'title' => $type . $count_in_queue,
// 'type' => 'submit',
// 'defaultvalue' => 'reset',
// 'defaultvalue' => get_string('reset', 'search.elasticsearch'),
);
}
// And on the end, a special one to reset all the indexes.
$resetelements['allreset'] = array(
'title' => get_string('resetallindexes', 'search.elasticsearch'),
'type' => 'submit',
'defaultvalue' => 'reset',
'defaultvalue' => get_string('reset', 'search.elasticsearch'),
);
$config['elements']['resetindex'] = array(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment