Skip to content

Commit

Permalink
MDL-65248 core_user: Move some upcoming_activities_due strings
Browse files Browse the repository at this point in the history
From course lang files to user lang files (where the target belongs to)

AMOS BEGIN
    MOV [target:upcomingactivitiesdue,core_course],[target:upcomingactivitiesdue,core_user]
    MOV [target:upcomingactivitiesdue_help,core_course],[target:upcomingactivitiesdue_help,core_user]
AMOS END
  • Loading branch information
stronk7 committed Apr 23, 2019
1 parent 0d575a5 commit 3df9c60
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 1 addition & 3 deletions lang/en/course.php
Expand Up @@ -62,8 +62,6 @@
$string['target:coursegradetopass_help'] = 'This target describes whether the student is at risk of not getting the minimum grade to pass the course.';
$string['target:noteachingactivity'] = 'No teaching';
$string['target:noteachingactivity_help'] = 'This target describes whether courses due to start in the coming week will have teaching activity.';
$string['target:upcomingactivitiesdue'] = 'Upcoming activities due';
$string['target:upcomingactivitiesdue_help'] = 'This target generates reminders for upcoming activities due.';
$string['targetlabelstudentcompletionno'] = 'Student who is likely to meet the course completion conditions';
$string['targetlabelstudentcompletionyes'] = 'Student at risk of not meeting the course completion conditions';
$string['targetlabelstudentcompetenciesno'] = 'Student who is likely to achieve the competencies assigned to a course';
Expand All @@ -73,4 +71,4 @@
$string['targetlabelstudentgradetopassno'] = 'Student who is likely to meet the minimum grade to pass the course.';
$string['targetlabelstudentgradetopassyes'] = 'Student at risk of not meeting the minimum grade to pass the course.';
$string['targetlabelteachingyes'] = 'Users with teaching capabilities have access to the course';
$string['targetlabelteachingno'] = 'No teaching';
$string['targetlabelteachingno'] = 'No teaching';
2 changes: 2 additions & 0 deletions lang/en/user.php
Expand Up @@ -125,3 +125,5 @@
$string['privacy:profileimagespath'] = 'Profile images';
$string['privacy:privatefilespath'] = 'Private files';
$string['privacy:sessionpath'] = 'Session data';
$string['target:upcomingactivitiesdue'] = 'Upcoming activities due';
$string['target:upcomingactivitiesdue_help'] = 'This target generates reminders for upcoming activities due.';
2 changes: 1 addition & 1 deletion user/classes/analytics/target/upcoming_activities_due.php
Expand Up @@ -62,7 +62,7 @@ public function always_update_analysis_time(): bool {
* @return \lang_string
*/
public static function get_name() : \lang_string {
return new \lang_string('target:upcomingactivitiesdue');
return new \lang_string('target:upcomingactivitiesdue', 'user');
}

/**
Expand Down

0 comments on commit 3df9c60

Please sign in to comment.