MDL-64954 tool_analytics: More help for analytics api elements

This commit is contained in:
David Monllaó 2019-04-05 23:19:21 +02:00
parent 9d4f4f0051
commit 89f1f98f59
3 changed files with 6 additions and 1 deletions

View file

@ -74,6 +74,7 @@ class edit_model extends \moodleform {
); );
$mform->addElement('autocomplete', 'indicators', get_string('indicators', 'tool_analytics'), $indicators, $options); $mform->addElement('autocomplete', 'indicators', get_string('indicators', 'tool_analytics'), $indicators, $options);
$mform->setType('indicators', PARAM_ALPHANUMEXT); $mform->setType('indicators', PARAM_ALPHANUMEXT);
$mform->addHelpButton('indicators', 'indicators', 'tool_analytics');
$timesplittings = array('' => ''); $timesplittings = array('' => '');
foreach ($this->_customdata['timesplittings'] as $classname => $timesplitting) { foreach ($this->_customdata['timesplittings'] as $classname => $timesplitting) {

View file

@ -78,6 +78,8 @@ $string['getpredictions'] = 'Get predictions';
$string['goodmodel'] = 'This is a good model for using to obtain predictions. Enable it to start obtaining predictions.'; $string['goodmodel'] = 'This is a good model for using to obtain predictions. Enable it to start obtaining predictions.';
$string['importmodel'] = 'Import model'; $string['importmodel'] = 'Import model';
$string['indicators'] = 'Indicators'; $string['indicators'] = 'Indicators';
$string['indicators_help'] = 'The indicators are what you think will lead to an accurate prediction of the target.';
$string['indicators_link'] = 'Indicators';
$string['info'] = 'Info'; $string['info'] = 'Info';
$string['ignoreversionmismatches'] = 'Ignore version mismatches'; $string['ignoreversionmismatches'] = 'Ignore version mismatches';
$string['ignoreversionmismatchescheckbox'] = 'Ignore the differences between this site version and the original site version.'; $string['ignoreversionmismatchescheckbox'] = 'Ignore the differences between this site version and the original site version.';
@ -111,6 +113,7 @@ $string['samestartdate'] = 'Current start date is good';
$string['sameenddate'] = 'Current end date is good'; $string['sameenddate'] = 'Current end date is good';
$string['target'] = 'Target'; $string['target'] = 'Target';
$string['target_help'] = 'The target is what the model will predict.'; $string['target_help'] = 'The target is what the model will predict.';
$string['target_link'] = 'Targets';
$string['timesplittingnotdefined'] = 'Time splitting is not defined.'; $string['timesplittingnotdefined'] = 'Time splitting is not defined.';
$string['timesplittingnotdefined_help'] = 'You need to select a time-splitting method before enabling the model.'; $string['timesplittingnotdefined_help'] = 'You need to select a time-splitting method before enabling the model.';
$string['trainandpredictmodel'] = 'Training model and calculating predictions'; $string['trainandpredictmodel'] = 'Training model and calculating predictions';

View file

@ -122,5 +122,6 @@ $string['privacy:metadata:analytics:predictionactions:timecreated'] = 'When the
$string['processingsitecontents'] = 'Processing site contents'; $string['processingsitecontents'] = 'Processing site contents';
$string['successfullyanalysed'] = 'Successfully analysed'; $string['successfullyanalysed'] = 'Successfully analysed';
$string['timesplittingmethod'] = 'Time-splitting method'; $string['timesplittingmethod'] = 'Time-splitting method';
$string['timesplittingmethod_help'] = 'The time-splitting method is what defines when the system will calculate predictions and the portion of activity logs that will be considered for those predictions. E.g. They can divide the course duration in parts and generate a prediction at the end of these parts.'; $string['timesplittingmethod_help'] = 'The time-splitting method is what defines when the system will calculate predictions and the portion of activity logs that will be considered for those predictions. E.g. they can divide the course duration in parts and generate a prediction at the end of these parts.';
$string['timesplittingmethod_link'] = 'Time_splitting_methods';
$string['viewprediction'] = 'View prediction details'; $string['viewprediction'] = 'View prediction details';