mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 20:42:22 +02:00
MDL-48798 Statistics: Adding lang string for user activity.
New lang string for 'Activity' (meaning count of user actions) in stats reports to disambiguate it with 'Activity' (meaning course module). AMOS BEGIN CPY [activity,core],[useractivity,core] AMOS END
This commit is contained in:
parent
eb1dc9fab9
commit
f64828f23a
@ -1897,6 +1897,7 @@ $string['usemessageform'] = 'or use the form below to send a message to the sele
|
||||
$string['user'] = 'User';
|
||||
$string['userconfirmed'] = 'Confirmed {$a}';
|
||||
$string['usercurrentsettings'] = 'My profile settings';
|
||||
$string['useractivity'] = 'Activity';
|
||||
$string['userdata'] = 'User data';
|
||||
$string['userdeleted'] = 'This user account has been deleted';
|
||||
$string['userdescription'] = 'Description';
|
||||
|
@ -1242,7 +1242,7 @@ function stats_get_parameters($time,$report,$courseid,$mode,$roleid=0) {
|
||||
$param->fields = 'sum(stat1+stat2) AS line1';
|
||||
$param->stattype = 'activity';
|
||||
$param->orderby = 'line1 DESC';
|
||||
$param->line1 = get_string('activity');
|
||||
$param->line1 = get_string('useractivity');
|
||||
$param->graphline = 'line1';
|
||||
break;
|
||||
|
||||
@ -1268,7 +1268,7 @@ function stats_get_parameters($time,$report,$courseid,$mode,$roleid=0) {
|
||||
) enrolments
|
||||
ON (activity.courseid = enrolments.courseid)
|
||||
ORDER BY line3 DESC';
|
||||
$param->line1 = get_string('activity');
|
||||
$param->line1 = get_string('useractivity');
|
||||
$param->line2 = get_string('users');
|
||||
$param->line3 = get_string('activityweighted');
|
||||
$param->graphline = 'line3';
|
||||
|
Loading…
x
Reference in New Issue
Block a user