MDL-13114 tool_uploadcourse: Use autoload and clean require_once
[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
1d1898ac
FM
27$string['invalidshortname'] = 'Invalid shortname';
28$string['cannotdeletecoursenotexist'] = 'Cannot delete a course that does not exist';
29$string['cannotgenerateshortnameupdatemode'] = 'Cannot generate a shortname when updates are allowed';
30$string['cannotreadbackupfile'] = 'Cannot read the backup file';
31$string['cannotrenamecoursenotexist'] = 'Cannot rename a course that does not exist';
32$string['cannotrenameidnumberconflict'] = 'Cannot rename the course, the ID number conflicts with an existing course';
33$string['cannotrenameshortnamealreadyinuse'] = 'Cannot rename the course, the shortname is already used';
34$string['canonlyrenameinupdatemode'] = 'Can only rename a course when update is allowed';
35$string['canonlyresetcourseinupdatemode'] = 'Can only reset a course in update mode';
36$string['couldnotresolvecatgorybyid'] = 'Could not resolve category by ID';
37$string['couldnotresolvecatgorybyidnumber'] = 'Could not resolve category by ID number';
38$string['couldnotresolvecatgorybypath'] = 'Could not resolve category by path';
39$string['coursecreated'] = 'Course created';
40$string['coursedeleted'] = 'Course deleted';
41$string['coursedeletionnotallowed'] = 'Course deletion is not allowed';
42$string['coursedoesnotexistandcreatenotallowed'] = 'The course does not exist and creating course is not allowed';
43$string['courseexistsanduploadnotallowed'] = 'The course exists and update are not allowed';
44$string['courseidnumberincremented'] = 'Course ID number incremented {$a->from} -> {$a->to}';
45$string['courserenamed'] = 'Course renamed';
46$string['courserenamingnotallowed'] = 'Course renaming is not allowed';
47$string['coursereset'] = 'Course reset';
48$string['courseresetnotallowed'] = 'Course reset now allowed';
49$string['courserestored'] = 'Course restored';
5dcd7e28
FM
50$string['coursestotal'] = 'Courses total: {$a}';
51$string['coursescreated'] = 'Courses created: {$a}';
52$string['coursesupdated'] = 'Courses updated: {$a}';
53$string['coursesdeleted'] = 'Courses deleted: {$a}';
54$string['courseserrors'] = 'Courses errors: {$a}';
1d1898ac 55$string['courseshortnameincremented'] = 'Course shortname incremented {$a->from} -> {$a->to}';
5b2f7718 56$string['courseshortnamegenerated'] = 'Course shortname generated: {$a}';
1d1898ac
FM
57$string['coursetorestorefromdoesnotexist'] = 'The course to restore from does not exist';
58$string['courseupdated'] = 'Course updated';
b683185b 59$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 60$string['csvline'] = 'Line';
1d1898ac
FM
61$string['errorwhilerestoringcourse'] = 'Error while restoring the course';
62$string['errorwhiledeletingcourse'] = 'Error while deleting the course';
63$string['generatedshortnameinvalid'] = 'The generated shortname is invalid';
64$string['generatedshortnamealreadyinuse'] = 'The generated shortname is already in use';
5b2f7718 65$string['id'] = 'ID';
5dcd7e28 66$string['idnumberalreadyinuse'] = 'ID number already used by a course';
1d1898ac
FM
67$string['invalidbackupfile'] = 'Invalid backup file';
68$string['invalidcourseformat'] = 'Invalid course format';
b683185b
FM
69$string['invalidcsvfile'] = 'Invalid input CSV file';
70$string['invalidencoding'] = 'Invalid encoding';
71$string['invalidmode'] = 'Invalid mode selected';
72$string['invalideupdatemode'] = 'Invalid update mode selected';
1d1898ac
FM
73$string['invalidroles'] = 'Invalid role names: {$a}';
74$string['missingmandatoryfields'] = 'Missing value for mandatory fields: {$a}';
75$string['missingshortnamenotemplate'] = 'Missing shortname and shortname template not set';
5b2f7718 76$string['outcome'] = 'Outcome';
1d1898ac 77$string['updatemodedoessettonothing'] = 'Update mode does not allow anything to be updated';
5b2f7718 78$string['uploadcoursesresult'] = 'Upload courses results';
1d1898ac
FM
79$string['unknownimportmode'] = 'Unknown import mode';
80
3a0fda69
PH
81$string['allowdeletes'] = 'Allow deletes';
82$string['allowrenames'] = 'Allow renames';
83$string['csvdelimiter'] = 'CSV delimiter';
84$string['defaultvalues'] = 'Default values';
85$string['deleteerrors'] = 'Delete errors';
86$string['encoding'] = 'Encoding';
87$string['errors'] = 'Errors';
88$string['invalidinput'] = 'You must specify a valid combination of --action and --mode';
89$string['nochanges'] = 'No changes';
90$string['pluginname'] = 'Course upload';
91$string['renameerrors'] = 'Rename errors';
92$string['requiredtemplate'] = 'Required. You may use template syntax here (%l = lastname, %f = firstname, %u = coursename). See help for details and examples.';
93$string['rowpreviewnum'] = 'Preview rows';
94$string['uploadpicture_badcoursefield'] = 'The course attribute specified is not valid. Please, try again.';
95$string['uploadpicture_cannotmovezip'] = 'Cannot move zip file to temporary directory.';
96$string['uploadpicture_cannotprocessdir'] = 'Cannot process unzipped files.';
97$string['uploadpicture_cannotsave'] = 'Cannot save picture for course {$a}. Check original picture file.';
98$string['uploadpicture_cannotunzip'] = 'Cannot unzip pictures file.';
99$string['uploadpicture_invalidfilename'] = 'Picture file {$a} has invalid characters in its name. Skipping.';
100$string['uploadpicture_overwrite'] = 'Overwrite existing course pictures?';
101$string['uploadpicture_coursefield'] = 'Course attribute to use to match pictures:';
102$string['uploadpicture_coursenotfound'] = 'Course with a \'{$a->coursefield}\' value of \'{$a->coursevalue}\' does not exist. Skipping.';
103$string['uploadpicture_courseskipped'] = 'Skipping course {$a} (already has a picture).';
104$string['uploadpicture_courseupdated'] = 'Picture updated for course {$a}.';
105$string['uploadpictures'] = 'Upload course pictures';
106$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.';
107$string['uploadcourses'] = 'Upload courses';
108$string['uploadcourses_help'] = 'Courses may be uploaded (and optionally enrolled in courses) via text file. The format of the file should be as follows:
109
110* Each line of the file contains one record
111* Each record is a series of data separated by commas (or other delimiters)
112* The first record contains a list of fieldnames defining the format of the rest of the file
113* Required fieldnames are coursename, password, firstname, lastname, email';
114$string['uploadcoursespreview'] = 'Upload courses preview';
3a0fda69 115$string['courseuptodate'] = 'Course up-to-date';
5dcd7e28 116$string['courseupdated'] = 'Course updated';
3a0fda69
PH
117$string['coursedeleted'] = 'Course deleted';
118$string['courserenamed'] = 'Course renamed';
3a0fda69
PH
119$string['coursesrenamed'] = 'Courses renamed';
120$string['coursesskipped'] = 'Courses skipped';
3a0fda69
PH
121$string['coursenotadded'] = 'Course not added - already exists';
122$string['coursenotaddederror'] = 'Course not added - error';
123$string['coursenotdeletederror'] = 'Course not deleted - error';
124$string['coursenotdeletedmissing'] = 'Course not deleted - missing';
125$string['coursenotdeletedoff'] = 'Course not deleted - delete off';
126$string['coursenotdeletedadmin'] = 'Course not deleted - no admin access';
127$string['coursenotupdatederror'] = 'Course not updated - error';
128$string['coursenotupdatednotexists'] = 'Course not updated - does not exist';
129$string['coursenotupdatedadmin'] = 'Course not updated - no admin';
130$string['coursenotrenamedexists'] = 'Course not renamed - target exists';
131$string['coursenotrenamedmissing'] = 'Course not renamed - source missing';
132$string['coursenotrenamedoff'] = 'Course not renamed - renaming off';
133$string['coursenotrenamedadmin'] = 'Course not renamed - no admin';
134$string['invalidvalue'] = 'Invalid value for field {$a}';
135$string['shortnamecourse'] = 'Shortname';
136$string['shortnamecourse_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. See help for details and examples.';
137$string['idnumbernotunique'] = 'idnumber is not unique';
138$string['ccbulk'] = 'Select for bulk operations';
139$string['ccbulkall'] = 'All courses';
140$string['ccbulknew'] = 'New courses';
141$string['ccbulkupdated'] = 'Updated courses';
3a0fda69
PH
142$string['cclegacy1role'] = '(Original Student) typeN=1';
143$string['cclegacy2role'] = '(Original Teacher) typeN=2';
144$string['cclegacy3role'] = '(Original Non-editing teacher) typeN=3';
145$string['ccnoemailduplicates'] = 'Prevent email address duplicates';
146$string['ccoptype'] = 'Upload type';
147$string['ccoptype_addinc'] = 'Add all, append number to shortnames if needed';
148$string['ccoptype_addnew'] = 'Add new only, skip existing courses';
149$string['ccoptype_addupdate'] = 'Add new and update existing courses';
150$string['ccoptype_update'] = 'Update existing courses only';
151$string['ccpasswordcron'] = 'Generated in cron';
152$string['ccpasswordnew'] = 'New course password';
153$string['ccpasswordold'] = 'Existing course password';
154$string['reset'] = 'Reset course after upload';
155$string['ccstandardshortnames'] = 'Standardise shortnames';
156$string['ccupdateall'] = 'Override with file and defaults';
157$string['ccupdatefromfile'] = 'Override with file';
158$string['ccupdatemissing'] = 'Fill in missing from file and defaults';
159$string['ccupdatetype'] = 'Existing course details';
160$string['ccshortnametemplate'] = 'Shortname template';
161$string['ccfullnametemplate'] = 'Fullname template';
162$string['ccidnumbertemplate'] = 'Idnumber template';
163$string['missingtemplate'] = 'Template not found';
164$string['missing'] = 'missing';
165$string['incorrectformat'] = 'Invalid format specified';
166$string['incorrecttemplatefile'] = 'Template file not found';
167$string['invalidenrolmethod'] = 'Invalid enrolment method';
3a0fda69 168$string['invalidaction'] = 'Invalid action selected';
b683185b
FM
169
170
3a0fda69
PH
171$string['invalidcategory'] = 'Invalid category';
172$string['coursetemplatename'] = 'Course template shortname';
173$string['coursetemplatename_help'] = 'Select an existing course shortname to use as a template for the creation of all courses.';
174$string['templatefile'] = 'Template backup file';
175$string['invalidbackupfile'] = 'Invalid backup file';
176