mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
MDL-22056 More tidying up of pluginnames for course reports, and more component names tidying
This commit is contained in:
parent
3c9076c2e1
commit
4c14885683
@ -27,3 +27,4 @@ $string['loglive'] = 'Live logs';
|
||||
$string['log:view'] = 'View course logs';
|
||||
$string['log:viewlive'] = 'View live logs';
|
||||
$string['log:viewtoday'] = 'View today\'s logs';
|
||||
$string['pluginname'] = 'Live logs';
|
||||
|
@ -24,3 +24,4 @@
|
||||
*/
|
||||
|
||||
$string['outline:view'] = 'View course activity report';
|
||||
$string['pluginname'] = 'Course activity';
|
||||
|
@ -24,3 +24,4 @@
|
||||
*/
|
||||
|
||||
$string['participation:view'] = 'View course participation report';
|
||||
$string['pluginname'] = 'Course participation';
|
||||
|
@ -23,4 +23,5 @@
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
$string['pluginname'] = 'Course progress';
|
||||
$string['progress:view'] = 'View course progress report';
|
||||
|
@ -23,4 +23,5 @@
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
$string['pluginname'] = 'Course statistics';
|
||||
$string['stats:view'] = 'View course statistics report';
|
||||
|
@ -329,6 +329,7 @@ $string['courserejectemail'] = 'Sorry, but the course you requested has been rej
|
||||
{$a}';
|
||||
$string['courserejectreason'] = 'Outline your reasons for rejecting this course<br />(this will be emailed to the requester)';
|
||||
$string['courserejectsubject'] = 'Your course has been rejected';
|
||||
$string['coursereport'] = 'Course report';
|
||||
$string['coursereports'] = 'Course reports';
|
||||
$string['courserequest'] = 'Course request';
|
||||
$string['courserequestdetails'] = 'Details of the course you are requesting';
|
||||
|
@ -156,6 +156,7 @@ $string['tokencreator'] = 'Creator';
|
||||
$string['userasclients'] = 'Users as clients with token';
|
||||
$string['userasclientsdescription'] = 'The following steps help you to set up the Moodle web service for users as clients. These steps also help to set up the recommended token (security keys) authentication method. In this use case, the user will generate his token from his <strong>Security keys</strong> profile page.';
|
||||
$string['validuntil'] = 'Valid until';
|
||||
$string['webservice'] = 'Web service';
|
||||
$string['webservices'] = 'Web services';
|
||||
$string['webservicesoverview'] = 'Overview';
|
||||
$string['webservicetokens'] = 'Web service tokens';
|
||||
|
@ -4355,9 +4355,9 @@ function get_component_string($component, $contextlevel) {
|
||||
} else if (preg_match('|^gradereport|', $component)) {
|
||||
$string = get_string('gradereport', 'grades').': '.get_string('modulename', $component);
|
||||
} else if (preg_match('|^coursereport|', $component)) {
|
||||
$string = get_string('coursereports');
|
||||
$string = get_string('coursereport').': '.get_string('pluginname', $component);
|
||||
} else if (preg_match('|^webservice|', $component)) {
|
||||
$string = get_string('webservices', 'webservice');
|
||||
$string = get_string('webservice', 'webservice').': '.get_string('pluginname', $component);
|
||||
} else {
|
||||
$string = get_string('course');
|
||||
}
|
||||
@ -4370,7 +4370,7 @@ function get_component_string($component, $contextlevel) {
|
||||
} else if (preg_match('|^moodle|', $component)) {
|
||||
$string = get_string('coresystem');
|
||||
} else {
|
||||
$string = get_string('modulename', preg_replace('#(\w+_)#', '', basename($component)));
|
||||
$string = get_string('activity').': '.get_string('modulename', preg_replace('#(\w+_)#', '', basename($component)));
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user