Skip to content

Commit

Permalink
MDL-49983 admin: Improve user menu grades setting language strings
Browse files Browse the repository at this point in the history
  • Loading branch information
John Okely committed May 5, 2015
1 parent ce16ceb commit 6289c2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lang/en/grades.php
Expand Up @@ -459,7 +459,8 @@
$string['multfactor'] = 'Multiplicator';
$string['multfactorvalue'] = 'Multiplicator value for {$a}';
$string['multfactor_help'] = 'The multiplicator is the factor by which all grades for this grade item will be multiplied, with a maximum value of the maximum grade. For example, if the multiplicator is 2 and the maximum grade is 100, then all grades less than 50 are multiplied by 2, and all grades 50 and above are changed to 100.';
$string['mygrades_desc'] = 'This setting determines the grades link in the user menu. If an external gradebook is used, \'External URL\' should be selected and the URL specified below.';
$string['mygrades'] = 'User menu grades link';
$string['mygrades_desc'] = 'This setting allows for the option of linking to an external gradebook from the user menu.';
$string['mypreferences'] = 'My preferences';
$string['myreportpreferences'] = 'My report preferences';
$string['navmethod'] = 'Navigation method';
Expand Down
2 changes: 1 addition & 1 deletion lib/adminlib.php
Expand Up @@ -5212,7 +5212,7 @@ class admin_setting_my_grades_report extends admin_setting_configselect {
* Calls parent::__construct with specific arguments.
*/
public function __construct() {
parent::__construct('grade_mygrades_report', new lang_string('grades', 'grades'),
parent::__construct('grade_mygrades_report', new lang_string('mygrades', 'grades'),
new lang_string('mygrades_desc', 'grades'), 'overview', null);
}

Expand Down

0 comments on commit 6289c2e

Please sign in to comment.