MDL-49983 admin: Improve user menu grades setting language strings

This commit is contained in:
John Okely 2015-05-05 15:12:59 +08:00
parent ce16ceb667
commit 6289c2ea94
2 changed files with 3 additions and 2 deletions

View file

@ -459,7 +459,8 @@ $string['movingelement'] = 'Moving {$a}';
$string['multfactor'] = 'Multiplicator'; $string['multfactor'] = 'Multiplicator';
$string['multfactorvalue'] = 'Multiplicator value for {$a}'; $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['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['mypreferences'] = 'My preferences';
$string['myreportpreferences'] = 'My report preferences'; $string['myreportpreferences'] = 'My report preferences';
$string['navmethod'] = 'Navigation method'; $string['navmethod'] = 'Navigation method';

View file

@ -5212,7 +5212,7 @@ class admin_setting_my_grades_report extends admin_setting_configselect {
* Calls parent::__construct with specific arguments. * Calls parent::__construct with specific arguments.
*/ */
public function __construct() { 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); new lang_string('mygrades_desc', 'grades'), 'overview', null);
} }