mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-39298 - gradebook: Added more delimiters for uploading and downloading the gradebook as a csv file.
New delimiters added: colon, semicolon
This commit is contained in:
parent
3a8c4380c0
commit
bb2306eb7e
@ -86,6 +86,8 @@ class grade_export_form extends moodleform {
|
||||
$radio = array();
|
||||
$radio[] = $mform->createElement('radio', 'separator', null, get_string('septab', 'grades'), 'tab');
|
||||
$radio[] = $mform->createElement('radio', 'separator', null, get_string('sepcomma', 'grades'), 'comma');
|
||||
$radio[] = $mform->createElement('radio', 'separator', null, get_string('sepcolon', 'grades'), 'colon');
|
||||
$radio[] = $mform->createElement('radio', 'separator', null, get_string('sepsemicolon', 'grades'), 'semicolon');
|
||||
$mform->addGroup($radio, 'separator', get_string('separator', 'grades'), ' ', false);
|
||||
$mform->setDefault('separator', 'comma');
|
||||
}
|
||||
|
@ -48,6 +48,8 @@ class grade_import_form extends moodleform {
|
||||
$radio = array();
|
||||
$radio[] = $mform->createElement('radio', 'separator', null, get_string('septab', 'grades'), 'tab');
|
||||
$radio[] = $mform->createElement('radio', 'separator', null, get_string('sepcomma', 'grades'), 'comma');
|
||||
$radio[] = $mform->createElement('radio', 'separator', null, get_string('sepcolon', 'grades'), 'colon');
|
||||
$radio[] = $mform->createElement('radio', 'separator', null, get_string('sepsemicolon', 'grades'), 'semicolon');
|
||||
$mform->addGroup($radio, 'separator', get_string('separator', 'grades'), ' ', false);
|
||||
$mform->setDefault('separator', 'comma');
|
||||
}
|
||||
|
@ -539,7 +539,9 @@ $string['selectalloroneuser'] = 'Select all or one user';
|
||||
$string['selectauser'] = 'Select a user';
|
||||
$string['selectdestination'] = 'Select destination of {$a}';
|
||||
$string['separator'] = 'Separator';
|
||||
$string['sepcolon'] = 'Colon';
|
||||
$string['sepcomma'] = 'Comma';
|
||||
$string['sepsemicolon'] = 'Semicolon';
|
||||
$string['septab'] = 'Tab';
|
||||
$string['setcategories'] = 'Set categories';
|
||||
$string['setcategorieserror'] = 'You must first set the categories for your course before you can give weights to them.';
|
||||
|
Loading…
x
Reference in New Issue
Block a user