MDL-13114 tool_uploadcourse: Optimised the import form
[moodle.git] / admin / tool / uploadcourse / lang / en / tool_uploadcourse.php
CommitLineData
3a0fda69
PH
1<?php
2// This file is part of Moodle - http://moodle.org/
3//
4// Moodle is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8//
9// Moodle is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU General Public License for more details.
13//
14// You should have received a copy of the GNU General Public License
15// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
16
17/**
18 * Strings for component 'tool_uploadcourse', language 'en', branch 'MOODLE_22_STABLE'
19 *
20 * @package tool_uploadcourse
21 * @subpackage uploadcourse
22 * @copyright 2011 Petr Skoda {@link http://skodak.org}
23 * @copyright 2011 Piers Harding
24 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
25 */
26
1e3e4efd
FM
27$string['allowdeletes'] = 'Allow deletes';
28$string['allowrenames'] = 'Allow renames';
29$string['allowresets'] = 'Allow resets';
1d1898ac
FM
30$string['cannotdeletecoursenotexist'] = 'Cannot delete a course that does not exist';
31$string['cannotgenerateshortnameupdatemode'] = 'Cannot generate a shortname when updates are allowed';
32$string['cannotreadbackupfile'] = 'Cannot read the backup file';
33$string['cannotrenamecoursenotexist'] = 'Cannot rename a course that does not exist';
34$string['cannotrenameidnumberconflict'] = 'Cannot rename the course, the ID number conflicts with an existing course';
35$string['cannotrenameshortnamealreadyinuse'] = 'Cannot rename the course, the shortname is already used';
36$string['canonlyrenameinupdatemode'] = 'Can only rename a course when update is allowed';
37$string['canonlyresetcourseinupdatemode'] = 'Can only reset a course in update mode';
38$string['couldnotresolvecatgorybyid'] = 'Could not resolve category by ID';
39$string['couldnotresolvecatgorybyidnumber'] = 'Could not resolve category by ID number';
40$string['couldnotresolvecatgorybypath'] = 'Could not resolve category by path';
41$string['coursecreated'] = 'Course created';
42$string['coursedeleted'] = 'Course deleted';
43$string['coursedeletionnotallowed'] = 'Course deletion is not allowed';
44$string['coursedoesnotexistandcreatenotallowed'] = 'The course does not exist and creating course is not allowed';
7a4ec85e 45$string['courseexistsanduploadnotallowed'] = 'The course exists and update is not allowed';
1d1898ac 46$string['courseidnumberincremented'] = 'Course ID number incremented {$a->from} -> {$a->to}';
7a4ec85e 47$string['courseprocess'] = 'Course process';
1d1898ac
FM
48$string['courserenamed'] = 'Course renamed';
49$string['courserenamingnotallowed'] = 'Course renaming is not allowed';
50$string['coursereset'] = 'Course reset';
51$string['courseresetnotallowed'] = 'Course reset now allowed';
52$string['courserestored'] = 'Course restored';
5dcd7e28
FM
53$string['coursestotal'] = 'Courses total: {$a}';
54$string['coursescreated'] = 'Courses created: {$a}';
55$string['coursesupdated'] = 'Courses updated: {$a}';
56$string['coursesdeleted'] = 'Courses deleted: {$a}';
57$string['courseserrors'] = 'Courses errors: {$a}';
1d1898ac 58$string['courseshortnameincremented'] = 'Course shortname incremented {$a->from} -> {$a->to}';
5b2f7718 59$string['courseshortnamegenerated'] = 'Course shortname generated: {$a}';
7a4ec85e
FM
60$string['coursetemplatename'] = 'Restore from this course after upload';
61$string['coursetemplatename_help'] = 'Enter an existing course shortname to use as a template for the creation of all courses.';
1d1898ac
FM
62$string['coursetorestorefromdoesnotexist'] = 'The course to restore from does not exist';
63$string['courseupdated'] = 'Course updated';
1e3e4efd 64$string['csvdelimiter'] = 'CSV delimiter';
b683185b 65$string['csvfileerror'] = 'There is something wrong with the format of the CSV file. Please check the number of headings and columns match, and that the delimiter and file encoding are correct: {$a}';
5b2f7718 66$string['csvline'] = 'Line';
7a4ec85e 67$string['defaultvalues'] = 'Default course values';
1e3e4efd 68$string['encoding'] = 'Encoding';
1d1898ac
FM
69$string['errorwhilerestoringcourse'] = 'Error while restoring the course';
70$string['errorwhiledeletingcourse'] = 'Error while deleting the course';
71$string['generatedshortnameinvalid'] = 'The generated shortname is invalid';
72$string['generatedshortnamealreadyinuse'] = 'The generated shortname is already in use';
5b2f7718 73$string['id'] = 'ID';
7a4ec85e 74$string['importoptions'] = 'Import options';
5dcd7e28 75$string['idnumberalreadyinuse'] = 'ID number already used by a course';
1d1898ac
FM
76$string['invalidbackupfile'] = 'Invalid backup file';
77$string['invalidcourseformat'] = 'Invalid course format';
b683185b
FM
78$string['invalidcsvfile'] = 'Invalid input CSV file';
79$string['invalidencoding'] = 'Invalid encoding';
80$string['invalidmode'] = 'Invalid mode selected';
81$string['invalideupdatemode'] = 'Invalid update mode selected';
1d1898ac 82$string['invalidroles'] = 'Invalid role names: {$a}';
1e3e4efd 83$string['invalidshortname'] = 'Invalid shortname';
1d1898ac
FM
84$string['missingmandatoryfields'] = 'Missing value for mandatory fields: {$a}';
85$string['missingshortnamenotemplate'] = 'Missing shortname and shortname template not set';
1e3e4efd
FM
86$string['mode'] = 'Upload mode';
87$string['preview'] = 'Preview';
88$string['reset'] = 'Reset course after upload';
89$string['result'] = 'Result';
90$string['restoreafterimport'] = 'Restore after import';
91$string['rowpreviewnum'] = 'Preview rows';
7a4ec85e 92$string['shortnametemplate'] = 'Template to generate a shortname';
1e3e4efd 93$string['shortnametemplate_help'] = 'The short name of the course is displayed in the navigation. You may use template syntax here (%f = fullname, %i = idnumber), or enter an initial value that is incremented.';
7a4ec85e
FM
94$string['templatefile'] = 'Restore from this file after upload';
95$string['templatefile_help'] = 'Select a file to use as a template for the creation of all courses.';
1e3e4efd
FM
96$string['unknownimportmode'] = 'Unknown import mode';
97$string['updatemode'] = 'Update mode';
1d1898ac 98$string['updatemodedoessettonothing'] = 'Update mode does not allow anything to be updated';
1e3e4efd
FM
99$string['uploadcourses'] = 'Upload courses';
100$string['uploadcourses_help'] = 'Courses may be uploaded via text file. The format of the file should be as follows:
101
102* Each line of the file contains one record
103* Each record is a series of data separated by commas (or other delimiters)
104* The first record contains a list of fieldnames defining the format of the rest of the file
105* Required fieldnames are shortname, fullname, summary and category';
5b2f7718 106$string['uploadcoursesresult'] = 'Upload courses results';
1d1898ac 107
1e3e4efd
FM
108
109
110
111
3a0fda69 112$string['deleteerrors'] = 'Delete errors';
3a0fda69
PH
113$string['errors'] = 'Errors';
114$string['invalidinput'] = 'You must specify a valid combination of --action and --mode';
115$string['nochanges'] = 'No changes';
116$string['pluginname'] = 'Course upload';
117$string['renameerrors'] = 'Rename errors';
118$string['requiredtemplate'] = 'Required. You may use template syntax here (%l = lastname, %f = firstname, %u = coursename). See help for details and examples.';
3a0fda69
PH
119$string['uploadpicture_badcoursefield'] = 'The course attribute specified is not valid. Please, try again.';
120$string['uploadpicture_cannotmovezip'] = 'Cannot move zip file to temporary directory.';
121$string['uploadpicture_cannotprocessdir'] = 'Cannot process unzipped files.';
122$string['uploadpicture_cannotsave'] = 'Cannot save picture for course {$a}. Check original picture file.';
123$string['uploadpicture_cannotunzip'] = 'Cannot unzip pictures file.';
124$string['uploadpicture_invalidfilename'] = 'Picture file {$a} has invalid characters in its name. Skipping.';
125$string['uploadpicture_overwrite'] = 'Overwrite existing course pictures?';
126$string['uploadpicture_coursefield'] = 'Course attribute to use to match pictures:';
127$string['uploadpicture_coursenotfound'] = 'Course with a \'{$a->coursefield}\' value of \'{$a->coursevalue}\' does not exist. Skipping.';
128$string['uploadpicture_courseskipped'] = 'Skipping course {$a} (already has a picture).';
129$string['uploadpicture_courseupdated'] = 'Picture updated for course {$a}.';
130$string['uploadpictures'] = 'Upload course pictures';
131$string['uploadpictures_help'] = 'Course pictures can be uploaded as a zip file of image files. The image files should be named chosen-course-attribute.extension, for example course1234.jpg for a course with coursename course1234.';
3a0fda69 132
3a0fda69 133$string['uploadcoursespreview'] = 'Upload courses preview';
3a0fda69 134$string['courseuptodate'] = 'Course up-to-date';
5dcd7e28 135$string['courseupdated'] = 'Course updated';
3a0fda69
PH
136$string['coursedeleted'] = 'Course deleted';
137$string['courserenamed'] = 'Course renamed';
3a0fda69
PH
138$string['coursesrenamed'] = 'Courses renamed';
139$string['coursesskipped'] = 'Courses skipped';
3a0fda69
PH
140$string['coursenotadded'] = 'Course not added - already exists';
141$string['coursenotaddederror'] = 'Course not added - error';
142$string['coursenotdeletederror'] = 'Course not deleted - error';
143$string['coursenotdeletedmissing'] = 'Course not deleted - missing';
144$string['coursenotdeletedoff'] = 'Course not deleted - delete off';
145$string['coursenotdeletedadmin'] = 'Course not deleted - no admin access';
146$string['coursenotupdatederror'] = 'Course not updated - error';
147$string['coursenotupdatednotexists'] = 'Course not updated - does not exist';
148$string['coursenotupdatedadmin'] = 'Course not updated - no admin';
149$string['coursenotrenamedexists'] = 'Course not renamed - target exists';
150$string['coursenotrenamedmissing'] = 'Course not renamed - source missing';
151$string['coursenotrenamedoff'] = 'Course not renamed - renaming off';
152$string['coursenotrenamedadmin'] = 'Course not renamed - no admin';
153$string['invalidvalue'] = 'Invalid value for field {$a}';
154$string['shortnamecourse'] = 'Shortname';
1e3e4efd 155
3a0fda69
PH
156$string['idnumbernotunique'] = 'idnumber is not unique';
157$string['ccbulk'] = 'Select for bulk operations';
158$string['ccbulkall'] = 'All courses';
159$string['ccbulknew'] = 'New courses';
160$string['ccbulkupdated'] = 'Updated courses';
3a0fda69
PH
161$string['cclegacy1role'] = '(Original Student) typeN=1';
162$string['cclegacy2role'] = '(Original Teacher) typeN=2';
163$string['cclegacy3role'] = '(Original Non-editing teacher) typeN=3';
164$string['ccnoemailduplicates'] = 'Prevent email address duplicates';
1e3e4efd 165
3a0fda69
PH
166$string['ccoptype_addinc'] = 'Add all, append number to shortnames if needed';
167$string['ccoptype_addnew'] = 'Add new only, skip existing courses';
168$string['ccoptype_addupdate'] = 'Add new and update existing courses';
169$string['ccoptype_update'] = 'Update existing courses only';
170$string['ccpasswordcron'] = 'Generated in cron';
171$string['ccpasswordnew'] = 'New course password';
172$string['ccpasswordold'] = 'Existing course password';
3a0fda69
PH
173$string['ccstandardshortnames'] = 'Standardise shortnames';
174$string['ccupdateall'] = 'Override with file and defaults';
175$string['ccupdatefromfile'] = 'Override with file';
176$string['ccupdatemissing'] = 'Fill in missing from file and defaults';
177$string['ccupdatetype'] = 'Existing course details';
1e3e4efd 178
3a0fda69
PH
179$string['ccfullnametemplate'] = 'Fullname template';
180$string['ccidnumbertemplate'] = 'Idnumber template';
181$string['missingtemplate'] = 'Template not found';
182$string['missing'] = 'missing';
183$string['incorrectformat'] = 'Invalid format specified';
184$string['incorrecttemplatefile'] = 'Template file not found';
185$string['invalidenrolmethod'] = 'Invalid enrolment method';
3a0fda69 186$string['invalidaction'] = 'Invalid action selected';
b683185b
FM
187
188
3a0fda69 189$string['invalidcategory'] = 'Invalid category';
3a0fda69
PH
190$string['invalidbackupfile'] = 'Invalid backup file';
191